/* ==========================================================================
   Sanvi Shoes (শানভী সুজ) - Core Design System & Stylesheet
   Theme Color: Premium Tangerine Orange (কমলা কালার)
   Fonts: Hind Siliguri (Bengali) + Inter (Latin/Numbers)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Orange Palette */
    --primary: #FF5A00;
    --primary-hover: #E04E00;
    --primary-dark: #C93F00;
    --primary-light: #FFF2EB;
    --primary-ultra-light: #FFF9F5;
    --primary-rgb: 255, 90, 0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6A00 0%, #FF3D00 100%);
    --gradient-glossy: linear-gradient(135deg, #FF7A18 0%, #FF5A00 50%, #E64A00 100%);
    --gradient-warm: linear-gradient(135deg, #FF9E44 0%, #FF5A00 100%);
    --gradient-dark: linear-gradient(180deg, #181A1F 0%, #0F1012 100%);
    --gradient-hero-overlay: linear-gradient(90deg, rgba(15, 16, 20, 0.92) 0%, rgba(15, 16, 20, 0.72) 45%, rgba(15, 16, 20, 0.15) 100%);
    --gradient-card-overlay: linear-gradient(180deg, transparent 40%, rgba(15, 16, 20, 0.85) 100%);

    /* Shadows & Glows */
    --glow-primary: 0 10px 25px -4px rgba(255, 90, 0, 0.38);
    --glow-primary-hover: 0 16px 32px -4px rgba(255, 90, 0, 0.52);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.09);
    --shadow-card-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.12);

    /* Backgrounds */
    --bg-body: #FAF8F5;          /* Warm Ivory */
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FFFFFF;
    --bg-secondary: #F3EFE9;
    --bg-dark: #121316;

    /* Text Colors */
    --text-primary: #181A1E;
    --text-secondary: #58616E;
    --text-muted: #8E98A5;
    --text-white: #FFFFFF;

    /* Borders & Accents */
    --border-subtle: #EAE6DF;
    --border-strong: #DCD6CD;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Layout & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;
    --container-max: 1280px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans Bengali', 'Hind Siliguri', 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Prevent auto-zoom on iOS Safari when tapping inputs & form fields */
@media (max-width: 768px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Number / Latin font helper */
.en-font, .price, .size-badge, .rating-num, .count-badge {
    font-family: 'Inter', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Announcement Bar (Ticker)
   ========================================================================== */
.announcement-bar {
    background: #111215;
    color: #FFF;
    border-bottom: 1px solid rgba(255, 90, 0, 0.25);
    padding: 9px 0;
    overflow: hidden;
    font-size: 0.88rem;
    position: relative;
    z-index: 100;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerLoop 28s linear infinite;
    width: max-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 24px;
    font-weight: 500;
}

.ticker-item .highlight {
    color: var(--primary);
    font-weight: 700;
}

.ticker-sep {
    color: var(--primary);
    opacity: 0.7;
    font-size: 0.85rem;
}

@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.35rem;
    box-shadow: var(--glow-primary);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.brand-logo:hover .logo-badge {
    transform: rotate(0) scale(1.06);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-title span {
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 520px;
    position: relative;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.search-input:focus {
    background: #FFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.12);
}

.search-btn {
    position: absolute;
    right: 6px;
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-primary);
}

/* Live Search Suggestions Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    max-height: 380px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-body);
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--primary-ultra-light);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Language Switcher Pill */
.lang-switch-pill {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 9999px;
    padding: 3px 5px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    user-select: none;
}
.lang-switch-pill:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 90, 0, 0.15);
}
.lang-switch-pill .lang-opt {
    color: #64748B;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.82rem;
    line-height: 1;
}
.lang-switch-pill .lang-opt:hover {
    color: var(--primary);
}
.lang-switch-pill .lang-opt.active {
    background: var(--gradient-primary, linear-gradient(135deg, #FF6A00 0%, #FF3D00 100%));
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(255, 90, 0, 0.35);
}
.lang-switch-pill .lang-sep {
    color: #CBD5E1;
    font-size: 0.72rem;
    margin: 0 1px;
}

/* Admin Specific Lang Switch */
.admin-lang-switch {
    background: var(--bg-body, #F8FAFC);
    border-color: var(--border-subtle, #E2E8F0);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    position: relative;
}

.action-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.action-icon {
    font-size: 1.15rem;
}

.cart-counter {
    background: var(--gradient-primary);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    box-shadow: var(--glow-primary);
}

/* Category Navbar */
.category-navbar {
    background: #FFF;
    border-bottom: 1px solid var(--border-subtle);
    display: block;
}

.category-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    overflow-x: auto;
    padding: 7px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-cat-link:hover, .nav-cat-link.active {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25);
}

.nav-cat-link.flash-link {
    background: #FFF0ED;
    color: #FF3D00;
    border: 1px dashed rgba(255, 61, 0, 0.35);
}

.nav-cat-link.flash-link:hover {
    background: #FF3D00;
    color: #FFF;
}

/* ==========================================================================
   Hero Section & Auto-Carousel Slider
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 24px 0;
}

.hero-slider-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 480px;
    box-shadow: var(--shadow-lg);
    background: #0F1115;
}

.hero-slides-container {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.02);
    display: flex;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
    pointer-events: auto;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 17, 21, 0.94) 0%, rgba(15, 17, 21, 0.75) 45%, rgba(15, 17, 21, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 640px;
    padding: 60px 48px;
    color: #FFF;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Arrows */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFF;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.hero-slider-wrapper:hover .hero-nav-arrow {
    opacity: 1;
    pointer-events: auto;
}

.hero-nav-arrow.prev { left: 20px; }
.hero-nav-arrow.next { right: 20px; }

.hero-nav-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.4);
}

/* Dots Pagination */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.hero-dot.active {
    width: 32px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(255, 90, 0, 0.7);
}

/* Slide Progress line */
.hero-slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6A00, #FF3D00);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 90, 0, 0.25);
    border: 1px solid rgba(255, 90, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    color: #FFA726;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-title {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight-orange {
    color: #FF7A18;
    background: linear-gradient(135deg, #FFA726 0%, #FF5A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 28px;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.hero-btn-group a {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

/* Common Glossy CTA Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: #FFF;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn-primary:hover::after {
    left: 140%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #FFF;
    color: var(--text-primary);
    border-color: #FFF;
}

/* ==========================================================================
   Trust / Highlights Strip
   ========================================================================== */
.trust-strip {
    padding: 24px 0;
    margin-bottom: 20px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #FFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 90, 0, 0.3);
}

.trust-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.trust-info p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Shop By Category Grid
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-title-wrap p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.view-all-link:hover {
    gap: 10px;
    color: var(--primary-hover);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-sm);
    display: block;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(18, 19, 22, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #FFF;
}

.category-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.category-overlay span {
    font-size: 0.85rem;
    color: var(--primary-light);
    opacity: 0.9;
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.product-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1.5px solid #F0ECE4;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 35px -8px rgba(255, 90, 0, 0.16), 0 10px 20px -4px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 90, 0, 0.4);
}

.product-thumb-wrap {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: radial-gradient(circle at center, #FAF8F5 0%, #F3EFE9 100%);
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
}

.product-thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

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

/* Product Badges */
.badge-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #FF6A00 0%, #FF2B00 100%);
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(255, 61, 0, 0.45);
    z-index: 2;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.quick-action-btns {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateX(12px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .quick-action-btns {
    opacity: 1;
    transform: translateX(0);
}

.icon-action-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-action-btn:hover {
    background: var(--primary);
    color: #FFF;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.35);
}

.product-details {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #FFFFFF;
}

.product-brand {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1E293B;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.9em;
}

.product-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--primary);
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.3px;
}

.price-original {
    font-size: 0.95rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-family: 'Inter', sans-serif;
}

.badge-saving {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

/* ==========================================================================
   Product Card Micro-Interactions (Size Chips & Action Buttons)
   ========================================================================== */
.size-selector-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    background: #FAF8F5;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid #EFEAE3;
    position: relative;
    z-index: 3;
    cursor: default;
}

.size-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.size-label i {
    color: var(--primary);
    font-size: 0.75rem;
}

.size-chips-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    perspective: 500px;
}

/* 1. Size Chips with 3D Folding / Lift & Scale Effect */
.size-chip {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    background: #FFFFFF;
    border: 1.5px solid #DCD6CD;
    border-radius: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
    user-select: none;
    transform-origin: center bottom;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Hover: floating lift + scale up + glowing warm border */
.size-chip:hover {
    transform: translateY(-5px) scale(1.18);
    background: #FFFFFF;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 20px -3px rgba(255, 90, 0, 0.35), 0 3px 6px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

/* Active / Selected state */
.size-chip.selected {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: var(--primary);
    font-weight: 800;
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.22), 0 5px 14px rgba(255, 90, 0, 0.45);
    transform: translateY(-2px) scale(1.08);
}

.size-chip.selected:hover {
    transform: translateY(-6px) scale(1.22);
    box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.3), 0 12px 24px rgba(255, 90, 0, 0.55);
    z-index: 10;
}

.size-chip:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 3px rgba(255, 90, 0, 0.2);
}

/* Product Page Responsive Color Chips */
.product-color-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-color-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 12px;
    min-height: 32px;
    height: auto;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.product-color-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 90, 0, 0.18);
}

.product-color-chip.selected {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #FFFFFF !important;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(255, 90, 0, 0.2), 0 3px 10px rgba(255, 90, 0, 0.35);
    transform: translateY(-1px);
}

.product-color-chip.selected .color-chip-label {
    color: #FFFFFF !important;
}

.product-color-chip:active {
    transform: translateY(0) scale(0.97);
}

.color-chip-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-color-chip.selected .color-chip-swatch {
    border: 1.5px solid #FFFFFF !important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.color-chip-label {
    display: inline-block;
    line-height: 1.2;
}

/* Mobile & Tablet Compact Sizing (Phone-friendly) */
@media (max-width: 768px) {
    .product-color-chips-wrap {
        gap: 6px;
    }
    .product-color-chip {
        padding: 4px 9px;
        min-height: 28px;
        height: 28px;
        font-size: 0.78rem;
        gap: 5px;
        border-radius: 6px;
        border-width: 1.2px;
    }
    .color-chip-swatch {
        width: 8.5px;
        height: 8.5px;
    }
}

/* Card Order / Cart Buttons Group */
.card-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    position: relative;
    z-index: 3;
    padding-top: 4px;
    cursor: default;
}

/* 2. Order Now Button (Glossy + 3D Lift + Scaling up + Pulse) */
.btn-card-order {
    height: 44px;
    padding: 0 12px;
    background: linear-gradient(135deg, #FF6A00 0%, #FF2600 100%);
    color: #FFF;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(255, 90, 0, 0.32), 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease;
    position: relative;
    overflow: hidden;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transform-origin: center center;
}

/* Shimmer shine stripe */
.btn-card-order::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.btn-card-order:hover {
    transform: translateY(-4px) scale(1.035);
    box-shadow: 0 12px 28px rgba(255, 90, 0, 0.5), 0 3px 8px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #FF7A18 0%, #E62A00 100%);
}

.btn-card-order:hover::after {
    left: 150%;
}

.btn-card-order i {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.92rem;
}

.btn-card-order:hover i {
    transform: scale(1.25) rotate(-14deg);
}

.btn-card-order:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 8px rgba(255, 90, 0, 0.3);
}

/* 3. Add to Cart Button (Floating + Scaling + Soft Glow) */
.btn-card-cart {
    height: 44px;
    padding: 0 12px;
    background: #FFF7F2;
    color: var(--primary);
    border: 1.5px solid #FFD0B8;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transform-origin: center center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-card-cart:hover {
    transform: translateY(-4px) scale(1.035);
    background: var(--gradient-primary);
    color: #FFF;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(255, 90, 0, 0.38), 0 3px 8px rgba(0, 0, 0, 0.06);
}

.btn-card-cart i {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.92rem;
}

.btn-card-cart:hover i {
    transform: scale(1.25) rotate(-14deg);
}

.btn-card-cart:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 8px rgba(255, 90, 0, 0.2);
}

