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

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(255, 109, 46, 0.18);
  color: var(--text);
}

:root {
  --bg: #fcf9f8;
  --surface: #ffffff;
  --surface-dim: #f6f3f2;
  --surface-high: #eae7e7;
  --text: #18181b;
  --text-muted: #52525b;
  --text-light: #a1a1aa;
  --primary: #ff6d2e;
  --primary-dark: #a83900;
  --primary-light: #ffdbce;
  --primary-glow: rgba(255, 109, 46, .1);
  --accent: #f5ebe0;
  --accent-2: #e8ddd3;
  --border: rgba(24, 24, 27, .06);
  --shadow: 0 2px 20px rgba(24, 24, 27, .04);
  --shadow-lg: 0 8px 40px rgba(24, 24, 27, .08);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: .5s;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --container: 1280px;

  /* Liquid Glass Tokens */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-heavy: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(20px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --refraction: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

  /* Gradient Palette */
  --grad1: linear-gradient(135deg, #ff6d2e 0%, #ff9d6c 100%);
  --grad2: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --grad3: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Endless Banner Slider */
.banner-track {
  display: flex;
  width: max-content;
  animation: banner-scroll 40s linear infinite;
  gap: 100px;
  padding-left: 100px;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

@keyframes banner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.banner-text {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}


/* Cinematic Reveals — unified single definition */


.status-badge {
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.status-badge.active {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .3s var(--ease)
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all .3s var(--ease)
}

img,
svg {
  display: block;
  max-width: 100%
}

input,
textarea,
select {
  font-family: var(--font);
  outline: none
}

/* === ANIMATIONS === */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Glass Card Utility */
.glass-card {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--refraction);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover {
  background: var(--glass-heavy);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 64px;
  background: rgba(252, 250, 247, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .4s var(--ease);
  gap: 30px
}

.header.scrolled {
  padding: 14px 64px;
  box-shadow: var(--shadow)
}

.btn-error-pill {
  animation: errorPill .6s var(--ease);
  background: #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, .3) !important;
}

@keyframes errorPill {

  0%,
  100% {
    transform: scale(1);
  }

  25% {
    transform: scale(0.95);
  }

  50% {
    transform: scale(1.05);
  }

  75% {
    transform: scale(0.98);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px
}

.site-logo {
  height: 90px;
  width: auto;
  object-fit: contain
}

.desktop-nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: auto;
  margin-left: 60px
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  transition: color .3s
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text)
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px
}

.search-pill {
  flex: 0 1 360px;
  height: 46px;
  background: var(--surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 14px;
  border: 1.5px solid var(--border);
  transition: all .3s var(--ease);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.search-pill:hover {
  border-color: rgba(255, 109, 46, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}

.search-pill:focus-within {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(255, 109, 46, 0.15);
}

.search-pill input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
}

.search-pill input::placeholder {
  color: var(--text-muted);
}

.search-pill svg {
  color: var(--text-muted);
  flex-shrink: 0;
}


/* === SEARCH RESULTS DROPDOWN === */
.search-results-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(20px);
}

.search-results-list.active {
  display: block;
  animation: slideIn .3s var(--ease);
  visibility: visible;
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all .2s var(--ease);
  border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--surface-dim);
  padding-left: 20px;
}

.search-result-img-wrap {
  width: 56px;
  height: 56px;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}

.search-result-item:hover .search-result-img {
  transform: scale(1.1);
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-result-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  position: relative
}

.cart-btn:hover {
  color: var(--primary)
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  transition: transform .3s var(--ease)
}

.avatar:hover {
  transform: scale(1.08)
}

/* === AVATAR DROPDOWN === */
.avatar-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.avatar-dropdown-menu {
  position: absolute;
  top: 100%;
  right: -10px;
  width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .3s var(--ease);
  backdrop-filter: blur(20px);
}

/* Invisible bridge so hover doesn't break when moving mouse down */
.avatar-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.avatar-dropdown-wrapper:hover .avatar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.avatar-dropdown-menu a {
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-dropdown-menu a:hover {
  background: var(--surface-dim);
  color: var(--primary);
  padding-left: 20px;
}

.avatar-dropdown-menu .sign-out-btn {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
  color: #ef4444;
}

.avatar-dropdown-menu .sign-out-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

/* === LAYOUT === */
.app-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px
}

/* === HERO === */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 0
}

.hero-text {
  flex: 1;
  max-width: 560px
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px
}

.hero-h1 {
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 20px;
  color: var(--text)
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px
}

.hero-visual {
  flex: 1;
  height: 520px;
  background: var(--accent);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-visual svg {
  width: 120px;
  height: 120px;
  color: var(--accent-2);
  opacity: .6
}

/* === HERO SLIDESHOW === */
.hero-slide-wrap {
  position: relative;
  width: calc(100% + 128px);
  margin-left: -64px;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: 80px
}

.hero-slides {
  position: absolute;
  inset: 0
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity
}

.hero-slide.active {
  opacity: 1
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%)
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  z-index: 2;
  max-width: 700px
}

.hero-slide-content .hero-h1 {
  color: white;
  margin-bottom: 20px
}

.hero-slide-content .hero-sub {
  color: rgba(255, 255, 255, 0.75)
}

.hero-slide-content .hero-badge {
  background: rgba(255, 149, 0, 0.2);
  color: var(--primary)
}

.hero-slide-dots {
  display: flex;
  gap: 8px;
  margin-top: 36px
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.5s var(--ease)
}

.hero-dot.active {
  width: 32px;
  background: var(--primary)
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(255, 109, 46, .25);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease)
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 109, 46, .35)
}

.btn-primary:hover::before {
  left: 150%
}

.btn-primary svg {
  transition: transform .3s var(--ease)
}

.btn-primary:hover svg {
  transform: translateX(4px)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  transition: all .3s var(--ease)
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow)
}

/* === SECTIONS === */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 100px 0 40px
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em
}

