/* ============================================
   Меморіальні вази — Dignified Memorial Design
   ============================================ */

:root {
    --color-primary: #4A4E51;
    --color-primary-light: #6D7275;
    --color-primary-dark: #2D3032;
    --color-cream: #F4F1EE;
    --color-warm-beige: #D8D2CB;
    --color-dark: #1E2021;
    --color-accent: #8E9775; /* Sage Green - peaceful and natural */
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #707070;
    --radius: 20px;
    --shadow: 0 8px 30px rgba(74, 78, 81, 0.08);
    --shadow-hover: 0 15px 45px rgba(74, 78, 81, 0.15);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 10px;
    color: var(--color-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    display: block;
    height: 2px;
    background-color: var(--color-accent);
    width: 0;
    transition: width var(--transition);
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: #1A1A1A;
    padding: 140px 20px;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 20px;
        min-height: 360px;
    }
    .hero-image {
        background-position: 35% 15% !important;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 24px;
    display: inline-block;
}
@media (max-width: 768px) {
    .hero h1 {
        display: none;
    }
}
.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 30px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .hero-subtitle {
        color: rgba(255, 255, 255, 0.85);
        font-weight: 600;
    }
}
/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    padding: 14px 40px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(142, 151, 117, 0.25);
}

.btn-primary:hover {
    background-color: #7A8463;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(142, 151, 117, 0.4);
}

.btn-order {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 14px;
    padding: 10px 22px;
}

.btn-order:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-details {
    background-color: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-warm-beige);
    font-size: 14px;
    padding: 9px 22px;
    border-radius: var(--radius);
}

.btn-details:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages-ticker {
    background-color: #0002;
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerLoop 30s linear infinite;
    gap: 30px;
}

.ticker-content span {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: red;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}

@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.advantages-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* ============================================
   CATALOG
   ============================================ */
.catalog {
    background: radial-gradient(circle at top right, var(--color-cream) 0%, #EAE7E4 100%);
    padding: 25px 0;
}

.catalog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

.contacts-section {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.contacts-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.viber-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #7360F2; /* Viber Purple */
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    margin: 20px 0;
    transition: all var(--transition);
    box-shadow: 0 8px 20px rgba(115, 96, 242, 0.3);
}

.viber-link i {
    font-size: 28px;
}

.viber-link:hover {
    background-color: #5E4DBE;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(115, 96, 242, 0.45);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 16px;
    margin-bottom: 35px;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.category-link {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid var(--color-warm-beige);
}

.category-link:hover {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 151, 117, 0.2);
}

.category-anchor {
    padding-top: 80px;
    margin-top: -80px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-align: center;
    margin: 30px 0 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-warm-beige);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap: 40px;
    margin-bottom: 20px;
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-badge-medical);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 15px;
    z-index: 5;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image-container {
    width: 100%;
    position: relative;
    background-color: var(--color-warm-beige);
    overflow: hidden;
}

.product-image {
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* Card Swiper specific styles */
.product-image-container .swiper {
    width: 100%;
    height: 100%;
}

.product-image-container .swiper-button-next,
.product-image-container .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: var(--color-primary) !important;
}

.product-image-container .swiper-button-next::after,
.product-image-container .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.product-image-container .swiper-pagination-progressbar {
    height: 4px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    top: auto !important;
    bottom: 0 !important;
}

.product-image-container .swiper-pagination-progressbar-fill {
    background: var(--color-accent) !important;
}

.product-thumb {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition);
    z-index: 2;
}

.product-card:hover .product-thumb {
    transform: scale(1.1);
}

.product-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.product-image-placeholder span {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 500;
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
    line-height: 1.3;
    text-align: center;
}

.product-size-label {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 10px;
    text-align: center;
}

.product-size-label span {
    font-weight: 600;
    color: var(--color-text);
}

.product-dims-inline {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-light);
    margin-left: 6px;
}