/* ==========================================================================
   Promotional Flash Banner
   ========================================================================== */
.promo-campaign-banner {
    background: linear-gradient(135deg, #18191E 0%, #281710 50%, #15161A 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 90, 0, 0.35);
    padding: 48px;
    color: #FFF;
    position: relative;
    overflow: hidden;
    margin: 40px 0 60px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.promo-glow-blob {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.35) 0%, transparent 70%);
    top: -60px;
    right: 100px;
    filter: blur(50px);
    pointer-events: none;
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.promo-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
}

/* ==========================================================================
   Slide-out Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #FFF;
    z-index: 9999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.drawer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.drawer-close-btn:hover {
    background: #FFECE3;
    color: var(--primary);
}

.drawer-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-body);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-control {
    display: flex;
    align-items: center;
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.qty-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.qty-val {
    width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
}

.item-remove-btn {
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.item-remove-btn:hover {
    color: var(--danger);
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    background: #FFF;
}

.drawer-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.drawer-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-primary);
    color: #FFF;
    border-radius: var(--radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--glow-primary);
    cursor: pointer;
    transition: var(--transition);
}

.drawer-checkout-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow-primary-hover);
}

/* ==========================================================================
   Checkout Page Styles
   ========================================================================== */
.checkout-wrapper {
    padding: 40px 0 70px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
}

.checkout-card {
    background: #FFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--bg-body);
}

.card-heading i {
    color: var(--primary);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    box-sizing: border-box;
}

select.form-control {
    padding: 9px 34px 9px 14px;
    line-height: 1.45;
    min-height: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.form-control:focus {
    background: #FFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.12);
}

/* ==========================================================================
   Compact & Tidy Checkout Design
   ========================================================================== */
.checkout-wrapper {
    padding: 30px 0 60px;
    background: #F8FAFC;
    min-height: 80vh;
}

.checkout-container-compact {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 16px;
}

.checkout-header-bar {
    margin-bottom: 24px;
}

.checkout-breadcrumbs {
    font-size: 0.88rem;
    color: #64748B;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-breadcrumbs a {
    color: #475569;
    font-weight: 500;
}

.checkout-breadcrumbs a:hover {
    color: #DC2626;
}

.checkout-breadcrumbs .sep {
    color: #CBD5E1;
}

.checkout-breadcrumbs .current {
    color: #DC2626;
    font-weight: 700;
}

.checkout-main-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.checkout-sub-title {
    font-size: 0.92rem;
    color: #64748B;
    margin: 0;
}

.checkout-grid-compact {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 860px) {
    .checkout-grid-compact {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.checkout-card-box {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    padding: 28px 26px;
}

.checkout-card-box.sticky-summary {
    position: sticky;
    top: 90px;
}

.checkout-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.12rem;
    font-weight: 800;
    color: #0F172A;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1.5px solid #F1F5F9;
}

.checkout-card-title i {
    color: #DC2626;
    font-size: 1.15rem;
}

.checkout-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1E293B;
}

.checkout-input,
.checkout-textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.95rem;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    color: #0F172A;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.checkout-input:focus,
.checkout-textarea:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.checkout-textarea {
    resize: vertical;
    min-height: 80px;
}

.field-hint {
    font-size: 0.8rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Compact Fixed Delivery Box */
.compact-delivery-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F0FDF4;
    border: 1.5px solid #22C55E;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.08);
}

.delivery-box-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-radio-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #16A34A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.delivery-box-text strong {
    display: block;
    font-size: 0.94rem;
    color: #166534;
    font-weight: 700;
}

.delivery-box-text small {
    display: block;
    font-size: 0.8rem;
    color: #15803D;
}

