/* =========================================
   КАТАЛОГ СТИЛІ
   ========================================= */
.shop-product-section, .product-tabs-section {
    background: rgba(29, 60, 37, 0.3);
    position: relative;
    padding-bottom: 64px;
}

.glow-bg {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.05) 0%, transparent 60%);
    filter: blur(150px);
    pointer-events: none;
    z-index: 1;
}

.main-info-row {
    gap: 40px 0;
}

.gallery-col {
    padding: 40px;
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.product-main-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.info-col {
    display: flex;
    flex-direction: column;
}

.breadcrumbs {
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    color: rgba(253, 251, 237, 0.5);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: rgba(253, 251, 237, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--z-yellow);
}

.separator {
    color: rgba(253, 251, 237, 0.3);
}

.current {
    color: #ffffff;
    font-weight: 600;
}

.product-title {
    font-family: 'Benzin', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-taste {
    font-family: 'Codec Pro', sans-serif;
    font-size: 16px;
    color: rgba(253, 251, 237, 0.7);
    margin-bottom: 24px;
}

.product-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px dashed rgba(253, 251, 237, 0.1);
}

.product-meta-item {
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    color: rgba(253, 251, 237, 0.5);
    font-weight: 800;
}

.status-ok {
    color: #00BFA5;
    font-weight: 800;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00BFA5;
    border-radius: 50%;
    box-shadow: 0 0 10px #00BFA5;
}

.rating-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--z-yellow);
    display: flex;
    gap: 8px;
    cursor: pointer;
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
}

.rating-count {
    color: rgba(253, 251, 237, 0.5);
}

.price-wrap {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 32px;
}

.price-val {
    font-family: 'Benzin', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--z-yellow);
    line-height: 1;
}

.weight-unit {
    font-family: 'Codec Pro', sans-serif;
    font-size: 16px;
    color: rgba(253, 251, 237, 0.5);
    padding-bottom: 6px;
}

.selector-group {
    margin-bottom: 32px;
}

