/*
   DUSHANBE CARPETS — MINIMALIST TEAL
   60-30-10 Rule:
     60% → #1f4f4b  deep teal  (body, large sections)
     30% → #2e6661  mid teal   (cards, secondary surfaces)
     10% → #4f8f88  accent     (buttons, badges, highlights)
*/

/* =========================================
   TOKENS
   ========================================= */
:root {
    --bg-primary:   rgba(31, 79, 75, 0.15); /* Translucent to show deep 3D body background */
    --bg-secondary: #2e6661; 
    --bg-deep:      rgba(22, 46, 44, 0.35); /* Translucent deep variant */
    --bg-surface:   #253f3d;

    --accent:       #4f8f88;
    --accent-hover: #3e7a73;
    --color-btn-red: #8B0000;
    --color-btn-red-hover: #a00000;

    --text-primary:   #ffffff;
    --text-secondary: rgba(255,255,255,0.70);
    --text-muted:     rgba(255,255,255,0.40);
    --border:         rgba(255,255,255,0.10);

    --font-sans:  'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-pill: 40px;

    --shadow-card:  4px 4px 0 var(--accent), 8px 8px 0 var(--bg-deep), 12px 12px 0 rgba(0,0,0,0.5);
    --shadow-hover: 6px 6px 0 var(--accent), 12px 12px 0 var(--bg-deep), 18px 18px 0 rgba(0,0,0,0.6);

    --transition: 0.3s ease;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    touch-action: pan-y; /* Only allow vertical panning page-wide */
}

body {
    background: radial-gradient(circle at 60% -20%, #2e6661 0%, #1f4f4b 45%, #162e2c 100%);
    background-attachment: fixed;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity var(--transition);
}
a:hover { opacity: 0.75; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* =========================================
   WATERMARK
   ========================================= */
.watermark-logo {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(2);
    animation: wmFloat linear infinite;
}

@keyframes wmFloat {
    0%   { opacity: 0;    transform: translateY(0) rotate(0deg) scale(1); }
    15%  { opacity: 0.07; }
    50%  { opacity: 0.05; transform: translateY(-18px) rotate(6deg) scale(1.05); }
    85%  { opacity: 0.07; }
    100% { opacity: 0;    transform: translateY(0) rotate(0deg) scale(1); }
}

/* =========================================
   SCROLL PROGRESS BAR
   ========================================= */
.scroll-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    z-index: 9999;
    transition: width 0.08s linear;
    pointer-events: none;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
}
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(22,46,44,0.96) 0%, rgba(22,46,44,0.50) 100%);
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    background: rgba(18,38,36,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

@keyframes logoImageIn {
    from { opacity: 0; transform: translateX(-24px) scale(0.85); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes logoTextIn {
    from { opacity: 0; transform: translateX(-16px); letter-spacing: 6px; }
    to   { opacity: 1; transform: translateX(0); letter-spacing: 1px; }
}

.logo-image {
    width: 42px;
    height: auto;
    object-fit: contain;
    animation: logoImageIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
    animation: logoTextIn 0.85s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}

/* Nav */
.nav-links {
    display: flex;
    gap: 42px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { opacity: 1; }

/* Icons */
.nav-icons {
    display: flex;
    gap: 26px;
    align-items: center;
}
.nav-icons svg {
    width: 20px; height: 20px;
    cursor: pointer;
    stroke-width: 1.5;
    transition: opacity var(--transition);
}
.nav-icons svg:hover { opacity: 0.65; }

.cart-link {
    display: flex;
    align-items: center;
    color: inherit;
}

/* Language */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-deep);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
}
.lang-selector.active .lang-dropdown { display: flex; }

.lang-item {
    padding: 10px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background var(--transition);
}
.lang-item:hover { background: rgba(255,255,255,0.07); }
.lang-item.active { color: var(--accent); font-weight: 600; }

/* Mobile toggle */
.menu-toggle {
    display: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* =========================================
   SPLASH SCREEN
   ========================================= */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(ellipse at center, #2e6661 0%, #0e2422 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.65s ease 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

body.has-splash .header,
body.has-splash main,
body.has-splash .footer {
    opacity: 0;
    transition: opacity 1s ease;
}
body.page-revealed .header,
body.page-revealed main,
body.page-revealed .footer {
    opacity: 1;
}

#splash-screen.splash-exit {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: splashEnter 1.2s cubic-bezier(0.22,1,0.36,1) 0.15s both;
    transition: transform 0.82s cubic-bezier(0.4,0,0.2,1),
                opacity  0.5s ease 0.05s;
}

#splash-screen.splash-exit .splash-content {
    transform: translate(-38vw,-44vh) scale(0.15);
    opacity: 0;
}

.splash-logo-img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
}

.splash-logo-text {
    font-family: var(--font-sans);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-align: center;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
}

.splash-tap {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    font-family: var(--font-sans);
    white-space: nowrap;
    margin: 0;
    animation: tapPulse 2.8s ease-in-out infinite 2s;
}

@keyframes splashEnter {
    from { opacity: 0; transform: scale(0.7); filter: blur(10px); }
    to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}
@keyframes tapPulse {
    0%, 100% { opacity: 0.38; }
    50%       { opacity: 0.76; }
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding-bottom: 80px;
    overflow: hidden;
}
@supports (height: 100svh) { .hero { height: 100svh; } }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15,35,33,0.90) 0%, rgba(15,35,33,0.20) 50%, rgba(15,35,33,0.10) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.55);
    letter-spacing: 0.3px;
    animation: heroReveal 1.1s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}