.delivery-box-rate {
    font-size: 1.15rem;
    font-weight: 800;
    color: #166534;
    white-space: nowrap;
}

/* Items List in Checkout */
.checkout-items-list-wrap {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 14px;
    padding-right: 4px;
}

.checkout-item-compact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

.checkout-item-compact-row:last-child {
    border-bottom: none;
}

.checkout-del-item-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.checkout-del-item-btn:hover {
    background: #FEE2E2;
    color: #DC2626;
}

.checkout-item-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-submeta {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 2px;
    display: flex;
    gap: 6px;
}

.checkout-item-submeta .badge-sz {
    background: #FEF2F2;
    color: #DC2626;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.checkout-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFF;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-qty-stepper button {
    width: 24px;
    height: 24px;
    border: none;
    background: #F8FAFC;
    color: #334155;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkout-qty-stepper button:hover {
    background: #E2E8F0;
}

.checkout-qty-stepper span {
    min-width: 20px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
}

.checkout-item-total-price {
    font-weight: 800;
    font-size: 0.94rem;
    color: #0F172A;
    white-space: nowrap;
    text-align: right;
    min-width: 60px;
    flex-shrink: 0;
}

/* Coupon Box */
.checkout-coupon-row {
    display: flex;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid #F1F5F9;
}

.checkout-coupon-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.88rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    text-transform: uppercase;
}

.checkout-coupon-btn {
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.checkout-coupon-btn:hover {
    background: #1E293B;
}

.coupon-feedback-msg {
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Pricing Breakdown Table */
.checkout-pricing-table {
    border-top: 1px solid #F1F5F9;
    padding: 12px 0;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 8px;
}

.pricing-row .price-highlight-red {
    color: #DC2626;
    font-weight: 700;
    font-size: 0.96rem;
}

.pricing-row .discount-green {
    color: #059669;
    font-weight: 700;
}

.pricing-row.total-row {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1.5px dashed #CBD5E1;
}

.pricing-row.total-row .total-highlight-red {
    color: #DC2626;
    font-size: 1.35rem;
    font-weight: 900;
}

/* Payment Mode & Dynamic Notice */
.checkout-payment-section {
    border-top: 1px solid #F1F5F9;
    padding: 14px 0 16px;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.custom-radio-circle.checked {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 4.5px solid #DC2626;
    background: #FFF;
    flex-shrink: 0;
}

.cod-dynamic-notice-wrap {
    margin-top: 6px;
}

.notice-single-prod {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 6px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #166534;
    font-size: 0.85rem;
    line-height: 1.4;
}

.notice-single-prod i {
    color: #16A34A;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notice-multi-prod {
    background: #FFFBEB;
    border: 1.5px solid #F59E0B;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #92400E;
    font-size: 0.86rem;
    line-height: 1.45;
}

.notice-multi-prod i {
    color: #D97706;
    font-size: 1.15rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Big Red Submit Button */
.checkout-submit-btn {
    width: 100%;
    min-height: 50px;
    height: auto;
    padding: 12px 14px;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: normal;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    transition: background 0.15s ease, transform 0.15s ease;
}

.checkout-submit-btn:hover {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

.checkout-guarantee-note {
    font-size: 0.78rem;
    color: #64748B;
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================================
   Product Card Mini Size Picker Modal
   ========================================================================== */
.card-size-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.card-size-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.card-size-modal-box {
    background: #FFFFFF;
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-size-modal-backdrop.active .card-size-modal-box {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    color: #64748B;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.modal-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.modal-product-summary {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

.modal-prod-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.modal-product-info {
    flex: 1;
    min-width: 0;
}

.modal-prod-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.modal-prod-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #DC2626;
}

.modal-size-section {
    padding: 16px 0 10px;
}

.modal-size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
}

.selected-size-preview {
    font-size: 0.82rem;
    font-weight: 600;
    color: #DC2626;
    background: #FEF2F2;
    padding: 2px 8px;
    border-radius: 4px;
}

.modal-size-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-size-chip {
    min-width: 50px;
    height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1.5px solid #CBD5E1;
    background: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-size-chip:hover {
    border-color: #DC2626;
    color: #DC2626;
    background: #FEF2F2;
}

.modal-size-chip.selected {
    border-color: #DC2626;
    background: #DC2626;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.35);
}

.modal-size-warning {
    margin-top: 14px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1.5px solid #F87171;
    border-radius: 8px;
    color: #B91C1C;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shakeWarning 0.4s ease-in-out;
}

@keyframes shakeWarning {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.modal-action-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-modal-cancel {
    flex: 1;
    height: 46px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    color: #475569;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-modal-cancel:hover {
    background: #E2E8F0;
}

.btn-modal-confirm {
    flex: 2;
    height: 46px;
    border: none;
    background: #DC2626;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.btn-modal-confirm:hover {
    background: #B91C1C;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #111215;
    color: #A0AEC0;
    padding: 60px 0 25px;
    border-top: 1px solid rgba(255, 90, 0, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    margin-bottom: 45px;
}

/* Custom 3-column footer with vertical stripe divider */
.footer-grid.footer-grid-custom {
    grid-template-columns: 1.15fr auto 1.15fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-stripe-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
}

.footer-stripe-divider .f-stripe {
    display: inline-block;
    width: 4px;
    background: linear-gradient(180deg, #FF6A00 0%, #FF1E00 50%, #EE0979 100%);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(255, 90, 0, 0.5);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-stripe-divider:hover .f-stripe {
    filter: brightness(1.25);
    transform: scaleY(1.06);
}

.footer-stripe-divider .f-stripe-1 { height: 75px; }
.footer-stripe-divider .f-stripe-2 { height: 125px; }
.footer-stripe-divider .f-stripe-3 { height: 180px; }
.footer-stripe-divider .f-stripe-4 { height: 125px; }
.footer-stripe-divider .f-stripe-5 { height: 75px; }

/* Contact Column V2 (Matching User Reference Image) */
.footer-contact-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.f-contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.f-contact-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-icon-head {
    font-size: 1.25rem;
    color: #FFFFFF;
    width: 22px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.f-title-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.2px;
}

.f-contact-details {
    padding-left: 34px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.f-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #F8FAFC;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    width: fit-content;
}

.f-detail-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.f-sub-icon {
    font-size: 0.95rem;
}

.f-icon-tel {
    color: #FF3366;
}

.f-icon-wa {
    color: #25D366;
    font-size: 1.15rem;
}

.f-email-link {
    font-size: 1rem;
    font-weight: 500;
    color: #E2E8F0;
    word-break: break-all;
}

.f-address-text {
    margin: 0;
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .footer-grid.footer-grid-custom {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-stripe-divider {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        margin: 10px 0;
        padding: 0;
    }

    .footer-stripe-divider .f-stripe {
        height: 4px !important;
        background: linear-gradient(90deg, #FF6A00 0%, #FF1E00 50%, #EE0979 100%);
    }

    .footer-stripe-divider .f-stripe-1 { width: 35px; }
    .footer-stripe-divider .f-stripe-2 { width: 65px; }
    .footer-stripe-divider .f-stripe-3 { width: 95px; }
    .footer-stripe-divider .f-stripe-4 { width: 65px; }
    .footer-stripe-divider .f-stripe-5 { width: 35px; }

    .f-title-text {
        font-size: 1.1rem;
    }

    .f-contact-details {
        padding-left: 30px;
    }
}

.footer-col h4 {
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #A0AEC0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.social-icon.social-wa:hover {
    background: #25D366 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 10px;
    margin-top: 35px;
    font-size: 0.88rem;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
}

/* ==========================================================================
   Mobile Bottom Bar
   ========================================================================== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    z-index: 999;
}

.mobile-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    gap: 3px;
    position: relative;
    padding: 6px 12px;
}

.mobile-nav-btn i {
    font-size: 1.25rem;
}

.mobile-nav-btn.active, .mobile-nav-btn:hover {
    color: var(--primary);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #18191E;
    color: #FFF;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    animation: toastSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
    font-size: 0.92rem;
    font-weight: 600;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Ultra-Sleek & Compact Category Header Strip
   ========================================================================== */
.category-header-strip {
    padding: 16px 0 6px;
}

.cat-strip-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F4 100%);
    border: 1px solid rgba(255, 90, 0, 0.18);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 4px 16px rgba(255, 90, 0, 0.05);
}

.cat-strip-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-breadcrumb-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cat-breadcrumb-compact .crumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.cat-breadcrumb-compact .crumb-link:hover {
    color: var(--primary);
}

.cat-breadcrumb-compact .crumb-sep {
    font-size: 0.65rem;
    color: var(--border-strong);
}

.cat-breadcrumb-compact .crumb-current {
    color: var(--primary);
    font-weight: 600;
}

.cat-strip-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-strip-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

.cat-strip-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.cat-strip-count-badge {
    background: #EEF7EE;
    color: #15803D;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(21, 128, 61, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cat-strip-tagline {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.cat-strip-right {
    flex-shrink: 0;
}

.btn-strip-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: #FFF;
    color: var(--text-primary);
    border: 1.5px solid var(--border-subtle);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-strip-view-all:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(-3px);
}

/* ==========================================================================
   Interactive Size Guide Modal
   ========================================================================== */
.sg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 21, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sg-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sg-modal-card {
    background: #FFF;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.94) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg-modal-overlay.active .sg-modal-card {
    transform: scale(1) translateY(0);
}

.sg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, #FFF7F2 0%, #FFFFFF 100%);
}

.sg-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sg-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

.sg-header-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.sg-header-title p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

.sg-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: #FFF;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sg-close-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.sg-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.sg-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: var(--bg-body);
    padding: 6px;
    border-radius: var(--radius-md);
}

.sg-tab-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sg-tab-btn.active {
    background: #FFF;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sg-tab-content {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}

.sg-tab-content.active {
    display: block;
}

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

.sg-table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin-bottom: 18px;
}

.sg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: center;
}

.sg-table th {
    background: #FFF2EB;
    color: var(--text-primary);
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid rgba(255, 90, 0, 0.2);
    white-space: nowrap;
}

.sg-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.sg-table tr.highlight td {
    background: #FFFDF9;
    font-weight: 600;
    color: var(--text-primary);
}

.sg-table tr:last-child td {
    border-bottom: none;
}

.sg-tip-box {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #92400E;
    line-height: 1.5;
}

.sg-tip-box i {
    color: #D97706;
    font-size: 1.15rem;
    margin-top: 2px;
}

.sg-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.sg-step-item {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--border-subtle);
}

.sg-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 10px rgba(255, 90, 0, 0.3);
}

.sg-step-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-primary);
}

.sg-step-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.sg-exchange-promise {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: #065F46;
}

.sg-exchange-promise i {
    color: #10B981;
    font-size: 1.4rem;
}

.sg-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    background: #FFF;
}

/* ==========================================================================
   Product Detail Page Interactive Image Hover Zoom
   ========================================================================== */
.image-zoom-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #F6F4EF;
    border: 1px solid var(--border-subtle);
    margin-bottom: 16px;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
}

