/* ============================================================
   KIDDI KINGDOM — Luxury White & Silver Design System
   Premium, minimal, refined — mobile-first app experience
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
    --primary: #1a1a22;
    --primary-dark: #111118;
    --secondary: #b8b4c8;
    --accent-orange: #d4c9a8;
    --accent-pink: #b8b4c8;
    --accent-green: #a8a8b8;
    --accent-platinum: #a8a8b8;
    --accent-gold: #d4c9a8;
    --accent-lavender: #b8b4c8;
    --dark: #2a2a35;
    --text: #8e8d9a;
    --text-light: #c0bfc8;
    --light-bg: #ffffff;
    --card-bg: #f7f6f4;
    --border: #e8e8ec;
    --danger: #c44040;
    --success: #4a8c5c;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --container: 1320px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bottom-nav-height: 64px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Smooth viewport transition animations ── */
.container,
.main-header,
.header-inner,
.logo img,
.hero-slider-wrap,
.hero-slide img,
.product-grid,
.product-card,
.product-card img,
.main-nav,
.nav-inner,
.bottom-nav,
.bottom-nav-inner,
.footer-grid,
.marquee-section,
.tabs-header,
.promo-banners,
.search-form,
.search-input {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-platinum);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font);
    border: none;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Micro-animation: button press */
button:active,
.btn:active,
.btn-add-cart:active,
.btn-buy-now:active,
a.btn:active {
    transform: scale(0.97);
}

input,
select,
textarea {
    font-family: var(--font);
    border-radius: 0;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Top Bar — REMOVED (hidden permanently for clean editorial look) ── */
.top-bar {
    display: none;
}

/* ── Main Header — Editorial / Zara-style ── */
.main-header {
    background: #ffffff;
    height: 72px;
    padding: 0;
    border-bottom: 1px solid #e8e8ec;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    width: 100%;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 44px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.header-search {
    flex: 2;
    max-width: 500px;
    margin: 0 32px;
    display: flex;
    justify-content: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: none;
    overflow: hidden;
    gap: 0;
    width: 100%;
}

.search-icon-left {
    margin-left: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
    color: var(--dark);
    letter-spacing: 0.3px;
}

.search-input::placeholder {
    color: #c0bfc8;
    font-weight: 400;
}

/* Hide old search button — search now uses inline icon */
.search-btn {
    display: none;
}

/* ── Header Actions — Icon only ── */
.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    transition: opacity 0.15s;
}

.header-action-icon:hover {
    opacity: 0.6;
}

/* Hide old-style action items */
.header-action-item {
    display: none;
}

.action-text {
    display: none;
}

.cart-badge-wrap {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #1a1a22;
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Desktop Navigation — Editorial white bar ── */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #e8e8ec;
}

.nav-inner {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 32px;
}

.nav-link {
    color: #1a1a22;
    padding: 16px 0;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #1a1a22;
    border-bottom-color: #1a1a22;
}

.nav-link.active {
    color: #1a1a22;
    border-bottom-color: #1a1a22;
}

/* ── Bottom Navigation Bar (Mobile) ── */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    z-index: 9998;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 48px;
    min-height: 48px;
    transition: color 0.15s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: fill 0.15s;
}

.bottom-nav-item.active,
.bottom-nav-item:active {
    color: var(--dark);
}

.bottom-nav-item .nav-cart-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Hero Section ── */
.hero-section {
    padding: 20px 0 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Hero Slider */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.hero-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    pointer-events: none;
    /* Allows mouse dragging to work smoothly */
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-slide-content small {
    font-size: 14px;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-slide-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-slide-content h2 span {
    display: block;
    font-size: 44px;
    color: var(--dark);
}

.slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.slider-indicators .indicator.active {
    width: 40px;
    background: #fff;
}

/* ── Promo Banners ── */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
}

.promo-banner {
    padding: 28px;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.promo-banner:hover {
    opacity: 0.85;
}

.promo-banner.off-white {
    background: #f7f6f4;
}

.promo-banner.silver {
    background: #e8e8ec;
}

.promo-banner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.promo-banner p {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 400;
}

/* ── Shop Page Layout ── */
.shop-header {
    background: var(--light-bg);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.shop-title {
    font-size: 34px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.search-results-text {
    font-size: 14px;
    color: var(--text);
    font-style: italic;
}

.shop-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Sidebar Filters */
.shop-sidebar {
    padding-right: 20px;
}

.sidebar-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.sidebar-categories {
    list-style: none;
    padding: 0;
}

.sidebar-categories li {
    margin-bottom: 16px;
}

.sidebar-categories a {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    font-weight: 400;
}

.sidebar-categories a:hover {
    color: var(--dark);
}

.sidebar-categories a.active {
    color: var(--dark);
    font-weight: 600;
    border-bottom: 1px solid var(--dark);
}

/* Shop Sort Bar */
.shop-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.product-count {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sort-select {
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 13px;
    color: var(--dark);
    cursor: pointer;
    font-weight: 500;
    outline: none;
}

.shop-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
}

/* ── Pagination ── */
.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    padding-bottom: 60px;
}

.pagination-btn {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a22;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.pagination-btn:hover:not(.disabled) {
    background: #1a1a22;
    color: #fff;
    border-color: #1a1a22;
}

.pagination-btn.disabled {
    color: #ccc;
    border-color: #eee;
    cursor: default;
    pointer-events: none;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination-page:hover:not(.active) {
    background: var(--light-bg);
    color: #1a1a22;
}

.pagination-page.active {
    background: #1a1a22;
    color: #fff;
}

.pagination-ellipsis {
    width: 28px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ── Product Tabs ── */
.product-tabs-section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .product-tabs-section {
        padding-bottom: 20px;
    }
}

.tab-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.tab-btn {
    padding: 0 0 16px 0;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #bbb;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #1a1a22;
}

.tab-btn.active {
    color: #1a1a22;
    border-color: #1a1a22;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 0px;
    background: var(--light-bg);
}

.pc-image-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.pc-image-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.5s ease;
    display: none;
}

.pc-image-track img.active {
    display: block;
}

.product-card:hover .pc-image-track img.active {
    transform: scale(1.05);
}

.pc-hover-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    pointer-events: none;
}

.pc-view-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

.product-card:hover .pc-hover-overlay {
    background: rgba(0, 0, 0, 0.08);
}

.product-card:hover .pc-view-text {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.badge {
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    border: none;
}

.badge-new {
    background: #1a1a22;
    color: #fff;
}

.badge-sale {
    background: #c0a080;
    color: #fff;
}

.product-card-body {
    padding: 14px 4px;
    text-align: left;
    background: transparent;
}

.pc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a22;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.pc-title a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.pc-title a:hover {
    color: var(--text);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-current {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a22;
}

.price-original {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
}

.product-card .btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}

.product-card .btn-add-cart:hover {
    background: var(--primary-dark);
    opacity: 0.9;
}

.product-card .btn-add-cart:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--border);
    color: var(--text);
}

/* ── Skeleton Loader ── */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: #fff;
    padding-bottom: 16px;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 14px;
}

.skeleton-title {
    height: 12px;
    margin: 0 4px 8px;
    width: 80%;
}

.skeleton-price {
    height: 12px;
    margin: 0 4px;
    width: 40%;
}

@media (max-width: 768px) {
    .skeleton-img {
        aspect-ratio: 4/5;
    }
}

/* ── Trust Badges ── */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 24px;
    color: var(--dark);
    text-align: left;
}