/* Primary Button */
.btn-primary {
    background-color: var(--accent);
    color: #fff;
    padding: 15px 52px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--accent);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.65s both, btnHeartbeat 3.5s infinite 2.5s;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    opacity: 1;
    animation-play-state: paused;
}
.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 var(--accent), 4px 4px 0 var(--bg-deep), 6px 6px 0 rgba(0,0,0,0.5);
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.45);
    padding: 14px 40px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    animation: btnHeartbeat 3.5s infinite 2.5s;
}
.btn-secondary:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.06);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    animation-play-state: paused;
}
.btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 var(--accent), 4px 4px 0 var(--bg-deep), 6px 6px 0 rgba(0,0,0,0.5);
}

@keyframes btnHeartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.04); }
    10% { transform: scale(1); }
    15% { transform: scale(1.04); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Button ripple */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.28);
    transform: scale(0);
    animation: rippleEffect 0.65s linear;
    pointer-events: none;
}

/* Hero arrows — diamond */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 52px; height: 52px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-card);
    transition: background var(--transition), transform var(--transition);
}
.hero-arrow.arrow-left  { left: 50px; }
.hero-arrow.arrow-right { right: 50px; }
.hero-arrow .arrow-content { transform: rotate(-45deg); display: flex; }
.hero-arrow:hover {
    background: var(--accent);
    transform: translateY(-50%) rotate(45deg) scale(1.06);
}

/* Dots */
.hero-dots {
    position: relative; z-index: 2;
    display: flex; gap: 12px;
    animation: fadeSlideUp 0.85s ease 0.95s both;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
}
.dot.active       { background: var(--accent); }
.dot.outline      { background: transparent; border: 2px solid var(--accent); }
.dot:hover        { opacity: 0.7; }

/* Swipe hint */
.hero-swipe-hint {
    position: absolute;
    bottom: 118px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeSlideUp 1s ease 1.6s both;
    pointer-events: none;
}
.swipe-line {
    width: 42px; height: 1.5px;
    background: rgba(255,255,255,0.35);
    position: relative; overflow: hidden; border-radius: 1px;
}
.swipe-line::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: rgba(255,255,255,0.85);
    animation: swipeSweep 2.2s ease-in-out infinite 2s;
}
.swipe-text {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

/* =========================================
   SECTION SHARED
   ========================================= */
.section-title-wrap {
    text-align: center;
    margin-bottom: 64px;
}

.section-title-badge {
    display: inline-block;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    padding: 10px 56px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border);
    transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
                transform 0.75s cubic-bezier(0.22,1,0.36,1);
}

.badge-brand {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    margin-left: 6px;
    letter-spacing: 0.5px;
    color: var(--accent);
}

