/* ==========================================================
   DRESSIVA – Custom Stylesheet
   Bootstrap 5 base + Custom overrides
   ========================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --orange:        #f07b2b;
  --orange-dark:   #d96a18;
  --orange-light:  #ffa64d;
  --navy:          #0a0e3d;
  --navy-light:    #1a1a6e;
  --text-dark:     #1a1a1a;
  --text-mid:      #555;
  --text-light:    #999;
  --border-light:  #e8e8e8;
  --white:         #ffffff;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Poppins', sans-serif;
  --transition:    all 0.3s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  overflow-x: hidden;
  margin: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
button { border: none; background: none; cursor: pointer; }


/* ==========================================================
   SECTION 1: HEADER
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--white);
  padding: 10px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--text-dark);
}

/* Header Icons */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--text-dark);
  font-size: 1rem;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover { color: var(--orange); background: rgba(240,123,43,0.08); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search Bar */
.search-bar-wrap {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 12px 0;
}

.search-bar-wrap.open { display: block; }

.search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus { border-color: var(--orange); }

.search-close {
  color: var(--text-mid);
  font-size: 1rem;
  padding: 8px;
  transition: var(--transition);
}
.search-close:hover { color: var(--orange); }


/* ==========================================================
   SECTION 2: MAIN NAVIGATION
   ========================================================== */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 var(--border-light);
  position: sticky;
  top: 50px;
  z-index: 1050;
}

.main-nav .container,
.main-nav .container-fluid {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
}

/* Nav List */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item { position: relative; }

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link-item:hover,
.nav-item.active .nav-link-item {
  color: var(--orange);
}

.nav-arrow {
  font-size: 0.55rem;
  transition: transform 0.3s ease;
}

.mega-trigger.open .nav-arrow {
  transform: rotate(180deg);
}

/* Hamburger (mobile) */
.nav-hamburger {
  font-size: 1.2rem;
  color: var(--text-dark);
  padding: 8px;
}


/* ---------- MEGA MENU ---------- */
.mega-menu {
  position: fixed;
  top: 98px; /* header (50px) + nav (48px) */
  left: 0;
  width: 100vw;
  background: var(--white);
  border-top: 2px solid var(--orange);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  padding: 32px 0;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col {
  padding: 0 24px;
  border-right: 1px solid var(--border-light);
}
.mega-col:last-child { border-right: none; }

.mega-cat-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.mega-links li { margin-bottom: 8px; }

.mega-links a {
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: var(--transition);
}

.mega-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

/* Featured image panel */
.mega-featured { padding: 0 24px; }

.mega-feat-img {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.mega-feat-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mega-feat-img:hover img { transform: scale(1.04); }

.mega-feat-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  padding: 20px 16px 16px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-feat-overlay span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.mega-feat-overlay a {
  font-size: 0.8rem;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 4px 12px;
  border-radius: 2px;
  width: fit-content;
  transition: var(--transition);
}

.mega-feat-overlay a:hover {
  background: var(--white);
  color: var(--text-dark);
}

/* Mega Overlay (darken page) */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1039;
  display: none;
}

.mega-overlay.show { display: block; }


/* Mobile: nav bar hidden (drawer replaces it) */
@media (max-width: 991px) {
  .main-nav { display: none; }
}

/* Mobile header: hamburger left | logo center | icons right */
@media (max-width: 991px) {
  .header-inner {
    position: relative;
  }
  .header-inner .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}


/* ==========================================================
   SECTION 3: STORY CIRCLES
   ========================================================== */
.story-section {
  padding: 28px 0 20px;
  background: var(--white);
}

/* Fluid on mobile, contained on desktop */
.story-section-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (max-width: 991px) {
  .story-section-container {
    max-width: 100%;
    padding: 0;
  }
}

.story-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 24px;
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.story-row::-webkit-scrollbar { display: none; }
.story-row.dragging { cursor: grabbing; user-select: none; }

.story-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

/* Circle border (gradient orange) */
.story-circle-wrap {
  padding: 3px;
}

.story-circle-border {
  background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
  border-radius: 50%;
  padding: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-circle-border--seen {
  background: linear-gradient(135deg, #ccc, #aaa);
}

.story-item:hover .story-circle-border {
  transform: scale(1.07);
  box-shadow: 0 4px 18px rgba(240,123,43,0.4);
}

.story-circle-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  background: #f0f0f0;
}

.story-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 575px) {
  .story-row { padding: 8px 12px; gap: 14px; }
  .story-circle-inner { width: 72px; height: 72px; }
}


/* ==========================================================
   TIKTOK-STYLE VIDEO PLAYER
   ========================================================== */
.tiktok-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9990;
  display: none;
}