.zoom-target-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    transition: transform 0.2s ease-out;
    will-change: transform, transform-origin;
}

.zoom-hint-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 18, 21, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 4;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.zoom-hint-badge i {
    color: var(--primary);
    font-size: 0.95rem;
}

.image-zoom-container:hover .zoom-hint-badge {
    opacity: 0;
    transform: translateY(4px);
}

/* ==========================================================================
   Recent Orders Social Proof Toast (Live Purchases)
   ========================================================================== */
.social-proof-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: #FFF;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 360px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    cursor: pointer;
}

.social-proof-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sp-thumb-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.sp-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-live-badge {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.72);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 1px 0;
}

.sp-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
    animation: pulseDot 1.4s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.sp-content {
    flex: 1;
    overflow: hidden;
}

.sp-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.sp-header strong {
    font-size: 0.88rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-location {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sp-product-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.sp-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
}

.sp-time {
    color: var(--text-muted);
}

.sp-tag {
    color: #10B981;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.sp-close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #F1F3F5;
    color: var(--text-muted);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.sp-close-btn:hover {
    background: #E2E8F0;
    color: var(--text-primary);
}

/* ==========================================================================
   Floating Support & Quick Action Hub
   ========================================================================== */
.floating-support-hub {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.floating-btn * {
    pointer-events: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.floating-btn.btn-ai-chat {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #FF5A00 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.42), 0 0 16px rgba(255, 90, 0, 0.35);
    z-index: 10;
}

.floating-btn.btn-ai-chat:hover {
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55), 0 0 22px rgba(255, 90, 0, 0.5);
}

.ai-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.65);
    animation: aiPulse 2.4s infinite ease-out;
    pointer-events: none;
}

@keyframes aiPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.ai-online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background: #10B981;
    border: 2px solid #FFF;
    border-radius: 50%;
}

.ai-badge-label {
    position: absolute;
    bottom: -4px;
    background: #18191E;
    color: #FFA726;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-btn.btn-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38);
}

.floating-btn.btn-call {
    background: linear-gradient(135deg, #FF6A00 0%, #E04E00 100%);
    box-shadow: 0 8px 20px rgba(255, 90, 0, 0.38);
}

.floating-btn.btn-top {
    background: #18191E;
    color: #FFF;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-btn.btn-top.visible {
    opacity: 0.9;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn.btn-top:hover {
    opacity: 1;
    background: var(--primary);
}

.floating-tooltip {
    position: absolute;
    right: 62px;
    background: #18191E;
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #18191E;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   Sanvi Shoes Dedicated AI Chatbot Assistant Widget
   ========================================================================== */
.ai-welcome-bubble {
    position: fixed;
    bottom: 145px;
    right: 86px;
    z-index: 996;
    background: #FFFFFF;
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(79, 70, 229, 0.2);
    max-width: 240px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: aiBubbleFloat 3.5s ease-in-out infinite;
}

@keyframes aiBubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ai-welcome-bubble::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 7px 0 7px 7px;
    border-style: solid;
    border-color: transparent transparent transparent #FFFFFF;
}

.ai-bubble-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: #E2E8F0;
    color: #4A5568;
    border: none;
    border-radius: 50%;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ai-bubble-close:hover {
    background: #CBD5E1;
    color: #1A202C;
}

.ai-bubble-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #4F46E5;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.ai-bubble-content p {
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0;
}

/* Chat Widget Container */
.ai-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 86px;
    width: 380px;
    height: 560px;
    max-height: calc(100vh - 40px);
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-widget.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.ai-chat-header {
    background: linear-gradient(135deg, #18191E 0%, #2A2D35 100%);
    padding: 14px 18px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
}

.ai-avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #FF5A00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.ai-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10B981;
    border: 2px solid #18191E;
    border-radius: 50%;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
}

.ai-badge-verified {
    font-size: 0.68rem;
    background: rgba(255, 90, 0, 0.2);
    color: #FFA726;
    border: 1px solid rgba(255, 90, 0, 0.4);
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.ai-chat-status-text {
    font-size: 0.75rem;
    color: #A0AEC0;
    display: block;
    margin-top: 2px;
}

.ai-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-btn-action {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #E2E8F0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.ai-btn-action:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFF;
    transform: scale(1.05);
}

/* Guardrail Scope Notice Banner */
.ai-scope-banner {
    background: #FFF9F5;
    border-bottom: 1px solid #FFE4D6;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    color: #C05621;
    line-height: 1.3;
}

.ai-scope-banner i {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Chat Messages Container */
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #F8FAFC;
    scroll-behavior: smooth;
}

.ai-chat-body::-webkit-scrollbar {
    width: 5px;
}

.ai-chat-body::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

/* Message Rows */
.ai-msg-row {
    display: flex;
    gap: 10px;
    max-width: 88%;
    animation: aiMsgIn 0.25s ease-out;
}

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

.ai-msg-row.ai {
    align-self: flex-start;
}

.ai-msg-row.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.ai-msg-bubble {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
}

.ai-msg-row.ai .ai-msg-bubble {
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-top-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-msg-row.ai .ai-msg-bubble strong {
    color: #1A202C;
}

.ai-msg-row.ai.scope-refusal .ai-msg-bubble {
    border-left: 3px solid #EF4444;
    background: #FEF2F2;
}

.ai-msg-row.user .ai-msg-bubble {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25);
}

.ai-msg-time {
    font-size: 0.68rem;
    color: #94A3B8;
    margin-top: 4px;
    text-align: right;
    display: block;
}

.ai-msg-row.user .ai-msg-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Product Mini Cards inside Chat */
.ai-product-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.ai-product-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 8px 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ai-product-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 90, 0, 0.12);
}