.product-filler {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.filler-label {
    font-weight: 600;
    color: var(--color-text);
}

.product-variants {
    margin-bottom: 14px;
}

.color-swatches {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.swatch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 3px;
    background: #fff;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.25s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.color-swatch:hover {
    border-color: rgba(184, 154, 74, 0.4);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.color-swatch:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.color-swatch.active {
    border-color: var(--color-accent);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 0 3px rgba(184, 154, 74, 0.15), 0 6px 16px rgba(184, 154, 74, 0.28);
}

.color-swatch.active::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    pointer-events: none;
    animation: swatchPulse 0.5s ease-out;
}

@keyframes swatchPulse {
    0%   { box-shadow: 0 0 0 0 rgba(184, 154, 74, 0.45); }
    100% { box-shadow: 0 0 0 10px rgba(184, 154, 74, 0); }
}

.swatch-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.swatch-dot::before {
    content: "";
    position: absolute;
    top: 8%;
    left: 12%;
    width: 38%;
    height: 28%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.swatch-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.color-swatch.active .swatch-dot {
    transform: scale(0.92);
}

.swatch-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-light);
    text-align: center;
    line-height: 1.2;
    max-width: 60px;
    word-break: break-word;
    transition: color 0.25s ease, font-weight 0.25s ease;
}

.swatch-wrapper:hover .swatch-label {
    color: var(--color-primary);
}

.color-swatch.active + .swatch-label,
.swatch-wrapper:has(.color-swatch.active) .swatch-label {
    color: var(--color-accent);
    font-weight: 600;
}

.swatch-антрацит {
    background: radial-gradient(circle at 30% 25%, #4A4A4A 0%, #2A2A2A 70%, #1E1E1E 100%);
}

.swatch-шоколад {
    background: radial-gradient(circle at 30% 25%, #6E4630 0%, #4A2F20 70%, #36221A 100%);
}

.swatch-біла {
    background: radial-gradient(circle at 30% 25%, #FFFFFF 0%, #F4EFEA 70%, #E4DED8 100%);
}

.swatch-біла::after {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 -2px 4px rgba(0, 0, 0, 0.08) !important;
}

.swatch-сіра {
    background: radial-gradient(circle at 30% 25%, #B5B5B5 0%, #888888 70%, #6E6E6E 100%);
}

.selected-color-name {
    font-size: 12px;
    color: var(--color-text-light);
    display: block;
    margin-top: 4px;
    min-height: 16px;
}

.variant-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--color-warm-beige);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    background-color: var(--color-white);
    cursor: pointer;
    appearance: auto;
    transition: border-color var(--transition);
}

.variant-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.product-size-single {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.product-price {
    margin-bottom: 15px;
    margin-top: auto;
    text-align: center;
}

.price-old {
   
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-value {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-dark);
}

.price-currency {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 700;
    margin-left: 2px;
}

.product-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-buttons .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* ============================================
   PRODUCT POPUP
   ============================================ */
.product-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 50, 37, 0.5);
    backdrop-filter: blur(3px);
}

.popup-body {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(44, 50, 37, 0.2);
    z-index: 1;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--color-warm-beige);
    color: var(--color-dark);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition);
    line-height: 1;
}

.popup-close:hover {
    background: var(--color-primary);
    color: #fff;
}

.popup-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.popup-gallery {
    padding: 20px;
    background-color: var(--color-cream);
    border-radius: var(--radius) 0 0 var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 500px;
    overflow: hidden;
}

.popup-gallery .swiper {
    width: 100%;
    max-height: 460px;
}

.popup-gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-cream);
}