.trust-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a22;
    /* Icon color */
}

.trust-badge-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.trust-badge-text h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #1a1a22;
}

.trust-badge-text p {
    font-size: 13px;
    color: #777;
    font-weight: 400;
}

/* ── Testimonials — Premium Slider ── */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-section {
    background: #fafafa;
    padding: 100px 0;
    overflow: hidden;
}

.ts-header {
    text-align: center;
    margin-bottom: 56px;
}

.ts-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 12px;
}

.ts-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #1a1a22;
    margin-bottom: 16px;
}

.ts-line {
    width: 40px;
    height: 1px;
    background: #ddd;
    margin: 0 auto;
}

.ts-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ts-track-container {
    overflow: hidden;
    width: 100%;
}

.ts-track {
    display: flex;
    gap: 24px;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ts-static-grid {
    justify-content: center;
    flex-wrap: nowrap;
}

.ts-static-grid .review-card {
    opacity: 1 !important;
    transform: scale(1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.ts-static-grid .review-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-4px) !important;
}

.review-card {
    min-width: calc(33.333% - 16px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    padding: 40px 36px;
    border-left: 3px solid #e8e0d0;
    box-sizing: border-box;
    opacity: 0.6;
    transform: scale(0.98);
    transition: all 0.7s ease;
    animation: fadeSlideUp 0.8s ease forwards;
}

.review-card:nth-child(1) {
    animation-delay: 0s;
}

.review-card:nth-child(2) {
    animation-delay: 0.15s;
}

.review-card:nth-child(3) {
    animation-delay: 0.3s;
}

.review-card.active {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.rc-stars {
    color: #c8a96e;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.rc-quote {
    font-family: serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    color: #555;
    line-height: 1.9;
    margin-bottom: 28px;
}

.rc-reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f5f5f5;
    padding-top: 24px;
    margin-top: 24px;
}

.rc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f7f6f4;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a22;
    flex-shrink: 0;
}

.rc-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.rc-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a22;
}

.rc-role {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Slider Arrows */
.ts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 18px;
    color: #1a1a22;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s;
}

.ts-arrow:hover {
    background: #1a1a22;
    color: #fff;
}

.ts-prev {
    left: -20px;
}

.ts-next {
    right: -20px;
}

@media (max-width: 768px) {
    .ts-arrow {
        display: none !important;
    }
}

/* Slider Dots */
.ts-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.ts-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.ts-dot.active {
    width: 24px;
    border-radius: 3px;
    background: #1a1a22;
}

/* ── Journal / Blog Section ── */
.journal-section {
    background: #ffffff;
    padding: 100px 0;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.journal-card {
    text-decoration: none;
    color: inherit;
    border: none;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    display: block;
    transition: box-shadow 0.3s;
    animation: fadeSlideUp 0.7s ease forwards;
}

.journal-card:nth-child(2) {
    animation-delay: 0.1s;
}

.journal-card:nth-child(3) {
    animation-delay: 0.2s;
}

.journal-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.jc-image {
    aspect-ratio: 3/2;
    overflow: hidden;
}

.jc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-card:hover .jc-image img {
    transform: scale(1.05);
}

.jc-body {
    padding: 24px 0 0;
}

.jc-date {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 12px;
    display: block;
}

.jc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a22;
    line-height: 1.4;
    margin-bottom: 12px;
}

.jc-excerpt {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.jc-readmore {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a1a22;
    border-bottom: 1px solid #1a1a22;
    padding-bottom: 2px;
    display: inline-block;
    transition: all 0.2s;
}

.journal-card:hover .jc-readmore {
    color: #999;
    border-color: #999;
}

.jc-viewall {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a22;
    border-bottom: 1px solid #1a1a22;
    padding-bottom: 3px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s;
}

.jc-viewall:hover {
    color: #999;
    border-color: #999;
}

/* ── Flash Deals / Side Widget ── */
.side-widget {
    background: var(--card-bg);
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.side-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.side-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent-gold);
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: var(--light-bg);
    padding: 4px;
}

.trending-info h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.trending-info .price-current {
    font-size: 15px;
}

.trending-info .price-original {
    font-size: 12px;
}

/* ── Static Pages (About, Help, Shipping, Terms, etc.) ── */
.static-hero {
    background: #1a1a22;
    padding: 80px 0 60px;
    text-align: center;
}

.static-hero-label {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.static-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

.static-content {
    padding: 80px 0 100px;
}

.static-content-inner {
    max-width: 760px;
    margin: 0 auto;
}

.static-section {
    margin-bottom: 48px;
}

.static-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: #1a1a22;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.static-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a22;
    margin-bottom: 10px;
}

.static-section p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 16px;
}

.static-section ul,
.static-section ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 20px;
}

.static-section ul li,
.static-section ol li {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.static-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a1a22;
}

.static-section ol {
    counter-reset: step-counter;
}

.static-section ol li {
    counter-increment: step-counter;
}

.static-section ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: #1a1a22;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}

.faq-item h3 {
    margin-bottom: 8px;
}

.faq-item p {
    margin-bottom: 0;
}


