/* Store Theme — Default (Level 20) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #000;
  --color-accent: #e53e3e;
  --color-bg: #fff;
  --color-text: #333;
  --color-muted: #777;
  --color-border: #e5e5e5;
  --color-surface: #f9f9f9;
  --color-header-bg: var(--color-primary);
  --color-header-text: #fff;
  --color-footer-bg: #1a1a1a;
  --color-footer-text: #ccc;
  --color-sale-badge: #e53e3e;
  --color-btn-hover: #333;
  --color-btn-text: #fff;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --font-weight-heading: 700;
  --anim-duration: 0.6s;
}

body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; font-size: var(--font-size-base); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: var(--font-weight-heading); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-title { font-size: 1.6rem; font-weight: var(--font-weight-heading); margin-bottom: 24px; color: var(--color-primary); text-align: center; }

/* ─── Page Progress Bar ──────────────────────────────── */
.page-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--color-accent); z-index: 9999; transition: width 0.4s ease, opacity 0.3s ease; }

/* ─── Announcement Bar ───────────────────────────────── */
.announcement-bar { background: var(--color-accent); color: #fff; text-align: center; font-size: 0.9rem; overflow: hidden; position: relative; }
.announcement-bar .announcement-track { display: flex; transition: transform 0.5s ease; }
.announcement-bar .announcement-slide { min-width: 100%; padding: 10px 40px; white-space: nowrap; }
.announcement-bar .announcement-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 4px; }
.announcement-bar .announcement-close:hover { color: #fff; }

/* ─── Header ─────────────────────────────────────────── */
.store-header { position: sticky; top: 12px; z-index: 100; margin: 12px 16px 0; border-radius: 16px; background: rgba(255,255,255,0.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04); color: var(--color-text); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.store-header.scrolled { top: 0; margin: 0; border-radius: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.store-logo { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; flex-shrink: 0; }
.store-logo img { height: 36px; width: auto; }
.store-logo-text { color: var(--color-text); }
.store-nav.desktop-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.store-nav-link { color: var(--color-text); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; white-space: nowrap; position: relative; opacity: 0.75; }
.store-nav-link:hover { opacity: 1; color: var(--color-primary); }
.store-nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--color-primary); transition: width 0.3s ease; }
.store-nav-link:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Burger menu (3 bars → X) */
.burger-menu { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 22px; position: relative; padding: 0; }
.burger-menu span { display: block; position: absolute; left: 0; width: 100%; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 10px; }
.burger-menu span:nth-child(3) { top: 20px; }
.burger-menu.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* Nav Drawer (mobile slide-in from right) */
.nav-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw; background: rgba(255,255,255,0.95); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); z-index: 200; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -8px 0 32px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-drawer-title { font-weight: 700; font-size: 1.1rem; color: var(--color-text); }
.nav-drawer-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--color-muted); line-height: 1; padding: 4px; }
.nav-drawer-links { display: flex; flex-direction: column; padding: 16px 0; flex: 1; overflow-y: auto; }
.nav-drawer-link, .nav-drawer-links .store-nav-link { display: block; padding: 14px 24px; font-size: 1rem; font-weight: 500; color: var(--color-text); opacity: 0.8; transition: background 0.15s, opacity 0.15s; text-decoration: none; }
.nav-drawer-link:hover, .nav-drawer-links .store-nav-link:hover { background: rgba(0,0,0,0.04); opacity: 1; }

/* Search icon in header */
.header-search-btn { background: none; border: none; color: var(--color-text); cursor: pointer; display: flex; align-items: center; }
.header-search-wrap { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px 20px; box-shadow: var(--shadow-lg); display: none; z-index: 101; }
.header-search-wrap.open { display: block; }
.header-search-wrap input { width: 100%; padding: 12px 16px; border: 2px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; color: var(--color-text); }
.header-search-wrap input:focus { outline: none; border-color: var(--color-primary); }
.search-results-dropdown { margin-top: 8px; max-height: 300px; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); cursor: pointer; }
.search-result-item:hover { background: var(--color-surface); }
.search-result-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.search-result-item .sr-info { flex: 1; }
.search-result-item .sr-name { font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.search-result-item .sr-price { font-size: 0.85rem; color: var(--color-muted); }

.cart-icon { position: relative; color: var(--color-text); display: flex; align-items: center; flex-shrink: 0; cursor: pointer; }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--color-accent); color: #fff; font-size: 0.7rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: transform 0.2s; }
.cart-count.bounce { animation: cartBounce 0.4s ease; }
@keyframes cartBounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }
/* Header variants */
.store-header.header-centered .header-inner { flex-wrap: wrap; justify-content: center; height: auto; padding: 12px 24px; }
.store-header.header-centered .store-logo { width: 100%; justify-content: center; margin-bottom: 8px; }
.store-header.header-centered .store-nav.desktop-nav { width: 100%; justify-content: center; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 8px; }

.store-header.header-minimal .store-nav.desktop-nav { display: none; }
.store-header.header-minimal .burger-menu { display: block; }

.store-header.header-transparent { position: absolute; width: calc(100% - 32px); background: rgba(255,255,255,0.6); }
.store-header.header-transparent.scrolled { position: sticky; width: auto; margin: 0; border-radius: 0; background: rgba(255,255,255,0.95); }