.section-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px
}

.section-link:hover svg {
  transform: translateX(4px)
}

.section-link svg {
  transition: transform .3s var(--ease)
}

/* === CATEGORY PILLS === */
.category-row {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap
}

.cat-pill {
  padding: 10px 22px;
  background: var(--surface-dim);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  transition: all .3s var(--ease)
}

.cat-pill.active,
.cat-pill:hover {
  background: var(--text);
  color: #fff
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 100px
}

/* === PRODUCT CARDS === */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all .5s var(--ease);
  border: 1px solid var(--border)
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

.product-img-area {
  width: 100%;
  height: 280px;
  background: var(--surface-dim);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.p-color-dot {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--p-color);
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform .3s var(--ease);
  z-index: 10;
}

.product-card:hover .p-color-dot {
  transform: scale(1.4);
}

.pre-owned-card {
  border-color: var(--primary) !important;
}

.product-img-area .prod-svg {
  width: 80px;
  height: 80px;
  color: var(--accent-2);
  transition: transform .6s var(--ease)
}

.product-card:hover .prod-svg {
  transform: scale(1.1) rotate(3deg)
}

.badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em
}

.wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease)
}

/* Product Social Buttons Overlay */
.p-social-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease);
  z-index: 2;
}

.product-card:hover .p-social-overlay {
  opacity: 1;
  transform: translateX(0);
}

.p-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.p-social-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.p-social-btn.wa {
  background: #25D366;
}

.p-social-btn.fb {
  background: #1877F2;
}

.p-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.wishlist-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-light);
  stroke-width: 2;
  transition: all .3s
}

.wishlist-btn.active svg,
.wishlist-btn:hover svg {
  fill: var(--primary);
  stroke: var(--primary)
}

.product-info {
  padding: 20px 20px 8px
}

.product-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px
}

.product-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark)
}

.add-to-cart {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease)
}

.add-to-cart:hover {
  background: var(--primary);
  transform: scale(1.1)
}

.add-to-cart svg {
  width: 18px;
  height: 18px
}