/* =========================================
   POPULAR CARPETS SECTION
   ========================================= */
.popular-carpets {
    background-color: var(--bg-deep);
    padding: 96px 0;
    position: relative;
}

.relative { position: relative; }

/* Carousel */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.carousel-arrow {
    width: 48px; height: 48px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transform: rotate(45deg);
    box-shadow: var(--shadow-card);
    transition: background var(--transition), transform var(--transition);
}
.carousel-arrow:hover {
    background: var(--accent);
    transform: rotate(45deg) scale(1.05);
}
.carousel-arrow .arrow-content { transform: rotate(-45deg); display: flex; }
.carousel-arrow svg {
    color: white;
    width: 22px; height: 22px;
    stroke-width: 2.5;
}

.cards-container {
    display: flex;
    flex-grow: 1;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 24px 0;
    gap: 20px;
    touch-action: pan-x; /* Allow horizontal panning specifically here */
}
.cards-container::-webkit-scrollbar { display: none; }

/* Carpet Card */
.carpet-card {
    background-color: var(--bg-secondary);
    min-width: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 14px 22px;
    margin-top: 44px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}
.carpet-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    opacity: 1;
}

.card-img-wrap {
    width: 100%;
    margin-top: -44px;
    margin-bottom: 20px;
}
.card-img-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.30);
    transition: transform 0.4s ease;
}
.carpet-card:hover .card-img-wrap img { transform: scale(1.02); }

.card-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 14px;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.3px;
}

.card-price {
    display: none;
}

.carousel-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent);
    padding: 12px 36px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    animation: btnHeartbeat 3.5s infinite 2.5s;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    opacity: 1;
    animation-play-state: paused;
}

.btn-outline:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 var(--bg-primary), 4px 4px 0 var(--bg-deep), 6px 6px 0 rgba(0,0,0,0.5);
}
.gallery-section {
    background-color: var(--bg-primary);
    padding: 24px 0 96px;
}

.gallery-classic-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1fr;
    grid-template-rows: 290px 220px 265px;
    gap: 10px;
}
.gallery-classic-grid img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: opacity 0.7s ease, transform 0.35s ease, box-shadow 0.35s ease, filter 0.8s ease;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.gallery-classic-grid img.img-blur {
    filter: blur(15px);
}
.gallery-classic-grid img:hover {
    transform: scale(1.02);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.50);
}

.gc-img-1 { grid-column: 1;     grid-row: 1 / 3; }
.gc-img-2 { grid-column: 2;     grid-row: 1;     }
.gc-img-3 { grid-column: 3;     grid-row: 1 / 3; }
.gc-img-4 { grid-column: 1 / 3; grid-row: 3;     }
.gc-img-5 { grid-column: 2;     grid-row: 2;     }
.gc-img-6 { grid-column: 3;     grid-row: 3;     }

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    background-color: var(--bg-deep);
    padding: 24px 0 96px;
    border-top: 2px solid var(--border);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 56px;
}

.about-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    font-weight: 400;
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
                transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.about-text h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 26px;
    line-height: 1.35;
}
.about-p { margin: 0 0 16px; }
.about-p:last-child { margin-bottom: 0; }

.about-map {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s,
                transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-masked {
    width: 100%;
    aspect-ratio: 2789 / 1990;
    mask: url(#tajik-mask);
    -webkit-mask: url(#tajik-mask);
    overflow: hidden;
    filter: drop-shadow(0 14px 36px rgba(0,0,0,0.65));
    transition: transform 0.6s cubic-bezier(0.165,0.84,0.44,1);
}
.map-masked:hover { transform: scale(1.03); }

.map-carpet-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.map-masked:hover .map-carpet-img { transform: scale(1.06); }

/* Partners */
.about-partners { margin-top: 10px; }
.about-partners-badge { margin-top: 64px; margin-bottom: 30px; }

.partners-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.85;
    max-width: 820px;
    margin: 0 auto 36px;
    padding: 0 20px;
}

.partners-cta-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 52px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.partner-card:hover { transform: translateY(-6px); }

.partner-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-card);
    background: var(--bg-surface);
}
.partner-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.partner-card:hover .partner-img-wrap img { transform: scale(1.06); }