.ai-card-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ai-card-info {
    flex: 1;
    min-width: 0;
}

.ai-card-title {
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.25;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-card-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 0.8rem;
}

.ai-card-price {
    color: var(--primary);
    font-weight: 800;
}

.ai-card-old-price {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 0.72rem;
}

.ai-card-btn {
    padding: 5px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(255, 90, 0, 0.3);
}

/* Typing Indicator */
.ai-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: #FFFFFF;
    border-radius: 14px;
    border-top-left-radius: 4px;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ai-typing-dot {
    width: 7px;
    height: 7px;
    background: #94A3B8;
    border-radius: 50%;
    animation: aiDotBounce 1.4s infinite ease-in-out;
}

.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes aiDotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; background: var(--primary); }
}

/* Quick Question Chips */
.ai-quick-chips {
    padding: 8px 14px;
    background: #FFFFFF;
    border-top: 1px solid #EDF2F7;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.ai-quick-chips::-webkit-scrollbar {
    height: 3px;
}

.ai-quick-chips::-webkit-scrollbar-thumb {
    background: #E2E8F0;
    border-radius: 2px;
}

.ai-chip {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ai-chip:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(255, 90, 0, 0.4);
}

/* Chat Input Footer - Sleek Dark Aesthetic matching Image 1 */
.ai-chat-footer {
    padding: 10px 14px 12px;
    background: #111520;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-input-wrap {
    display: flex;
    align-items: center;
    background: #161D2B;
    border: 1px solid #2B384E;
    border-radius: 28px;
    padding: 4px 6px 4px 16px;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.ai-input-wrap:focus-within {
    border-color: #8B5CF6;
    background: #192131;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.ai-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 4px;
    font-size: 0.9rem;
    color: #F8FAFC;
    outline: none;
    font-family: inherit;
    min-width: 0;
}

.ai-input-wrap input::placeholder {
    color: #73849A;
    font-size: 0.86rem;
}

.ai-input-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.ai-mic-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #242E40;
    color: #94A3B8;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    margin: 0;
}

.ai-mic-btn:hover {
    background: #2E3B52;
    color: #FFFFFF;
    transform: scale(1.04);
}

.ai-mic-btn.listening {
    background: #EF4444 !important;
    color: #FFFFFF !important;
    border-color: #DC2626 !important;
    animation: micPulse 1.2s infinite ease-in-out;
}

#aiSendBtn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8B5CF6 0%, #D946EF 100%);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
    transition: all 0.2s ease;
    margin: 0;
}

#aiSendBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.6);
}

#aiSendBtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ai-disclaimer {
    font-size: 0.68rem;
    color: #64748B;
    text-align: center;
    margin-top: 6px;
}

/* ==========================================================================
   AI In-Modal Language Switcher & Voice Interaction System
   ========================================================================== */
.ai-lang-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    background: #1F222A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-lang-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #94A3B8;
}

.ai-lang-label i {
    color: var(--primary);
}

.ai-lang-pills {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
}

.ai-lang-pill {
    background: transparent;
    border: none;
    color: #CBD5E1;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-lang-pill:hover {
    color: #FFF;
}

.ai-lang-pill.active {
    background: var(--gradient-primary);
    color: #FFF;
    box-shadow: 0 2px 6px rgba(255, 90, 0, 0.35);
}

/* Voice Listening Status Banner */

/* Voice Listening Status Banner */
.ai-voice-status {
    background: #FEF2F2;
    border-top: 1px solid #FEE2E2;
    border-bottom: 1px solid #FEE2E2;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: aiMsgIn 0.2s ease-out;
}

.voice-wave-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
}

.voice-wave {
    width: 3px;
    height: 6px;
    background: #EF4444;
    border-radius: 3px;
    animation: waveBounce 0.8s infinite ease-in-out;
}

.voice-wave.bar1 { animation-delay: 0.1s; }
.voice-wave.bar2 { animation-delay: 0.25s; }
.voice-wave.bar3 { animation-delay: 0.4s; }
.voice-wave.bar4 { animation-delay: 0.15s; }
.voice-wave.bar5 { animation-delay: 0.3s; }

@keyframes waveBounce {
    0%, 100% { height: 5px; }
    50% { height: 18px; }
}

.ai-voice-text {
    font-size: 0.78rem;
    color: #DC2626;
    font-weight: 600;
    flex: 1;
}

.btn-cancel-voice {
    background: #EF4444;
    color: #FFF;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.btn-cancel-voice:hover {
    transform: scale(1.1);
}

/* AI Message Bottom Action Buttons (Copy, Speak) */
.ai-msg-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-msg-action-btn {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.ai-msg-action-btn:hover {
    background: #E2E8F0;
    color: var(--text-primary);
}

.ai-msg-action-btn.speaking {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(255, 90, 0, 0.4);
    animation: speakPulse 1s infinite alternate;
}

@keyframes speakPulse {
    from { opacity: 0.8; }
    to { opacity: 1; transform: scale(1.02); }
}

.ai-msg-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}


/* Mobile Responsiveness for AI Chat */
@media (max-width: 600px) {
    .ai-chat-widget {
        right: 10px;
        left: 10px;
        bottom: 80px;
        width: auto;
        height: 78vh;
        border-radius: 16px;
    }
    .ai-welcome-bubble {
        right: 76px;
        bottom: 140px;
        max-width: 200px;
    }
}

/* ==========================================================================
   Flash Countdown Timer & Catalog Filter Toolbar
   ========================================================================== */
.promo-timer-wrap {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
}