/* === PRODUCT DETAIL === */
.prod-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 40px 0 80px;
  align-items: start
}

.prod-gallery {
  position: sticky;
  top: 100px;
  display: flex;
  gap: 20px;
}

.prod-img-main {
  flex: 1;
  min-height: 500px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}

.prod-img-main:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.p-img-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}

.prod-img-main:hover .p-img-main {
  transform: scale(1.02);
}

.prod-img-main svg {
  width: 120px;
  height: 120px;
  color: var(--accent-2)
}

.prod-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100px;
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.prod-thumbnails::-webkit-scrollbar {
  display: none;
}

.prod-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
  background: var(--surface);
  flex-shrink: 0;
  padding: 8px;
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}

.prod-thumb:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.prod-thumb.active {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.prod-info {
  padding-top: 20px
}

.prod-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px
}

.prod-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px
}

.prod-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px
}

.prod-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px
}

.spec-item {
  padding: 16px;
  background: var(--surface-dim);
  border-radius: var(--radius)
}

.spec-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: 4px
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text)
}

.prod-actions {
  display: flex;
  gap: 12px
}

.btn-buy-lg {
  flex: 1;
  padding: 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-full);
  text-align: center;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 20px rgba(255, 109, 46, .25)
}

.btn-buy-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 109, 46, .35)
}

.btn-wish-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease)
}

.btn-wish-lg:hover {
  border-color: var(--primary);
  color: var(--primary)
}

/* === CART === */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: start
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .3s var(--ease)
}

.cart-item:hover {
  box-shadow: var(--shadow)
}

.cart-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.cart-img .prod-svg {
  width: 48px;
  height: 48px;
  color: var(--accent-2)
}

.cart-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px
}

.cart-name {
  font-size: 16px;
  font-weight: 600
}

.cart-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark)
}

.cart-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end
}

.remove-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transition: all .3s
}

.remove-btn:hover {
  color: #e53e3e;
  background: rgba(229, 62, 62, .08)
}

.cart-summary {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px
}

.cart-summary h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-muted)
}

.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 20px
}

.checkout-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-full);
  margin-top: 24px;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 20px rgba(255, 109, 46, .25)
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 109, 46, .35)
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted)
}

.empty-cart svg {
  margin: 0 auto 20px;
  opacity: .3
}

/* === AUTH === */
.auth-container {
  max-width: 440px;
  margin: 80px auto;
  text-align: center
}

.auth-header {
  margin-bottom: 36px
}

.auth-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px
}

.auth-sub {
  color: var(--text-muted);
  font-size: 15px
}

.auth-form {
  text-align: left
}

.input-group {
  margin-bottom: 20px
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 8px
}

.input-group input {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface-dim);
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-size: 15px;
  color: var(--text);
  transition: all .3s var(--ease)
}

.input-group input:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-glow)
}

.input-group input::placeholder {
  color: var(--text-light)
}

.auth-switch {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted)
}

.auth-switch button {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline
}

/* === SUPPORT === */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0 80px
}

.support-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all .4s var(--ease)
}

.support-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

.support-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px
}

.support-icon svg {
  width: 24px;
  height: 24px
}

.support-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px
}

.support-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0
}

.faq-item:last-child {
  border: none
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px
}

.faq-a {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7
}

/* === LEGAL === */
.legal-content {
  max-width: 720px;
  margin: 40px auto 80px
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px
}

.legal-content h2:first-child {
  margin-top: 0
}

.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8
}

/* === FOOTER === */
footer {
  background: #000000;
  color: #fff;
  margin-top: auto
}

.f-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 64px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px
}

footer .site-logo {
  height: 135px
}

.f-about .logo-aj {
  color: var(--primary)
}

.f-about .logo-vantage {
  color: rgba(255, 255, 255, .5)
}

.f-about p {
  color: rgba(255, 255, 255, .5);
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px
}

.f-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .4)
}

.f-col a {
  display: block;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 12px;
  font-size: 14px;
  transition: all .3s
}

