/* ===========================
   KRYLIX STORE — MAIN CSS
   =========================== */

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

:root {
  --black: #1A1A1A;
  --white: #ffffff;
  --gray-light: #F2F2F2;
  --gray-mid: #E0E0E0;
  --gray-text: #888888;
  --red: #F5A623;        /* PRIMARY = Krylix Yellow/Gold */
  --red-dark: #D4881E;   /* hover state */
  --yellow: #F5A623;
  --green: #2ECC71;
  --font-main: 'Source Sans Pro', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --navbar-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

/* ===========================
   ANNOUNCEMENT BAR
   =========================== */
.announcement-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 9px 40px;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.4px;
  position: relative;
  line-height: 1.4;
}

.announcement-bar .close-bar {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  opacity: 0.6;
  line-height: 1;
  background: none;
  border: none;
  color: var(--white);
}

.announcement-bar .close-bar:hover { opacity: 1; }

/* Announcement sliding track */
.ann-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.ann-slide {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  transition: none;
}
.ann-coupon-slide strong.ann-code {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  padding: 1px 7px;
  font-family: monospace;
  letter-spacing: 1px;
  font-size: 12px;
}

/* ===========================
   COUPON HIGHLIGHT BAR
   =========================== */
.coupon-highlight-bar {
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
  border-bottom: 2px solid #ffe082;
  padding: 8px 16px 12px;
  position: relative;
  z-index: 490;
  overflow: hidden;
}
.cpn-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cpn-bar-inner::-webkit-scrollbar { display: none; }
.cpn-bar-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #7c5504;
  white-space: nowrap;
  flex-shrink: 0;
  background: #ffd54f;
  padding: 3px 10px;
  border-radius: 4px;
}
.cpn-bar-list { display: flex; flex-wrap: nowrap; gap: 10px; }
.cpn-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid #ffe082;
  border-radius: 8px;
  padding: 8px 12px 8px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .2s, border-color .2s;
  flex-shrink: 0;
  margin-top: 6px;
}
.cpn-chip:hover { border-color: #ffc107; box-shadow: 0 2px 10px rgba(255,193,7,.2); }
.cpn-chip-best {
  border-color: #ff9800;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
  box-shadow: 0 2px 8px rgba(255,152,0,.18);
}
.cpn-best-tag {
  position: absolute;
  top: -9px; left: 10px;
  background: #ff9800;
  color: #fff;
  font-size: 9px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: .8px;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.cpn-code {
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1a1a1a;
  background: #f5f5f5;
  border-radius: 3px;
  padding: 2px 7px;
}
.cpn-chip-best .cpn-code { background: #fff3e0; color: #e65100; }
.cpn-disc { font-family: var(--font-heading); font-size: 12px; font-weight: 800; color: #2a7a3b; }
.cpn-exp  { font-size: 10px; color: #999; white-space: nowrap; }
.cpn-scope {
  font-size: 10px;
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 3px;
  padding: 1px 5px;
  font-weight: 700;
  white-space: nowrap;
}
.cpn-copy-btn {
  height: 24px;
  padding: 0 8px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.cpn-copy-btn:hover { background: #333; }
.cpn-copy-btn.copied { background: #2a7a3b; }

/* ===========================
   HEADER / NAVBAR
   =========================== */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid var(--gray-mid);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--navbar-h);
  max-width: 1500px;
  margin: 0 auto;
  gap: 12px;
}

/* Logo */
.navbar-logo {
  flex-shrink: 0;
  text-decoration: none;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--black);
  white-space: nowrap;
  line-height: 1;
}

.navbar-logo-img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 200px;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: var(--black);
  letter-spacing: 1.5px;
  line-height: 1;
  white-space: nowrap;
}

.navbar-brand-highlight {
  color: var(--red);
}

/* Logo = img + text side by side */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.navbar-links > li { position: relative; }

.navbar-links > li > a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  height: var(--navbar-h);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--black);
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-links > li > a:hover,
.navbar-links > li > a.active { color: var(--red); }

.navbar-links > li > a .caret {
  font-size: 9px;
  transition: transform 0.2s;
}

.navbar-links > li:hover > a .caret { transform: rotate(180deg); }

/* Mega Dropdown */
.mega-dropdown {
  display: none;
  position: absolute;
  top: var(--navbar-h);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-top: 3px solid var(--black);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 560px;
  z-index: 999;
  padding: 24px 28px;
  gap: 32px;
}

.navbar-links > li:hover .mega-dropdown { display: flex; }

.mega-col h4 {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-text);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gray-mid);
  padding-bottom: 6px;
}

.mega-col ul li a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: #333;
  transition: color 0.15s, padding-left 0.15s;
}