.partner-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

/* =========================================
   CONTACT SECTION (homepage)
   ========================================= */
.contact-section {
    background-color: var(--bg-primary);
    padding: 24px 0 112px;
    border-top: 2px solid var(--border);
}

.contact-frame-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    position: relative;
}

.contact-vector-shape {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    object-fit: cover;
    opacity: 0.08;
}

.contact-frame {
    position: relative;
    width: 1000px;
    max-width: 100%;
    height: 480px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
                transform 0.85s cubic-bezier(0.22,1,0.36,1);
}

.contact-bg-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(0.7);
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22,46,44,0.72);
    z-index: 1;
}

.contact-form {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row { display: flex; gap: 18px; }

.form-input,
.form-textarea {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    outline: none;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
    background: rgba(79,143,136,0.08);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.55); }

.form-input {
    flex: 1;
    padding: 15px 26px;
}
.form-textarea {
    width: 100%;
    height: 180px;
    resize: none;
    padding: 18px 26px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--bg-deep);
    padding: 80px 0 60px;
    border-top: 2px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}
.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 22px;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}
.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
}
.footer-col ul li a:hover { color: #fff; opacity: 1; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.footer-logo-image {
    width: 40px;
    height: auto;
    object-fit: contain;
}
.footer-logo-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 4px 0;
}

.footer-payment { margin-top: 36px; }
.payment-title { font-size: 0.95rem !important; margin-bottom: 14px !important; }
.payment-icons-img {
    display: flex;
    align-items: center;
    gap: 18px;
}
.pay-logo {
    height: 28px !important;
    width: auto !important;
    max-width: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--transition), transform var(--transition);
}
.pay-logo:hover { opacity: 1; transform: scale(1.05); }
.pay-logo[alt="Oriyonbank"] { height: 52px !important; max-width: 130px; }

.support-col { align-items: center; text-align: center; }
.support-links { margin-bottom: 36px; }

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.newsletter p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
    max-width: 280px;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 280px;
}
.newsletter-form input {
    width: 100%;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 11px 18px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: var(--accent); }

.btn-newsletter {
    padding: 10px 36px;
    font-size: 0.88rem;
    border-radius: var(--radius-pill);
}

.info-col { align-items: center; }
.info-col ul { align-items: center; }

.social-col { align-items: center; }
.footer-social-icons {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}
.footer-social-icons svg {
    width: 28px; height: 30px;
    color: #fff;
    cursor: pointer;
    stroke-width: 1.5;
    transition: opacity var(--transition);
}
.footer-social-icons svg:hover { opacity: 0.65; }

/* =========================================
   CATALOG PAGE (carpets.html)
   ========================================= */
.catalog-page {
    background-color: var(--bg-primary);
    min-height: 100vh;
    padding-top: 148px;
}

.filter-section { padding-bottom: 40px; }

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    margin-bottom: 56px;
}

.filter-left, .filter-right {
    display: flex;
    gap: 18px;
}