.f-col a:hover {
  color: var(--primary);
  transform: translateX(3px)
}

.f-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 64px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .35)
}

/* === IMAGE EXPANSION === */
.img-expanded-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: zoom-out;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s var(--ease)
}

.img-expanded-overlay.active {
  display: flex;
  opacity: 1
}

.img-expanded-overlay img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: scale(0.85);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1)
}

.img-expanded-overlay.active img {
  transform: scale(1)
}

.f-bottom .sri-tag {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 11px
}

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease);
  pointer-events: none
}

.toast.show {
  transform: translateX(-50%) translateY(0)
}

.toast svg {
  color: var(--primary)
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* === PAGE HEADER (inner pages) === */
.page-header {
  padding: 60px 0 20px
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em
}

.page-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px
}

.breadcrumb a:hover {
  color: var(--primary)
}

.breadcrumb svg {
  width: 14px;
  height: 14px
}

/* === SLIDER === */
.slider-wrap {
  position: relative;
  margin-bottom: 100px
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px
}

.slider-arrows {
  display: flex;
  gap: 8px
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .3s var(--ease)
}

.slider-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow)
}

.slider-arrow svg {
  width: 20px;
  height: 20px
}

.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 20px;
  scrollbar-width: none
}

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

.slider-track .product-card {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start
}

/* === COMING SOON CARD === */
.coming-soon-card {
  background: linear-gradient(135deg, var(--text) 0%, #2a2a2a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  cursor: default;
  border: none
}

.cs-inner {
  text-align: center;
  padding: 40px
}

.cs-count {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.04em;
  line-height: 1
}

.cs-label {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px
}

.cs-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .1em
}

.cs-bar {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  margin: 20px auto 8px;
  overflow: hidden
}

.cs-bar-fill {
  height: 100%;
  width: 16%;
  background: var(--primary);
  border-radius: 4px;
  animation: barPulse 2s ease-in-out infinite
}

.cs-percent {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  font-weight: 500
}

@keyframes barPulse {

  0%,
  100% {
    opacity: .6
  }

  50% {
    opacity: 1
  }
}

/* === STAGGERED CARD ENTRY === */
@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.97)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.product-card.visible {
  animation: cardSlideIn .6s var(--ease) both
}

/* === PRODUCT DETAIL ENHANCED === */
.prod-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px
}

.prod-stars {
  display: flex;
  gap: 2px;
  color: var(--primary)
}

.prod-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--primary)
}

.prod-review-count {
  font-size: 13px;
  color: var(--text-light)
}

.prod-color-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px
}

.prod-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative
}

.prod-color-swatch.active {
  border-color: var(--text);
  transform: scale(1.1)
}

.prod-color-swatch.out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
}

.prod-color-swatch.out-of-stock::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 2px;
}

.prod-size-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap
}

.prod-size {
  min-width: 48px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  letter-spacing: .01em
}

.prod-size:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 109, 46, .1)
}

.prod-size.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 109, 46, .25)
}

.prod-size.out-of-stock {
  opacity: 0.4;
  cursor: not-allowed;
  position: relative;
  background: var(--surface-dim);
  border-color: var(--border);
  color: var(--text-light);
}

.prod-size.out-of-stock::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 1.5px;
  background: var(--text-muted);
  transform: translate(-50%, -50%) rotate(-15deg);
  border-radius: 2px;
}

.prod-features {
  list-style: none;
  margin-bottom: 28px
}

.prod-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border)
}

.prod-features li:last-child {
  border: none
}

.prod-features li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0
}

.prod-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 24px
}

.prod-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  transition: all .3s var(--ease)
}

.prod-tab.active,
.prod-tab:hover {
  color: var(--text);
  border-color: var(--primary)
}

.prod-tab-content {
  display: none;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8
}

.prod-tab-content.active {
  display: block
}

/* === QUANTITY PICKER === */
.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px
}

.qty-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted)
}

.qty-picker {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s
}

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

.qty-val {
  width: 40px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text)
}