.mega-col ul li a:hover {
  color: var(--red);
  padding-left: 4px;
}

/* Nav Icons */
.navbar-icons {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.navbar-icons a,
.navbar-icons button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  font-size: 17px;
  color: var(--black);
  border-radius: 50%;
  transition: background 0.2s;
  position: relative;
  text-decoration: none;
}

.navbar-icons a:hover,
.navbar-icons button:hover { background: var(--gray-light); }

.cart-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-heading);
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* Search Overlay */
.search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  z-index: 2000;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  align-items: center;
  gap: 12px;
}

.search-overlay.active { display: flex; flex-wrap: wrap; }

.search-overlay input {
  flex: 1;
  border: none;
  border-bottom: 2px solid var(--black);
  font-size: 18px;
  padding: 6px 0;
  font-family: var(--font-main);
  outline: none;
  background: transparent;
}

.search-overlay .close-search {
  font-size: 26px;
  background: none;
  border: none;
  color: var(--black);
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ===========================
   MOBILE DRAWER
   =========================== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 78%;
  max-width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 3000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,0.18);
}

.mobile-drawer.open { transform: translateX(0); }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2999;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-mid);
  background: var(--black);
}

.drawer-header .drawer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.drawer-header .close-drawer {
  font-size: 22px;
  background: none;
  border: none;
  color: var(--white);
  line-height: 1;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--gray-light);
  color: var(--black);
  transition: background 0.15s, color 0.15s;
}

.drawer-nav a:hover {
  background: var(--gray-light);
  color: var(--red);
}

.drawer-nav a.sale-link { color: var(--red); }

/* ===========================
   HERO SLIDER
   =========================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #111;
  user-select: none;
}

.hero-slider .slides {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slider .slide { min-width: 100%; position: relative; }

.hero-slider .slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Slide placeholder (used instead of real images) */
.slide-bg {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
  font-family: var(--font-heading);
  text-align: center;
  padding: 20px;
}

.slide-bg .slide-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
}

.slide-bg h2 {
  font-size: 56px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
}

.slide-bg h2 span { color: var(--red); }
.slide-bg h2 span.yellow { color: var(--yellow); }

.slide-bg p {
  font-size: 15px;
  opacity: 0.75;
  max-width: 420px;
  font-weight: 400;
  font-family: var(--font-main);
  line-height: 1.5;
}

.slide-bg .slide-cta {
  display: inline-block;
  padding: 13px 36px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  transition: all 0.2s;
}

.slide-cta.white-btn {
  background: var(--white);
  color: var(--black);
}
.slide-cta.white-btn:hover {
  background: var(--red);
  color: var(--white);
}

.slide-cta.red-btn {
  background: var(--red);
  color: var(--white);
}
.slide-cta.red-btn:hover { opacity: 0.88; }

.slide-cta.yellow-btn {
  background: var(--yellow);
  color: var(--black);
}
.slide-cta.yellow-btn:hover { opacity: 0.88; }

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 17px;
  color: var(--black);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.25s;
}