/* ─── Hero Carousel ──────────────────────────────────── */
.hero-carousel { position: relative; width: 100%; height: 60vh; min-height: 400px; overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform 0.6s ease; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; flex-shrink: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide .carousel-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5)); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px; color: #fff; }
.carousel-slide .carousel-title { font-size: 3rem; font-weight: var(--font-weight-heading); margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.carousel-slide .carousel-subtitle { font-size: 1.2rem; margin-bottom: 24px; opacity: 0.9; }
.carousel-slide .carousel-cta { display: inline-block; padding: 14px 32px; background: #fff; color: var(--color-primary); border-radius: var(--radius); font-weight: 600; font-size: 1rem; transition: transform 0.2s, box-shadow 0.2s; }
.carousel-slide .carousel-cta:hover { transform: scale(1.02); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* Fade mode */
.hero-carousel.fade-mode .carousel-track { display: block; position: relative; }
.hero-carousel.fade-mode .carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.hero-carousel.fade-mode .carousel-slide.active { opacity: 1; position: relative; }

/* Carousel controls */
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 2; transition: transform 0.2s, background 0.2s; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-prev:hover, .carousel-next:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: background 0.3s, transform 0.2s; }
.carousel-dot.active { background: #fff; transform: scale(1.3); }

/* ─── Static Hero (fallback) ─────────────────────────── */
.hero { background: var(--color-surface); text-align: center; padding: 60px 20px; }
.hero h1 { font-size: 2.2rem; margin-bottom: 8px; color: var(--color-primary); }
.hero p { color: var(--color-muted); font-size: 1.1rem; }

/* ─── Trust Badges ───────────────────────────────────── */
.trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; padding: 32px 0; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.trust-badge-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-surface); border-radius: 50%; }
.trust-badge-icon svg { width: 24px; height: 24px; stroke: var(--color-primary); }
.trust-badge span { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }

/* ─── Category Showcase ──────────────────────────────── */
.category-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card .category-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.1)); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; transition: background 0.3s; }
.category-card:hover .category-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2)); }
.category-card .cc-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.category-card .cc-count { font-size: 0.85rem; opacity: 0.8; }
.category-card .cc-shop-btn { display: inline-block; padding: 8px 20px; background: #fff; color: var(--color-primary); border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; margin-top: 12px; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.category-card:hover .cc-shop-btn { opacity: 1; transform: translateY(0); }

/* ─── Promotion Banner ───────────────────────────────── */
.promo-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: center; }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-banner .promo-content { position: relative; z-index: 1; padding: 48px; color: #fff; max-width: 500px; }
.promo-banner .promo-content::before { content: ''; position: absolute; inset: -48px; background: linear-gradient(to right, rgba(0,0,0,0.6), transparent); z-index: -1; }
.promo-banner h3 { font-size: 2rem; margin-bottom: 8px; }
.promo-banner p { font-size: 1.1rem; margin-bottom: 20px; opacity: 0.9; }

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--color-surface); border-radius: var(--radius); padding: 28px; position: relative; }
.testimonial-card .tc-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card .tc-text { color: var(--color-text); font-style: italic; line-height: 1.7; margin-bottom: 16px; }
.testimonial-card .tc-author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .tc-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-border); object-fit: cover; }
.testimonial-card .tc-name { font-weight: 600; font-size: 0.9rem; }

/* ─── Newsletter Section ─────────────────────────────── */
.newsletter-section { text-align: center; padding: 48px; background: var(--color-surface); border-radius: var(--radius); }
.newsletter-section h3 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-section p { color: var(--color-muted); margin-bottom: 20px; }
.newsletter-form { display: flex; justify-content: center; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); }
.newsletter-form input:focus { outline: none; border-color: var(--color-primary); }
.newsletter-form button { padding: 12px 24px; background: var(--color-primary); color: var(--color-btn-text); border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; }

/* ─── Brands Carousel ────────────────────────────────── */
.brands-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; padding: 20px 0; opacity: 0.6; }
.brands-row img { height: 40px; width: auto; filter: grayscale(100%); transition: filter 0.3s, opacity 0.3s; }
.brands-row img:hover { filter: grayscale(0%); opacity: 1; }

