/* ===== CATALOG PAGE HERO ===== */
.catalog-hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151515;
    margin-bottom: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.catalog-hero--bbq {
    background-position: center 20%;
}
.catalog-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.catalog-hero__bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 58%;
}
.catalog-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(16,16,16,0.65);
}
.catalog-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.catalog-hero__title {
    font-family: 'TT Ramillas Trl', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.catalog-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #fff;
    font-weight: 300;
    max-width: 980px;
    margin: 0 auto;
    line-height: 1.45;
    text-wrap: balance;
}
@media (max-width: 768px) {
    .catalog-hero__subtitle br { display: none; }
}


/* ===== PRODUCT GRID ===== */
.catalog-grid {
    padding: 0 0 100px;
}
.catalog-grid__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
@media (min-width: 769px) {
    .product-card {
    display: flex;
    flex-direction: column;
    }
    .product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    }
    .product-card__actions {
    margin-top: auto;
    }
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}
.product-card.hidden {
    display: none;
}
.product-card__slider {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    margin: 12px 12px 0;
}
.product-card__slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card__slider--contain img {
    object-fit: contain;
    background: #111;
}
.product-card__slider--vertical img {
    object-fit: contain;
    background: #111;
}
.product-card__slider img.active {
    opacity: 1;
}
/* Card arrows */
.product-card__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}
.product-card:hover .product-card__arrow {
    opacity: 1;
}
.product-card__arrow:hover {
    background: rgba(0,0,0,0.75);
}
.product-card__arrow--prev { left: 8px; }
.product-card__arrow--next { right: 8px; }
/* Card dots */
.product-card__dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}
.product-card__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}
.product-card__dot.active {
    background: #fff;
}
.product-card__body {
    padding: 20px 20px 24px;
}
.product-card__name {
    font-family: 'TT Ramillas Trl', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.product-card__collection {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
}
.product-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__price {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #cb3b25;
    margin: 0 0 6px;
}
.product-card__price--turnkey {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin: 0 0 20px;
}
.product-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.product-card__btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
}
.product-card__btn--details {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 400;
    text-decoration: underline;
    gap: 4px;
    flex-basis: 100%;
    align-self: flex-start;
}
.product-card__btn--details:hover {
    background: none;
    border: none;
    color: #fff;
}
/* ===== CARD REVIEW BLOCK ===== */
.product-card__review {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.product-card__review:hover {
    opacity: 0.85;
}
.product-card__review-thumb {
    position: relative;
    width: 56px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.product-card__review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__review-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}
.product-card__review-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 16px;
    height: 16px;
    border: none;
    background: none;
}
.product-card__review-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}
.product-card__review-label {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 0.8rem;
}

/* ===== MODAL REVIEWS SECTION ===== */
.product-modal__reviews {
    padding: 40px 0 0;
    margin-top: 8px;
}
.product-modal__reviews h3 {
    font-family: 'TT Ramillas Trl', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 20px;
}
.product-modal__reviews-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.product-modal__review-item {
    position: relative;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: block;
}
.product-modal__review-item:hover {
    transform: translateY(-3px);
}
.product-modal__review-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.product-modal__review-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    transition: background 0.2s ease;
}
.product-modal__review-item:hover::after {
    background: rgba(0,0,0,0.15);
}
.product-modal__review-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(203,59,37,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-modal__review-play svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}
.product-modal__review-name {
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    background: rgba(255,255,255,0.04);
}
@media (max-width: 768px) {
    .product-modal__review-item {
    width: 100%;
    }
}

.product-card__btn--request {
    background: #cb3b25;
    border-color: #cb3b25;
    color: #fff;
}
.product-card__btn--request:hover {
    background: #b5321f;
    border-color: #b5321f;
}
.product-card__btn svg {
    flex-shrink: 0;
}