.site-footer {
    background: #1a1a22;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
    max-width: 220px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-heading {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    font-weight: 400;
    cursor: default;
}

.fc-arrow {
    display: none;
    /* Only visible on mobile */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links li a,
.footer-links li span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2.4;
    display: block;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

.payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-icons img {
    height: 20px;
    object-fit: contain;
}

.pm-text {
    font-weight: 600;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 3px 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-decoration {
    display: none;
}

/* ── Newsletter ── */
.newsletter-widget {
    background: var(--dark);
    padding: 24px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.newsletter-widget h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-widget p {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 16px;
}

.newsletter-widget input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-bottom: 10px;
    font-size: 13px;
}

.newsletter-widget input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-widget button {
    width: 100%;
    padding: 10px;
    background: white;
    color: var(--dark);
    border: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.2s;
}

.newsletter-widget button:hover {
    opacity: 0.9;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--dark);
    color: var(--dark);
}

/* ── Page Section ── */
.section {
    padding: 40px 0;
}

.page-banner {
    background: var(--primary);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.page-banner p {
    opacity: 0.6;
    margin-top: 4px;
    font-weight: 400;
}

/* ── Checkout Styles ── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    padding: 30px 0;
}

.checkout-card {
    background: var(--light-bg);
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.checkout-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    font-size: 14px;
    transition: border-color 0.2s;
    background: var(--light-bg);
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--dark);
}

/* Payment Selection */
.payment-selection {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method-card.active {
    border-color: var(--dark);
    background: var(--card-bg);
}

.payment-method-card input[type="radio"] {
    display: none;
}

.payment-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: var(--card-bg);
}

/* Order Summary */
.summary-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.summary-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--card-bg);
}

.summary-details {
    flex: 1;
}

.summary-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.summary-price {
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0 0;
    border-top: 2px solid var(--dark);
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
}

/* ── Cart Page ── */
.cart-table {
    width: 100%;
    background: var(--light-bg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-table th {
    background: var(--card-bg);
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    text-align: left;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--card-bg);
}

/* ── Blog Page — Premium Editorial ── */
.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 0 60px;
}

/* Hero Post */
.blog-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 48px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}
.blog-hero-image {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
}
.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-hero:hover .blog-hero-image img {
    transform: scale(1.03);
}
.blog-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 40px 36px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: #fff;
}
.blog-hero-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    display: block;
}
.blog-hero-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.blog-hero-excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 16px;
}
.blog-hero-readmore {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    display: inline-block;
}
.blog-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e0d0, #f7f6f4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-hero-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: #ccc;
}

/* ── Blog Detail — Premium Reading ── */
.blog-detail {
    padding: 30px 0 60px;
}
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 32px;
    color: var(--text-light);
}
.blog-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.blog-breadcrumb a:hover {
    color: var(--dark);
}
.blog-breadcrumb svg {
    width: 12px;
    height: 12px;
    stroke: var(--text-light);
    flex-shrink: 0;
}

.blog-article-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}
.blog-article-meta {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.blog-article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-article-header h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}
.blog-article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
}
.blog-article-author .author-avatar {
    width: 32px;
    height: 32px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.blog-featured-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    margin-bottom: 36px;
}

.blog-article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.85;
    color: #444;
}
.blog-article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 32px 0 12px;
}
.blog-article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 24px 0 10px;
}
.blog-article-body p {
    margin-bottom: 16px;
}
.blog-article-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.blog-article-body blockquote {
    border-left: 3px solid var(--dark);
    padding: 12px 20px;
    margin: 24px 0;
    color: #666;
    font-style: italic;
    background: var(--card-bg);
}
.blog-article-body ul, .blog-article-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.blog-article-body li {
    margin-bottom: 6px;
}

/* Share Strip */
.blog-share {
    max-width: 720px;
    margin: 36px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-share-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-right: 4px;
}
.blog-share a, .blog-share button {
    width: 36px;
    height: 36px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.blog-share a:hover, .blog-share button:hover {
    background: var(--dark);
}
.blog-share a:hover svg, .blog-share button:hover svg {
    stroke: #fff;
    fill: #fff;
}
/* Only the copy-link button uses stroke icons; brand icons use fill */
.blog-share button svg {
    width: 16px;
    height: 16px;
    stroke: var(--dark);
    fill: none;
    transition: stroke 0.2s, fill 0.2s;
}
.blog-share a svg {
    width: 17px;
    height: 17px;
    fill: var(--dark);
    stroke: none;
    transition: fill 0.2s;
}

/* Related Posts */
.blog-related {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.blog-related-header {
    text-align: center;
    margin-bottom: 32px;
}
.blog-related-header span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 8px;
}
.blog-related-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

/* ── Product Detail ── */
/* ═══════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Premium Redesign
   ═══════════════════════════════════════════════ */

.pd-section {
    padding: 0 0 60px;
    margin: 0 !important;
}

.pd-breadcrumb {
    font-size: 11px;
    margin: 0 !important;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pd-breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
}

.pd-breadcrumb a:hover {
    color: var(--dark);
}

.pd-breadcrumb span {
    color: var(--border);
    margin: 0 6px;
}

.pd-breadcrumb .current {
    color: #1a1a22;
    font-weight: 500;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ─── Gallery Column ─── */
.pd-gallery-col {
    position: sticky;
    top: 90px;
}

.pd-gallery-wrap {
    display: flex;
    gap: 16px;
}

.pd-thumbs-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    flex-shrink: 0;
}

.pd-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.5;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: var(--dark);
    opacity: 1;
}

.pd-main-image-wrap {
    flex: 1;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    min-height: 480px;
}

.pd-main-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 580px;
    object-fit: contain;
    transition: transform 0.3s;
}

.pd-main-image-wrap:hover img {
    transform: scale(1.03);
}

.pd-zoom-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    color: var(--dark);
}

.pd-main-image-wrap:hover .pd-zoom-hint {
    opacity: 1;
}

/* Mobile Carousel — hidden on desktop */
.pd-mobile-carousel {
    display: none;
}

.pd-thumbs-horizontal {
    display: none;
}

.pd-no-image {
    padding: 80px;
    color: var(--text-light);
    text-align: center;
    background: var(--card-bg);
}

/* ─── Info Column ─── */

.pd-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: var(--dark);
}

.pd-short-desc {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pd-price-current {
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.pd-price-original {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.pd-discount-badge {
    background: #fef2f2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 0.5px;
}

.pd-stock {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pd-stock.in {
    color: var(--success);
}

.pd-stock.out {
    color: var(--danger);
}

/* Colors */
.pd-colors {
    margin-bottom: 24px;
}

.pd-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 10px;
}

.pd-label span {
    color: var(--dark);
}

.pd-swatch-row {
    display: flex;
    gap: 10px;
}

.pd-swatch {
    width: 36px;
    height: 36px;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px var(--border);
    transition: all 0.2s;
}

.pd-swatch.active {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 2px white inset, 0 0 0 1px var(--primary);
}

.pd-swatch:hover {
    transform: scale(1.1);
}

/* Quantity & Actions */
.pd-actions-desktop {
    margin-bottom: 24px;
}

.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pd-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    background: #fff;
}

.pd-qty button {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--card-bg);
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    transition: background 0.15s;
}

.pd-qty button:hover {
    background: #e8e8ec;
}

.pd-qty input {
    width: 48px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    outline: none;
    background: transparent;
}

.pd-btn-row {
    display: flex;
    gap: 12px;
}

.pd-btn-bag {
    flex: 1;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--dark);
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-btn-bag:hover {
    background: var(--dark);
    color: #fff;
}

.pd-btn-buy {
    flex: 1;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--dark);
    color: #fff;
    border: 1.5px solid var(--dark);
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
}

.pd-btn-buy:hover {
    background: var(--primary-dark);
}

.pd-btn-oos {
    width: 100%;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--card-bg);
    color: var(--text-light);
    border: none;
    cursor: not-allowed;
    font-family: var(--font);
}