.mobile-menu-btn,
.mobile-nav,
.nav-overlay {
  display: none;
}


/* === RESPONSIVE === */
@media(max-width: 1024px) {
  .header {
    padding: 16px 32px;
  }

  .header-auth-group {
    display: none !important;
  }

  .header.scrolled {
    padding: 12px 32px;
  }

  .app-container {
    padding: 0 32px;
  }

  .hero-slide-wrap {
    width: calc(100% + 64px);
    margin-left: -32px;
  }

  .hero-slide-content {
    padding: 0 32px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 768px) {

  /* === HEADER MOBILE === */
  .header {
    padding: 10px 16px;
    gap: 12px;
  }

  .header.scrolled {
    padding: 8px 16px;
  }

  .site-logo {
    height: 56px;
  }

  .desktop-nav {
    display: none;
  }

  .search-pill {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .cart-btn {
    width: 40px;
    height: 40px;
  }

  .header-actions .avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .header-auth-group {
    display: none !important;
  }

  /* === LAYOUT MOBILE === */
  .app-container {
    padding: 0 16px;
  }

  /* === MOBILE MENU === */
  .mobile-menu-btn {
    display: flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--surface-dim);
    border-radius: var(--radius-full);
    color: var(--text);
    border: 1px solid var(--border);
    transition: all .3s var(--ease);
  }

  .mobile-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    z-index: 1001;
    padding: 100px 32px 40px;
    flex-direction: column;
    gap: 28px;
    transition: right 0.5s var(--ease);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  .mobile-nav.open {
    right: 0;
  }

  .mobile-nav a {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.5px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: all .3s var(--ease);
  }

  .mobile-nav a:last-child {
    border-bottom: none;
  }

  .mobile-nav a.active {
    color: var(--primary);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .nav-overlay.active {
    display: block;
  }

  /* === HERO MOBILE === */
  .hero-slide-wrap {
    height: 55vh;
    min-height: 380px;
    border-radius: 0 0 32px 32px;
    margin: 0 auto 32px;
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  .hero-slide-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    padding: 0 20px;
  }

  .hero-h1 {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }

  .hero-sub {
    font-size: 13px !important;
    margin-bottom: 20px;
  }

  /* === PRODUCT GRID MOBILE === */
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card {
    border-radius: var(--radius);
  }

  .product-img-area {
    height: 180px;
  }

  .product-info {
    padding: 12px 12px 4px;
  }

  .product-name {
    font-size: 13px;
    line-height: 1.3;
  }

  .product-cat {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .product-bot {
    padding: 0 12px 12px;
  }

  .product-price {
    font-size: 13px;
  }

  .add-to-cart {
    width: 32px;
    height: 32px;
  }

  .add-to-cart svg {
    width: 14px;
    height: 14px;
  }

  .badge-status {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 9px;
  }

  .wishlist-btn {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }

  .wishlist-btn svg {
    width: 14px;
    height: 14px;
  }

  /* === SECTIONS MOBILE === */
  .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin: 48px 0 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-tag {
    font-size: 12px;
  }

  /* === CATEGORY MOBILE === */
  .category-row {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-row::-webkit-scrollbar {
    display: none;
  }

  .cat-pill {
    padding: 8px 16px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 20px 10px;
  }

  .cat-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .cat-card-name {
    font-size: 11px;
  }

  /* === SLIDER MOBILE === */
  .slider-track .product-card {
    min-width: 240px;
  }

  .slider-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* === PAGE HEADERS MOBILE === */
  .page-header {
    padding: 32px 0 16px;
    text-align: center;
  }

  .page-title {
    font-size: 26px;
  }

  .page-sub {
    font-size: 13px;
  }

  .breadcrumb {
    justify-content: center;
    font-size: 12px;
  }

  /* === PRODUCT DETAIL MOBILE === */
  .prod-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0 60px;
  }

  .prod-gallery {
    flex-direction: column-reverse;
    position: static;
  }

  .prod-thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    gap: 10px;
  }

  .prod-thumb {
    width: 64px;
    min-width: 64px;
  }

  .prod-img-main {
    min-height: 300px;
  }

  .prod-title {
    font-size: 24px;
  }

  .prod-price {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .prod-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .spec-item {
    padding: 12px;
  }

  .spec-label {
    font-size: 10px;
  }

  .spec-value {
    font-size: 13px;
  }

  .prod-size-row {
    gap: 8px;
    margin-bottom: 24px;
  }

  .prod-size {
    min-width: 40px;
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .prod-color-row {
    gap: 8px;
    margin-bottom: 20px;
  }

  .prod-color-swatch {
    width: 24px;
    height: 24px;
  }

  .prod-tabs {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .prod-tabs::-webkit-scrollbar {
    display: none;
  }

  .prod-tab {
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .prod-actions {
    gap: 10px;
  }

  .btn-buy-lg {
    padding: 16px;
    font-size: 15px;
  }

  .btn-wish-lg {
    width: 50px;
    height: 50px;
  }

  .qty-picker {
    border-radius: var(--radius-full);
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .qty-val {
    width: 36px;
    font-size: 14px;
  }

  /* === CART MOBILE === */
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0 60px;
  }

  .cart-summary {
    position: static;
    padding: 24px;
  }

  .cart-item-new {
    gap: 16px;
    padding: 16px;
  }

  .cart-item-img-wrap {
    width: 80px;
    height: 80px;
  }

  .cart-item-name {
    font-size: 15px;
  }

  /* === SUPPORT MOBILE === */
  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-card {
    padding: 24px;
  }

  /* === AUTH MOBILE === */
  .auth-container {
    margin: 40px auto;
    padding: 0 4px;
  }

  .auth-title {
    font-size: 26px;
  }

  /* === PROFILE MOBILE === */
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-sidebar {
    position: static;
    width: 100%;
  }

  .profile-main-card {
    padding: 20px;
  }

  /* === CHECKOUT MOBILE === */
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .checkout-summary {
    position: static !important;
    width: 100% !important;
    padding: 24px !important;
  }

  /* === FOOTER MOBILE === */
  .f-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 16px 32px;
  }

  .f-about {
    grid-column: 1 / -1;
  }

  .f-about p {
    max-width: 100%;
  }

  .f-col h4 {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .f-col a {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .f-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 16px;
  }

  /* === COMING SOON MOBILE === */
  .coming-soon-card {
    min-height: 260px;
  }

  .cs-count {
    font-size: 40px;
  }

  .cs-label {
    font-size: 15px;
  }

  /* === PAGINATION MOBILE === */
  .pagination-wrap {
    margin: 40px 0 60px !important;
    gap: 8px !important;
  }

  .page-btn {
    width: 40px;
    height: 40px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* === LIGHTBOX MOBILE === */
  .image-modal {
    padding: 16px;
  }

  .image-modal-content {
    border-radius: 32px;
    max-width: 95%;
    max-height: 80%;
  }

  .image-modal-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  /* === CHATBOT MOBILE === */
  #chatWidget {
    bottom: 16px;
    right: 16px;
  }

  #chatBtn {
    width: 52px;
    height: 52px;
  }

  #chatWindow {
    width: calc(100vw - 32px);
    height: 60vh;
    max-height: 420px;
  }

  /* === TOAST MOBILE === */
  .toast {
    padding: 12px 20px;
    font-size: 13px;
    bottom: 20px;
  }

  /* === LEGAL MOBILE === */
  .legal-content {
    margin: 24px auto 60px;
  }
}

/* === SCROLL PROGRESS === */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s;
}

/* === CATEGORY GRID (Homepage) === */
.cat-section {
  margin-top: 80px;
}

.section-tag {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.category-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.category-card:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cat-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--surface-dim);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

.category-card:hover .cat-icon-wrap {
  background: var(--primary);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
}

.cat-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* === PAGINATION === */
.pagination-wrap {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 60px 0 100px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
  /* Prevent vertical stacking */
}

.page-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

.page-btn:hover:not(.disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 109, 46, 0.3);
}

.page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* === GHOST CARDS === */
.ghost-card {
  cursor: default;
  opacity: 0.75;
  filter: grayscale(0.5);
}

.ghost-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.ghost-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, var(--surface-dim), var(--surface-dim) 10px, var(--surface-high) 10px, var(--surface-high) 20px);
}