/* ===== VK VIDEO MODAL ===== */
.vk-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.vk-video-modal.active { display: flex; }
.vk-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.88);
}
.vk-video-modal__box {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 960px;
}
.vk-video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
}
.vk-video-modal__close:hover { opacity: 1; }
.vk-video-modal__player {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}
.vk-video-modal__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== REQUEST MODAL ===== */
.request-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}
.request-modal.open {
    display: flex;
}
.request-modal__box {
    background: #1a1a1a;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
}
.request-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}
.request-modal__close:hover {
    background: #cb3b25;
}
.request-modal__title {
    font-family: 'TT Ramillas Trl', serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 8px;
}
.request-modal__product {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 24px;
}
.request-modal__field {
    margin-bottom: 16px;
}
.request-modal__field label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}
.request-modal__field input,
.request-modal__field textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}
.request-modal__field input:focus,
.request-modal__field textarea:focus {
    border-color: #cb3b25;
}
.request-modal__field textarea {
    resize: vertical;
    min-height: 70px;
}
.request-modal__submit {
    width: 100%;
    padding: 14px;
    border-radius: 100px;
    background: #cb3b25;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 8px;
}
.request-modal__submit:hover {
    background: #b5321f;
    transform: translateY(-2px);
}
.request-modal__success {
    text-align: center;
    padding: 20px 0;
}
.request-modal__success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}
.request-modal__success-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* ===== PRODUCT MODAL ===== */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.product-modal.open {
    display: block;
}
.product-modal__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    min-height: 100vh;
}
.product-modal__close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 10001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
}
.product-modal__close:hover {
    background: #cb3b25;
    border-color: #cb3b25;
}
.product-modal__header {
    padding-top: 60px;
    margin-bottom: 32px;
}
.product-modal__title {
    font-family: 'TT Ramillas Trl', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.product-modal__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    margin: 0;
}

/* Gallery */
.product-modal__gallery {
    margin-bottom: 40px;
}
.product-modal__main-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.04);
}
.product-modal__main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.product-modal__main-img img.active {
    opacity: 1;
    position: relative;
}
/* Modal arrows */
.product-modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}
.product-modal__arrow:hover {
    background: rgba(0,0,0,0.8);
    border-color: rgba(255,255,255,0.3);
}
.product-modal__arrow--prev { left: 12px; }
.product-modal__arrow--next { right: 12px; }
.product-modal__counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}
.product-modal__thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}
.product-modal__thumbs::-webkit-scrollbar {
    display: none;
}
.product-modal__thumb {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.6;
}
.product-modal__thumb:hover,
.product-modal__thumb--active {
    opacity: 1;
    border-color: #cb3b25;
}
.product-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info */
.product-modal__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 16px;
}
.product-modal__description h3 {
    font-family: 'TT Ramillas Trl', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 16px;
}
.product-modal__description p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 12px;
}
.product-modal__specs h3 {
    font-family: 'TT Ramillas Trl', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 16px;
}
.product-modal__specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-modal__specs-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.product-modal__specs-list li span:last-child {
    color: #fff;
    font-weight: 400;
    text-align: right;
}

/* Price & Actions */
.product-modal__bottom {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.product-modal__prices {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.product-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.product-modal__promo {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    flex-basis: 100%;
    margin: 0;
    line-height: 1.5;
}
.product-modal__price {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #cb3b25;
}
.product-modal__price-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    margin-top: 2px;
}
.product-modal__request-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    background: #cb3b25;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.product-modal__request-btn:hover {
    background: #a82e1a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .catalog-hero {
    padding: 140px 0 70px;
    min-height: auto;
    }
    .catalog-hero__content { padding: 0 20px; }
    .catalog-hero__title { font-size: clamp(2rem, 5vw, 4rem); }

    .catalog-grid__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    }
    .product-modal__inner {
    padding: 20px 16px 60px;
    }
    .product-modal__info {
    grid-template-columns: 1fr;
    gap: 24px;
    }
    .product-modal__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    }
    .product-modal__header {
    padding-top: 48px;
    }
    .product-modal__thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    }
    .product-modal__thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 56px;
    }
    .product-modal__arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
    }
    .product-card__arrow {
    opacity: 0.7;
    }
    .product-modal__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    }
}
@media (max-width: 480px) {

    .product-card__actions {
    flex-direction: column;
    }
    .product-card__btn {
    justify-content: center;
    }
    .request-modal__box {
    padding: 28px 20px;
    margin: 16px;
    }
}

/* Kaminy-only preview: 3 per row, narrower filter column, larger card images */
@media (min-width: 1025px) {
    .catalog-workspace__layout {
    grid-template-columns: 240px minmax(0, 1fr);
    }
}

.catalog-workspace__main .product-card__slider {
    aspect-ratio: 4 / 5;
}