.popup-gallery img {
    border-radius: 8px;
    max-height: 440px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.popup-info {
    padding: 30px;
}

.popup-title {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    margin-top: 20px;
    line-height: 1.3;
}

.popup-badge {
    display: inline-block;
    background-color: var(--color-badge-medical);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.popup-art {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.popup-filler {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.popup-size {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.popup-variants {
    margin-bottom: 15px;
}

.popup-variants label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    display: block;
}

.variant-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-btn {
    padding: 8px 16px;
    min-width: 56px;
    border: 1.5px solid var(--color-warm-beige);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.variant-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.variant-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(184, 154, 74, 0.30);
}

.variant-btn.active:hover {
    color: #fff;
    transform: translateY(-2px);
}

.popup-price {
    margin: 15px 0;
}

.popup-price .price-value {
    font-size: 30px;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.popup-buttons .btn {
    flex: 1;
    min-width: 140px;
}

.popup-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    border-top: 1px solid var(--color-warm-beige);
    padding-top: 20px;
}

.popup-description strong {
    color: var(--color-dark);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background-color: var(--color-white);
    padding: 60px 20px;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 16px;
    text-align: justify;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
    background: linear-gradient(135deg, #2C2C2C 0%, #141414 100%);
    padding: 60px 20px;
}

.reviews-section .section-title {
    color: #fff;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.review-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    background-color: var(--color-cream);
    padding: 60px 20px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text);
}

.faq-answer ul {
    padding-left: 20px;
    margin-top: 8px;
}

.faq-answer li {
    margin-bottom: 6px;
}

/* ============================================
   HOW TO ORDER
   ============================================ */
.how-to-order {
    background-color: var(--color-white);
    padding: 60px 20px;
}

.order-steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-text {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.5;
}

/* ============================================
   CONTACTS
   ============================================ */
.contacts-section {
    background-color: var(--color-cream);
    padding: 60px 20px;
    text-align: center;
}

.contacts-container {
    max-width: 600px;
    margin: 0 auto;
}

.contacts-container > p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.contacts-info p {
    font-size: 16px;
    margin-bottom: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    font-size: 13px;
    color: var(--color-accent);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(107, 124, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   SWIPER OVERRIDES
   ============================================ */
.swiper-button-prev,
.swiper-button-next {
    color: var(--color-primary) !important;
}

.swiper-pagination-bullet {
    background-color: var(--color-warm-beige) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-primary) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 15px 20px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--color-warm-beige);
    }

    .nav.show {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--color-cream);
        width: 100%;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .category-title {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-name {
        font-size: 18px;
        min-height: 40px;
    }

    .product-info {
        padding: 12px;
    }

    .price-value {
        font-size: 22px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .product-buttons .btn {
        min-width: auto;
    }

    .popup-content-grid {
        grid-template-columns: 1fr;
    }

    .popup-gallery {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .popup-info {
        padding: 20px;
    }


    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .advantages {
        padding: 24px 16px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        background: var(--color-cream);
        border-radius: var(--radius);
        padding: 12px 14px;
    }

    .advantage-item {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 10px 12px;
        gap: 14px;
        background: var(--color-white);
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(44, 50, 37, 0.06);
    }

    .advantage-item .advantage-icon {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-cream);
        border-radius: 10px;
    }

    .advantage-item .advantage-icon svg {
        width: 22px;
        height: 22px;
    }

    .advantage-item h3 {
        font-size: 15px;
        margin-bottom: 1px;
        line-height: 1.2;
    }

    .advantage-item p {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 24px;
    }

    .category-nav {
        flex-direction: column;
        align-items: center;
    }

    .category-link {
        width: 80%;
        text-align: center;
    }
}

/* ============================================
   FORM OVERRIDES (Bootstrap modal)
   ============================================ */
.modal {
    z-index: 3000 !important;
}

.modal-backdrop {
    z-index: 2999 !important;
}

.modal-header {
    background-color: var(--color-primary) !important;
    border-bottom: none;
}

.modal-title {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
}

.btn-warning {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 25px !important;
}

.btn-warning:hover {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
}

.form-control {
    border-radius: 8px !important;
    border-color: var(--color-warm-beige) !important;
}

.form-control:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(107, 124, 94, 0.15) !important;
}

/* Viber Contact Styling */
.contacts-section {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.contacts-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.viber-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #7360F2;
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none !important;
    margin: 25px 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(115, 96, 242, 0.3);
}

.viber-link i {
    font-size: 30px;
}

.viber-link:hover {
    background-color: #5E4DBE;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(115, 96, 242, 0.45);
}

@media (max-width: 576px) {
    .viber-link {
        font-size: 20px;
        padding: 12px 24px;
        width: 100%;
        max-width: 320px;
    }
}

/* Catalog Title Button */
.catalog-header-btn {
    text-align: center;
    margin-bottom: 16px;
}

.catalog-title-btn {
    font-size: 22px !important;
    padding: 18px 45px !important;
    pointer-events: none; /* Make it look like a label but styled as a button */
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(107, 124, 94, 0.2) !important;
}

/* Catalog "we cut by the meter / rolls" highlight banner */
.cut-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    background: linear-gradient(135deg, #E07A2F 0%, #C2571C 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    padding: 14px 30px;
    border-radius: 22px;
    box-shadow: 0 8px 22px rgba(194, 87, 28, 0.32);
}

.cut-banner-part {
    white-space: nowrap;
}

.cut-banner-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    flex: none;
}

@media (max-width: 768px) {
    .cut-banner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        gap: 10px;
        font-size: 14.5px;
        padding: 16px 18px;
        border-radius: 18px;
    }
    .cut-banner-part {
        white-space: normal;
        text-align: center;
    }
    .cut-banner-sep {
        display: block;
        width: 70%;
        height: 1px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.45);
        border-radius: 0;
    }
}

/* ============================================
   HERO — selling block
   ============================================ */
.hero-collage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    z-index: 0;
}