.filter-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    padding: 9px 38px 9px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    cursor: pointer;
    outline: none;
    transition: all var(--transition);
}
.filter-select option { background: var(--bg-deep); color: #fff; }
.filter-select:hover,
.filter-select:focus {
    background: var(--bg-surface);
    border-color: var(--accent);
}
.filter-dropdown-wrapper i {
    position: absolute;
    right: 14px;
    width: 16px; height: 16px;
    pointer-events: none;
    color: var(--text-muted);
}

/* Grid */
.carpets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 22px;
    margin-bottom: 80px;
}
.carpets-grid .carpet-card {
    min-width: 0;
    margin-top: 44px;
}

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding-bottom: 96px;
}
.page-numbers { display: flex; gap: 18px; align-items: center; }
.page-num {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition);
}
.page-num.active {
    color: #fff;
    background: var(--accent);
    width: 38px; height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.page-num:hover { color: #fff; }

.pagination-arrow {
    width: 44px; height: 44px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: rotate(45deg);
    transition: all var(--transition);
}
.pagination-arrow .arrow-content { transform: rotate(-45deg); }
.pagination-arrow:hover { background: var(--accent); }

/* =========================================
   MODAL (LIGHTBOX)
   ========================================= */
.carpet-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(14px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.carpet-modal.active { display: flex; opacity: 1; }

.modal-content {
    position: relative;
    max-width: 90%; max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.carpet-modal.active .modal-content { transform: scale(1); }

.modal-img {
    max-width: 100%; max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 8px 8px 0 var(--accent), 12px 12px 0 rgba(0,0,0,0.6);
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -56px; right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.08);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background var(--transition);
}
.modal-close:hover { background: var(--accent); }

.modal-info { margin-top: 28px; text-align: center; color: #fff; }
.modal-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    margin-bottom: 8px;
}
.modal-price {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 1px;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-page {
    background-color: var(--bg-primary);
    padding-top: 140px;
}
.about-page .about-section {
    background-color: var(--bg-primary);
    padding: 56px 0 96px;
}

/* About company card */
.about-company-card {
    display: flex;
    align-items: center;
    gap: 56px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 52px 56px;
    border: 2px solid var(--border);
}
.about-company-text { flex: 1.5; }
.about-company-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 26px;
    line-height: 1.35;
}
.about-company-text p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.85;
    margin: 0 0 16px;
}
.about-company-text p:last-child { margin-bottom: 0; }

.about-company-logo {
    flex: 0.65;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 38px 22px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    min-height: 220px;
}
.about-logo-img {
    width: 110px;
    height: auto;
    filter: brightness(1.05) drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.about-logo-brand {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    color: rgba(255,255,255,0.92);
    line-height: 1.35;
    text-transform: uppercase;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-page {
    background-color: var(--bg-primary);
    padding-top: 140px;
}
.contact-info-section { padding: 56px 0; }
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-info-left h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 32px;
}
.contact-info-item { margin-bottom: 26px; }
.contact-info-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px;
}
.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.contact-social-row {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}
.contact-social-row svg {
    width: 26px; height: 26px;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition);
}
.contact-social-row svg:hover { color: var(--accent); }

.contact-right-photo {
    width: 100%; height: 440px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.contact-page-form-section {
    padding: 56px 0 96px;
    background: var(--bg-deep);
    border-top: 2px solid var(--border);
}



.newarrivals-section { padding: 56px 0 96px; }

/* =========================================
   ADMIN PANEL
   ========================================= */
.admin-page { background-color: #0d1f1e; color: #fff; height: 100vh; overflow: hidden; }
.admin-layout { display: flex; height: 100vh; }

.admin-sidebar {
    width: 270px;
    background: var(--bg-deep);
    border-right: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 28px 0;
}
.admin-logo {
    display: flex; align-items: center;
    gap: 12px; padding: 0 28px;
    margin-bottom: 44px;
}
.admin-logo img { width: 38px; }
.admin-logo span { font-size: 1rem; font-weight: 600; line-height: 1.2; }

.admin-nav { display: flex; flex-direction: column; gap: 6px; }
.admin-nav a {
    display: flex; align-items: center;
    gap: 14px; padding: 13px 28px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition);
}
.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-left: 3px solid var(--accent);
    opacity: 1;
}
.admin-nav a svg { width: 20px; height: 20px; }

.admin-main {
    flex-grow: 1;
    overflow-y: auto;
    background: #0d1f1e;
    padding: 38px 48px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
}
.admin-header h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.9rem;
    margin: 0;
}
.admin-content {
    background: var(--bg-deep);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 2px solid var(--border);
}
.admin-table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}
.admin-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.admin-tbl-img {
    width: 56px; height: 74px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
}
.admin-input {
    background: transparent;
    border: 2px solid var(--border);
    color: #fff;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    width: 100%;
}
.admin-input:focus { border-color: var(--accent); outline: none; }
.admin-input option { background: var(--bg-deep); color: #fff; }

.icon-btn {
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    padding: 5px;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover.edit-btn   { color: #4f9fdc; }
.icon-btn:hover.delete-btn { color: #e05555; }

.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.88rem;
}
.admin-textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 2px solid var(--border);
    color: #fff;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    height: 120px;
    resize: vertical;
}
.admin-textarea:focus { border-color: var(--accent); outline: none; }

.filter-item.active {
    background: var(--accent);
    border-color: rgba(255,255,255,0.25);
}

/* =========================================
   KEYFRAMES
   ========================================= */
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(48px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes rippleEffect {
    to { transform: scale(4.5); opacity: 0; }
}
@keyframes swipeSweep {
    0%   { left: -80%; }
    100% { left: 150%; }
}

/* =========================================
   RESPONSIVE — TABLET (≤1100px)
   ========================================= */
@media (max-width: 1400px) {
    .carpets-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
    .carpets-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid  { grid-template-columns: 1fr 1fr; gap: 56px; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================
   RESPONSIVE — TABLET (≤991px)
   ========================================= */
@media (max-width: 991px) {
    .container { padding: 0 24px; }

    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 0; right: -110%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: var(--bg-deep);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.19,1,0.22,1);
        z-index: 1000;
        gap: 28px;
        box-shadow: -4px 0 0 rgba(0,0,0,0.4);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.4rem; }
    .nav-icons { gap: 18px; }

    .hero-title { font-size: 2.1rem; }
    .hero-content { padding: 0 20px; }
    .hero-arrow { width: 44px; height: 44px; }
    .hero-arrow.arrow-left  { left: 16px; }
    .hero-arrow.arrow-right { right: 16px; }

    .about-content { flex-direction: column; gap: 36px; }
    .about-company-card { flex-direction: column; gap: 26px; padding: 32px 24px; }
    .about-company-logo { flex: auto; width: 100%; flex-direction: row; padding: 20px; min-height: auto; }
    .about-logo-brand { font-size: 1.1rem; text-align: left; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .map-container { max-width: 100%; }

    .contact-info-grid { grid-template-columns: 1fr; gap: 28px; }

    .admin-layout { flex-direction: column; overflow-y: auto; }
    .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 2px solid var(--border); padding: 18px; }
    .admin-logo { margin-bottom: 16px; }
    .admin-nav { flex-direction: row; flex-wrap: wrap; }
    .admin-main { padding: 18px; height: auto; }
}

/* =========================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================= */
@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .header { padding: 18px 0; }
    .logo-image { width: 32px; }
    .logo-text  { font-size: 0.85rem; }
    .nav-icons  { gap: 14px; }
    .nav-icons svg { width: 18px; height: 18px; }

    .hero { 
        height: auto;
        min-height: 100svh; 
        padding-bottom: 56px; 
    }
    .hero-title { font-size: 1.6rem; margin-bottom: 24px; }
    .btn-primary { padding: 13px 32px; font-size: 0.92rem; }
    .hero-arrow { width: 38px; height: 38px; }
    .hero-arrow.arrow-left  { left: 12px; }
    .hero-arrow.arrow-right { right: 12px; }
    .hero-swipe-hint { display: flex; }

    .section-title-badge { font-size: 1.05rem; padding: 9px 26px; }
    .section-title-wrap  { margin-bottom: 40px; }

    .popular-carpets { padding: 60px 0; }
    .carousel-wrapper { gap: 10px; }
    .carousel-arrow { width: 36px; height: 36px; }
    .card-img-wrap img { height: 240px; }
    .carpet-card { min-width: 180px; padding: 0 10px 16px; }
    .card-title { font-size: 0.88rem; }
    .card-price { font-size: 0.82rem; padding: 7px 16px; }

    .gallery-section { padding: 18px 0 60px; }
    .gallery-classic-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 8px;
    }
    .gc-img-1,.gc-img-2,.gc-img-3,
    .gc-img-4,.gc-img-5,.gc-img-6 { grid-column: auto; grid-row: auto; height: 160px; }
    .gc-img-1,.gc-img-4 { grid-column: span 2; height: 200px; }

    .about-section { padding: 28px 0 60px; }
    .about-text h3 { font-size: 1.25rem; }
    .about-text { font-size: 0.94rem; }
    .map-container { max-width: 320px; }
    .partners-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .partners-desc { font-size: 0.88rem; }

    .contact-section { padding: 18px 0 70px; }
    .contact-frame { height: auto; min-height: 440px; padding: 38px 14px; }
    .contact-form { width: 95%; gap: 15px; }
    .form-row { flex-direction: column; gap: 14px; }
    .form-input { padding: 13px 18px; font-size: 0.95rem; }
    .form-textarea { height: 150px; padding: 14px 18px; }
    .contact-vector-shape { display: none; }

    .footer { padding: 52px 0 38px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
    .footer-col h4 { font-size: 0.9rem; margin-bottom: 14px; }
    .footer-logo-image { width: 32px; }
    .footer-logo-text { font-size: 0.88rem; }
    .footer-social-icons svg { width: 24px; height: 24px; }

    .catalog-page { padding-top: 110px; }
    .filter-bar { flex-direction: column; gap: 12px; border-radius: var(--radius-lg); padding: 14px 18px; margin-bottom: 34px; flex-wrap: wrap; }
    .filter-left,.filter-right { width: 100%; justify-content: center; flex-wrap: wrap; gap: 10px; }
    .filter-select { padding: 8px 30px 8px 14px; font-size: 0.85rem; }
    .carpets-grid { grid-template-columns: repeat(2,1fr); gap: 28px 12px; }
    .carpets-grid .carpet-card { margin-top: 36px; }

    .about-page    { padding-top: 110px; }
    .contact-page  { padding-top: 110px; }
    .contact-info-section { padding: 38px 0; }
    .contact-right-photo { height: 280px; }
    .cart-page { padding-top: 110px; }
    .cart-item { grid-template-columns: 140px 1fr auto; gap: 20px; padding: 20px; }
    .cart-item-img { width: 140px; height: 170px; }

    .modal-title { font-size: 1.5rem; }

    .splash-logo-img  { width: 100px; }
    .splash-logo-text { font-size: 1.75rem; letter-spacing: 3px; }
    #splash-screen.splash-exit .splash-content { transform: translate(-30vw,-40vh) scale(0.2); }
}

/* =========================================
   RESPONSIVE — SMALL PHONE (≤480px)
   ========================================= */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .popular-carpets { padding: 56px 0; }
    .gallery-section { padding: 18px 0 60px; }
    .about-section   { padding: 18px 0 60px; }
    .contact-section { padding: 18px 0 72px; }
    .section-title-wrap  { margin-bottom: 44px; }
    .section-title-badge { font-size: 1rem; padding: 9px 32px; }

    .hero { padding-bottom: 60px; }
    .hero-title { font-size: 1.3rem; line-height: 1.4; margin-bottom: 20px; }
    .hero-arrow { width: 36px; height: 36px; }
    .hero-arrow.arrow-left  { left: 10px; }
    .hero-arrow.arrow-right { right: 10px; }
    .dot { width: 9px; height: 9px; }

    .logo-text  { font-size: 0.88rem; }
    .logo-image { width: 32px; }
    .nav-icons svg { width: 17px; height: 17px; }

    .popular-carpets .carpet-card { min-width: 150px; padding: 0 8px 13px; margin-top: 26px; }
    .popular-carpets .card-img-wrap { margin-top: -26px; margin-bottom: 12px; }
    .popular-carpets .card-img-wrap img { height: 195px; border-radius: 6px; }
    .popular-carpets .card-title { font-size: 0.8rem; margin-bottom: 0; }
    .popular-carpets .card-price { display: none; }

    .gallery-classic-grid img { max-height: 260px; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
    .footer-logo,.payment-icons-img { justify-content: center; }
    .footer { padding: 50px 0 40px; }
    .pagination-wrap { gap: 14px; }
    .page-num { font-size: 0.88rem; }
    .pagination-arrow { width: 34px; height: 34px; }

    .newsletter-form { max-width: 100%; width: 100%; }
    .newsletter-form input { width: 100%; box-sizing: border-box; }
}

/* =========================================
   RESPONSIVE — TINY (≤400px)
   ========================================= */
@media (max-width: 400px) {
    .filter-right { flex-direction: column; gap: 8px; width: 100%; }
    .filter-dropdown-wrapper { width: 100%; }
    .filter-select { width: 100%; box-sizing: border-box; }
    .carpets-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 1fr; }
}