.tiktok-overlay.show { display: block; }

.tiktok-player {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tiktok-player.show { display: flex; }

/* Progress bars */
.tk-progress-bars {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10001;
  width: min(400px, 92vw);
}

.tk-bar {
  flex: 1;
  height: 2.5px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.tk-bar-fill {
  height: 100%;
  background: var(--white);
  width: 0%;
  border-radius: 2px;
}

.tk-bar.done .tk-bar-fill { width: 100%; }

.tk-bar.active .tk-bar-fill {
  animation: tkBarFill var(--tk-duration, 10s) linear forwards;
}

@keyframes tkBarFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Top controls */
.tk-top-controls {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10002;
}

.tk-close {
  color: var(--white);
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tk-close:hover { background: rgba(255,255,255,0.3); }

/* Video wrap */
.tk-video-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 16px;
  padding: 0 12px;
}

/* Nav areas (click left half / right half to navigate) */
.tk-nav-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 1.2rem;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.tk-nav-area:hover { background: rgba(255,255,255,0.35); }

/* Video container */
.tk-video-container {
  position: relative;
  width: min(360px, 85vw);
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

#tkVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info overlay */
.tk-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 40px 18px 20px;
  color: var(--white);
}

.tk-info-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.tk-info-sub {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.tk-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 3px;
  transition: var(--transition);
}

.tk-shop-btn:hover { background: var(--orange-dark); }

@media (max-width: 480px) {
  .tk-nav-area { display: none; }
  .tk-video-container { width: 95vw; }
}


/* ==========================================================
   SECTION 4: HERO BANNER SLIDER
   ========================================================== */
.hero-slider-section { overflow: hidden; }

.hero-slide {
  display: flex;
  align-items: stretch;
  min-height: 520px;
  position: relative;
}

/* Left & Right image panels */
.hero-img-panel {
  width: 25%;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-item.active .hero-img-panel img {
  animation: heroImgIn 0.6s ease both;
}

@keyframes heroImgIn {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Center content panel */
.hero-content-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--white);
}

.hero-text { text-align: center; }

.hero-collection-name {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-collection-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hero-discount {
  font-size: 0.85rem;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-shop-btn {
  display: inline-block;
  background: var(--text-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 13px 36px;
  border-radius: 2px;
  transition: var(--transition);
}

.hero-shop-btn:hover { background: var(--orange); color: var(--white); }

/* Custom dot indicators */
.hero-dots {
  bottom: 16px !important;
}

.hero-dots button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.5) !important;
  border: none !important;
  opacity: 1 !important;
  margin: 0 4px !important;
  transition: var(--transition);
}

.hero-dots button.active {
  background: var(--orange) !important;
  transform: scale(1.25);
}

/* Hero Slider Mobile */
@media (max-width: 767px) {
  .hero-slide {
    flex-direction: column;
    min-height: auto;
  }

  .hero-img-panel {
    width: 100%;
    height: 260px;
  }

  .hero-img-left { display: block; }
  .hero-img-right { display: none; }

  .hero-content-panel { padding: 28px 20px; }

  .hero-collection-name { font-size: 2rem; }
  .hero-collection-sub { font-size: 0.75rem; }
}


/* ==========================================================
   SECTION 5: SHOP BY CATEGORIES
   ========================================================== */
.shop-by-cat-section {
  padding: 60px 0 40px;
  background: var(--white);
}

.section-title-main {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0;
}

/* Category circle item */
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.cat-item:hover { transform: translateY(-4px); }

.cat-circle-wrap { padding: 3px; }

.cat-circle-border {
  background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
  border-radius: 50%;
  padding: 3px;
  transition: box-shadow 0.25s ease;
}

.cat-item:hover .cat-circle-border {
  box-shadow: 0 6px 20px rgba(240,123,43,0.4);
}

.cat-circle-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  background: #f0f0f0;
}

.cat-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
}

/* 8-column on large screens (lg = 992px+) */
@media (min-width: 992px) {
  #catGrid .col { flex: 0 0 12.5%; max-width: 12.5%; }
  #catGrid { flex-wrap: nowrap; }
}

/* Tablet: bigger circles */
@media (max-width: 991px) and (min-width: 576px) {
  .cat-circle-inner { width: 100px; height: 100px; }
  .cat-label { font-size: 0.72rem; }
}

/* Mobile: 2-col, bigger circles */
@media (max-width: 575px) {
  #catGrid { gap: 0; row-gap: 24px !important; }
  #catGrid .col { flex: 0 0 50%; max-width: 50%; }
  .cat-circle-inner { width: 110px; height: 110px; }
  .cat-circle-border { padding: 3px; }
  .cat-label { font-size: 0.7rem; margin-top: 2px; }
}


/* ==========================================================
   SECTION 6: BIG OFFER + PRODUCT SLIDER
   ========================================================== */
.big-offer-section {
  padding: 60px 0 50px;
  background: var(--white);
}

/* Left text */
.big-offer-text-col {
  padding-right: 32px;
}

.big-offer-text {
  padding: 20px 0;
}

.big-offer-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 18px;
}