.selector-title {
    display: block;
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: rgba(253, 251, 237, 0.6);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.options-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.option-label input {
    display: none;
}

.option-btn {
    padding: 12px 24px;
    border: 1px solid rgba(253, 251, 237, 0.2);
    border-radius: 12px;
    font-family: 'Codec Pro', sans-serif;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(20, 36, 23, 0.4);
}

.option-label input:checked + .option-btn {
    background: var(--z-yellow);
    color: var(--z-dark);
    border-color: var(--z-yellow);
    font-weight: 800;
}

.promo-box {
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.promo-icon {
    color: var(--z-yellow);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.promo-title {
    display: block;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.promo-desc {
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    color: rgba(253, 251, 237, 0.7);
    line-height: 1.5;
    display: block;
}

.promo-desc a {
    color: var(--z-yellow);
    text-decoration: none;
    font-weight: 800;
}

.action-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.qty-control {
    display: flex;
    align-items: center;
    border-radius: 100px;
    padding: 4px;
    border: 1px solid rgba(253, 251, 237, 0.1);
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: rgba(255, 230, 0, 0.1);
    color: var(--z-yellow);
}

.qty-input {
    width: 48px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Benzin', sans-serif;
    font-size: 18px;
    text-align: center;
    outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
}

.add-to-cart {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.quick-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    color: rgba(253, 251, 237, 0.6);
}

.quick-info-item svg {
    color: #00BFA5;
    width: 24px;
    height: 24px;
}

.tabs-nav {
    display: flex;
    gap: 32px;
    border-bottom: 1px dashed rgba(253, 251, 237, 0.1);
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(253, 251, 237, 0.5);
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    padding: 0 0 16px 0;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
    text-transform: uppercase;
}

.tab-btn.active {
    color: var(--z-yellow);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--z-yellow);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

.tab-title {
    font-family: 'Benzin', sans-serif;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 24px;
}

.tab-subtitle-first {
    font-family: 'Benzin', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 24px;
}

.tab-subtitle {
    font-family: 'Benzin', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 24px;
    margin-top: 40px;
}

.desc-highlight {
    font-family: 'Codec Pro', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.6;
}

.desc-full {
    font-family: 'Codec Pro', sans-serif;
    font-size: 16px;
    color: rgba(253, 251, 237, 0.7);
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    position: relative;
    padding-left: 32px;
    font-family: 'Codec Pro', sans-serif;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFE600' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.details-row {
    gap: 40px 0;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(253, 251, 237, 0.1);
}

.detail-label {
    font-family: 'Codec Pro', sans-serif;
    font-size: 15px;
    color: rgba(253, 251, 237, 0.5);
}

.detail-value {
    font-family: 'Codec Pro', sans-serif;
    font-size: 15px;
    color: #ffffff;
    font-weight: 800;
}

.nutrition-box {
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(253, 251, 237, 0.05);
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed rgba(253, 251, 237, 0.1);
    font-family: 'Codec Pro', sans-serif;
}

.nutrition-label {
    color: rgba(253, 251, 237, 0.6);
    font-size: 15px;
}

.nutrition-val {
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
}

.reviews-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(253, 251, 237, 0.1);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.review-form-wrap {
    display: none;
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 230, 0, 0.2);
    animation: fadeIn 0.4s ease;
}

.review-form-wrap.active {
    display: block;
}

.review-form-title {
    font-family: 'Benzin', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 24px;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-input {
    width: 100%;
    background: rgba(20, 36, 23, 0.4);
    border: 1px solid rgba(253, 251, 237, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    font-family: 'Codec Pro', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--z-yellow);
}

.rating-select {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.rating-label {
    font-family: 'Codec Pro', sans-serif;
    color: rgba(253, 251, 237, 0.7);
}

.rating-stars-input {
    display: flex;
    gap: 4px;
    color: var(--z-yellow);
}

.star-select {
    cursor: pointer;
    transition: transform 0.2s;
}

.star-select:hover {
    transform: scale(1.1);
}

.action-btn-wrap {
    margin-top: 16px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.review-item {
    padding-bottom: 32px;
    border-bottom: 1px dashed rgba(253, 251, 237, 0.1);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-author {
    font-family: 'Benzin', sans-serif;
    font-size: 15px;
    color: #ffffff;
}

.review-date {
    font-family: 'Codec Pro', sans-serif;
    font-size: 13px;
    color: rgba(253, 251, 237, 0.5);
}

.review-stars {
    color: var(--z-yellow);
    font-size: 14px;
    margin-bottom: 16px;
}

.review-body {
    font-family: 'Codec Pro', sans-serif;
    font-size: 15px;
    color: rgba(253, 251, 237, 0.7);
    line-height: 1.6;
    margin: 0;
}

.cross-sell-section {
    padding: 80px 0;
    background: rgba(29, 60, 37, 0.3);
    position: relative;
}

.section-title {
    font-family: 'Benzin', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
}

.cross-sell-row {
    gap: 24px 0;
}

.cs-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 24px;
    text-decoration: none;
    padding: 24px;
    height: 100%;
    transition: transform 0.4s ease, border-color 0.4s ease;
    gap: 24px;
}

.cs-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 230, 0, 0.3);
}

.cs-img-wrap {
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: rgba(253, 251, 237, 0.02);
    border-radius: 16px;
}

.cs-img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.cs-card:hover .cs-img {
    transform: scale(1.1);
}

.cs-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-title {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cs-desc {
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    color: rgba(253, 251, 237, 0.6);
    line-height: 1.4;
    margin-bottom: 16px;
}

.cs-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.cs-price {
    font-family: 'Benzin', sans-serif;
    font-size: 20px;
    color: var(--z-yellow);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .gallery-col {
        min-height: 400px;
    }
    .action-row {
        flex-direction: column;
    }
    .add-to-cart {
        width: 100%;
        height: 60px;
    }
    .qty-control {
        justify-content: space-between;
        height: 60px;
        border-radius: 100px;
    }
    .qty-btn {
        width: 60px;
    }
    .reviews-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cs-card {
        flex-direction: column;
        text-align: center;
    }
    .cs-img-wrap {
        width: 100%;
        height: 200px;
    }
    .cs-footer {
        flex-direction: column;
        gap: 16px;
    }
    .btn-solid-small {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        gap: 16px;
        border-bottom: none;
    }
    .tab-btn {
        text-align: left;
        padding-bottom: 8px;
        border-bottom: 1px dashed rgba(253, 251, 237, 0.1);
    }
    .tab-btn::after {
        display: none;
    }
    .tab-btn.active {
        border-bottom-color: var(--z-yellow);
    }
    .product-tabs-section {
        padding: 32px 24px;
        border-radius: 24px;
    }
    .review-form-grid {
        grid-template-columns: 1fr;
    }
    .product-title {
        font-size: 28px;
    }
    .price-val {
        font-size: 40px;
    }
    .section-title {
        font-size: 24px;
    }
}

.shop-carousel-wrap {
    position: relative;
    width: 100%;
}

.shop-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 30px;
    padding-top: 10px;
}

.shop-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(255, 230, 0, 0.3);
    box-shadow: 0 24px 48px rgba(0,0,0,0.3), 0 0 20px rgba(255,230,0,0.1);
    background: rgba(20, 36, 23, 0.85);
}

.product-visual {
    position: relative;
    width: 100%;
    height: 260px;
    background: rgba(253, 251, 237, 0.02);
    border-bottom: 1px solid rgba(253, 251, 237, 0.05);
    overflow: hidden;
    padding: 12px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 230, 0, 0.95);
    color: var(--z-dark);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta {
    font-family: 'Codec Pro', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(253, 251, 237, 0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card .product-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.4;
    font-family: 'Benzin', sans-serif;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(253, 251, 237, 0.1);
    padding-top: 24px;
}

.product-price {
    font-family: 'Benzin', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--z-yellow);
    text-shadow: 0 0 15px rgba(255, 230, 0, 0.2);
}

.product-add {
    width: 48px;
    height: 48px;
    background: rgba(253, 251, 237, 0.05);
    border: 1px solid rgba(253, 251, 237, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover .product-add {
    background: var(--z-yellow);
    border-color: var(--z-yellow);
    color: var(--z-dark);
    box-shadow: 0 8px 16px rgba(255, 230, 0, 0.2);
}

.card-more {
    background: rgba(253, 251, 237, 0.02);
    border: 1px dashed rgba(253, 251, 237, 0.15);
    box-shadow: none;
    height: 100%;
}

.card-more:hover {
    border-color: var(--z-yellow);
    background: rgba(255, 230, 0, 0.03);
    box-shadow: none;
    transform: none;
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
}

.ctrl-btn {
    width: 56px;
    height: 56px;
    background: var(--card-background);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 251, 237, 0.1);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ctrl-btn:hover {
    background: var(--z-yellow);
    border-color: var(--z-yellow);
    color: var(--z-dark);
    box-shadow: 0 8px 20px rgba(255, 230, 0, 0.25);
    transform: translateY(-2px);
}

.catalog-main {
    padding-top: 40px;
    z-index: 10;
}

.catalog-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(ellipse at top, rgba(255, 230, 0, 0.05) 0%, transparent 60%);
    filter: blur(150px);
    pointer-events: none;
    z-index: 1;
}

/* Сайдбар */
.sidebar-col {
    position: sticky;
    top: 140px;
}

.filter-sidebar {
    border-radius: 24px;
    background: rgba(20, 36, 23, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(253, 251, 237, 0.08);
}

.filter-title {
    font-family: 'Benzin', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-transform: uppercase;
}

.filter-reset {
    background: none;
    border: none;
    color: rgba(253, 251, 237, 0.5);
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    transition: color 0.3s;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.filter-reset:hover {
    color: var(--z-yellow);
}

.filter-subtitle {
    font-family: 'Codec Pro', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: rgba(253, 251, 237, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(253, 251, 237, 0.08);
}

/* Фільтр ціни */
.price-input {
    background: rgba(20, 36, 23, 0.6) !important;
    border: 1px solid rgba(253, 251, 237, 0.15) !important;
    color: #ffffff !important;
    font-family: monospace;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.price-input::placeholder {
    color: #ffffff !important;
}

.price-input:focus {
    border-color: var(--z-yellow) !important;
    box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1) !important;
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input {
    -moz-appearance: textfield;
}

.btn-price-ok {
    background: rgba(253, 251, 237, 0.1);
    border: 1px solid rgba(253, 251, 237, 0.2);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s;
}

.btn-price-ok:hover {
    background: var(--z-yellow);
    color: var(--z-dark);
    border-color: var(--z-yellow);
}

.price-slider-visual {
    position: relative;
    height: 4px;
    background: rgba(253, 251, 237, 0.1);
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.price-range {
    position: absolute;
    height: 100%;
    background: var(--z-yellow);
    border-radius: 4px;
}

.price-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid var(--z-yellow);
    border-radius: 50%;
    cursor: pointer;
}

/* Чекбокси */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: rgba(253, 251, 237, 0.05);
    border: 1px solid rgba(253, 251, 237, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: rgba(255, 230, 0, 0.5);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--z-yellow);
    border-color: var(--z-yellow);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--z-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-label {
    font-family: 'Codec Pro', sans-serif;
    font-size: 15px;
    color: rgba(253, 251, 237, 0.7);
    transition: color 0.2s;
}

.custom-checkbox input:checked ~ .check-label {
    color: #ffffff;
    font-weight: 700;
}

/* Топ бар */
.search-input {
    background: var(--card-background) !important;
    border: 1px solid rgba(253, 251, 237, 0.1) !important;
    color: #ffffff !important;
    padding: 12px 20px 12px 48px;
    border-radius: 100px;
    font-family: 'Codec Pro', sans-serif;
}

.search-input::placeholder { color: white !important; }
.search-input:focus { border-color: var(--z-yellow) !important; box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1) !important; }

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
}

.search-icon {
    color: rgba(253, 251, 237, 0.5);
}

.mobile-filter-toggle {
    background: rgba(253, 251, 237, 0.03);
    border: 1px solid rgba(253, 251, 237, 0.1);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-family: 'Codec Pro', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    text-decoration: none;
    display: none;
    align-items: center;
    cursor: pointer;
}

#mobile-filter-close {
    display: none;
}

@media (max-width: 991px) {
    #mobile-filter-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: #fff;
        padding: 5px;
        cursor: pointer;
        z-index: 10;
    }
}

.custom-select-clean {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: var(--card-background);
    border: 1px solid rgba(253, 251, 237, 0.1);
    color: #ffffff;
    padding: 12px 48px 12px 20px;
    border-radius: 100px;
    font-family: 'Codec Pro', sans-serif;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-select-clean:focus,
.custom-select-clean:hover { border-color: var(--z-yellow); }
.custom-select-clean:focus { box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1); }

.custom-select-clean option {
    background: var(--z-green-dark);
    color: #ffffff;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* =========================================================================
   КАРТКИ ТОВАРІВ (Shop Grid Cards & Layout)
   ========================================================================= */
.product-card {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    background: rgba(20, 36, 23, 0.4) !important;
    border: 1px solid rgba(253, 251, 237, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.shop-carousel .product-card {
    margin: 0 12px;
}

.product-card:hover {
    transform: none;
    border-color: rgba(255, 230, 0, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255,230,0,0.1) !important;
    background: rgba(20, 36, 23, 0.8) !important;
}

.card-visual {
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(253, 251, 237, 0.05);
    padding: 24px;
    background: rgba(253, 251, 237, 0.01);
}

.card-visual a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-img {
    transform: scale(1.06);
}

.card-title {
    margin-bottom: 12px;
}

.card-title a {
    font-family: 'Codec Pro', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: -0.01em;

    /* Идеальное выравнивание высоты под 3 строки */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(16px * 1.4 * 2);
    transition: color 0.3s;
}

.card-title a:hover {
    color: var(--z-yellow);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars svg {
    width: 14px;
    height: 14px;
    color: #FCD34D;
}

.rating-val {
    font-size: 13px;
    font-weight: 700;
    color: rgba(253, 251, 237, 0.6);
    font-family: monospace;
}

/* =========================================================================
   БАНЕР-ОВЕРЛЕЙ ДЛЯ НОВИНОК (Floating New Badge)
   ========================================================================= */
.card-labels-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    pointer-events: none;
}

.badge-overlay.new {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    background: rgb(255 230 0 / 20%);
    color: var(--z-yellow);
    border: 1px solid rgb(255 230 0 / 25%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Фиксируем высоту строки рейтинга, чтобы выравнивать теги */
.card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 20px; /* Держит высоту, даже если отзывов у товара нет */
    margin-bottom: 12px;
}

/* Очищенный блок тегов без фиксированной высоты */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.tag {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
}

.tag-hit {
    background: var(--z-yellow);
    color: var(--z-dark);
}

.tag-tech {
    background: rgba(0, 191, 165, 0.12);
    color: #00BFA5;
    border: 1px solid rgba(0, 191, 165, 0.25);
}

.card-footer {
    border-top: 1px solid rgba(253, 251, 237, 0.08);
    padding-top: 20px;
}

/* =========================================================================
   БЛОК ЦІНИ ТА ЗНИЖОК (Price & Discount Styles)
   ========================================================================= */
.price-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
}

/* Общие стили для актуальной цены (как со скидкой, так и без) */
.price-block .current-price {
    font-family: 'Benzin', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--z-yellow);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Стили для старой зачеркнутой цены, когда активирована скидка */
.price-block.has-discount {
    min-height: 48px;  /* Высота остается неизменной, сетка не едет */
}

.price-block .old-price {
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(253, 251, 237, 0.4); /* Приглушенный белый */
    text-decoration: line-through;
    text-decoration-color: rgba(255, 230, 0, 0.6); /* Аккуратная желтая линия зачеркивания */
    line-height: 1;
    margin-bottom: 2px;
}

.btn-cart {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(253, 251, 237, 0.15);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart span {
    display: none;
}

.product-card:hover .btn-cart {
    background: var(--z-yellow);
    border-color: var(--z-yellow);
    color: var(--z-dark);
    box-shadow: 0 4px 15px rgba(255, 230, 0, 0.2);
}

.global-add-to-cart.hidden {
    display: none !important;
}

.qty-selector.in-card {
    display: none;
    align-items: center;
    padding: 0.15rem 0.25rem;
    background: rgba(253, 251, 237, 0.12);
    border: 1px solid rgba(253, 251, 237, 0.25);
    border-radius: 50px;
}

.qty-selector.in-card.active {
    display: flex !important;
}

.qty-selector.in-card .qty-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FDFBED;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, color 0.2s ease;
}

.qty-selector.in-card .qty-btn:hover {
    background: #FDFBED;
    color: #1a1a1a;
}

.qty-selector.in-card .qty-btn:active {
    transform: scale(0.92);
}

.qty-selector.in-card .qty-val {
    width: 24px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    color: #FDFBED;
    display: inline-block;
    line-height: 24px;
}

/* =========================================================================
   ПАГІНАЦІЯ (Pagination)
   ========================================================================= */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-custom {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.pagination-custom li {
    list-style: none;
}

.pagination-custom li::marker,
.pagination-custom li::before {
    content: none !important;
    display: none;
}

.page-btn, .pagination-custom li a, .pagination-custom li.disabled span {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(20, 36, 23, 0.5);
    border: 1px solid rgba(253, 251, 237, 0.15);
    color: #ffffff;
    font-family: 'Benzin', sans-serif;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-custom li.disabled span {
    color: rgba(253, 251, 237, 0.3);
    border-color: rgba(253, 251, 237, 0.08);
    background: transparent;
}

.pagination-custom li a:hover,
.page-btn:hover {
    border-color: var(--z-yellow);
    color: var(--z-yellow);
    background: rgba(255, 230, 0, 0.05);
}

.pagination-custom li.active a,
.pagination-custom li.active span {
    background: var(--z-yellow) !important;
    border-color: var(--z-yellow) !important;
    color: var(--z-dark) !important;
    pointer-events: none;
    font-weight: 900;
}

.page-dots {
    color: rgba(253, 251, 237, 0.5);
    font-weight: 800;
    padding: 0 8px;
    font-size: 19px;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .sidebar-col {
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        transition: 0.5s;
        overflow-y: auto;
    }

    .sidebar-col.opened {
        transform: translateX(0);
    }
}

/* =========================================================================
   АДАПТИВНІ СТИЛІ (Responsive)
   ========================================================================= */
@media (max-width: 991.98px) {
    .sidebar-col {
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        transition: 0.5s;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .card-visual {
        height: 220px;
        padding: 16px;
    }
    .card-body {
        padding: 20px !important;
    }
    .card-price {
        font-size: 24px;
    }
    .filter-sidebar {
        padding: 20px !important;
    }

    .sort-box span {
        display: none;
    }
}

.shop-carousel-wrap {
    position: relative;
    width: 100%;
}

/* Очищаем старые стили flex-скролла, так как Slick строит разметку сам */
.shop-carousel-slick {
    display: block;
    width: 100%;
}

/* Фиксируем одинаковую высоту карточек внутри Slick-слайдов */
.shop-carousel-slick .slick-track {
    display: flex !important;
}

.shop-carousel-slick .slick-slide {
    height: auto !important;
    display: flex !important;
}

.shop-carousel-slick .slick-slide > div {
    width: 100%;
    display: flex;
}

.shop-carousel-slick .product-card {
    width: 100%;
    flex-grow: 1;
}

.slick-track {
    display: flex !important;
}

.card-more {
    background: rgba(253, 251, 237, 0.02);
    border: 1px dashed rgba(253, 251, 237, 0.15);
    box-shadow: none;
    height: auto;
}

.card-more:hover {
    border-color: var(--z-yellow);
    background: rgba(255, 230, 0, 0.03);
    box-shadow: none;
}

.more-link {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: rgba(253, 251, 237, 0.8);
    padding: 30px;
    transition: color 0.3s;
}

.more-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(253, 251, 237, 0.05);
    border: 1px solid rgba(253, 251, 237, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    color: var(--z-yellow);
    transition: all 0.4s ease;
}

.card-more:hover .more-icon {
    background: var(--z-yellow);
    color: var(--z-dark);
    transform: translateX(8px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 230, 0, 0.2);
}

.more-link span {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.card-more:hover .more-link {
    color: #ffffff;
}

/* =========================================================================
   ПОВНИЙ НАБІР АДАПТИВНИХ СТИЛІВ ДЛЯ КАТАЛОГУ
   ========================================================================= */

/* Адаптив для планшетів та мобільних пристроїв (до 991.98px) */
@media (max-width: 991.98px) {
    .catalog-main {
        padding-top: 20px;
    }

    /* Перетворення сайдбару на повноекранне мобільне меню */
    .sidebar-col {
        background: var(--card-background) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 30px 20px 20px 20px !important;
        box-sizing: border-box;
        height: 100%;
        overflow-y: auto;
        margin-top: 0;
    }

    .filter-sidebar {
        background: transparent !important;
        border: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* Кнопка закриття мобільного сайдбару */
    #mobile-filter-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        background: rgba(253, 251, 237, 0.05);
        border: 1px solid rgba(253, 251, 237, 0.1);
        border-radius: 50%;
        color: #ffffff;
        cursor: pointer;
        z-index: 999;
        transition: background 0.3s;
    }

    #mobile-filter-close:active {
        background: rgba(255, 230, 0, 0.2);
    }

    .filter-title {
        font-size: 1rem;
        margin-bottom: 20px;
        padding-right: 40px;
    }
}

/* Адаптив для смартфонів (до 768px) */
@media (max-width: 768px) {
    /* Топ бар каталогу (пошук, сортування, кнопка фільтрів) */
    .catalog-top-bar {
        gap: 12px !important;
    }

    .search-input {
        font-size: 14px !important;
        padding: 10px 16px 10px 42px !important;
    }

    .search-submit {
        left: 14px !important;
    }

    .select-wrapper {
        width: 100%;
    }

    .custom-select-clean {
        font-size: 14px !important;
        padding: 10px 36px 10px 16px !important;
    }

    .select-arrow {
        right: 14px !important;
        width: 10px;
    }

    .mobile-filter-toggle {
        display: flex;
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    /* Ефект світіння (Glow) */
    .catalog-glow {
        width: 90vw !important;
        height: 40vh !important;
        filter: blur(80px) !important;
    }

    /* =========================================================================
       КАРТКА ТОВАРУ (Оптимізація під дві колонки на мобільних)
       ========================================================================= */
    .product-card {
        padding: 12px !important;
        border-radius: 16px !important;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: 1px solid rgba(253, 251, 237, 0.1)!important;
    }

    .card-visual {
        height: 180px !important;
        padding: 8px !important;
    }

    .card-body {
        padding: 8px 0 0 0 !important;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    /* Назва товару */
    .card-title {
        margin-bottom: 6px !important;
    }

    .card-title a {
        font-size: 10px !important;
        line-height: 1.25 !important;
        height: calc(10px * 3 * 1.25) !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-transform: uppercase;
        font-weight: 800;
        letter-spacing: -0.01em;
    }

    /* Бейдж "Новинка" поверх фото */
    .badge-overlay.new {
        font-size: 9px !important;
        padding: 4px 8px !important;
        top: 10px !important;
        left: 10px !important;
    }

    /* Рейтинг зірочками */
    .card-rating {
        height: 16px !important;
        margin-bottom: 8px !important;
        gap: 6px !important;
    }

    .stars svg {
        width: 12px !important;
        height: 12px !important;
    }

    .rating-val {
        font-size: 12px !important;
    }

    /* Блок тегів (Хіт продажу, Топ для вулиці і т.д.) */
    .card-tags {
        display: flex;
        flex-direction: column; /* Теги вертикально один під одним */
        gap: 8px !important;
        margin-bottom: 12px !important;
        margin-top: auto; /* Притискає теги до нижньої частини перед ціною */
    }

    .tag {
        display: inline-block;
        align-self: flex-start; /* Ширина строго по тексту */
        padding: 3px 8px !important;
        font-size: 8px !important;
        font-weight: 800;
        letter-spacing: 0.03em;
        line-height: 1.1;
        border-radius: 4px !important;
        white-space: nowrap;
    }

    .card-labels-overlay {
        top: 0;
        left: 0;
    }

    /* Секція ціни та кнопки дії */
    .card-footer {
        border-top: 1px solid rgba(253, 251, 237, 0.05) !important;
        padding-top: 10px !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Блок ціни */
    .price-block {
        display: flex;
        justify-content: start;
        min-height: auto !important;
        flex-grow: 1;
    }

    .price-block .current-price {
        font-size: 16px !important; /* Оптимальний розмір, щоб ціна не розривалася */
        font-weight: 900;
        line-height: 1.1 !important;
        white-space: nowrap;
    }

    .price-block .old-price {
        font-size: 11px !important;
        line-height: 1.1 !important;
        margin-bottom: 1px !important;
        white-space: nowrap;
    }

    /* Кнопка додавання до кошика */
    .btn-cart {
        width: 100%;
        height: 31px;
        min-width: 36px !important;
        border-radius: 12px !important;
        padding: 4px 12px !important;
        font-size: 12px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .btn-cart svg {
        display: none;
        width: 16px !important;
        height: 16px !important;
    }

    .btn-cart span {
        display: inline-block;
    }

    .qty-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }

    .qty-val {
        font-size: 12px !important;
    }

    /* Пагінація */
    .pagination-wrapper {
        margin-top: 30px !important;
        padding-top: 10px !important;
    }

    .page-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
}

/* =========================================================================
   ПОВНИЙ ЕКСТРЕМАЛЬНИЙ АДАПТИВ З МІНІМАЛЬНИМИ ВІДСТУПАМИ (До 768px)
   ========================================================================= */
@media (max-width: 768px) {
    /* Головні секції сторінки товару */
    .shop-product-section,
    .product-tabs-section,
    .cross-sell-section {
        padding-top: 12px !important;
        padding-bottom: 16px !important;
    }

    /* Хлібні крихти та базовий контейнер */
    .breadcrumbs {
        margin-bottom: 8px !important;
        font-size: 11px !important;
    }

    .main-info-row {
        gap: 8px 0 !important; /* Мінімальний зазор між фото та інфо-колонкою */
    }

    /* Галерея та головне зображення */
    .gallery-col {
        padding: 8px !important; /* Урізано з 40px */
        border-radius: 12px !important; /* Компактніші закруглення */
        min-height: auto !important;
        height: 240px !important; /* Компактна висота під мобільний екран */
    }

    .product-main-img {
        max-height: 220px !important;
    }

    /* Інфо-колонка (назва, ціна, кнопки) */
    .info-col {
        padding: 0 !important;
    }

    .product-title {
        font-size: 20px !important; /* Оптимальний розмір шрифту */
        margin-bottom: 4px !important; /* Зведено до мінімуму */
        line-height: 1.15 !important;
    }

    .product-taste {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    /* Смуга мета-даних (артикул, наявність, зірочки) */
    .product-meta-bar {
        gap: 8px 12px !important; /* Слипання в щільні плашки */
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }

    .product-meta-item {
        font-size: 12px !important;
        gap: 4px !important;
    }

    .rating-link {
        font-size: 12px !important;
        gap: 4px !important;
    }

    /* Блок виведення ціни */
    .price-wrap {
        margin-bottom: 12px !important;
        gap: 6px !important;
        align-items: center !important;
    }

    .price-val {
        font-size: 32px !important; /* Урізано з 48px */
    }

    .weight-unit {
        font-size: 13px !important;
        padding-bottom: 2px !important;
    }

    /* Блок вибору фасування */
    .selector-group {
        margin-bottom: 12px !important;
    }

    .selector-title {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .options-grid {
        gap: 6px !important;
    }

    .option-btn {
        padding: 6px 14px !important; /* Урізано з 12px 24px */
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    /* Блок промокоду */
    .promo-box {
        padding: 10px 12px !important; /* Урізано з 24px */
        margin-bottom: 12px !important;
        gap: 8px !important;
        border-radius: 10px !important;
    }

    .promo-title {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }

    .promo-desc {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    /* Рядок дій (селектор кількості та кнопка "Купити") */
    .action-row {
        flex-direction: row !important; /* Повертаємо в один рядок для економії висоти */
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .qty-control {
        padding: 2px !important; /* Мінімальна внутрішня рамка */
        height: 38px !important; /* Зменшена висота з 48px */
    }

    .qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }

    .qty-input {
        width: 32px !important;
        font-size: 14px !important;
    }

    .add-to-cart {
        height: 38px !important; /* Рівняємо під висоту селектора кількості */
        font-size: 13px !important;
        border-radius: 100px !important;
        padding: 0 16px !important;
    }

    /* Списки переваг */
    .quick-info-list {
        gap: 6px !important;
    }

    .quick-info-item {
        font-size: 12px !important;
        gap: 6px !important;
    }

    .quick-info-item svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* =========================================================================
       ТАБИ ТА ХАРАКТЕРИСТИКИ (Вкладки продукту)
       ========================================================================= */
    .product-tabs-section {
        padding: 12px 0 !important; /* Скидаємо гігантські відступи */
        border-radius: 0 !important;
    }

    .tabs-nav {
        flex-direction: row !important; /* Рендеримо горизонтально */
        gap: 16px !important; /* Злиття в одну лінію */
        margin-bottom: 16px !important;
        border-bottom: 1px dashed rgba(253, 251, 237, 0.1) !important;
        overflow-x: auto; /* Дозволяємо свайп табів, якщо не влазять */
        scrollbar-width: none;
    }

    .tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        font-size: 12px !important;
        padding-bottom: 6px !important;
        border-bottom: none !important;
    }

    .tab-btn::after {
        display: block !important; /* Повертаємо індикатор активності */
        height: 2px !important;
    }

    .tab-title {
        font-size: 16px !important; /* Зменшуємо дублюючий заголовок */
        margin-bottom: 8px !important;
    }

    .desc-highlight {
        font-size: 14px !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    .desc-full {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .tab-subtitle,
    .tab-subtitle-first {
        font-size: 14px !important;
        margin-top: 16px !important;
        margin-bottom: 8px !important;
    }

    /* Особливості продукту (список) */
    .features-list {
        gap: 6px !important;
    }

    .features-list li {
        padding-left: 20px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .features-list li::before {
        width: 14px !important;
        height: 14px !important;
        top: 2px !important;
    }

    /* Характеристики: таблиця параметрів */
    .details-row {
        gap: 16px 0 !important;
    }

    .details-grid {
        gap: 8px !important;
    }

    .detail-item {
        padding-bottom: 6px !important;
    }

    .detail-label,
    .detail-value {
        font-size: 13px !important;
    }

    /* Енергетична та поживна цінність */
    .nutrition-box {
        padding: 12px !important; /* Урізано з 32px */
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .nutrition-row {
        padding-bottom: 6px !important;
        margin-bottom: 6px !important;
    }

    .nutrition-label,
    .nutrition-val {
        font-size: 13px !important;
    }

    /* =========================================================================
       ВІДГУКИ ТА ФОРМА ВІДПРАВКИ
       ========================================================================= */
    .reviews-header-block {
        padding-bottom: 12px !important;
        margin-bottom: 16px !important;
        gap: 8px !important;
    }

    /* Кастомна форма */
    .review-form-wrap {
        padding: 12px !important; /* Робимо супер-компактною */
        border-radius: 12px !important;
        margin-bottom: 20px !important;
    }

    .review-form-title {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }

    .review-form-grid {
        gap: 8px !important;
    }

    .form-input {
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    .rating-select {
        gap: 8px !important;
        padding: 4px 0 !important;
    }

    .rating-label {
        font-size: 13px !important;
    }

    .star-select {
        width: 18px !important;
        height: 18px !important;
    }

    .action-btn-wrap {
        margin-top: 4px !important;
    }

    /* Список залишених відгуків */
    .reviews-list {
        gap: 16px !important;
    }

    .review-item {
        padding-bottom: 16px !important;
    }

    .review-meta {
        margin-bottom: 4px !important;
    }

    .review-author {
        font-size: 13px !important;
    }

    .review-date {
        font-size: 11px !important;
    }

    .review-stars {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .review-body {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* =========================================================================
       СЕКЦІЯ РАЗОМ З ЦИМ ТОВАРОМ КУПУЮТЬ (Cross Sell Слайдер)
       ========================================================================= */
    .section-title {
        font-size: 18px !important; /* Зменшуємо великий заголовок секції */
        margin-bottom: 16px !important;
    }

    .shop-carousel {
        gap: 8px !important; /* Робимо слайди щільнішими */
        padding-bottom: 8px !important;
        padding-top: 4px !important;
    }

    .product-card {
        border-radius: 12px !important; /* Урізано з 32px */
    }

    .product-card.card-more {
        height: auto!important;
    }

    .product-visual {
        height: 140px !important; /* Компактний розмір фото в каруселі */
        padding: 6px !important;
    }

    .product-tag {
        top: 8px !important;
        left: 8px !important;
        padding: 4px 8px !important;
        font-size: 9px !important;
    }

    .product-body {
        padding: 12px 0 !important;
    }

    .product-meta {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .product-card .product-title {
        font-size: 10px !important;
        margin-bottom: 12px !important;
        height: calc(10px * 1.15 * 3) !important;
        min-height: calc(10px * 1.15 * 3) !important;
        line-height: 1.2!important;
        -webkit-line-clamp: 3;
    }

    .product-footer {
        padding-top: 10px !important;
        border-top: 1px solid rgba(253, 251, 237, 0.05) !important;
    }

    .product-price {
        font-size: 16px !important;
    }

    .product-add {
        width: 32px !important;
        height: 32px !important;
    }

    .product-add svg {
        width: 14px !important;
        height: 14px !important;
    }

    /* Картка "Відкрити весь каталог" */
    .more-link {
        padding: 0 !important;
    }

    .more-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 10px !important;
    }

    .more-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .more-link span {
        font-size: 11px !important;
    }

    /* Стрілки керування каруселлю */
    .carousel-controls {
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 12px !important;
    }

    .ctrl-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .ctrl-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

.add-to-cart.added-success {
    background: #00BFA5 !important;
    border-color: #00BFA5 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}