/* Extras: Wishlist & Share */
.pd-extras {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.pd-extra-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    transition: color 0.2s;
    font-weight: 500;
}

.pd-extra-link:hover {
    color: var(--dark);
}

/* Meta Grid */
.pd-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--card-bg);
}



.pd-meta-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.pd-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

/* Accordions */
.pd-accordion {
    border-bottom: 1px solid var(--border);
}

.pd-accordion:first-of-type {
    border-top: 1px solid var(--border);
}

.pd-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dark);
    font-family: var(--font);
}

.pd-acc-icon {
    transition: transform 0.3s;
}

.pd-accordion-btn.active .pd-acc-icon {
    transform: rotate(180deg);
}

.pd-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.pd-accordion-body.open {
    max-height: 600px;
}

.pd-desc-content {
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
}

.pd-desc-content p {
    margin-bottom: 8px;
}

/* Trust Icons Row */
.pd-trust-row {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    margin-top: 24px;
    border-top: 1px solid var(--border);
}

.pd-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    font-weight: 500;
}

.pd-trust-item svg {
    color: var(--dark);
}

/* Related Products */
.pd-related {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.pd-related-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 32px;
}

.pd-related-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.explore-more-wrap {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 80px;
}

.explore-more-link {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a22;
    border-bottom: 1px solid #1a1a22;
    padding-bottom: 3px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}

.explore-more-link:hover {
    color: #999;
    border-color: #999;
}

/* ─── Lightbox ─── */
.pd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.pd-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.pd-lightbox img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
}

.pd-lb-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pd-lb-close:hover {
    opacity: 1;
}

.pd-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 16px;
}

.pd-lb-arrow:hover {
    opacity: 1;
}

.pd-lb-prev {
    left: 16px;
}

.pd-lb-next {
    right: 16px;
}

.pd-lb-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 2px;
}

/* Toast */
.pd-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    z-index: 99999;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeIn 0.2s ease, fadeOut 0.3s ease 1.2s forwards;
}