.sneak-peak {
  opacity: 0.9;
  filter: none;
}

.badge-status.coming-soon {
  background: var(--text);
  color: #fff;
}

/* === PROFILE DASHBOARD (Stitch Standard) === */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-top: 40px;
  padding-bottom: 100px;
}

.profile-sidebar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 16px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.p-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: all 0.3s;
}

.p-nav-item:hover {
  background: var(--surface-dim);
  color: var(--text);
}

.p-nav-item.active {
  background: var(--primary);
  color: #fff;
}

.p-nav-item svg {
  width: 18px;
  height: 18px;
}

.profile-main-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.profile-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
}

/* === CART ITEMS ENHANCED === */
.cart-item-new {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all 0.3s var(--ease);
}

.cart-item-new:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.cart-item-img-wrap {
  width: 110px;
  height: 110px;
  background: var(--surface-dim);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
}

.cart-remove-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-dim);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.cart-remove-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* === FAQ ACCORDION === */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1.5px solid var(--border);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.faq-trigger:hover {
  background: var(--surface-dim);
}

.faq-trigger h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.faq-icon {
  transition: transform 0.3s;
  color: var(--text-light);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 24px;
  transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* === REFINED CATEGORY ANIMATION === */
.cat-pill {
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-light);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.cat-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 8px 20px -6px var(--primary);
}