.slider-dots span.active {
  background: var(--white);
  width: 22px;
  border-radius: 4px;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 40px 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title a {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: var(--font-heading);
}

.section-title a:hover { text-decoration: underline; }

/* ===========================
   CATEGORY ICONS
   =========================== */
.categories-section {
  padding: 20px 20px;
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}

.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.categories-scroll::-webkit-scrollbar { display: none; }

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 76px;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--black);
  transition: color 0.2s;
}

.category-item:hover { color: var(--red); }

.category-item span:last-child {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.category-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--gray-mid);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.category-circle .cat-icon { font-size: 28px; }

.category-item:hover .category-circle {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .categories-scroll { gap: 10px; justify-content: flex-start; flex-wrap: nowrap; }
  .category-circle { width: 64px; height: 64px; }
  .category-item { min-width: 64px; }
  .category-item span:last-child { font-size: 11px; }
}

@media (max-width: 480px) {
  .categories-section { padding: 14px 12px; }
  .categories-scroll { gap: 8px; }
  .category-circle { width: 56px; height: 56px; }
  .category-item { min-width: 56px; gap: 6px; }
  .category-item span:last-child { font-size: 10px; }
  .category-circle .cat-icon { font-size: 22px; }
}

.category-item span {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--black);
  line-height: 1.2;
}

/* ===========================
   PRODUCT CARDS
   =========================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  cursor: pointer;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
  aspect-ratio: 3/4;
  border-radius: 2px;
}

.product-img-wrap img,
.product-img-wrap .prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Placeholder (emoji) */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 3px 7px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 2;
}

.product-badge.new { background: #222; }
.product-badge.exclusive { background: #6a1b9a; }

.product-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aaa;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  z-index: 2;
}

.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist.active { color: var(--red); opacity: 1; }
.product-wishlist:hover { color: var(--red); }

.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(22,22,21,0.88);
  color: var(--white);
  text-align: center;
  padding: 9px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(100%);
  transition: transform 0.22s ease;
  z-index: 2;
}

.product-card:hover .product-quick-add { transform: translateY(0); }

.product-info { padding: 8px 2px 4px; }

.product-brand {
  font-size: 10px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 2px;
}

.product-name {
  font-size: 13px;
  font-weight: 400;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.price-current {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-heading);
}

.price-original {
  font-size: 12px;
  color: #bbb;
  text-decoration: line-through;
  font-family: var(--font-heading);
}

.price-discount {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-heading);
}

.product-colors {
  display: flex;
  gap: 4px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.color-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: transform 0.15s;
}

.color-dot:hover { transform: scale(1.25); }

/* ===========================
   DUAL BANNER
   =========================== */
.banner-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.banner-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.banner-item-inner {
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: filter 0.3s;
}

.banner-item:hover .banner-item-inner { filter: brightness(0.92); }

.banner-item-inner .banner-icon {
  font-size: 120px;
  opacity: 0.1;
  position: absolute;
  line-height: 1;
}

.banner-item-inner .banner-tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.65;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  z-index: 1;
}

.banner-item-inner h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  color: var(--white);
  line-height: 1.1;
  z-index: 1;
}

.banner-item-inner h2 span { color: var(--yellow); }

.banner-item-inner .banner-btn {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.8);
  color: var(--white);
  padding: 9px 26px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
  transition: background 0.2s, border-color 0.2s;
}

.banner-item-inner .banner-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===========================
   FULL WIDTH SALE BANNER
   =========================== */
.sale-banner-full {
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sale-banner-full .sale-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  font-weight: 900;
  font-family: var(--font-heading);
  opacity: 0.06;
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.sale-banner-full .sale-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.7;
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 10px;
}

.sale-banner-full h2 {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.sale-banner-full p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-bottom: 24px;
}