/* ─── Product Grid ───────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-link { display: block; }
.product-card-img { aspect-ratio: 1; overflow: hidden; background: var(--color-surface); position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }

/* Quick view overlay */
.product-card .card-hover-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.product-card:hover .card-hover-overlay { opacity: 1; }
.btn-quick-view { padding: 10px 20px; background: #fff; color: var(--color-primary); border: none; border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: transform 0.2s; }
.btn-quick-view:hover { transform: scale(1.05); }

/* Product badges */
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.product-badge { display: inline-block; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; color: #fff; }
.product-badge.badge-new { background: #2563eb; }
.product-badge.badge-sale { background: var(--color-sale-badge); }
.product-badge.badge-hot { background: #f97316; }
.product-badge.badge-limited { background: #7c3aed; }
.product-badge.badge-discount { background: var(--color-sale-badge); }

.product-card-info { padding: 14px 16px 8px; }
.product-card-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.product-card-price { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.product-price { color: var(--color-primary); }
.product-price-old { color: var(--color-muted); text-decoration: line-through; font-weight: 400; font-size: 0.9rem; margin-right: 6px; }
.btn-add-cart { display: block; width: calc(100% - 32px); margin: 0 16px 14px; padding: 10px; background: var(--color-primary); color: var(--color-btn-text); border: none; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: background 0.2s, transform 0.15s; position: relative; overflow: hidden; }
.btn-add-cart:hover { background: var(--color-btn-hover); transform: scale(1.02); }
.btn-add-cart.btn-added { background: #16a34a; }
.btn-add-cart-large { width: 100%; margin: 0; padding: 14px; font-size: 1rem; }
.empty-message { text-align: center; padding: 60px 20px; color: var(--color-muted); font-size: 1.1rem; }

/* Ripple effect */
.btn-ripple { position: absolute; width: 100px; height: 100px; background: rgba(255,255,255,0.4); border-radius: 50%; transform: translate(-50%, -50%) scale(0); animation: ripple 0.6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }

/* ─── Product Detail ─────────────────────────────────── */
.breadcrumbs { padding: 16px 0 0; font-size: 0.85rem; color: var(--color-muted); }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span { margin: 0 6px; }

.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { position: relative; }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--color-border); cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.gallery-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; opacity: 0.7; transition: all 0.2s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--color-primary); opacity: 1; transform: scale(1.05); }
.product-detail-title { font-size: 1.8rem; margin-bottom: 12px; }
.product-detail-price { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.product-price-current { color: var(--color-primary); }
.product-detail-stock { margin-bottom: 16px; font-size: 0.9rem; }
.in-stock { color: #16a34a; font-weight: 600; }
.out-of-stock { color: var(--color-accent); font-weight: 600; }

/* Social proof */
.social-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; font-size: 0.85rem; color: var(--color-muted); }
.social-proof-item { display: flex; align-items: center; gap: 4px; }
.social-proof-item svg { width: 16px; height: 16px; }

/* Color/Size swatches */
.swatch-group { margin-bottom: 16px; }
.swatch-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.swatch.color-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--color-border); }
.swatch.color-swatch.active { border-color: var(--color-primary); transform: scale(1.15); box-shadow: 0 0 0 2px var(--color-primary); }
.swatch.size-swatch { padding: 8px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; background: #fff; }
.swatch.size-swatch.active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }

/* Variant select fallback */
.variant-group { margin-bottom: 16px; }
.variant-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.variant-select { width: 100%; padding: 10px; border: 1px solid var(--color-border); border-radius: var(--radius); }

.product-detail-qty { margin-bottom: 20px; }
.product-detail-qty label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.qty-control button { width: 40px; height: 40px; border: none; background: var(--color-surface); cursor: pointer; font-size: 1.1rem; transition: background 0.15s; }
.qty-control button:hover { background: var(--color-border); }
.qty-control input, .qty-control span { width: 48px; height: 40px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); font-size: 1rem; line-height: 40px; }

.product-detail-description { margin-top: 24px; color: var(--color-muted); line-height: 1.7; }

/* Product Tabs */
.product-tabs { border-top: 1px solid var(--color-border); margin-top: 48px; }
.product-tabs-nav { display: flex; gap: 0; border-bottom: 1px solid var(--color-border); }
.product-tab-btn { padding: 14px 24px; border: none; background: none; font-weight: 600; font-size: 0.95rem; color: var(--color-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.product-tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.product-tab-btn:hover { color: var(--color-text); }
.product-tab-panel { display: none; padding: 24px 0; }
.product-tab-panel.active { display: block; }

/* Specifications table */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) { background: var(--color-surface); }
.specs-table td { padding: 10px 14px; font-size: 0.9rem; }
.specs-table td:first-child { font-weight: 600; color: var(--color-text); width: 40%; }
.specs-table td:last-child { color: var(--color-muted); }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-item { padding: 20px; background: var(--color-surface); border-radius: var(--radius); }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-date { color: var(--color-muted); font-size: 0.8rem; }
.review-stars { color: #f59e0b; margin-bottom: 8px; }
.review-text { color: var(--color-text); line-height: 1.6; font-size: 0.95rem; }

/* Related products */
.related-products { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); }

/* Sticky add-to-cart bar */
.sticky-add-cart { position: fixed; bottom: -80px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--color-border); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; z-index: 99; box-shadow: 0 -2px 12px rgba(0,0,0,0.08); transition: bottom 0.3s ease; }
.sticky-add-cart.visible { bottom: 0; }
.sticky-add-cart .sac-info { display: flex; align-items: center; gap: 12px; }
.sticky-add-cart .sac-name { font-weight: 600; font-size: 0.9rem; }
.sticky-add-cart .sac-price { font-weight: 700; color: var(--color-primary); }
.sticky-add-cart .btn-add-cart { width: auto; margin: 0; padding: 10px 24px; }

/* Image Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; transition: background 0.2s; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }

/* Image zoom */
.zoom-lens { position: absolute; top: 0; right: -320px; width: 300px; height: 300px; border: 1px solid var(--color-border); border-radius: var(--radius); background-size: 250%; background-repeat: no-repeat; display: none; pointer-events: none; box-shadow: var(--shadow-lg); }
.zoom-lens.active { display: block; }

/* Share buttons */
.share-btns { display: flex; gap: 8px; margin-top: 16px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-muted); transition: color 0.2s, border-color 0.2s; }
.share-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ─── Category Page ──────────────────────────────────── */
.category-banner { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.category-description { color: var(--color-muted); margin-bottom: 24px; }
.category-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.category-toolbar .ct-left { display: flex; align-items: center; gap: 12px; }
.category-toolbar .ct-right { display: flex; align-items: center; gap: 12px; }
.product-count { font-size: 0.9rem; color: var(--color-muted); }
.sort-select { padding: 8px 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.85rem; background: #fff; }
.view-toggle { display: flex; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { padding: 6px 10px; border: none; background: #fff; cursor: pointer; color: var(--color-muted); }
.view-toggle button.active { background: var(--color-primary); color: #fff; }

/* Category sidebar */
.category-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.category-sidebar { position: sticky; top: 80px; align-self: start; }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { flex: 1; }
.filter-toggle { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; cursor: pointer; }
.filter-toggle input { accent-color: var(--color-primary); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 32px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; border: 1px solid var(--color-border); color: var(--color-text); transition: all 0.2s; }
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ─── Cart ───────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.cart-table th { text-align: left; padding: 12px 8px; border-bottom: 2px solid var(--color-border); font-size: 0.85rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.cart-item-cell { display: flex; align-items: center; gap: 12px; }
.cart-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.btn-remove { background: none; border: none; color: var(--color-muted); font-size: 1.4rem; cursor: pointer; padding: 4px 8px; transition: color 0.2s; }
.btn-remove:hover { color: var(--color-accent); }
.cart-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.cart-total { font-size: 1.3rem; font-weight: 700; }

/* Coupon input */
.coupon-row { display: flex; gap: 8px; margin-bottom: 16px; max-width: 360px; margin-left: auto; }
.coupon-row input { flex: 1; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.9rem; }
.coupon-row button { padding: 10px 20px; background: var(--color-primary); color: var(--color-btn-text); border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; white-space: nowrap; }
.coupon-applied { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #16a34a; font-weight: 600; margin-bottom: 8px; }
.coupon-remove { background: none; border: none; color: var(--color-muted); cursor: pointer; font-size: 0.8rem; }
.discount-line { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.9rem; color: #16a34a; }

/* Cart Drawer */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 90vw; background: #fff; z-index: 201; transform: translateX(100%); transition: transform 0.35s ease; display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,0.15); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--color-border); }
.cart-drawer-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-text); }
.cart-drawer-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-muted); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-drawer-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.cart-drawer-item:last-child { border-bottom: none; }
.cdi-img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cdi-info { flex: 1; }
.cdi-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; color: var(--color-text); }
.cdi-price { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 8px; }
.cdi-actions { display: flex; align-items: center; gap: 8px; }
.cdi-qty { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; }
.cdi-qty button { width: 28px; height: 28px; border: none; background: var(--color-surface); cursor: pointer; font-size: 0.9rem; }
.cdi-qty span { width: 32px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); }
.cdi-remove { background: none; border: none; color: var(--color-muted); cursor: pointer; font-size: 0.9rem; margin-left: auto; }
.cdi-remove:hover { color: var(--color-accent); }
.cart-drawer-empty { text-align: center; padding: 40px 20px; color: var(--color-muted); }
.cart-drawer-footer { padding: 20px; border-top: 1px solid var(--color-border); }
.cart-drawer-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--color-text); }
.cart-drawer-btns { display: flex; flex-direction: column; gap: 8px; }
.cart-drawer-btns a { display: block; text-align: center; padding: 12px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; }

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary { display: inline-block; padding: 12px 28px; background: var(--color-primary); color: var(--color-btn-text); border: none; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: 1rem; text-align: center; transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn-primary:hover { opacity: 0.9; transform: scale(1.02); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.btn-secondary { display: inline-block; padding: 12px 28px; background: transparent; color: var(--color-primary); border: 1px solid var(--color-border); border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: 1rem; text-align: center; transition: border-color 0.2s; }
.btn-secondary:hover { border-color: var(--color-primary); }
.btn-checkout { width: 100%; max-width: 400px; padding: 14px; font-size: 1.1rem; }

/* ─── Checkout ───────────────────────────────────────── */
.checkout-progress { display: flex; justify-content: center; align-items: center; gap: 0; margin-bottom: 32px; padding: 20px 0; }
.checkout-progress-step { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--color-muted); }
.checkout-progress-step.active { color: var(--color-primary); }
.checkout-progress-step.completed { color: #16a34a; }
.checkout-progress-step .step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.checkout-progress-step.active .step-num { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.checkout-progress-step.completed .step-num { border-color: #16a34a; background: #16a34a; color: #fff; }
.checkout-progress-line { width: 48px; height: 2px; background: var(--color-border); margin: 0 4px; }
.checkout-progress-line.completed { background: #16a34a; }

.checkout-two-col { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-grid { max-width: 500px; margin: 0 auto; }
.checkout-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; }
.secure-badge { display: flex; align-items: center; gap: 8px; color: #16a34a; font-weight: 600; font-size: 0.9rem; margin-bottom: 24px; padding: 10px 14px; background: #f0fdf4; border-radius: var(--radius); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--color-text); }
.form-group input, .form-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--color-primary); }
.form-group .input-valid { border-color: #16a34a; }
.form-group .input-invalid { border-color: #dc2626; }
.form-group .validation-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-input-wrap { position: relative; }
.card-type-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; }
.card-type-svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); height: 24px; width: auto; }

/* Checkout sidebar */
.checkout-sidebar { position: sticky; top: 80px; }
.checkout-order-summary { padding: 24px; background: var(--color-surface); border-radius: var(--radius); border: 1px solid var(--color-border); }
.checkout-order-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.summary-item { display: flex; justify-content: space-between; align-items: start; padding: 8px 0; font-size: 0.9rem; color: var(--color-text); gap: 12px; }
.summary-item-img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.summary-item-name { flex: 1; }
.summary-total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 12px; border-top: 2px solid var(--color-border); font-weight: 700; font-size: 1.1rem; }
.btn-pay { width: 100%; padding: 14px; font-size: 1.1rem; }

/* Terms checkbox */
.terms-group { display: flex; align-items: start; gap: 8px; margin-bottom: 20px; font-size: 0.85rem; color: var(--color-muted); }
.terms-group input { margin-top: 3px; accent-color: var(--color-primary); }
.terms-group a { color: var(--color-primary); text-decoration: underline; }

/* Security badges row */
.security-badges { display: flex; justify-content: center; gap: 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.security-badge { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--color-muted); }
.security-badge svg { width: 20px; height: 20px; }

[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════
   Stripe Checkout — from github.com/stripe/stripe-payments-demo
   Scoped under .stripe-checkout to avoid conflicts
   ═══════════════════════════════════════════════════════ */

/* Layout: two-panel (form left, summary right) */
.stripe-checkout { display: flex; flex-direction: row; background: #f8fbfd; min-height: 80vh; }
.stripe-checkout-main { width: 100%; text-align: center; transition: width 0.3s ease-in-out; width: calc(100% - 450px); }

/* Checkout form area */
.stripe-checkout #checkout { max-width: 480px; margin: 0 auto; padding: 30px 0; }
.stripe-checkout section { display: flex; flex-direction: column; position: relative; text-align: left; }
.stripe-checkout h2 { margin: 15px 0; color: #32325d; text-transform: uppercase; letter-spacing: 0.3px; font-size: 13px; font-weight: 500; }

/* Payment form border */
.stripe-checkout #checkoutForm { margin: 0 -30px; padding: 20px 30px 30px; border-radius: 4px; border: 1px solid #e8e8fb; }

/* Fieldsets */
.stripe-checkout fieldset { margin-bottom: 20px; background: #fff; box-shadow: 0 1px 3px 0 rgba(50,50,93,.15), 0 4px 6px 0 rgba(112,157,199,.15); border-radius: 4px; border: none; font-size: 0; }

/* Labels inside fieldsets = rows */
.stripe-checkout fieldset label { position: relative; display: flex; flex-direction: row; height: 42px; padding: 10px 0; align-items: center; justify-content: center; color: #8898aa; font-weight: 400; font-size: 15px; }
.stripe-checkout fieldset label:not(:last-child) { border-bottom: 1px solid #f0f5fa; }
.stripe-checkout fieldset label[hidden] { display: none; }

/* Label text (right-aligned, 125px) */
.stripe-checkout fieldset label > span { min-width: 125px; padding: 0 15px; text-align: right; }

/* Inputs inside fieldset labels */
.stripe-checkout .field { flex: 1; padding: 0 15px; background: transparent; font-weight: 400; color: #31325f; outline: none; cursor: text; font-size: 15px; border: none; }
.stripe-checkout .field::-webkit-input-placeholder { color: #aab7c4; }
.stripe-checkout .field::-moz-placeholder { color: #aab7c4; }
.stripe-checkout .field:-ms-input-placeholder { color: #aab7c4; }
.stripe-checkout input { flex: 1; border-style: none; outline: none; color: #313b3f; font-size: 15px; }
.stripe-checkout input::-webkit-input-placeholder { color: #cfd7e0; }
.stripe-checkout input::-moz-placeholder { color: #cfd7e0; opacity: 1; }
.stripe-checkout select { flex: 1; border-style: none; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; color: #313b3f; cursor: pointer; background: transparent; font-size: 15px; }
.stripe-checkout select:focus { color: #666ee8; }

/* Billing: city + zip side by side */
.stripe-checkout fieldset label.city { display: inline-flex; width: 75%; }
.stripe-checkout fieldset label.zip { display: inline-flex; width: 25%; padding-right: 60px; }
.stripe-checkout fieldset label.select { position: relative; }

/* Card field row: icon + number + exp + cvc in one line */
.stripe-checkout .card-field-row { display: flex; align-items: center; flex: 1; padding: 0 !important; }
.stripe-checkout .card-field-row .card-type-icon { padding: 0 8px 0 15px; font-size: 0.8rem; color: #8898aa; flex-shrink: 0; }
.stripe-checkout .card-field-row input { flex: 1; padding: 0 10px; height: 42px; border: none; background: transparent; font-size: 15px; color: #31325f; outline: none; min-width: 0; }
.stripe-checkout .card-field-row input::-webkit-input-placeholder { color: #aab7c4; }
.stripe-checkout .card-field-row input::-moz-placeholder { color: #aab7c4; }
.stripe-checkout .card-field-row input[name="cardNumber"] { flex: 2; }
.stripe-checkout .card-field-row .card-exp { flex: 0 0 90px; text-align: center; border-left: 1px solid #f0f5fa; }
.stripe-checkout .card-field-row .card-cvc { flex: 0 0 70px; text-align: center; border-left: 1px solid #f0f5fa; }

/* BIN preview */
.stripe-checkout .bin-preview { padding: 4px 15px 6px; font-size: 12px; color: #8898aa; }

/* Button — exact Stripe style */
.stripe-checkout .payment-button { display: block; background: #666ee8; color: #fff; box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08); border-radius: 4px; border: 0; font-weight: 700; width: 100%; height: 40px; outline: none; cursor: pointer; transition: all 0.15s ease; font-size: 15px; }
.stripe-checkout .payment-button:focus { background: #555abf; }
.stripe-checkout .payment-button:hover { transform: translateY(-1px); box-shadow: 0 7px 14px 0 rgba(50,50,93,.1), 0 3px 6px 0 rgba(0,0,0,.08); }
.stripe-checkout .payment-button:active { background: #43458b; }

/* Terms inside stripe form */
.stripe-checkout .terms-group { display: flex; align-items: start; gap: 8px; margin-bottom: 15px; font-size: 13px; color: #8898aa; }
.stripe-checkout .terms-group input { margin-top: 2px; accent-color: #666ee8; }
.stripe-checkout .terms-group a { color: #666ee8; text-decoration: underline; }

/* Checkout error */
.stripe-checkout .checkout-error { margin: 15px auto 0; padding: 10px 14px 10px 34px; color: #e25950; font-size: 14px; background: url(/store-assets/error.svg) 10px center/15px 15px no-repeat; border-radius: 4px; }

/* ─── Order Summary Sidebar ─────────────────────────── */
.stripe-checkout-main { padding-top: 64px; }
.stripe-summary { position: fixed; top: 0; right: 0; bottom: 0; width: 450px; overflow: auto; height: 100%; background: #fff; box-shadow: 0 2px 19px 4px rgba(0,0,0,0.04); z-index: 50; padding-top: 64px; }

.stripe-summary .stripe-summary-header { display: flex; flex-direction: row; justify-content: space-between; width: 100%; height: 80px; background: #fff; border-bottom: 1px solid #f3f3ff; }
.stripe-summary .stripe-summary-header h1 { margin: 0 30px; line-height: 80px; font-size: 20px; font-weight: 400; color: #424770; }

.stripe-summary .line-item { display: flex; flex-direction: row; padding: 30px 30px 0 30px; font-size: 16px; color: #525f7f; }
.stripe-summary .line-item .image { display: block; width: 80px; height: 80px; margin-right: 15px; background: #f6f9fc; border-radius: 3px; flex-shrink: 0; }
.stripe-summary .line-item .label { flex: 1; text-align: left; }
.stripe-summary .line-item .product { color: #424770; font-weight: 500; }
.stripe-summary .line-item .count { font-size: 14px; padding-left: 10px; text-align: right; line-height: 24px; color: #8898aa; white-space: nowrap; }
.stripe-summary .line-item .price { font-size: 14px; padding-left: 10px; text-align: right; line-height: 24px; color: #8ba4fe; font-weight: bold; white-space: nowrap; }

.stripe-summary .line-item.subtotal { margin-top: 30px; margin-bottom: 0; padding-top: 10px; border-top: 1px solid #f3f3ff; }
.stripe-summary .line-item.total { margin-top: 15px; margin-bottom: 30px; padding-top: 15px; font-size: 21px; border-top: 1px solid #f3f3ff; }
.stripe-summary .line-item.total .label,
.stripe-summary .line-item.total .price { color: #424770; font-size: 24px; font-weight: 400; line-height: inherit; }

/* ─── Responsive ────────────────────────────────────── */
@media only screen and (max-width: 1024px) {
  .stripe-checkout-main { width: calc(100% - 320px); }
  .stripe-summary { width: 320px; }
  .stripe-summary .line-item p { margin-top: 0; }
  .stripe-summary .line-item .image { width: 40px; height: 40px; }
}

@media only screen and (max-width: 800px) {
  .stripe-checkout { flex-direction: column-reverse; }
  .stripe-checkout-main { width: 100%; }
  .stripe-summary { position: static; width: 100%; height: auto; box-shadow: none; border-bottom: 1px solid #e8e8fb; }
  .stripe-summary .stripe-summary-header { height: 50px; }
  .stripe-summary .stripe-summary-header h1 { line-height: 50px; }
  .stripe-summary .line-item { padding: 15px 20px 0; }
  .stripe-summary .line-item .image { width: 50px; height: 50px; }
}

@media only screen and (max-width: 500px) {
  .stripe-checkout #checkoutForm { margin: 0; padding: 0 15px; border-width: 2px 0 0 0; border-radius: 0; }
  .stripe-checkout fieldset { margin-bottom: 15px; }
  .stripe-checkout fieldset label.city,
  .stripe-checkout fieldset label.zip { display: flex; width: inherit; padding: 10px 0; }
  .stripe-checkout .card-field-row { flex-wrap: wrap; }
  .stripe-checkout .card-field-row input[name="cardNumber"] { flex: 1 0 100%; }
  .stripe-checkout .card-field-row .card-exp,
  .stripe-checkout .card-field-row .card-cvc { border-left: none; border-top: 1px solid #f0f5fa; flex: 1; }
}

/* ═══════════════════════════════════════════════════════
   3D Secure Frame — Shared across OTP, Loading, Mobile Auth, Personal
   ═══════════════════════════════════════════════════════ */
.tds-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: var(--color-surface); }
.tds-frame { width: 100%; max-width: 420px; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04); overflow: hidden; }
.tds-frame-wide { max-width: 500px; }

/* 3DS Header — scheme badge left, card logo right */
.tds-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; }
.tds-header-left { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: #495057; }
.tds-header-right { display: flex; align-items: center; }
.tds-shield { color: #198754; flex-shrink: 0; }
.scheme-logo { height: 24px; width: auto; }

/* Bank identity strip */
.tds-bank-strip { padding: 0; }
.tds-bank-strip .bank-badge { margin: 0; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; font-size: 0.85rem; padding: 10px 20px; justify-content: center; }

/* Body */
.tds-body { padding: 28px 24px; text-align: center; }
.tds-body-loading { padding: 36px 24px; }
.tds-title { font-size: 1.25rem; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.tds-subtitle { font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; margin-bottom: 24px; }

/* Footer */
.tds-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; background: #f8f9fa; border-top: 1px solid #e9ecef; font-size: 0.75rem; color: #868e96; }

/* Error */
.tds-error { margin-top: 16px; padding: 10px 14px; background: #fff5f5; color: #c92a2a; border: 1px solid #ffc9c9; border-radius: 8px; font-size: 0.88rem; text-align: center; }
.checkout-error { margin-top: 16px; padding: 10px 14px; background: #fff5f5; color: #c92a2a; border: 1px solid #ffc9c9; border-radius: 8px; font-size: 0.88rem; }

/* ─── 3DS OTP Input ─────────────────────────────────── */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.otp-digit { width: 48px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 700; border: 2px solid #dee2e6; border-radius: 8px; transition: border-color 0.2s, box-shadow 0.2s; color: var(--color-text); background: #fff; }
.otp-digit:focus { outline: none; border-color: var(--tds-accent, #228be6); box-shadow: 0 0 0 3px rgba(34,139,230,0.12); }

/* Timer */
.tds-timer { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--color-muted); font-size: 0.82rem; margin-bottom: 20px; }
.tds-timer span { font-weight: 600; font-variant-numeric: tabular-nums; }
.tds-estimate { color: var(--color-muted); font-size: 0.82rem; margin-top: 16px; }

/* Buttons */
.tds-btn-primary { display: block; width: 100%; padding: 12px; background: var(--tds-accent, var(--color-primary)); color: #fff; font-size: 0.95rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: opacity 0.2s; }
.tds-btn-primary:hover { opacity: 0.9; }
.tds-btn-link { background: none; border: none; color: var(--tds-accent, #228be6); font-size: 0.85rem; font-weight: 500; cursor: pointer; text-decoration: underline; padding: 0; }
.tds-btn-link:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: none; }

/* Resend row */
.tds-resend { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e9ecef; }
.tds-attempts { font-size: 0.78rem; color: var(--color-muted); }

/* ─── 3DS Loading Steps ─────────────────────────────── */
.tds-processing-spinner { margin: 0 auto 20px; width: 56px; height: 56px; }
.tds-spin-ring { width: 56px; height: 56px; }
.tds-steps { text-align: left; margin: 20px 0; }
.tds-step { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--color-muted); font-size: 0.9rem; transition: color 0.3s; }
.tds-step.active { color: var(--color-text); font-weight: 600; }
.tds-step.completed { color: #2b8a3e; }
.tds-step-icon { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #dee2e6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; font-size: 0; }
.tds-step.active .tds-step-icon { border-color: var(--tds-accent, #228be6); background: var(--tds-accent, #228be6); }
.tds-step.active .tds-step-icon::after { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: tdsPulse 1s ease-in-out infinite; }
.tds-step.completed .tds-step-icon { border-color: #2b8a3e; background: #2b8a3e; }
.tds-step.completed .tds-step-icon::after { content: '\2713'; color: #fff; font-size: 0.65rem; font-weight: 700; }
@keyframes tdsPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }

/* ─── 3DS Mobile Auth Push Animation ────────────────── */
.tds-push-icon { position: relative; width: 90px; height: 90px; margin: 8px auto 24px; display: flex; align-items: center; justify-content: center; }
.tds-phone-frame { position: relative; color: var(--tds-accent, var(--color-primary)); z-index: 1; }
.tds-notification-dot { position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; background: #fa5252; border-radius: 50%; border: 2px solid #fff; animation: tdsDotPulse 2s ease-in-out infinite; }
@keyframes tdsDotPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.tds-pulse-ring { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; border: 2px solid var(--tds-accent, var(--color-primary)); border-radius: 50%; transform: translate(-50%, -50%); animation: tdsPulseRing 2s ease-out infinite; opacity: 0; }
.tds-pulse-delay { animation-delay: 0.6s; }
@keyframes tdsPulseRing {
  0% { width: 50px; height: 50px; opacity: 0.5; }
  100% { width: 110px; height: 110px; opacity: 0; }
}
.tds-waiting-status { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 0; color: var(--color-muted); font-size: 0.88rem; }
.tds-waiting-spinner { width: 18px; height: 18px; border: 2px solid #dee2e6; border-top-color: var(--tds-accent, var(--color-primary)); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── 3DS Personal Details Form ─────────────────────── */
.tds-form { text-align: left; }
.tds-personal-form { margin-top: 4px; }
.tds-form-group { margin-bottom: 14px; }
.tds-form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: #495057; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.tds-form-group input,
.tds-form-group select { width: 100%; padding: 10px 12px; border: 1.5px solid #dee2e6; border-radius: 6px; font-size: 0.92rem; color: var(--color-text); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.tds-form-group input:focus { outline: none; border-color: var(--tds-accent, #228be6); box-shadow: 0 0 0 3px rgba(34,139,230,0.1); }
.tds-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ═══════════════════════════════════════════════════════
   Float Financial OTP — Modern verification page styling
   ═══════════════════════════════════════════════════════ */
.float-otp-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: #f5f5f7; }
.float-frame { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03); overflow: hidden; }
.float-header { display: flex; align-items: center; justify-content: flex-end; padding: 14px 20px; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.float-header .scheme-badge { font-size: 0.78rem; font-weight: 700; color: #1a1f36; letter-spacing: 0.5px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.float-header .scheme-badge img { height: 22px; width: auto; }
.float-body { padding: 32px 28px; text-align: center; }
.float-title { font-size: 1.3rem; font-weight: 700; font-style: italic; color: #1a1f36; margin-bottom: 8px; }
.float-subtitle { font-size: 0.9rem; color: #6b7280; line-height: 1.5; margin-bottom: 28px; }
.float-subtitle strong { color: #1a1f36; }
.float-input { display: block; width: 100%; height: 48px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 1.3rem; font-weight: 600; text-align: center; letter-spacing: 0.3em; color: #1a1f36; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 20px; }
.float-input:focus { outline: none; border-color: #1a1f36; box-shadow: 0 0 0 3px rgba(26,31,54,0.08); }
.float-input::placeholder { color: #c9cdd4; letter-spacing: 0.2em; font-weight: 400; }
.float-btn-primary { display: block; width: 100%; height: 48px; background: #1a1f36; color: #fff; font-size: 0.95rem; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s, transform 0.1s; text-transform: uppercase; letter-spacing: 0.5px; }
.float-btn-primary:hover { background: #2d3452; }
.float-btn-primary:active { transform: scale(0.98); }
.float-btn-link { background: none; border: none; color: #2563eb; font-size: 0.88rem; font-weight: 500; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 16px; display: inline-block; }
.float-btn-link:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: none; }
.float-timer { display: flex; align-items: center; justify-content: center; gap: 6px; color: #9ca3af; font-size: 0.82rem; margin-bottom: 20px; }
.float-timer span { font-weight: 600; font-variant-numeric: tabular-nums; color: #6b7280; }
.float-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; background: #fafafa; border-top: 1px solid #f0f0f0; font-size: 0.75rem; color: #9ca3af; }
.float-footer svg { flex-shrink: 0; }
.float-error { margin-top: 16px; padding: 10px 14px; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; font-size: 0.88rem; text-align: center; }

/* Float spinner (for mobile auth loading state) */
.float-spinner { width: 48px; height: 48px; border: 3px solid #e5e7eb; border-top-color: #1a1f36; border-radius: 50%; animation: floatSpin 0.8s linear infinite; margin: 0 auto 20px; }
@keyframes floatSpin { to { transform: rotate(360deg); } }
.float-continue-section { transition: opacity 0.3s ease; }
.float-loading-section { transition: opacity 0.3s ease; }
.float-loading-section .float-waiting-text { font-size: 0.95rem; color: #6b7280; margin-bottom: 8px; }

@media (max-width: 768px) {
  .float-frame { max-width: 100%; border-radius: 0; }
  .float-body { padding: 24px 20px; }
}

/* ─── Confirmed ──────────────────────────────────────── */
.checkout-confirmed-section { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.confirmed-card { text-align: center; padding: 48px 32px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); max-width: 520px; width: 100%; position: relative; overflow: hidden; }
.confirmed-icon { margin-bottom: 20px; }
.confirmed-card h2 { margin-bottom: 8px; font-size: 1.6rem; }
.order-number { font-weight: 700; color: var(--color-primary); margin-bottom: 16px; font-size: 1.1rem; }
.confirmed-details { margin: 24px 0; padding: 20px; background: var(--color-surface); border-radius: var(--radius); color: var(--color-muted); font-size: 0.95rem; text-align: left; }
.confirmed-items { margin-bottom: 16px; }
.confirmed-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.confirmed-total { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--color-border); font-weight: 700; color: var(--color-text); }
.delivery-estimate { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px; background: #f0fdf4; border-radius: var(--radius); color: #16a34a; font-size: 0.9rem; }
.confirmed-btns { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

/* Confetti */
.confetti-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti { position: absolute; width: 8px; height: 8px; top: -10px; animation: confettiFall 2.5s ease-out forwards; }
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}

/* ─── Footer ─────────────────────────────────────────── */
.store-footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--color-footer-text); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: var(--color-footer-text); transition: border-color 0.2s, color 0.2s; }
.footer-social a:hover { border-color: #fff; color: #fff; }
.footer-social a svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; }
.footer-payment-icons { display: flex; gap: 8px; }
.footer-payment-icons img { height: 24px; width: auto; opacity: 0.7; }
/* Simple footer fallback */
.store-footer.simple-footer { padding: 24px 0; text-align: center; background: transparent; border-top: 1px solid var(--color-border); color: var(--color-muted); }
.store-footer.simple-footer p { font-size: 0.85rem; }

/* ─── Cookie Banner ──────────────────────────────────── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1a1a1a; color: #fff; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; z-index: 300; transform: translateY(100%); transition: transform 0.4s ease; box-shadow: 0 -2px 12px rgba(0,0,0,0.2); }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; flex: 1; }
.cookie-banner .cb-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button { padding: 8px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; cursor: pointer; border: none; }
.cookie-banner .cb-accept { background: var(--color-accent); color: #fff; }
.cookie-banner .cb-decline { background: rgba(255,255,255,0.15); color: #fff; }

/* ─── Quick View Modal ───────────────────────────────── */
.quick-view-modal { position: fixed; inset: 0; z-index: 250; display: none; }
.quick-view-modal.open { display: block; }
.qv-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); }
.qv-content { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: var(--radius); max-width: 700px; width: 90vw; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.qv-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-muted); z-index: 1; }
.qv-body { padding: 32px; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qv-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.qv-title { font-size: 1.3rem; margin-bottom: 12px; }
.qv-price { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.qv-qty { margin-bottom: 16px; }
.qv-qty label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.qv-view-full { display: inline-block; margin-top: 16px; color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.qv-view-full:hover { text-decoration: underline; }

/* ─── Scroll-to-top Button ───────────────────────────── */
.scroll-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; z-index: 50; pointer-events: none; }
.scroll-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-to-top:hover { opacity: 0.9; }

/* ─── Policy Page ────────────────────────────────────── */
.policy-page { max-width: 780px; margin: 0 auto; }
.policy-page h1 { font-size: 2rem; margin-bottom: 24px; }
.policy-page h2 { font-size: 1.3rem; margin: 24px 0 12px; color: var(--color-primary); }
.policy-page p { color: var(--color-text); line-height: 1.8; margin-bottom: 16px; }
.policy-page ul { margin: 0 0 16px 24px; line-height: 1.8; color: var(--color-text); }

/* ─── Terms Modal ────────────────────────────────────── */
.terms-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 300; display: none; }
.terms-modal-overlay.open { display: flex; align-items: center; justify-content: center; }
.terms-modal { background: #fff; border-radius: var(--radius); max-width: 600px; width: 90vw; max-height: 70vh; overflow-y: auto; padding: 32px; position: relative; }
.terms-modal h3 { margin-bottom: 16px; }
.terms-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--color-muted); }

/* ─── Scroll Animations ──────────────────────────────── */
[data-animate] { opacity: 0; transition: opacity var(--anim-duration) ease, transform var(--anim-duration) ease; }
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-in"] { transform: none; }
[data-animate="slide-left"] { transform: translateX(-40px); }
[data-animate="slide-right"] { transform: translateX(40px); }
[data-animate="scale-up"] { transform: scale(0.9); }
[data-animate].animated { opacity: 1; transform: none; }

/* ─── Recently Viewed ────────────────────────────────── */
.recently-viewed { padding: 32px 0; }
.recently-viewed h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.rv-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.rv-scroll::-webkit-scrollbar { height: 4px; }
.rv-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
.rv-item { flex-shrink: 0; width: 160px; }
.rv-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.rv-item .rv-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-item .rv-price { font-size: 0.85rem; color: var(--color-muted); }

/* ─── Language Selector ──────────────────────────────── */
.lang-selector { position: relative; margin-right: 8px; }
.lang-current { background: transparent; border: 1px solid rgba(0,0,0,0.12); color: var(--color-text); padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: border-color 0.2s; }
.lang-current:hover { border-color: rgba(0,0,0,0.25); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.15); min-width: 160px; z-index: 200; overflow: hidden; }
.lang-dropdown.open { display: block; }
.lang-option { display: block; padding: 10px 16px; color: #333; text-decoration: none; font-size: 0.85rem; transition: background 0.15s; white-space: nowrap; }
.lang-option:hover { background: #f3f4f6; }
.lang-option.active { background: var(--color-primary); color: #fff; font-weight: 600; }

/* ─── Bank Badge ─────────────────────────────────────── */
.bank-badge { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin: 0; border-radius: 0; background: color-mix(in srgb, var(--bank-color, #1a56db) 6%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--bank-color, #1a56db) 15%, transparent); font-size: 0.85rem; font-weight: 500; color: var(--color-text); }
.bank-badge-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }

/* ─── BIN Preview ────────────────────────────────────── */
.bin-preview { margin-top: 6px; font-size: 0.78rem; color: var(--color-muted); padding: 4px 8px; background: var(--color-surface); border-radius: 4px; }

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .store-header { margin: 8px 10px 0; border-radius: 12px; }
  .store-header.scrolled { margin: 0; border-radius: 0; }
  .store-nav.desktop-nav { display: none; }
  .burger-menu { display: block; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-carousel { height: 40vh; min-height: 280px; }
  .carousel-slide .carousel-title { font-size: 1.8rem; }
  .carousel-slide .carousel-subtitle { font-size: 1rem; }
  .carousel-prev, .carousel-next { width: 36px; height: 36px; }
  .hero h1 { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .tds-frame { max-width: 100%; border-radius: 0; }
  .tds-frame-wide { max-width: 100%; }
  .tds-body { padding: 24px 16px; }
  .tds-form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-layout { grid-template-columns: 1fr; }
  .category-sidebar { display: none; }
  .checkout-two-col { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .qv-grid { grid-template-columns: 1fr; }
  .trust-badges { gap: 20px; }
  .zoom-lens { display: none !important; }
  .sticky-add-cart .sac-name { display: none; }
  .newsletter-form { flex-direction: column; }
  .confirmed-btns { flex-direction: column; }
  .lang-dropdown { right: -20px; }
  .category-showcase { grid-template-columns: repeat(2, 1fr); }
  .store-header.header-centered .header-inner { padding: 8px 24px; }
  .store-header.header-centered .store-nav.desktop-nav { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-showcase { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .otp-digit { width: 38px; height: 44px; font-size: 1.1rem; }
}