.big-offer-desc {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
  text-align: center;
}

.big-offer-btn {
  display: block;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 14px 24px;
  border-radius: 3px;
  transition: var(--transition);
  width: 100%;
}

.big-offer-btn:hover { background: var(--orange-dark); color: var(--white); }

/* Mobile: text stacks on top */
@media (max-width: 991px) {
  .big-offer-section { padding: 32px 0 28px; }

  .big-offer-text-col {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .big-offer-heading { text-align: center; }
  .big-offer-btn { max-width: 260px; margin: 0 auto; display: block; }
}

/* Product Slider Wrapper */
.product-slider-col { padding: 0 12px; }

.product-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-slider-overflow {
  overflow: hidden;
  flex: 1;
}

.product-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Product Card */
.product-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
}

.prod-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: #f5f5f5;
  margin-bottom: 12px;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .prod-img-wrap img { transform: scale(1.05); }

.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 1;
}

.prod-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.prod-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-sale {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.price-original {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Slider Arrows */
.prod-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.prod-arrow:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.prod-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Mobile: 2 cards per view */
@media (max-width: 991px) {
  .product-card { flex: 0 0 calc(50% - 8px); }

  /* Arrows: leave flex, reposition as absolute overlays on the track */
  .product-slider-col { padding: 0 !important; }

  .product-slider-wrap {
    position: relative;
    gap: 0;
  }

  .product-slider-overflow { width: 100%; }

  .prod-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
    width: 28px;
    height: 28px;
    font-size: 0.62rem;
    background: rgba(255,255,255,0.90);
    box-shadow: 0 1px 6px rgba(0,0,0,0.18);
    border-color: transparent;
  }

  .prod-arrow-prev { left: 6px; }
  .prod-arrow-next { right: 6px; }
}

@media (max-width: 575px) {
  .product-card { flex: 0 0 calc(50% - 8px); }
  .prod-name { font-size: 0.65rem; }
  .price-sale { font-size: 0.75rem; }
}


/* ==========================================================
   SECTION 7: NEW ARRIVALS
   ========================================================== */
.new-arrivals-section {
  padding: 70px 0 60px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

/* Title */
.na-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.na-subtitle {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0 0 24px;
}

/* Tabs */
.na-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.na-tab {
  background: none;
  border: none;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.na-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.na-tab.active {
  color: var(--text-dark);
  font-weight: 600;
}

.na-tab.active::after { transform: scaleX(1); }
.na-tab:hover { color: var(--text-dark); }
.na-tab:hover::after { transform: scaleX(1); }

/* Tab Panels */
.na-panel { display: none; }
.na-panel.active { display: block; }

/* Product Card */
.na-card {
  display: block;
  color: inherit;
  transition: var(--transition);
}

.na-card:hover { color: inherit; }

.na-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 3px;
  background: #f5f5f5;
  margin-bottom: 12px;
}

.na-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.na-card:hover .na-img-wrap img { transform: scale(1.04); }

.na-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 2px;
  z-index: 1;
}

.na-info { padding: 0 2px; }

.na-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-mid);
  margin-bottom: 6px;
  line-height: 1.4;
}