.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

.hero-overlay {
    z-index: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.84) 100%);
}

.hero-badge {
    display: inline-block;
    padding: 7px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(184, 154, 74, 0.7);
    border-radius: 999px;
    color: var(--color-accent);
    background: rgba(0, 0, 0, 0.25);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1.hero-title {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-formats {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 32px 0 28px;
}

.hero-format {
    flex: 1 1 200px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-format:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(184, 154, 74, 0.6);
}

.hero-format-icon { font-size: 30px; line-height: 1; }

.hero-format-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.hero-format-sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

.hero-format-sub b { color: var(--color-accent); }

.hero-cta {
    font-size: 18px !important;
    padding: 16px 42px !important;
    box-shadow: 0 12px 30px rgba(184, 154, 74, 0.35);
}

.hero-trust {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 768px) {
    .hero h1.hero-title {
        display: inline-block;
        font-size: 28px;
    }
    .hero-badge { font-size: 11px; padding: 6px 14px; }
    .hero-formats { gap: 12px; margin: 24px 0 22px; }
    .hero-format { flex-basis: 100%; max-width: 360px; padding: 16px 14px; }
    .hero-trust { font-size: 12.5px; }
}

/* Contacts — messengers */
.contacts-messengers {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

.telegram-link {
    background: #29A9EB;
}

.telegram-link:hover {
    background: #1c93d1;
}

/* Order modal — selected product summary */
.order-summary {
    background: var(--color-warm-beige);
    border: 1px solid rgba(184, 154, 74, 0.35);
    border-left: 4px solid var(--color-accent);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.order-summary-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.order-summary-line {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
}

.order-summary-price strong {
    color: var(--color-accent);
}

/* Product card / popup — discount price tag */
.product-pricer {
    display: flex;
    align-items: stretch;
    margin-top: auto;
    margin-bottom: 15px;
    border: 1px solid var(--color-warm-beige);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-cream);
}

.pp-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 8px 6px;
    text-align: center;
}

.pp-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.pp-old {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-light);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    white-space: nowrap;
}

.pp-new {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-dark);
    white-space: nowrap;
}

.pp-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

/* Larger variant inside the product popup */
.popup-pricer {
    margin: 15px 0;
    max-width: 460px;
}

.popup-pricer .pp-label { font-size: 11px; }
.popup-pricer .pp-old { font-size: 18px; }
.popup-pricer .pp-new { font-size: 24px; }
.popup-pricer .pp-badge { font-size: 18px; padding: 0 16px; }

@media (max-width: 768px) {
    .pp-col { padding: 7px 4px; }
    .pp-label { font-size: 9px; }
    .pp-old { font-size: 13px; }
    .pp-new { font-size: 16px; }
    .pp-badge { font-size: 13px; padding: 0 7px; }
}