/* Mobile Buy Bar — hidden on desktop */
.pd-mobile-bar {
    display: none;
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 34, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-box {
    background: white;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    font-weight: 700;
}

.modal-icon.success {
    background: #e8f5e9;
    color: var(--success);
}

.modal-icon.error {
    background: #fce4ec;
    color: var(--danger);
}

.modal-icon.warning {
    background: #fff8e1;
    color: #8d6e00;
}

.modal-icon.confirm {
    background: var(--card-bg);
    color: var(--dark);
}

.modal-icon.custom-icon {
    background: var(--card-bg);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.modal-message {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 10px 24px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn-primary {
    background: var(--primary);
    color: white;
}

.modal-btn-primary:hover {
    background: var(--primary-dark);
}

.modal-btn-secondary {
    background: var(--card-bg);
    color: var(--dark);
}

.modal-btn-danger {
    background: var(--danger);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-overlay.closing {
    animation: fadeOut 0.3s ease forwards;
}

.modal-box.closing {
    animation: slideDown 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes slideDown {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE — Comprehensive App-Like Layout
   ============================================================ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        display: none;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        border: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Mobile (≤768px) — Main mobile overhaul ── */
@media (max-width: 768px) {

    /* -- Global mobile resets -- */
    body {
        font-size: 15px;
        padding-bottom: calc(var(--bottom-nav-height) + 8px);
    }

    .container {
        padding: 0 12px;
    }

    .section {
        padding: 20px 0;
    }

    /* -- Header mobile -- */
    .main-header {
        padding: 18px 0;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    .logo img {
        max-height: 54px;
    }

    .mobile-hamburger svg {
        width: 22px;
        height: 22px;
        stroke-width: 2.5;
    }

    .header-action-icon svg,
    .header-action-icon.mobile-only svg {
        stroke-width: 2.5;
    }

    .header-search {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 4px;
    }

    .search-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .search-btn {
        padding: 10px 14px;
    }

    .header-phone {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    .header-actions .action-text {
        display: none;
    }

    .header-action-item {
        padding-left: 0;
        border-left: none;
    }

    /* -- Nav mobile -- */
    .top-bar {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .bottom-nav {
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .nav-inner {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 13px;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* -- Hero slider mobile -- */
    .hero-section {
        padding: 0;
    }

    .hero-slider-wrap {
        height: auto !important;
    }

    .hero-slide img {
        height: 180px;
        object-fit: cover;
    }

    .hero-slide-content {
        left: 16px;
    }

    .hero-slide-content small {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero-slide-content h2 {
        font-size: 18px;
    }

    .hero-slide-content h2 span {
        font-size: 24px;
    }


    .slider-indicators {
        bottom: 12px;
    }

    /* -- Promo banners mobile -- */
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 8px !important;
    }

    .promo-banner {
        padding: 18px 16px;
        min-height: 80px;
    }

    .promo-banner h3 {
        font-size: 16px;
    }

    .promo-banner p {
        font-size: 12px;
    }

    /* -- Section titles mobile -- */
    .section-title {
        margin-bottom: 16px;
    }

    .section-title h2 {
        font-size: 18px;
    }

    /* -- Product tabs mobile -- */
    .product-tabs-section {
        padding: 24px 0;
    }

    .tab-buttons {
        margin-bottom: 20px;
        gap: 16px;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
    }

    .tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 8px 4px 10px;
        font-size: 10px;
        letter-spacing: 2px;
        white-space: nowrap;
        min-height: auto;
    }

    /* -- Product grid mobile -- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding-bottom: 32px;
    }

    .product-card {
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    }

    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .product-card-image {
        aspect-ratio: 1/1;
        height: auto;
    }

    .pc-image-track img {
        object-position: center top;
    }

    .wishlist-btn {
        opacity: 1;
        /* always visible on mobile */
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        background: transparent;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        mix-blend-mode: difference;
        /* dynamically contrast against background */
    }

    .wishlist-btn svg {
        width: 16px;
        height: 16px;
    }

    .wishlist-btn.active {
        color: #ff3b3b;
        fill: #ff3b3b;
        mix-blend-mode: normal;
    }

    .pc-dots {
        display: flex;
        gap: 4px;
        justify-content: center;
        margin-top: 6px;
        position: absolute;
        bottom: 8px;
        left: 0;
        right: 0;
        z-index: 5;
    }

    .pc-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        transition: background 0.3s ease;
    }

    .pc-dot.active {
        background: #1a1a22;
    }

    .product-card-body {
        padding: 0 4px 12px;
    }

    .pc-title {
        font-size: 13px;
        margin-top: 10px;
    }

    .product-price {
        margin-bottom: 0px;
        gap: 6px;
    }

    .price-current {
        font-size: 13px;
    }

    .price-original {
        font-size: 11px;
    }

    .badge {
        font-size: 8px;
        padding: 3px 7px;
        letter-spacing: 1.5px;
    }

    .product-badges {
        gap: 4px;
    }

    /* -- Trust badges mobile -- */
    .trust-badges {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .trust-badge {
        padding: 16px;
    }

    /* -- Blog mobile -- */
    .blog-section {
        padding: 16px 0 24px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .blog-card-image {
        height: 160px;
    }

    .blog-card-body {
        padding: 12px 14px 16px;
    }

    .blog-listing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 0 40px;
    }

    .blog-hero-image {
        aspect-ratio: 16/9;
    }
    .blog-hero-overlay {
        padding: 24px 20px 20px;
    }
    .blog-hero-title {
        font-size: 20px;
    }
    .blog-hero-excerpt {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .blog-hero {
        margin-bottom: 32px;
    }

    .blog-article-header h1 {
        font-size: 22px;
    }
    .blog-article-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    .blog-featured-img {
        max-height: 250px;
    }
    .blog-article-body {
        font-size: 15px;
    }
    .blog-share {
        flex-wrap: wrap;
    }

    /* -- Testimonials mobile -- */
    .testimonials-section {
        padding: 60px 0;
    }

    .ts-heading {
        font-size: 32px;
    }

    .ts-arrow {
        display: none;
    }

    .review-card {
        min-width: 100%;
        padding: 28px 24px;
    }

    /* -- Journal mobile -- */
    .journal-section {
        padding: 60px 16px;
    }

    .journal-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* -- Static Pages mobile -- */
    .static-hero {
        padding: 60px 20px 40px;
    }

    .static-hero h1 {
        font-size: 32px;
    }

    .static-content {
        padding: 48px 20px 60px;
    }

    .static-section h2 {
        font-size: 24px;
    }

    .faq-item {
        padding: 18px;
    }

    /* -- Footer mobile -- */
    .site-footer {
        margin-top: 0;
        padding: 48px 20px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 24px;
    }

    .footer-brand {
        margin-bottom: 16px;
    }

    .footer-heading {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 48px;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .fc-arrow {
        display: inline-block;
        font-size: 18px;
        color: rgba(255, 255, 255, 0.3);
        transition: transform 0.3s;
    }

    .footer-col.open .fc-arrow {
        transform: rotate(90deg);
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-col.open .footer-links {
        max-height: 300px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* -- Page banner mobile -- */
    .page-banner {
        padding: 24px 0;
    }

    .page-banner h1 {
        font-size: 20px;
    }

    /* -- Product detail page mobile -- */
    .product-detail-section {
        padding: 12px 0;
    }

    /* ── Product Detail Mobile ── */
    .pd-section {
        padding: 0 0 100px;
        margin: 0 !important;
    }

    .pd-breadcrumb {
        font-size: 10px;
        padding: 6px 0;
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pd-gallery-col {
        position: static;
    }

    /* Hide desktop gallery, show mobile carousel */
    .pd-gallery-wrap {
        display: none !important;
    }

    .pd-mobile-carousel {
        display: block !important;
        position: relative;
        overflow: hidden;
        background: var(--card-bg);
    }

    .pd-carousel-track {
        display: flex;
        transition: transform 0.35s ease;
    }

    .pd-carousel-slide {
        min-width: 100%;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pd-carousel-slide img {
        width: 100%;
        max-height: 360px;
        object-fit: contain;
    }

    .pd-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding: 12px 0;
    }

    .pd-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s;
    }

    .pd-dot.active {
        width: 20px;
        border-radius: 3px;
        background: var(--dark);
    }

    /* Show mobile horizontal thumbnails */
    .pd-thumbs-horizontal {
        display: flex !important;
        gap: 8px;
        padding: 8px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pd-thumbs-horizontal::-webkit-scrollbar {
        display: none;
    }

    .pd-thumb-h {
        width: 56px;
        height: 56px;
        min-width: 56px;
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        opacity: 0.5;
        transition: all 0.2s;
    }

    .pd-thumb-h.active {
        border-color: var(--dark);
        opacity: 1;
    }

    /* Info column mobile */
    .pd-info-col {
        padding: 16px 12px 0;
    }

    .pd-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .pd-price-current {
        font-size: 24px;
    }

    .pd-price-original {
        font-size: 14px;
    }

    /* Hide desktop action buttons on mobile */
    .pd-actions-desktop {
        display: none !important;
    }

    /* Trust row mobile: 2x2 grid */
    .pd-trust-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .pd-trust-item {
        flex: 1 1 40%;
    }

    /* Related products: 2 columns */
    .pd-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .explore-more-wrap {
        margin-top: 32px;
        margin-bottom: 120px;
    }

    .explore-more-link {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    /* ── Sticky Mobile Buy Bar ── */
    .pd-mobile-bar {
        display: flex !important;
        position: fixed;
        bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        z-index: 999;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        padding: 8px 12px;
        gap: 6px;
        align-items: center;
        height: 56px;
    }

    .pd-mb-price {
        font-weight: 700;
        font-size: 16px;
        color: var(--dark);
        white-space: nowrap;
        padding-right: 4px;
        min-width: 0;
    }

    .pd-mb-qty {
        display: flex;
        align-items: center;
        border: 1px solid var(--border);
        height: 36px;
        flex-shrink: 0;
    }

    .pd-mb-qty button {
        width: 32px;
        height: 36px;
        border: none;
        background: var(--card-bg);
        cursor: pointer;
        font-size: 16px;
        color: var(--text);
    }

    .pd-mb-qty span {
        width: 28px;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        color: var(--dark);
    }

    .pd-mb-bag {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid var(--dark);
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
        color: var(--dark);
    }

    .pd-mb-buy {
        flex: 1;
        height: 40px;
        background: var(--dark);
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-family: var(--font);
    }

    /* Push chat widget well above the mobile buy bar + nav */
    .floating-contact {
        bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 70px) !important;
    }

    /* -- Checkout mobile -- */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }

    .checkout-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .checkout-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 11px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-control {
        padding: 12px;
        font-size: 16px;
        /* prevents iOS zoom on focus */
        min-height: 48px;
    }

    .payment-method-card {
        padding: 14px;
        min-height: 52px;
    }

    /* -- Cart page mobile -- */
    .cart-table {
        display: block;
        border: none;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .cart-table tr {
        display: flex;
        flex-wrap: wrap;
        background: var(--light-bg);
        border: 1px solid var(--border);
        padding: 12px;
        align-items: center;
        gap: 8px;
    }

    .cart-table td {
        padding: 0;
        border: none;
    }

    .cart-table td:nth-child(1) {
        flex-basis: 100%;
    }

    .cart-table td:nth-child(2) {
        display: none;
        /* price already shown in product info */
    }

    .cart-table td:nth-child(3) {
        flex: 1;
    }

    .cart-table td:nth-child(4) {
        font-size: 16px;
    }

    .cart-table td:nth-child(5) {
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-product-info {
        gap: 10px;
    }

    .cart-product-img {
        width: 56px;
        height: 56px;
    }

    /* -- Modal mobile -- */
    .modal-box {
        width: 95%;
        padding: 28px 20px;
    }

    .modal-btn {
        min-height: 48px;
        padding: 12px 20px;
    }

    /* -- Badges mobile -- */
    .badge {
        font-size: 9px;
        padding: 3px 8px;
    }

    /* -- Side widget mobile -- */
    .side-widget {
        margin-bottom: 12px;
        padding: 14px;
    }

    /* -- Testimonial mobile -- */
    .testimonial-sidebar {
        padding: 16px;
    }

    /* -- Newsletter mobile -- */
    .newsletter-widget {
        padding: 18px;
    }

    .newsletter-widget input {
        min-height: 48px;
        padding: 12px 14px;
    }

    .newsletter-widget button {
        min-height: 48px;
    }

    /* -- Buttons mobile -- */
    .btn {
        min-height: 48px;
        padding: 12px 20px;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    /* -- Blog detail mobile -- */
    .blog-detail-body {
        padding: 20px 14px;
    }

    .blog-detail-body h1 {
        font-size: 20px;
    }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .product-card-body {
        padding: 8px 10px 12px;
    }

    .product-card-body h3 {
        font-size: 12px;
    }

    .price-current {
        font-size: 15px;
    }

    .product-card .btn-add-cart {
        padding: 9px 8px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .product-card .btn-buy-now {
        padding: 9px 8px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .product-card-image {
        height: 160px;
    }

    .hero-slide img {
        height: 160px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Mobile buy bar — hidden by default on desktop ── */
.mobile-buy-bar {
    display: none;
}

/* ── Products page layout ── */
@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .products-layout>aside {
        display: none;
    }

    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Cart qty buttons mobile - ensure 48px tap targets */
    .cart-table button {
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 0 !important;
    }

    /* Sort bar mobile */
    .products-layout [style*="justify-content: space-between"] {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px !important;
    }

    .products-layout select {
        min-height: 48px;
        font-size: 14px !important;
    }
}

/* ── Floating Contact Buttons ── */
.floating-contact {
    position: fixed;
    right: 16px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 9997;
    pointer-events: none;
    /* Let clicks pass through the invisible expanded container */
}

.floating-contact>button,
.floating-contact>.fab-actions>a {
    pointer-events: auto;
    /* Re-enable clicks only on the actual buttons */
}

.fab-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (hover: hover) {
    .floating-contact:hover .fab-actions {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.floating-contact.active .fab-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-main {
    background: #1a1a22;
    width: 48px;
    height: 48px;
    z-index: 2;
}

.fab-btn {
    width: 44px;
    height: 44px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.fab-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.fab-btn:active {
    transform: scale(0.95);
}

.fab-call,
.fab-whatsapp,
.fab-messenger,
.fab-main {
    background: rgba(26, 26, 34, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.fab-main svg,
.fab-btn svg {
    stroke: #fff;
    fill: #fff;
}

.fab-call svg,
.fab-main svg {
    fill: none;
    /* Keep stroke only for these */
}

/* On mobile: shift above bottom nav */
@media (max-width: 768px) {
    .floating-contact {
        bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 70px);
        /* Moved higher (same as product buy bar safe area)
           and keep consistent across all mobile pages */
        right: 16px;
    }

    .fab-btn,
    .fab-main {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {

    /* ── Fabrilife Mobile UI Overrides ── */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    body {
        padding-bottom: 0px;
    }

    /* Header Bar */
    .main-header {
        height: 62px;
        border-bottom: 1px solid #eee;
    }

    .header-inner {
        height: 62px;
        min-height: 62px;
        padding: 0 16px;
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-hamburger {
        background: none;
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        cursor: pointer;
        justify-self: start;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 62px;
        justify-self: center;
        margin: 0;
        padding: 0;
        transform: none;
        left: auto;
        position: static;
        flex: none;
        width: auto;
    }

    .logo img {
        max-height: 36px;
        width: auto;
        display: block;
    }

    .header-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-end;
        height: 62px;
        justify-self: end;
        margin: 0;
        padding: 0;
        position: static;
        flex: none;
        width: auto;
    }

    .badge-icon {
        position: relative;
    }

    .header-badge {
        position: absolute;
        top: 0;
        right: 0;
        background: #111;
        color: #fff;
        font-size: 10px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translate(25%, -25%);
        line-height: 1;
        font-weight: 600;
    }

    /* Mobile Search Overlay */
    .mobile-search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        background: #fff;
        z-index: 10001;
        display: none;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-search-overlay.active {
        display: flex;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 8px;
        background: #f5f5f5;
        padding: 12px 16px;
        flex-shrink: 0;
    }

    .mobile-search-form input {
        flex: 1;
        background: none;
        border: none;
        outline: none;
        font-size: 14px;
        padding: 4px;
        font-family: var(--font);
    }

    .ms-submit {
        background: #1a1a22;
        color: #fff;
        border: none;
        padding: 6px 12px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
    }

    .ms-close {
        background: none;
        border: none;
        font-size: 18px;
        padding: 4px;
        cursor: pointer;
        color: #1a1a22;
    }

    /* Left Drawer */
    .drawer-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9990;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .drawer-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 82vw;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        transform: translateX(-100%);
        transition: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    /* ── Mobile Shop Page Overrides ── */
    .shop-header {
        padding: 40px 0 20px;
        margin-bottom: 20px;
    }

    .shop-title {
        font-size: 26px;
    }

    .shop-container {
        display: block;
        /* Remove grid to stack */
        margin-bottom: 60px;
    }

    .shop-sidebar,
    .shop-sort-bar {
        display: none;
        /* Hide desktop sidebar and sort bar on mobile */
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        /* Tighter gap for mobile density */
    }

    .pagination-nav {
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 32px;
        padding-bottom: 120px;
    }

    .pagination-btn {
        font-size: 10px;
        padding: 6px 12px;
        letter-spacing: 1px;
    }

    .pagination-page {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pagination-ellipsis {
        width: 20px;
        font-size: 12px;
    }

    .product-card-image {
        height: 200px;
        margin-bottom: 12px;
    }

    .product-card-body {
        padding: 0 4px;
    }

    .product-card-body h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .price-current {
        font-size: 13px;
    }

    .price-original {
        font-size: 11px;
    }

    .product-card .btn-add-cart {
        padding: 10px 12px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Mobile Sticky Filter Bar */
    .mobile-filter-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: var(--light-bg);
        border-bottom: 1px solid var(--border);
        border-top: 1px solid var(--border);
        position: sticky;
        top: 56px;
        /* Below sticky header */
        z-index: 900;
        margin: -20px -16px 16px -16px;
        /* Pull to edges of container */
    }

    .mobile-filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font);
        font-size: 13px;
        font-weight: 500;
        color: var(--dark);
        background: transparent;
        padding: 0;
    }

    .mobile-product-count {
        font-size: 12px;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Mobile Category Chips (Horizontal Scroll) */
    .mobile-category-chips {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 0 16px 16px 16px;
        margin: 0 -16px 16px -16px;
        scrollbar-width: none;
        /* Firefox */
    }

    .mobile-category-chips::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .mobile-category-chips .chip {
        white-space: nowrap;
        padding: 6px 16px;
        border: 1px solid var(--border);
        border-radius: 40px;
        font-size: 13px;
        color: var(--text);
        text-decoration: none;
        transition: all 0.2s;
    }

    .mobile-category-chips .chip.active {
        background: var(--dark);
        color: #fff;
        border-color: var(--dark);
    }

    /* Mobile Sort Drawer (Bottom Sheet) */
    .bottom-drawer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--light-bg);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .drawer-overlay.open .bottom-drawer {
        transform: translateY(0);
    }

    .sort-options {
        display: flex;
        flex-direction: column;
    }

    .sort-radio {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
        color: var(--dark);
        cursor: pointer;
    }

    .sort-radio input[type="radio"] {
        accent-color: var(--dark);
        width: 18px;
        height: 18px;
    }

    .nav-drawer.open {
        transform: translateX(0);
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid #f0f0f2;
        flex-shrink: 0;
    }

    .drawer-logo img {
        height: 36px;
        object-fit: contain;
    }

    .drawer-close {
        width: 36px;
        height: 36px;
        background: #f5f5f7;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #666;
        transition: all 0.2s;
    }
    .drawer-close:active {
        background: #eee;
        transform: scale(0.92);
    }

    /* ── User Section ── */
    .drawer-user-section {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 20px 18px;
        background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f6 100%);
        border-bottom: 1px solid #eee;
        flex-shrink: 0;
    }
    .drawer-user-avatar {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .drawer-user-avatar-guest {
        background: #d1d5db;
        color: #fff;
    }
    .drawer-user-info {
        flex: 1;
        min-width: 0;
    }
    .drawer-greeting {
        font-size: 16px;
        font-weight: 700;
        color: #1a1a22;
        margin-bottom: 4px;
    }
    .drawer-view-profile {
        font-size: 12px;
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .drawer-auth-btns {
        display: flex;
        gap: 8px;
        margin-top: 6px;
    }
    .drawer-btn {
        flex: 1;
        text-align: center;
        height: 36px;
        line-height: 34px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        border-radius: 8px;
        letter-spacing: 0.5px;
        transition: all 0.2s;
    }
    .drawer-btn-primary {
        background: var(--primary);
        color: #fff;
        border: none;
    }
    .drawer-btn-outline {
        background: transparent;
        color: #1a1a22;
        border: 1.5px solid #d1d5db;
    }

    /* ── Scrollable Nav Area ── */
    .drawer-scroll {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 16px;
    }

    .drawer-section-heading {
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #999;
        padding: 20px 18px 8px;
        font-weight: 600;
    }

    .drawer-nav {
        display: flex;
        flex-direction: column;
    }

    .drawer-nav-item {
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 50px;
        padding: 0 18px;
        color: #2d2d34;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        border: none;
        background: none;
        cursor: pointer;
        font-family: var(--font);
        transition: background 0.15s;
        position: relative;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }
    .drawer-nav-item:active {
        background: #f5f5f7;
    }

    .drawer-nav-icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f7;
        border-radius: 10px;
        color: #555;
        flex-shrink: 0;
        transition: all 0.2s;
    }
    .drawer-nav-item:active .drawer-nav-icon {
        background: #eaeaee;
    }

    .drawer-nav-arr {
        margin-left: auto;
        color: #bbb;
        display: flex;
    }

    /* Logout */
    .drawer-nav-logout {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #f0f0f2;
    }
    .drawer-logout-item {
        color: #e53e3e !important;
    }
    .drawer-logout-item .drawer-nav-icon {
        background: #fff1f1;
        color: #e53e3e;
    }

    /* ── Drawer Footer ── */
    .drawer-footer {
        padding: 14px 18px;
        border-top: 1px solid #f0f0f2;
        flex-shrink: 0;
    }
    .drawer-footer p {
        font-size: 11px;
        color: #bbb;
        margin: 0;
        text-align: center;
    }

    /* Category Full-Screen Panel */
    .category-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65vh;
        background: #fff;
        z-index: 9998;
        transform: translateY(100%);
        transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    }

    .category-panel.open {
        transform: translateY(0);
    }

    .cp-header {
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        border-bottom: 1px solid #eee;
        flex-shrink: 0;
    }

    .cp-title {
        font-size: 16px;
        font-weight: 600;
        color: #111;
    }

    .cp-close {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .cp-quick-filters {
        padding: 12px 0 12px 16px;
        border-bottom: 1px solid #f5f5f5;
        flex-shrink: 0;
    }

    .cp-chips-scroll {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-right: 16px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .cp-chips-scroll::-webkit-scrollbar {
        display: none;
    }

    .cp-chip {
        display: inline-flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 7px 16px;
        font-size: 12px;
        white-space: nowrap;
        color: #111;
        text-decoration: none;
    }

    .cp-list {
        flex: 1;
        overflow-y: auto;
    }

    .cp-item {
        border-bottom: 1px solid #f5f5f5;
    }

    .cp-item-parent {
        display: flex;
        align-items: center;
        height: 52px;
        padding: 0 16px;
        cursor: pointer;
    }

    .cp-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #666;
        margin-right: 12px;
    }

    .cp-item-name {
        flex: 1;
        font-size: 15px;
        color: #111;
        font-weight: 500;
    }

    .cp-item-parent .arr {
        color: #999;
        font-size: 18px;
        transition: 0.2s;
    }

    .cp-item.active .arr {
        transform: rotate(90deg);
    }

    .cp-sub {
        display: none;
        padding: 4px 16px 16px 64px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cp-item.active .cp-sub {
        display: flex;
    }

    .cp-sub-chip {
        display: inline-block;
        border: 1px solid #eee;
        padding: 6px 14px;
        font-size: 12px;
        color: #333;
        text-decoration: none;
        border-radius: 0;
    }

    .cp-sub-link {
        display: inline-block;
        padding: 6px 14px;
        font-size: 12px;
        font-weight: 600;
        color: #1a1a22;
        text-decoration: none;
    }

    .cp-btn-all {
        width: 100%;
        height: 52px;
        background: #111;
        color: #fff;
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        flex-shrink: 0;
    }

    /* Bottom Nav overrides */
    .bottom-nav {
        height: auto;
        border-top: 1px solid #eee;
        display: block;
        border-radius: 0 !important;
        padding-bottom: env(safe-area-inset-bottom, 8px);
    }

    .bottom-nav-inner {
        display: flex;
        justify-content: space-around;
        height: 60px;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #999;
        text-decoration: none;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
    }

    .bottom-nav-item .header-badge {
        top: 4px;
        right: calc(50% - 18px);
        transform: none;
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .bn-icon {
        width: 24px;
        height: 24px;
    }

    .bn-label {
        font-size: 10px;
        font-weight: 500;
    }

    .bottom-nav-item.active {
        color: #111;
        border-top: 2px solid #111;
        margin-top: -2px;
        padding-top: 2px;
    }

    /* Mobile Cart Drawer */
    .cart-drawer {
        position: fixed;
        top: 0;
        right: 0;
        width: 88vw;
        max-width: 400px;
        height: 100%;
        height: 100dvh;
        background: var(--light-bg);
        z-index: 10000;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
    }

    .cart-drawer.open {
        transform: translateX(0);
    }

    .cd-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
    }

    .cd-header h3 {
        font-family: 'Times New Roman', Times, serif;
        font-weight: 400;
        font-size: 20px;
        letter-spacing: 0.5px;
        color: var(--dark);
    }

    .cd-close {
        background: none;
        border: none;
        font-size: 20px;
        color: var(--dark);
        cursor: pointer;
        padding: 4px;
    }

    .cd-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px 24px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .cd-item {
        display: flex;
        gap: 16px;
        position: relative;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .cd-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .cd-item-img {
        width: 80px;
        height: 100px;
        object-fit: cover;
        background: var(--light-bg);
    }

    .cd-item-details {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .cd-item-details h4 {
        font-family: 'Times New Roman', Times, serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--dark);
        margin-bottom: 4px;
        padding-right: 24px;
        /* Space for X */
        line-height: 1.4;
    }

    .cd-item-price {
        font-weight: 500;
        font-size: 14px;
        color: var(--text);
        margin-bottom: 12px;
    }

    .cd-qty-controls {
        display: flex;
        align-items: center;
        border: 1px solid var(--border);
        width: max-content;
        height: 32px;
    }

    .cd-qty-controls button {
        background: transparent;
        border: none;
        width: 32px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--dark);
        cursor: pointer;
    }

    .cd-qty-controls span {
        width: 32px;
        text-align: center;
        font-size: 13px;
        font-weight: 500;
        color: var(--dark);
    }

    .cd-remove {
        position: absolute;
        top: 0;
        right: 0;
        background: none;
        border: none;
        font-size: 16px;
        color: var(--text-light);
        cursor: pointer;
        padding: 4px;
    }

    .cd-footer {
        padding: 24px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 8px));
        border-top: 1px solid var(--border);
        background: var(--light-bg);
    }

    .cd-subtotal {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 15px;
        font-weight: 500;
        color: var(--dark);
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .cd-checkout-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        background: var(--dark);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        border: none;
        text-decoration: none;
        transition: background 0.2s;
        margin-bottom: 12px;
    }

    .cd-continue-btn {
        width: 100%;
        background: transparent;
        border: none;
        font-size: 12px;
        color: var(--text);
        text-decoration: underline;
        cursor: pointer;
        padding: 8px 0;
    }
}

/* Infinite Scrolling Marquee */
.marquee-section {
    background: #ffffff;
    padding: 56px 0;
    overflow: hidden;
}

.ms-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    text-align: center;
    margin-bottom: 28px;
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
}

/* marquee movement fully handled by JS */

.m-card {
    width: 240px;
    height: 160px;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.m-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.m-card:hover .m-img {
    transform: scale(1.06);
}

.m-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    transition: background 0.4s ease;
    pointer-events: none;
}

.m-card:hover .m-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.m-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.m-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 1px;
    display: block;
}

.m-count {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    display: block;
}

.m-link {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    margin-top: 10px;
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.m-card:hover .m-link {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Promo Banners */
.premium-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 0 0 56px;
}

.pp-card {
    height: 220px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    border-radius: 0;
    text-decoration: none;
    display: block;
    transition: filter 0.3s ease;
}

.pp-card:hover {
    filter: brightness(1.1);
}

.pp-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.05;
    pointer-events: none;
}

.pp-content {
    position: absolute;
    inset: 0;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
}

.pp-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pp-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 8px;
    line-height: 1.1;
    margin-top: 0;
}

.pp-sub {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    margin-top: 0;
}

.pp-btn {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    display: inline-block;
    transition: all 0.2s;
    background: transparent;
}

.pp-decobig {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 1;
}

/* Dark Theme overrides for Banner 1 */
.pp-dark .pp-heading {
    color: #ffffff;
}

.pp-dark .pp-label {
    color: rgba(255, 255, 255, 0.5);
}

.pp-dark .pp-sub {
    color: rgba(255, 255, 255, 0.55);
}

.pp-dark .pp-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pp-dark:hover .pp-btn {
    background: #fff;
    color: #1a1a22;
}

.pp-dark .pp-decobig {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.10);
}

/* Light Theme overrides for Banner 2 */
.pp-light .pp-heading {
    color: #1a1a22;
}

.pp-light .pp-label {
    color: #aaa;
}

.pp-light .pp-sub {
    color: #8e8d9a;
}

.pp-light .pp-btn {
    color: #1a1a22;
    border: 1px solid #1a1a22;
}

.pp-light:hover .pp-btn {
    background: #1a1a22;
    color: #fff;
}

.pp-light .pp-decobig {
    font-size: 120px;
    color: rgba(0, 0, 0, 0.06);
}

/* Responsive updates for marquee and promo banners */
@media (max-width: 768px) {
    .marquee-section {
        display: none !important;
    }

    /* Remove gap between hero slider and promo banners */
    .hero-section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .premium-promo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
        padding: 0;
        margin: 0;
        margin-top: 12px;
    }

    /* Force exact banner height */
    .pp-card {
        height: 140px;
    }

    .pp-content {
        padding: 20px 16px;
    }

    .pp-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .pp-dark .pp-heading,
    .pp-light .pp-heading,
    .pp-heading {
        font-size: 25px;
    }

    .pp-sub {
        display: block;
        font-size: 9px;
        margin-bottom: 0;
    }

    .pp-btn,
    .pp-deco,
    .pp-decobig {
        display: none;
    }

    /* Reduce ADD TO CART button */
    .product-card .btn-add-cart {
        height: 44px;
        padding: 0 12px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    /* Reduce white space between promo banners and tabs */
    .product-tabs-section {
        padding-top: 24px !important;
    }

    /* Tighter product grid gap */
    .product-grid {
        gap: 10px;
    }

    /* Bottom padding for fixed nav bar */
    body {
        padding-bottom: 80px;
    }
}

/* Base states for the new mobile classes, hidden on desktop */
@media (min-width: 769px) {

    .mobile-only,
    .category-panel,
    .nav-drawer,
    .cart-drawer,
    .drawer-overlay,
    .mobile-search-overlay {
        display: none !important;
    }
}