.na-card:hover .na-name { color: var(--orange); }

.na-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.na-sale {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.na-original {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Mobile tweaks */
@media (max-width: 575px) {
  .na-name    { font-size: 0.62rem; letter-spacing: 0.1em; }
  .na-sale    { font-size: 0.75rem; }
  .na-original { font-size: 0.68rem; }
  .na-badge   { font-size: 0.58rem; padding: 2px 7px; }
}


/* ==========================================================
   SECTION 8: DISCOUNT TREASURES
   ========================================================== */
.dt-section {
  position: relative;
  padding: 80px 0 70px;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&h=900&fit=crop');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  overflow: hidden;
}

.dt-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,14,61,0.88) 0%, rgba(20,10,10,0.80) 100%);
  z-index: 0;
}

.dt-inner {
  position: relative;
  z-index: 1;
}

/* Header */
.dt-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dt-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.dt-subtitle {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* Countdown */
.dt-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.dt-count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  min-width: 72px;
  padding: 14px 12px 10px;
  backdrop-filter: blur(4px);
}

.dt-count-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}

.dt-count-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-top: 5px;
}

.dt-count-sep {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  align-self: flex-start;
  margin-top: 12px;
}

/* Product grid on dark background */
.dt-grid { margin-top: 0; }

.dt-card .na-img-wrap { border-radius: 4px; }

.dt-card .na-name { color: rgba(255,255,255,0.80); }

.dt-card:hover .na-name { color: var(--orange); }

.dt-card .na-sale { color: #fff; }

.dt-card .na-original { color: rgba(255,255,255,0.45); }

.dt-card .na-badge { background: var(--orange); }

@media (max-width: 575px) {
  .dt-count-num  { font-size: 1.6rem; }
  .dt-count-box  { min-width: 58px; padding: 10px 8px 8px; }
  .dt-count-sep  { font-size: 1.4rem; margin-top: 10px; }
  .dt-section    { background-attachment: scroll; }
}

@media (max-width: 767px) {
  .dt-section { background-attachment: scroll; }
}


/* ==========================================================
   SECTION 9: HIGHLIGHT OF THE WEEK
   ========================================================== */
.hotw-section {
  padding: 70px 0 60px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.hotw-header { margin-bottom: 40px; }

.hotw-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}

.hotw-subtitle {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-mid);
  margin: 0;
}

/* Card wrapper */
.hotw-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.09);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

/* Left image column */
.hotw-img-col {
  flex: 0 0 55%;
  position: relative;
}

.hotw-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

/* Slider arrows */
.hotw-prev,
.hotw-next {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.85) !important;
  border-radius: 50%;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotw-prev { left: 10px; }