.timer-title {
    color: #FFF;
    font-size: 0.86rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.promo-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cd-box {
    background: rgba(255, 255, 255, 0.95);
    color: #18191E;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cd-val {
    font-family: 'Inter', monospace;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.cd-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: #4A5568;
}

.cd-sep {
    color: #FFF;
    font-weight: 800;
    font-size: 1rem;
}

/* Catalog Filter & Sort Toolbar */
.catalog-toolbar {
    background: #FFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.size-filter-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.size-pill-btn {
    border: 1.5px solid var(--border-subtle);
    background: #FFF;
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.size-pill-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.size-pill-btn.active {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 90, 0, 0.25);
}

.btn-size-guide-inline {
    background: #FFF7F2;
    border: 1px solid rgba(255, 90, 0, 0.25);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-size-guide-inline:hover {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25);
}

.sort-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.catalog-sort-select {
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #FFF;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.catalog-sort-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.15);
}

/* ==========================================================================
   Mobile-Only Elements Hidden by Default on Desktop (PC)
   ========================================================================== */
.mobile-menu-trigger,
.mobile-cart-trigger,
.mobile-search-bar,
.mobile-nav-overlay,
.mobile-nav-drawer {
    display: none !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .category-grid, .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal page gutter / whitespace on mobile */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* 1. Mobile Header (Clean & Compact) */
    .main-header {
        background: #FFFFFF !important;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .header-inner {
        height: 56px !important;
        gap: 8px !important;
        padding: 0 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Mobile Menu Button (Hamburger) */
    .mobile-menu-trigger {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: none;
        color: #0F172A;
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: 0.5px;
        cursor: pointer;
        padding: 8px 6px;
        flex-shrink: 0;
    }

    .mobile-menu-trigger i {
        font-size: 1.25rem;
        color: #0F172A;
    }

    /* Logo on Mobile */
    .brand-logo {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    .logo-badge {
        width: 34px !important;
        height: 34px !important;
        font-size: 1.05rem !important;
        border-radius: 9px !important;
    }

    .logo-title {
        font-size: 1.25rem !important;
        letter-spacing: -0.3px !important;
    }

    .logo-tagline {
        display: none !important;
    }

    /* Hide desktop search & action buttons on mobile */
    .header-search,
    .header-actions {
        display: none !important;
    }

    /* Mobile Cart Trigger */
    .mobile-cart-trigger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        background: transparent;
        border: none;
        color: #0F172A;
        font-size: 1.35rem;
        cursor: pointer;
        padding: 8px;
        flex-shrink: 0;
    }

    .mobile-cart-trigger .cart-counter {
        position: absolute;
        top: 2px;
        right: 2px;
        background: #DC2626;
        color: #FFFFFF;
        font-size: 0.68rem;
        font-weight: 800;
        min-width: 17px;
        height: 17px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        border: 1.5px solid #FFFFFF;
    }

    /* Full-Width Mobile Search Bar (Right under header, like Oyshi Footwear) */
    .mobile-search-bar {
        display: block !important;
        background: #FFFFFF;
        border-top: 1px solid #F1F5F9;
        border-bottom: 1.5px solid #E2E8F0;
        padding: 8px 0;
        position: relative;
    }

    .mobile-search-form {
        display: flex;
        align-items: stretch;
        border: 1.5px solid #0F172A;
        border-radius: 6px;
        overflow: hidden;
        background: #FFFFFF;
    }

    .mobile-search-input {
        flex: 1;
        padding: 9px 12px;
        font-size: 0.9rem;
        background: transparent;
        border: none;
        color: #0F172A;
    }

    .mobile-search-btn {
        background: #0F172A;
        color: #FFFFFF;
        font-size: 0.82rem;
        font-weight: 800;
        letter-spacing: 0.5px;
        padding: 0 16px;
        border: none;
        cursor: pointer;
        white-space: nowrap;
    }

    .mobile-dropdown {
        position: absolute;
        top: calc(100% + 2px);
        left: 14px;
        right: 14px;
        max-height: 320px;
        z-index: 1000;
        background: #FFF;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    /* Hide cluttered horizontal category strip on mobile */
    .category-navbar {
        display: none !important;
    }

    /* 2. Off-Canvas Mobile Navigation Drawer (Oyshi Footwear Style) */
    .mobile-nav-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-drawer {
        display: flex !important;
        position: fixed;
        top: 0;
        left: -320px;
        width: 290px;
        max-width: 82vw;
        height: 100%;
        background: #FFFFFF;
        z-index: 99999;
        box-shadow: 6px 0 24px rgba(0, 0, 0, 0.18);
        flex-direction: column;
        transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow: hidden;
    }

    .mobile-nav-drawer.active {
        left: 0;
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 18px;
        background: #F8FAFC;
        border-bottom: 1px solid #E2E8F0;
    }

    .mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1.15rem;
        font-weight: 800;
        color: #0F172A;
    }

    .mobile-drawer-brand strong {
        color: var(--primary);
    }

    .mobile-drawer-close {
        background: none;
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #475569;
        font-size: 0.92rem;
        font-weight: 700;
        cursor: pointer;
        padding: 6px 8px;
        border-radius: 6px;
        transition: all 0.2s;
    }

    .mobile-drawer-close:hover {
        color: #DC2626;
        background: #FEE2E2;
    }

    .mobile-drawer-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #F1F5F9;
        border-bottom: 1.5px solid #E2E8F0;
    }

    .mobile-drawer-tab {
        padding: 13px 10px;
        text-align: center;
        font-size: 0.84rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #64748B;
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-drawer-tab.active {
        color: #DC2626;
        background: #FFFFFF;
        border-bottom: 3px solid #DC2626;
        font-weight: 800;
    }

    .mobile-drawer-pane {
        display: none;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 0 30px;
    }

    .mobile-drawer-pane.active {
        display: block;
    }

    .mobile-nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-menu li {
        border-bottom: 1px solid #F1F5F9;
    }

    .drawer-nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 18px;
        color: #1E293B;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        transition: background 0.15s, color 0.15s;
    }

    .drawer-nav-item span {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .drawer-nav-item .item-icon {
        width: 18px;
        text-align: center;
        font-size: 0.92rem;
        color: #64748B;
    }

    .drawer-nav-item i.fa-angle-right {
        font-size: 0.8rem;
        color: #CBD5E1;
    }

    .drawer-nav-item:hover,
    .drawer-nav-item:active {
        background: #F8FAFC;
        color: var(--primary);
    }

    .drawer-nav-item.active {
        color: #DC2626;
        background: #FEF2F2;
        font-weight: 800;
    }

    .drawer-nav-item.home-item {
        color: #DC2626;
        font-weight: 800;
    }

    .drawer-nav-item.flash-item .flash-label {
        color: #D97706;
    }

    .drawer-badge {
        background: #DC2626;
        color: #FFF;
        font-size: 0.72rem;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 999px;
    }

    .mobile-drawer-lang-box {
        margin: 18px 14px 10px;
        padding: 12px 14px;
        background: #F8FAFC;
        border-radius: 8px;
        border: 1px solid #E2E8F0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-drawer-lang-box .lang-heading {
        font-size: 0.82rem;
        font-weight: 700;
        color: #475569;
    }

    /* 3. Toast and Floating Support Hub Alignment */
    .social-proof-toast {
        bottom: 74px !important;
        left: 10px !important;
        right: auto !important;
        max-width: 300px !important;
        z-index: 990 !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    }
    .floating-support-hub {
        bottom: 76px !important;
        right: 12px !important;
        gap: 8px !important;
        z-index: 990 !important;
    }
    .floating-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.15rem !important;
    }
    .sg-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 14px;
    }
    .toolbar-left, .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    .cat-strip-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }
    .cat-strip-right {
        width: 100%;
    }
    .btn-strip-view-all {
        width: 100%;
        justify-content: center;
    }
    .category-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .hero-slider-wrapper, .hero-slides-container, .hero-banner-card {
        min-height: 420px;
    }
    .hero-content {
        padding: 40px 24px;
    }
    .hero-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 16px;
    }
    .hero-nav-arrow {
        opacity: 0.8;
        pointer-events: auto;
        width: 38px;
        height: 38px;
    }
    .hero-nav-arrow.prev { left: 10px; }
    .hero-nav-arrow.next { right: 10px; }
    .hero-title {
        font-size: 1.85rem;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .mobile-bottom-bar {
        display: block;
    }
    body {
        padding-bottom: 65px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .promo-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-details {
        padding: 12px 10px;
    }
    .card-btn-group {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Product Detail Tabs & Reviews System (Image 1 & Image 2)
   ========================================================================== */
.product-tabs-wrapper {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    margin-bottom: 50px;
    overflow: hidden;
}

.product-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    border-bottom: 1px solid #E2E8F0;
    padding: 0 24px;
    background: #FFFFFF;
    flex-wrap: wrap;
}

.tab-nav-btn {
    background: none;
    border: none;
    border-top: 3px solid transparent;
    padding: 18px 10px 15px;
    font-size: 0.94rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.2s ease;
    margin-top: -1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-nav-btn:hover {
    color: #1E293B;
}

.tab-nav-btn.active {
    color: #1E293B;
    border-top-color: #E11D48; /* Red accent top bar matching Image 1 & 2 */
}

.product-tab-pane {
    display: none;
    padding: 36px 40px;
    animation: tabFadeIn 0.25s ease;
}

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

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

/* Tab 1 Content Typography */
.tab-section-block {
    margin-bottom: 24px;
}

.tab-section-block:last-child {
    margin-bottom: 0;
}

.tab-subheading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.tab-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 14px;
}

.tab-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.tab-feature-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.tab-feature-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #E11D48;
    font-weight: bold;
}

.tab-specs-list {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #334155;
}

.tab-specs-list .spec-row {
    margin-bottom: 4px;
}

.tab-specs-list strong {
    color: #1E293B;
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

/* Tab 2: Additional Info Table */
.additional-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.additional-info-table tr {
    border-bottom: 1px solid #F1F5F9;
}

.additional-info-table tr:nth-child(even) {
    background: #F8FAFC;
}

.additional-info-table th {
    text-align: left;
    padding: 14px 20px;
    width: 240px;
    font-weight: 700;
    color: #1E293B;
    border-right: 1px solid #F1F5F9;
}

.additional-info-table td {
    padding: 14px 20px;
    color: #475569;
}

/* Tab 3: Reviews Layout (Matching Image 2) */
.reviews-tab-layout {
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    gap: 48px;
    align-items: start;
}

.reviews-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 16px;
}

.no-reviews-msg {
    color: #64748B;
    font-size: 0.95rem;
    margin-top: 8px;
    line-height: 1.6;
}

.review-item-card {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #F1F5F9;
}

.review-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFE4E6;
    color: #E11D48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-item-body {
    flex: 1;
}