.sale-banner-full a {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 14px 42px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.sale-banner-full a:hover { opacity: 0.9; }

/* ===========================
   HORIZONTAL SCROLL
   =========================== */
.product-scroll-wrap {
  position: relative;
  padding: 0 4px;
}

.product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.product-scroll::-webkit-scrollbar { display: none; }

.product-scroll .product-card {
  min-width: 190px;
  max-width: 190px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.scroll-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid #ddd;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: all 0.2s;
  color: var(--black);
}

.scroll-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.scroll-btn.sprev { left: -16px; }
.scroll-btn.snext { right: -16px; }

/* ===========================
   FEATURES BAR
   =========================== */
.features-bar {
  background: var(--black);
  color: var(--white);
  padding: 28px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px;
}

.feature-item .icon { font-size: 26px; }

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-item p {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.3;
}

/* ===========================
   NEWSLETTER
   =========================== */
.newsletter-section {
  background: var(--gray-light);
  padding: 48px 20px;
  text-align: center;
}

.newsletter-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.newsletter-section p {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 22px;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border: 2px solid var(--black);
  border-right: none;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  background: var(--white);
  min-width: 0;
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #161615;
  color: #bbb;
  padding: 48px 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: #888;
  max-width: 240px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #242424;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aaa;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--red);
  color: var(--white);
}

.payment-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.payment-icon {
  background: #242424;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col ul li { margin-bottom: 9px; }

.footer-col ul li a {
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-app {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #242424;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 7px 11px;
  color: var(--white);
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
}

.app-btn:hover { background: #333; }
.app-btn .app-icon { font-size: 18px; }

.footer-bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #555;
  transition: color 0.2s;
  font-size: 12px;
}

.footer-bottom-links a:hover { color: #999; }

/* ===========================
   TOAST
   =========================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

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

/* ===========================
   RESPONSIVE — TABLET 1024px
   =========================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===========================
   RESPONSIVE — TABLET 768px
   =========================== */
@media (max-width: 768px) {
  :root { --navbar-h: 62px; }

  .announcement-bar {
    font-size: 11px;
    padding: 7px 36px;
  }

  /* Hide nav links, show hamburger */
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }

  /* Mobile: hamburger | logo+text | icons — all in one line */
  .navbar { position: static; justify-content: space-between; gap: 4px; padding: 0 14px; }
  .navbar-logo { position: static; transform: none; flex: 1; min-width: 0; gap: 8px; }

  .navbar-logo-text { font-size: 15px; }
  .navbar-logo-img { height: 50px; width: auto; max-width: none; }
  .navbar-brand-text { font-size: 17px; letter-spacing: 1.2px; }
  .navbar-icons { gap: 0; flex-shrink: 0; }
  .navbar-icons a, .navbar-icons button { width: 32px; height: 32px; font-size: 14px; }

  /* Hero */
  .slide-bg { height: 340px; }
  .slide-bg h2 { font-size: 34px; }
  .slide-bg p { font-size: 13px; }
  .slide-bg .slide-cta { padding: 11px 28px; font-size: 11px; }
  .slider-btn { width: 36px; height: 36px; font-size: 14px; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-scroll .product-card { min-width: 160px; }
  .scroll-btn { display: none; }

  /* Banner */
  .banner-grid-2 { grid-template-columns: 1fr; }
  .banner-item-inner { height: 260px; }
  .banner-item-inner h2 { font-size: 24px; }

  /* Sale banner */
  .sale-banner-full h2 { font-size: 36px; }
  .sale-banner-full .sale-bg-text { font-size: 100px; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .feature-item { padding: 16px 8px; border-bottom: 1px solid #252525; }
  .feature-item:nth-child(odd) { border-right: 1px solid #252525; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }

  /* Sections */
  .section { padding: 28px 14px; }
  .section-title { font-size: 16px; margin-bottom: 14px; }

  /* Categories */
  .categories-section { padding: 16px 14px; }
  .category-circle { width: 56px; height: 56px; }
  .category-circle .cat-icon { font-size: 22px; }
  .category-item { min-width: 62px; gap: 6px; }
  .category-item span { font-size: 9px; }

  /* Coupon highlight bar — tablet */
  .coupon-highlight-bar { padding: 8px 12px; }
  .cpn-bar-inner { gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cpn-bar-inner::-webkit-scrollbar { display: none; }
  .cpn-bar-label { font-size: 10px; white-space: nowrap; flex-shrink: 0; }
  .cpn-bar-list { flex-wrap: nowrap; gap: 8px; }
  .cpn-chip { padding: 7px 10px; gap: 5px; flex-wrap: nowrap; }
  .cpn-scope { display: none; }
  .cpn-exp { display: none; }
}

/* ===========================
   RESPONSIVE — MOBILE 480px
   =========================== */
@media (max-width: 480px) {
  :root { --navbar-h: 58px; }

  .announcement-bar {
    font-size: 10px;
    padding: 6px 32px;
    letter-spacing: 0;
  }

  .navbar { padding: 0 10px; gap: 2px; }
  .navbar-logo { gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
  .navbar-logo-img { height: 40px; width: auto; flex-shrink: 0; }
  .navbar-brand-text { font-size: 13px; letter-spacing: 0.8px; overflow: hidden; text-overflow: ellipsis; }
  .navbar-icons { flex-shrink: 0; }
  .navbar-icons a, .navbar-icons button { width: 30px; height: 30px; font-size: 13px; }
  .navbar-icons { gap: 0; }
  .navbar-icons a, .navbar-icons button { width: 32px; height: 32px; font-size: 14px; }

  /* Hide account icon on very small screens */
  .navbar-icons .hide-xs { display: none; }

  /* Hero */
  .slide-bg { height: 240px; gap: 10px; }
  .slide-bg .slide-tag { font-size: 9px; letter-spacing: 2px; }
  .slide-bg h2 { font-size: 24px; letter-spacing: 0.5px; }
  .slide-bg p { font-size: 12px; display: none; }
  .slide-bg .slide-cta { padding: 9px 22px; font-size: 11px; margin-top: 2px; }
  .slider-btn { width: 32px; height: 32px; font-size: 13px; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-name { font-size: 12px; }
  .price-current { font-size: 13px; }
  .price-original { font-size: 11px; }
  .price-discount { font-size: 10px; }
  .product-scroll .product-card { min-width: 145px; }
  .product-badge { font-size: 9px; padding: 2px 5px; top: 6px; left: 6px; }

  /* Banner */
  .banner-item-inner { height: 200px; }
  .banner-item-inner h2 { font-size: 20px; }
  .banner-item-inner .banner-btn { padding: 7px 18px; font-size: 10px; }

  /* Sale banner */
  .sale-banner-full { padding: 36px 16px; }
  .sale-banner-full h2 { font-size: 28px; letter-spacing: 1px; }
  .sale-banner-full p { font-size: 13px; }
  .sale-banner-full a { padding: 11px 28px; font-size: 11px; }
  .sale-banner-full .sale-bg-text { display: none; }

  /* Section */
  .section { padding: 22px 12px; }
  .section-title { font-size: 14px; margin-bottom: 12px; }

  /* Features */
  .features-bar { padding: 0; }
  .feature-item .icon { font-size: 22px; }
  .feature-item h4 { font-size: 11px; }
  .feature-item p { font-size: 11px; }

  /* Newsletter */
  .newsletter-section { padding: 32px 14px; }
  .newsletter-section h2 { font-size: 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input {
    border-right: 2px solid var(--black);
    border-bottom: none;
    width: 100%;
  }
  .newsletter-form button { width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* Toast */
  .toast { font-size: 11px; padding: 10px 18px; bottom: 16px; }

  /* Coupon highlight bar — mobile */
  .coupon-highlight-bar { padding: 6px 10px; }
  .cpn-bar-label { font-size: 9px; padding: 2px 6px; }
  .cpn-chip { padding: 6px 8px; gap: 5px; border-radius: 8px; }
  .cpn-best-tag { font-size: 7px; padding: 1px 4px; top: -6px; left: 6px; }
  .cpn-code { font-size: 10px; padding: 2px 5px; }
  .cpn-disc { font-size: 11px; }
  .cpn-copy-btn { height: 20px; font-size: 9px; padding: 0 6px; }
}

/* ===========================
   RESPONSIVE — SMALL 360px
   =========================== */
@media (max-width: 360px) {
  :root { --navbar-h: 54px; }
  .navbar { padding: 0 8px; gap: 2px; }
  .navbar-logo { gap: 5px; flex: 1; min-width: 0; }
  .navbar-logo-img { height: 36px; }
  .navbar-brand-text { font-size: 12px; letter-spacing: 0.5px; }
  .navbar-icons { gap: 0; flex-shrink: 0; }
  .navbar-icons a, .navbar-icons button { width: 28px; height: 28px; font-size: 13px; }
  .hamburger { width: 28px; height: 28px; gap: 4px; flex-shrink: 0; }
  .hamburger span { width: 18px; }
  .slide-bg h2 { font-size: 20px; }
  .product-grid { gap: 6px; }
  .product-scroll .product-card { min-width: 130px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===========================
   RESPONSIVE — TINY 320px
   =========================== */
@media (max-width: 320px) {
  :root { --navbar-h: 50px; }
  .navbar { padding: 0 6px; gap: 2px; }
  .navbar-logo { gap: 4px; }
  .navbar-logo-img { height: 32px; }
  .navbar-brand-text { font-size: 10px; letter-spacing: 0.3px; }
  .navbar-icons a, .navbar-icons button { width: 26px; height: 26px; font-size: 12px; }
  /* Keep wishlist icon visible on all screen sizes */
}

/* ===========================
   SEARCH SUGGESTIONS DROPDOWN
   =========================== */
.search-overlay {
  position: relative;
  flex-wrap: wrap;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid #eee;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 2100;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.search-suggestions.active { display: block; }

.search-suggestions::-webkit-scrollbar { width: 4px; }
.search-suggestions::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.suggestion-section-title {
  padding: 10px 20px 6px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #aaa;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

/* Trending tags */
.suggestion-trending {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px 14px;
}

.trending-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--gray-light);
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.trending-tag:hover,
.trending-tag.focused {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.trending-tag .fa-fire { color: var(--red); font-size: 10px; }
.trending-tag:hover .fa-fire,
.trending-tag.focused .fa-fire { color: var(--yellow); }

/* Suggestion items */
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--black);
  transition: background 0.12s;
  border-bottom: 1px solid #f8f8f8;
}

.suggestion-item:hover,
.suggestion-item.focused { background: var(--gray-light); }

.sug-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #888;
  flex-shrink: 0;
}

.category-suggestion .sug-icon { background: #e8f5e9; color: #388e3c; }
.product-suggestion .sug-icon  { background: #e3f2fd; color: #1565c0; }

.sug-label {
  flex: 1;
  font-size: 13px;
  font-family: var(--font-main);
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sug-label mark {
  background: none;
  color: var(--black);
  font-weight: 700;
}

.sug-price {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}

.sug-arrow {
  color: #ccc;
  font-size: 12px;
  flex-shrink: 0;
}

/* View all */
.suggestion-view-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  background: #fff8f8;
  border-top: 1px solid #fee;
  transition: background 0.15s;
}

.suggestion-view-all:hover { background: #fff0f0; }
.suggestion-view-all strong { color: var(--black); }

/* No result */
.suggestion-no-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 13px;
  color: #888;
  font-family: var(--font-main);
}

.suggestion-no-result .fa { color: #ccc; }
.suggestion-no-result strong { color: var(--black); }

/* Responsive */
@media (max-width: 600px) {
  .search-suggestions { max-height: 300px; }
  .suggestion-trending { padding: 10px 14px 12px; gap: 6px; }
  .trending-tag { font-size: 10px; padding: 5px 10px; }
  .suggestion-item { padding: 9px 14px; gap: 10px; }
  .sug-label { font-size: 12px; }
  .suggestion-section-title { padding: 8px 14px 5px; }
  .suggestion-view-all { padding: 10px 14px; font-size: 11px; }
}