.hotw-next { right: 10px; }

.hotw-arrow-icon {
  color: var(--text-dark);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dot indicators */
.hotw-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hotw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}

.hotw-dot.active { background: var(--orange); }

/* Right info column */
.hotw-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.hotw-prod-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.hotw-divider {
  border: none;
  border-top: 1.5px solid var(--text-dark);
  margin: 0 0 16px;
  opacity: 1;
}

.hotw-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hotw-desc {
  font-size: 0.84rem;
  color: var(--orange);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hotw-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 28px;
  border-radius: 3px;
  transition: background 0.25s ease;
  align-self: flex-start;
}

.hotw-btn:hover {
  background: var(--orange-dark);
  color: #fff;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
  .hotw-card {
    flex-direction: column;
    max-width: 100%;
  }

  .hotw-img-col { flex: none; width: 100%; }

  .hotw-slide-img { aspect-ratio: 4 / 3; }

  .hotw-info-col { padding: 28px 24px 32px; }

  .hotw-prod-name { font-size: 1.15rem; }
}

@media (max-width: 575px) {
  .hotw-info-col { padding: 22px 18px 28px; }
  .hotw-prod-name { font-size: 1rem; }
  .hotw-price { font-size: 0.92rem; }
}


/* ==========================================================
   SECTION 10: WATCH AND SHOP
   ========================================================== */
.watch-shop-section {
  padding: 60px 0 50px;
  background: #fafafa;
  border-top: 1px solid var(--border-light);
}

.watch-shop-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.story-row--large .story-circle-inner {
  width: 110px;
  height: 110px;
}

.story-row--large .story-item {
  gap: 10px;
}

.ws-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  text-align: center;
}

.story-row--large {
  gap: 32px;
}

@media (max-width: 575px) {
  .story-row--large .story-circle-inner { width: 80px; height: 80px; }
  .story-row--large { gap: 16px; flex-wrap: wrap; }
}


/* ==========================================================
   SECTION 11: OUR COMMUNITY SLIDER
   ========================================================== */
.oc-section {
  padding: 70px 0 60px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}

.oc-header { margin-bottom: 52px; }

.oc-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--orange);
  margin: 0;
}

/* Slider wrapper */
.oc-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

/* Stage: overflow visible so side cards peek out */
.oc-stage {
  position: relative;
  width: 100%;
  height: 480px;
}

/* Each slide — all positioned absolutely, transformed by JS */
.oc-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 300px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1),
              opacity   0.5s ease,
              z-index   0s 0.25s;
  will-change: transform, opacity;
  user-select: none;
}

.oc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 5 / 6;
  pointer-events: none;
}