.review-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.review-author {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1E293B;
}

.badge-verified-buyer {
    font-size: 0.72rem;
    background: #ECFDF5;
    color: #059669;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 700;
}

.review-date {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-left: auto;
}

.review-stars-static {
    color: #F59E0B;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.review-stars-static .empty {
    color: #E2E8F0;
}

.review-comment-text {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

/* Right Column: Review Form (Image 2) */
.review-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.4;
    margin-bottom: 8px;
}

.review-form-notice {
    font-size: 0.88rem;
    color: #64748B;
    margin-bottom: 24px;
}

.req-star {
    color: #E11D48;
    font-weight: bold;
}

.review-field-group {
    margin-bottom: 20px;
}

.review-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

/* Star Rating Selector */
.star-rating-picker {
    display: inline-flex;
    gap: 4px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
}

.star-pick {
    color: #CBD5E1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-pick.active,
.star-pick:hover,
.star-pick.hover-fill {
    color: #F59E0B;
    transform: scale(1.1);
}

.review-textarea,
.review-input {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1E293B;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.review-textarea:focus,
.review-input:focus {
    outline: none;
    border-color: #E11D48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.review-textarea {
    resize: vertical;
    min-height: 130px;
}

.review-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.review-checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #E11D48;
}

.review-checkbox-group label {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.5;
    cursor: pointer;
}

/* Red Solid Submit Button from Image 2 */
.btn-review-submit {
    background: #E11D48;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
}

.btn-review-submit:hover {
    background: #BE123C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}

.btn-review-submit:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .reviews-tab-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .product-tab-pane {
        padding: 24px 20px;
    }
    .product-tabs-nav {
        gap: 18px;
    }
    .additional-info-table th {
        width: 140px;
        padding: 10px 14px;
    }
    .additional-info-table td {
        padding: 10px 14px;
    }
}

/* ==========================================================================
   Category-Wise Product Slider / Showcase (Sanvi Shoes Brand Theme)
   ========================================================================== */
.category-showcase-section {
    margin-bottom: 22px;
}

.cat-ribbon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.cat-ribbon-banner {
    display: inline-flex;
    align-items: center;
    height: 48px;
    position: relative;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    filter: drop-shadow(0 4px 10px rgba(216, 59, 0, 0.20));
}

.cat-ribbon-content {
    background: linear-gradient(135deg, #D83B00 0%, #FF5A00 100%);
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 800;
    height: 100%;
    padding: 0 16px 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.cat-ribbon-content i {
    font-size: 1.15rem;
    color: #FFF;
}

.cat-ribbon-tail {
    display: block;
    height: 48px;
    width: 80px;
    flex-shrink: 0;
    margin-left: -1px;
}

.cat-ribbon-more {
    background: linear-gradient(135deg, #FF6A00 0%, #D84300 100%);
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 90, 0, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}

.cat-ribbon-more:hover {
    transform: translateX(4px);
    background: linear-gradient(135deg, #FF7A18 0%, #E64A00 100%);
    box-shadow: 0 6px 18px rgba(255, 90, 0, 0.38);
    color: #FFF;
}

.cat-slider-wrapper {
    position: relative;
    width: 100%;
}

.cat-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 4px 10px 4px;
    width: 100%;
}

.cat-slider-track::-webkit-scrollbar {
    display: none;
}

/* Exactly 4 full cards per row on desktop */
.cat-slider-track .product-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    scroll-snap-align: start;
    margin: 0;
}

/* Compact sizing for slider product cards */
.cat-slider-track .product-card .product-thumb-wrap {
    padding-top: 76%;
}

.cat-slider-track .product-card .product-details {
    padding: 13px 14px 14px;
}

.cat-slider-track .product-card .product-brand {
    font-size: 0.72rem;
    margin-bottom: 2px;
}

.cat-slider-track .product-card .product-title {
    font-size: 0.95rem;
    line-height: 1.35;
    height: 2.7em;
    margin-bottom: 6px;
}

.cat-slider-track .product-card .price-row {
    margin-bottom: 8px;
}

.cat-slider-track .product-card .product-actions {
    margin-top: 8px;
    gap: 8px;
}

.cat-slider-track .product-card .btn-direct-order,
.cat-slider-track .product-card .btn-cart-sm {
    padding: 8px 10px;
    font-size: 0.85rem;
}

/* Arrows: hidden by default, visible on wrapper hover */
.cat-slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.25s ease, background 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.cat-slider-wrapper:hover .cat-slider-arrow:not(.disabled) {
    opacity: 1;
    pointer-events: auto;
}

.cat-slider-arrow.disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

.cat-slider-arrow:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.4);
}

.cat-slider-arrow.prev {
    left: -18px;
}

.cat-slider-arrow.next {
    right: -18px;
}

/* Carousel Dots Indicator */
.cat-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
}

.cat-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #94A3B8;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cat-slider-dot.active {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1E293B;
    border-color: #1E293B;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1024px) {
    .cat-slider-track .product-card {
        flex: 0 0 calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .cat-slider-arrow {
        display: none !important;
    }
    .cat-ribbon-banner {
        height: 40px;
    }
    .cat-ribbon-content {
        min-width: auto;
        font-size: 1.02rem;
        padding: 0 12px 0 14px;
    }
    .cat-ribbon-tail {
        height: 40px;
        width: 66px;
    }
    .cat-ribbon-more {
        padding: 7px 14px;
        font-size: 0.82rem;
    }
    .cat-slider-track {
        gap: 12px;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .cat-slider-track .product-card {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }
    .cat-slider-track .product-card .product-thumb-wrap {
        padding-top: 80%;
    }
}

/* ==========================================================================
   Inner Pages Mobile Optimizations (Product Details, Checkout, Track, Success)
   ========================================================================== */
@media (max-width: 860px) {
    /* 1. Product Details Page (product.php) */
    #productDetailContainer {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 18px 14px !important;
        margin-bottom: 24px !important;
    }

    #imageZoomContainer .zoom-target-image {
        height: 310px !important;
    }

    .gallery-thumb-item {
        width: 66px !important;
        height: 66px !important;
    }

    .product-info-column h1 {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
    }

    .product-tabs-wrapper {
        margin-bottom: 28px !important;
    }

    .product-tabs-nav {
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        border-bottom: 1.5px solid #E2E8F0 !important;
        padding: 8px 10px !important;
    }

    .tab-nav-btn {
        padding: 8px 12px !important;
        font-size: 0.82rem !important;
    }

    .product-tab-pane {
        padding: 20px 14px !important;
    }

    /* 2. Checkout Page (checkout.php) */
    .checkout-wrapper {
        padding: 14px 0 40px !important;
    }

    .checkout-card-box {
        padding: 16px 14px !important;
    }

    .checkout-main-title {
        font-size: 1.4rem !important;
    }

    .checkout-sub-title {
        font-size: 0.86rem !important;
    }

    .compact-delivery-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    /* 3. Track Order Page (track-order.php) */
    .track-order-container {
        padding: 20px 12px !important;
    }

    /* 4. Order Success Page (order-success.php) */
    .order-success-box {
        padding: 24px 16px !important;
    }
}