/* === WISHLIST HEART === */
.wish-btn svg {
  transition: all 0.3s;
}

.wish-btn.active svg {
  fill: #ff9500 !important;
  stroke: #ff9500 !important;
}

/* === CART UI STITCH REFINEMENT === */
.cart-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s;
}

.cart-card:hover {
  border-color: var(--primary);
}

.cart-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  background: var(--surface-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}





/* === WISHLIST ACTIVE STATE === */
.wish-btn.active svg {
  fill: var(--primary);
  color: var(--primary);
}

/* === NEW CATEGORY DESIGN === */
.category-card {
  background: var(--surface-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cat-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.cat-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke-width: 2px;
}

.cat-card-name {
  font-weight: 700;
  font-size: 14px;
}

/* === FAQ & SUPPORT UPDATES === */
.faq-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}



/* === LIQUID PRODUCT FRAME === */
.prod-img-main {
  width: 100%;
  height: auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.prod-img-main img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: zoom-in;
}

.prod-img-main img.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 90vw;
  height: 90vh;
  object-fit: contain;
  z-index: 9999;
  cursor: zoom-out;
  background: rgba(0, 0, 0, 0.95);
  padding: 40px;
  border-radius: 0;
}

.prod-img-main.has-expanded::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9998;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* === IMAGE MODAL === */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(40px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 60px;
  /* Pill corners */
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform .4s var(--ease);
  background: var(--surface);
  /* Keeps image feel consistent with original design */
}

.image-modal.active .image-modal-content {
  transform: scale(1);
}

.image-modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
}

/* Product detail mobile already handled in main 768px block above */

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-img-area {
    height: 150px;
  }

  .product-name {
    font-size: 12px;
  }

  .product-price {
    font-size: 12px;
  }

  .hero-h1 {
    font-size: 24px !important;
  }

  .prod-title {
    font-size: 22px;
  }

  .prod-price {
    font-size: 20px;
  }

  .f-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 28px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

/* === LEGAL PAGE STYLES === */
.legal-nav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-dim);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.legal-nav-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.legal-nav-item:hover,
.legal-nav-item.active {
  color: var(--primary);
  background: var(--primary-glow);
}

.legal-content-card {
  background: var(--surface-dim);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  line-height: 1.8;
  color: var(--text-muted);
}