/* States set by JS via data-pos attribute */
/* center = active */
.oc-slide[data-pos="center"] {
  z-index: 10;
  opacity: 1;
  transform: translateX(-50%) translateY(-50%) rotate(0deg) scale(1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

/* immediate left */
.oc-slide[data-pos="left"] {
  z-index: 5;
  opacity: 0.85;
  transform: translateX(calc(-50% - 240px)) translateY(-50%) rotate(-6deg) scale(0.88);
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}

/* immediate right */
.oc-slide[data-pos="right"] {
  z-index: 5;
  opacity: 0.85;
  transform: translateX(calc(-50% + 240px)) translateY(-50%) rotate(6deg) scale(0.88);
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}

/* far left */
.oc-slide[data-pos="far-left"] {
  z-index: 1;
  opacity: 0;
  transform: translateX(calc(-50% - 480px)) translateY(-50%) rotate(-10deg) scale(0.7);
  pointer-events: none;
}

/* far right */
.oc-slide[data-pos="far-right"] {
  z-index: 1;
  opacity: 0;
  transform: translateX(calc(-50% + 480px)) translateY(-50%) rotate(10deg) scale(0.7);
  pointer-events: none;
}

/* hidden (all others) */
.oc-slide[data-pos="hidden"] {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* Arrows */
.oc-arrow {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.oc-arrow:hover { color: var(--text-dark); }
.oc-prev { left: 0; }
.oc-next { right: 0; }

/* Dots */
.oc-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.oc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #ddd;
  cursor: pointer;
  transition: background 0.25s ease;
}

.oc-dot.active { background: var(--orange); }

/* Responsive */
@media (max-width: 767px) {
  .oc-slider-wrap { min-height: 360px; }
  .oc-stage       { height: 360px; }
  .oc-slide       { width: 200px; }
  .oc-slide[data-pos="left"]  { transform: translateX(calc(-50% - 150px)) translateY(-50%) rotate(-6deg) scale(0.88); }
  .oc-slide[data-pos="right"] { transform: translateX(calc(-50% + 150px)) translateY(-50%) rotate(6deg) scale(0.88); }
  .oc-prev { left: -4px; }
  .oc-next { right: -4px; }
}

@media (max-width: 480px) {
  .oc-slider-wrap { min-height: 300px; }
  .oc-stage       { height: 300px; }
  .oc-slide       { width: 160px; }
  .oc-slide[data-pos="left"]  { transform: translateX(calc(-50% - 120px)) translateY(-50%) rotate(-6deg) scale(0.88); }
  .oc-slide[data-pos="right"] { transform: translateX(calc(-50% + 120px)) translateY(-50%) rotate(6deg) scale(0.88); }
}


/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer-bar {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 0;
}

.footer-brand .logo-text { color: var(--white); font-size: 1.1rem; }

.footer-brand p {
  font-size: 0.8rem;
  margin-top: 10px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--orange); }

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.footer-social a {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-social a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  margin: 0;
  color: rgba(255,255,255,0.4);
}


/* ==========================================================
   UTILITIES / SCROLL
   ========================================================== */
html { scroll-behavior: smooth; }

/* Thin scrollbar on webkit */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }


/* ==========================================================
   MOBILE DRAWER NAVIGATION
   ========================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 285px;
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open { left: 0; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1199;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay.show { display: block; opacity: 1; }

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1;
}

.drawer-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--text-dark);
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-mid);
  border-radius: 50%;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  color: var(--orange);
  background: rgba(240,123,43,0.08);
}

/* Drawer Nav */
.drawer-nav { flex: 1; padding: 4px 0; }
.drawer-list { padding: 0; }

.drawer-item {
  border-bottom: 1px solid var(--border-light);
}

/* Main nav link (level 1) */
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  text-decoration: none;
}

.drawer-link:hover { color: var(--orange); background: rgba(240,123,43,0.04); }

.drawer-arrow {
  font-size: 0.55rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  margin-left: 6px;
}

.drawer-item.open > .drawer-link > .drawer-arrow {
  transform: rotate(180deg);
}

/* Sub list (level 2) */
.drawer-sub {
  display: none;
  background: #f8f8f8;
  border-top: 1px solid var(--border-light);
}

.drawer-item.open > .drawer-sub { display: block; }

.drawer-sub-item {
  border-top: 1px solid #efefef;
}

.drawer-sub-item:first-child { border-top: none; }

/* Sub link (level 2) */
.drawer-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 20px 10px 30px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.drawer-sub-link:hover { color: var(--orange); }

.drawer-sub-item.open > .drawer-sub-link > .drawer-arrow {
  transform: rotate(90deg);
}

/* Child list (level 3) */
.drawer-child {
  display: none;
  background: #f2f2f2;
  border-top: 1px solid #e8e8e8;
}

.drawer-sub-item.open > .drawer-child { display: block; }

.drawer-child li a {
  display: block;
  padding: 9px 20px 9px 44px;
  font-size: 0.76rem;
  color: var(--text-mid);
  transition: var(--transition);
}

.drawer-child li a:hover {
  color: var(--orange);
  padding-left: 48px;
}