/* =========================================================================
   4-Card Promo Campaign Grid (Matching User Reference Layout)
   ========================================================================= */
.promo-four-grid-section {
    margin-top: 24px;
    margin-bottom: 34px;
}

/* Featured Category Header Strip */
.featured-cats-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 4px 0 20px;
}

.featured-cats-header .fch-line {
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

.featured-cats-header .fch-title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #1E293B;
    text-transform: uppercase;
    white-space: nowrap;
}

.promo-four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.promo-four-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    background: #FFFFFF;
    text-decoration: none;
    width: 100%;
}

.cat-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
}

.cat-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card-info {
    flex-shrink: 0;
    padding: 10px 8px;
    text-align: center;
    background: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: background-color 0.2s ease;
}

.cat-card-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: 0.6px;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.2s ease;
}

.cat-card-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.promo-four-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1;
}

.promo-four-card:hover .cat-card-thumb-wrap img {
    transform: scale(1.04);
}

.promo-four-card:hover .cat-card-name {
    color: var(--primary, #FF6600);
}

@media (max-width: 1199px) and (min-width: 769px) {
    .promo-four-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .promo-four-grid-section {
        margin-top: 10px;
        margin-bottom: 24px;
    }

    .featured-cats-header {
        margin: 0 0 14px;
        gap: 12px;
    }

    .featured-cats-header .fch-title {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
    }

    .promo-four-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .promo-four-card {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .cat-card-thumb-wrap {
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .cat-card-info {
        padding: 8px 6px;
        gap: 2px;
    }

    .cat-card-name {
        font-size: 0.84rem;
        letter-spacing: 0.4px;
    }

    .cat-card-count {
        font-size: 0.68rem;
    }
}

@media (max-width: 380px) {
    .promo-four-grid {
        gap: 8px;
    }

    .cat-card-info {
        padding: 6px 4px;
    }

    .cat-card-name {
        font-size: 0.78rem;
    }

    .cat-card-count {
        font-size: 0.64rem;
    }
}

/* Product Details Actions & 3 Stacked Buttons */
.product-purchase-box {
    margin: 20px 0 28px;
}

.product-qty-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.qty-prompt-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.page-qty-control {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-strong);
    background: #FFFFFF;
    overflow: hidden;
}

.page-qty-control .qty-btn {
    width: 40px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.page-qty-control .qty-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.page-qty-control .qty-val {
    width: 46px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.product-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-action-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #FF6A00 0%, #FF3D00 100%);
    color: #FFFFFF !important;
    font-size: 1.08rem;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 90, 0, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-action-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.45);
    background: linear-gradient(135deg, #FF7A18 0%, #E64A00 100%);
}

.btn-action-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    background: #DC2626;
    color: #FFFFFF !important;
    font-size: 1.02rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.btn-action-cart:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

.btn-action-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    background: #16A34A;
    color: #FFFFFF !important;
    font-size: 1.02rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.btn-action-whatsapp:hover {
    background: #15803D;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

@media (max-width: 768px) {
    .product-buttons-stack {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .btn-action-order,
    .btn-action-cart,
    .btn-action-whatsapp {
        width: 100% !important;
        height: 50px !important;
        font-size: 1rem !important;
        white-space: nowrap !important;
    }

    /* Mobile Product Card Cleanups:
       1. Make image taller (extend down to 96%)
       2. Hide category/brand badge (SANVI HYDRO, etc.)
       3. Single-line product title with ellipsis (...)
       4. Compact padding & reduce whitespace gaps
       5. Hide 'Save ৳...' badge
    */
    .product-card .product-thumb-wrap,
    .cat-slider-track .product-card .product-thumb-wrap {
        padding-top: 96% !important;
    }

    .product-card .product-brand,
    .cat-slider-track .product-card .product-brand {
        display: none !important;
    }

    .product-card .product-details,
    .cat-slider-track .product-card .product-details {
        padding: 8px 10px 10px !important;
    }

    .product-card .product-title,
    .cat-slider-track .product-card .product-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        height: auto !important;
        max-height: 1.45em !important;
        line-height: 1.35 !important;
        margin-bottom: 3px !important;
        font-size: 0.94rem !important;
    }

    .product-card .product-title a,
    .cat-slider-track .product-card .product-title a {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .product-card .product-price-row,
    .cat-slider-track .product-card .product-price-row,
    .cat-slider-track .product-card .price-row {
        margin-bottom: 6px !important;
        gap: 6px !important;
    }

    .product-card .price-current {
        font-size: 1.25rem !important;
    }

    .product-card .price-original {
        font-size: 0.9rem !important;
    }

    .product-card .badge-saving,
    .cat-slider-track .product-card .badge-saving {
        display: none !important;
    }

    .product-card .card-btn-group {
        gap: 6px !important;
    }

    .product-card .btn-card-order,
    .product-card .btn-card-cart {
        padding: 7px 4px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }
}

/* ==========================================================================
   Product Detail Gallery: Slide Arrows & "Click to Enlarge" (Mobile Reference)
   ========================================================================== */
.image-zoom-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #F8F9FA;
    border: 1px solid var(--border-subtle);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1E293B;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-nav-btn:hover {
    background: #FFFFFF;
    color: var(--primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.gallery-nav-prev {
    left: 12px;
}

.gallery-nav-next {
    right: 12px;
}

/* "Click to enlarge" Pill Button (Matching Reference Image 2) */
.btn-click-enlarge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: #1E293B;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-click-enlarge i {
    font-size: 0.82rem;
    color: var(--primary);
}

.btn-click-enlarge:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    color: var(--primary);
}

.btn-click-enlarge:active {
    transform: translateY(0) scale(0.97);
}

/* Thumbnails smooth scrolling */
#productGalleryThumbs {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Fullscreen Lightbox / Dedicated Zoom Modal (Mobile Friendly)
   ========================================================================== */
.fullscreen-image-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fsFadeIn 0.2s ease-out;
}

@keyframes fsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fs-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fs-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.fs-modal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.fs-image-counter {
    color: #F1F5F9;
    font-size: 0.88rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.14);
    padding: 5px 14px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

.fs-zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.fs-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

.fs-btn:active {
    transform: scale(0.95);
}

.fs-btn-reset {
    border-radius: 9999px;
    width: auto;
    padding: 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: monospace;
}

.fs-btn-close {
    background: #DC2626 !important;
    border-color: #DC2626 !important;
    color: #FFFFFF !important;
}

.fs-btn-close:hover {
    background: #B91C1C !important;
}

.fs-modal-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.fs-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.fs-target-image {
    max-width: 94vw;
    max-height: 82vh;
    object-fit: contain;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    transform-origin: center center;
}

.fs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-nav-btn:hover {
    background: rgba(255, 255, 255, 0.38);
    transform: translateY(-50%) scale(1.08);
}

.fs-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.fs-nav-prev {
    left: 16px;
}

.fs-nav-next {
    right: 16px;
}

.fs-modal-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    animation: fsHintPulse 3s infinite ease-in-out;
}

@keyframes fsHintPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.45; }
}

@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .gallery-nav-prev { left: 8px; }
    .gallery-nav-next { right: 8px; }

    .btn-click-enlarge {
        bottom: 10px;
        right: 10px;
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .fs-modal-topbar {
        padding: 10px 12px;
    }

    .fs-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .fs-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .fs-nav-prev { left: 8px; }
    .fs-nav-next { right: 8px; }
}