.legal-content-card h2 {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 28px;
  letter-spacing: -0.5px;
}

.legal-content-card h3 {
  color: var(--text);
  margin: 32px 0 16px;
  font-size: 20px;
}

.legal-content-card strong {
  color: var(--text-light);
}

.legal-content-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-content-card li {
  margin-bottom: 8px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: sticky;
    top: 80px;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px;
    z-index: 10;
  }
}



#offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  background: #ef4444;
  color: #fff;
  text-align: center;
  padding: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
}

/* === SOCIAL & CATALOG INTEGRATION === */
.social-hero-btn {
  transition: all 0.4s var(--ease) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.social-hero-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: 0.8s;
  pointer-events: none;
}

.social-hero-btn:hover::after {
  left: 100%;
  top: 100%;
}

.social-hero-btn:hover {
  transform: translateY(-5px) scale(1.02);
  filter: brightness(1.15);
}

.social-hero-btn.wa:hover {
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4) !important;
}

.social-hero-btn.fb:hover {
  box-shadow: 0 15px 30px rgba(24, 119, 242, 0.4) !important;
}

.card-catalog-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.catalog-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 800;
  color: white;
  transition: all 0.4s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wa-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.fb-btn {
  background: linear-gradient(135deg, #1877F2, #0D47A1);
}

.catalog-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.catalog-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ============================================================
   === PREMIUM LIQUID GLASS CHATBOT ===
   ============================================================ */
#chatWidget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font);
}

#chatBtn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-xl), 0 0 20px rgba(167, 139, 250, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

#chatBtn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

#chatBtn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(167, 139, 250, 0.6);
}

#chatBtn:hover::before {
  transform: translateX(100%);
}

#chatWindow {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 520px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: bottom right;
}

#chatWindow.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(167, 139, 250, 0.05));
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

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

.chat-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 18px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.5;
  animation: msgSlide 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes msgSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.bot {
  align-self: flex-start;
  background: white;
  color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.2);
}

.chat-input-area {
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  gap: 12px;
}

.chat-input-area input {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.chat-input-area input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1);
}

.chat-input-area button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.chat-input-area button:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

@media (max-width: 480px) {
  #chatWidget {
    bottom: 20px;
    right: 20px;
  }

  #chatWindow {
    width: calc(100vw - 40px);
    height: 70vh;
    bottom: 70px;
  }
}

/* === SOCIAL HERO BUTTONS === */
.social-hero-btn {
  padding: 16px 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  text-decoration: none;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.social-hero-btn.wa {
  background: #25D366;
}

.social-hero-btn.fb {
  background: #1877F2;
}

.social-hero-btn svg {
  width: 20px;
  height: 20px;
}

/* Product Specific Contact Group */
.prod-contact-group {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .social-hero-btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}

/* === ANIMATIONS & PATTERNS === */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 109, 46, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 109, 46, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 109, 46, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes strikeLine {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.timeline-strike {
  position: absolute;
  top: 40px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #6366f1, var(--primary));
  z-index: 0;
  animation: strikeLine 1.5s ease-out forwards;
}

.vector-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6d2e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
}
}

/* === INTERACTIVE TIMELINE === */
.timeline-strike {
  position: absolute;
  top: 40px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6366f1, #22c55e, #a855f7);
  z-index: 1;
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-wrap:hover .timeline-strike {
  width: 100%;
}

@keyframes speechPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 109, 46, 0.1);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(255, 109, 46, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 109, 46, 0);
  }
}

.executive-card {
  animation: speechPulse 4s infinite ease-in-out;
}

.speech-text {
  font-size: 26px !important;
  /* BIGGER SPEECH */
  font-weight: 600;
}

/* === MODAL FOR BANK/QR === */
.ajv-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ajv-modal.active {
  display: flex;
}

.ajv-modal-content {
  background: var(--surface);
  border-radius: 32px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.4s var(--ease);
}

.ajv-modal.active .ajv-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  color: var(--text-muted);
  background: var(--surface-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hidden { display: none !important; }
