/* ==================== HOME PAGE STYLES ==================== */

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

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-100: #F7F7F7;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-700: #404040;
  --accent: #FF6B35;
  --accent-light: #FFF0EB;
  --accent-dark: #e55a2b;
  --success: #10B981;
  --gold: #F59E0B;

  --hero-demo-image: url('https://images.unsplash.com/photo-1515488042361-ee00e0ddd4e4?auto=format&fit=crop&w=1600&q=80');
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

/* ==================== ANNOUNCEMENT BAR ==================== */
.announcement-bar {
  background: var(--accent);
  color: var(--white);
  height: 38px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announcement-track {
  display: flex;
  animation: scrollText 35s linear infinite;
  white-space: nowrap;
  width: max-content;
  align-items: center;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.announcement-item i {
  font-size: 0.75rem;
  color: white;
}

.announcement-item strong {
  font-weight: 800;
}

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

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.hidden {
  transform: translateY(-148px);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo i {
  color: var(--accent);
  font-size: 1.8rem;
}

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

.search-container {
  flex: 1;
  max-width: 600px;
  margin: 0 3rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 0.4rem 0.5rem 0.4rem 1.2rem;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.search-bar:focus-within {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  outline: none;
  color: var(--black);
  padding: 0.5rem 0;
}

.search-bar input::placeholder {
  color: var(--gray-500);
}

.search-btn {
  background: var(--accent);
  border: none;
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.search-btn:hover {
  background: var(--accent-dark);
}

.header-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-shrink: 0;
}

.header-action {
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.header-action:hover {
  color: var(--accent);
}

.header-action .badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

/* ==================== PAGE START ==================== */
.page-start {
  margin-top: 113px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding: 1rem 3rem 0;
  background: var(--white);
}

.hero-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* ==================== HERO CAROUSEL ==================== */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 24px;
  min-height: 460px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 2.5rem 2.5rem 3.5rem;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.38) 45%, rgba(0,0,0,0.18) 100%),
    var(--hero-demo-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 120px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.3);
}

.slide-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  color: var(--white);
}

.slide-content h1 .highlight {
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 6px;
}

.slide-content p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  max-width: 460px;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}

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

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}

.slide-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
}

.slide-image {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image img {
  width: 100%;
  max-width: 320px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

.carousel-slide:hover .slide-image img {
  transform: scale(1.03);
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
  transform: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--white);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  font-size: 0.9rem;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
  left: 1rem;
}

.carousel-arrow.next {
  right: 1rem;
}

/* ==================== FLASH DEALS RIGHT SIDE ==================== */
.hero-flash-panel {
  min-width: 0;
  display: flex;
}

.hero-flash-deals {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.flash-deals-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-light);
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  width: fit-content;
}

.flash-deals-title i {
  color: var(--accent);
}

/* ── Flash Deal Card — Full Image Background ───────── */
.flash-deal-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  flex: 1;
  min-height: 200px;
  display: flex;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.flash-deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.flash-deal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}

.flash-deal-card:hover .flash-deal-bg {
  transform: scale(1.08);
}

.flash-deal-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  padding: 0.85rem;
}

.flash-deal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.flash-deal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.flash-deal-off {
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
}

.flash-deal-bottom {
  margin-top: auto;
}

.flash-deal-bottom h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.flash-deal-bottom p {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-deal-bottom .flash-price-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.flash-deal-bottom .flash-price-row .cur {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.flash-deal-bottom .flash-price-row .ori {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
}

.flash-deal-bottom .flash-timer-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.flash-deal-bottom .flash-timer-lbl {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.flash-deal-bottom .flash-timer-boxes {
  display: flex;
  gap: 0.18rem;
  align-items: center;
}

.flash-deal-bottom .t-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.flash-deal-bottom .t-sep {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 0.72rem;
}

/* Flash Deal Buttons — Carousel Style */
.flash-deal-btns {
  display: flex;
  gap: 0.5rem;
}

.flash-btn-primary {
  flex: 1;
  padding: 0.55rem 0.8rem;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.flash-btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.flash-btn-outline {
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flash-btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ==================== CATEGORIES BAR ==================== */
.categories-section {
  padding: 1.5rem 3rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.categories-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  position: relative;
}

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

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 90px;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--black);
  overflow: hidden;
  transition: all 0.35s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cat-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85px;
  height: 85px;
  object-fit: contain;
  opacity: 0.08;
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 0;
  transition: all 0.4s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s ease;
  transform: translateX(-100%);
}

.category-card:hover::before {
  transform: translateX(60%);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.cat-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.cat-card-content i {
  font-size: 1.3rem;
  color: var(--accent);
  transition: all 0.3s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cat-card-content span {
  font-size: 0.72rem;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: 0.2px;
  color: var(--black);
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow:
    0 12px 32px rgba(255, 107, 53, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.65);
}

.category-card:hover .cat-bg-img {
  opacity: 0.14;
  filter: blur(1px);
  transform: translate(-50%, -50%) scale(1.15);
}

.category-card:hover .cat-card-content i {
  color: var(--accent);
  transform: scale(1.15);
}

.category-card:hover .cat-card-content span {
  color: var(--accent);
}

.category-card:active {
  transform: translateY(-1px) scale(0.97);
  box-shadow:
    0 4px 12px rgba(255, 107, 53, 0.08),
    inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 3.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--black);
}

.section-subtitle {
  color: var(--gray-500);
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.view-all {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--gray-200);
  border-radius: 25px;
  transition: all 0.3s;
  font-size: 0.82rem;
}

.view-all:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ==================== DOTD + TRENDING SIDE BY SIDE ==================== */
.dotd-trending-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1.5rem;
  align-items: start;
}

/* ── DOTD Column (LEFT) ────────────────────────────── */
.dotd-column {
  min-width: 0;
  position: sticky;
  top: 130px;
}

.dotd-column-header {
  margin-bottom: 1.25rem;
}

.dotd-column-header .section-title {
  font-size: 1.3rem;
}

.dotd-column-header .section-subtitle {
  font-size: 0.78rem;
}

/* ── DOTD Vertical Card ────────────────────────────── */
.dotd-card-vertical {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.dotd-card-vertical:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.dotd-card-vertical .dotd-image-wrap {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
}

.dotd-card-vertical .dotd-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.dotd-card-vertical .dotd-image-wrap:hover img {
  transform: scale(1.04);
}

.dotd-card-vertical .dotd-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dotd-card-vertical .dotd-discount-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--black);
  color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 25px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── DOTD Content Vertical ─────────────────────────── */
.dotd-content-vertical {
  padding: 1.15rem;
}

.dotd-content-vertical .dotd-category {
  font-size: 0.62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.dotd-content-vertical h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dotd-content-vertical p {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dotd-content-vertical .dotd-timer-label {
  font-size: 0.65rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dotd-timer-compact {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.dotd-time-sm {
  width: 44px !important;
  height: 44px !important;
  font-size: 1.1rem !important;
  border-radius: 10px !important;
  background: var(--accent) !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
}

.dotd-content-vertical .dotd-time-lbl {
  font-size: 0.55rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.dotd-content-vertical .dotd-timer-sep {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.dotd-content-vertical .dotd-price-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.dotd-content-vertical .dotd-price-cur {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
}

.dotd-content-vertical .dotd-price-ori {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.dotd-content-vertical .dotd-price-save {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.dotd-content-vertical .dotd-stock {
  margin-bottom: 0.85rem;
}

.dotd-content-vertical .dotd-stock-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--gray-500);
  margin-bottom: 0.3rem;
}

.dotd-content-vertical .dotd-stock-bar {
  background: var(--gray-200);
  border-radius: 10px;
  height: 5px;
  overflow: hidden;
}

.dotd-content-vertical .dotd-stock-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  transition: width 1s ease;
}

.dotd-btns-vertical {
  display: flex;
  gap: 0.6rem;
}

.dotd-btns-vertical .dotd-btn-primary {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.dotd-btns-vertical .dotd-btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.dotd-btns-vertical .dotd-btn-secondary {
  padding: 0.75rem;
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.85rem;
  min-width: 44px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dotd-btns-vertical .dotd-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Trending Column (RIGHT) ──────────────────────── */
.trending-column {
  min-width: 0;
}

.trending-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
}

.trending-loading {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ==================== SHOP BY CATEGORY ==================== */
.shop-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.shop-cat-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 200px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}

.shop-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.shop-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.shop-cat-card:hover img {
  transform: scale(1.07);
}

.shop-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
}

.shop-cat-overlay h3 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.shop-cat-overlay .cat-count {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
}

.cat-btn {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  width: fit-content;
  transition: all 0.3s;
}

.shop-cat-card:hover .cat-btn {
  background: white;
  color: var(--black);
}

/* ==================== PRODUCTS GRID ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.1);
  border-color: transparent;
}

.product-image {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-new { background: var(--black); color: var(--white); }
.badge-sale { background: var(--accent); color: var(--white); }
.badge-hot { background: var(--gold); color: var(--black); }

.product-actions {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  display: flex;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.action-btn {
  flex: 1;
  padding: 0.7rem;
  background: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.action-btn.wishlist {
  flex: none;
  width: 38px;
  font-size: 0.9rem;
}

.action-btn.wishlist:hover {
  background: var(--accent);
  color: var(--white);
}

.product-info {
  padding: 1rem;
}

.product-category {
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--black);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}

.product-rating i { color: var(--gold); font-size: 0.7rem; }
.product-rating span { font-size: 0.7rem; color: var(--gray-500); margin-left: 0.2rem; }

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-current { font-size: 1rem; font-weight: 700; color: var(--black); }
.price-original { color: var(--gray-500); text-decoration: line-through; font-size: 0.8rem; }

.price-discount {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

/* ==================== TRUST SECTION ==================== */
.trust-section {
  padding: 2.5rem 3rem;
  background: var(--accent-light);
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.trust-inner { max-width: 1400px; margin: 0 auto; }
.trust-header { text-align: center; margin-bottom: 1.5rem; }

.trust-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}

.trust-header p { color: var(--gray-500); font-size: 0.82rem; margin-top: 0.25rem; }

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

.trust-item {
  text-align: center;
  padding: 1.4rem 1rem;
  background: var(--white);
  border-radius: 14px;
  border: 1.5px solid rgba(255,107,53,0.1);
  transition: all 0.3s;
}

.trust-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255,107,53,0.1);
}

.trust-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.1rem;
  color: white;
}

.trust-item h4 { font-size: 0.85rem; font-weight: 700; color: var(--black); margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.72rem; color: var(--gray-500); line-height: 1.5; }

/* ==================== REVIEWS ==================== */
.reviews-section {
  padding: 2.5rem 3rem;
  background: var(--white);
}

.reviews-inner { max-width: 1400px; margin: 0 auto; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: var(--gray-100);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.review-card:hover {
  background: var(--white);
  box-shadow: 0 15px 30px rgba(0,0,0,0.07);
  transform: translateY(-3px);
  border-color: rgba(255,107,53,0.2);
}

.review-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.review-author h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.1rem; }
.review-author span { font-size: 0.68rem; color: var(--gray-500); }
.review-rating { display: flex; gap: 0.12rem; margin-bottom: 0.55rem; }
.review-rating i { color: var(--gold); font-size: 0.75rem; }
.review-text { color: var(--gray-700); font-size: 0.82rem; line-height: 1.6; margin-bottom: 0.8rem; }

.review-product {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-200);
}

.review-product img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; }
.review-product span { font-size: 0.72rem; color: var(--gray-500); }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 3rem;
}

.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand .logo {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
  display: inline-flex;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
  max-width: 280px;
}

.social-links { display: flex; gap: 0.5rem; }

.social-links a {
  width: 34px; height: 34px;
  background: var(--gray-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
  font-size: 0.78rem;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-help { flex: 1; }

.footer-help h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.footer-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 520px;
}

.footer-help-links a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.footer-help-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border-color: var(--accent);
}

/* ==================== LOADING ==================== */
.loading-skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.products-loading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-skeleton { height: 300px; border-radius: 14px; }

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--black);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: none;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-size: 0.9rem;
  align-items: center;
  gap: 0.6rem;
}

.toast.show { display: flex; animation: slideIn 0.3s ease; }
.toast.success { background: var(--success); }
.toast.error { background: #ef4444; }
.toast.warning { background: var(--gold); color: var(--black); }

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

/* ==================== RESPONSIVE ==================== */
/* ── 1200px ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-layout {
    grid-template-columns: 2.4fr 1fr;
  }

  .carousel-slide {
    padding: 2.2rem 2rem 3.2rem;
    min-height: 420px;
  }

  .slide-content h1 {
    font-size: 2.2rem;
  }

  .slide-image img {
    max-width: 280px;
    max-height: 280px;
  }

  .dotd-trending-layout {
    grid-template-columns: 1fr 2.5fr;
    gap: 1.25rem;
  }

  .trending-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .trending-loading {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .dotd-card-vertical .dotd-image-wrap {
    height: 200px;
  }

  /* NEW */
  .duo-section-layout {
    gap: 1.5rem;
  }
}

/* ── 1024px ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section {
    padding: 1rem 2rem 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: auto;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 2rem 3.2rem;
  }

  .slide-image {
    display: none;
  }

  .hero-flash-panel {
    display: block;
  }

  .hero-flash-deals {
    flex-direction: row;
  }

  .flash-deal-card {
    flex: 1;
    min-height: 220px;
  }

  .flash-deals-title {
    display: none;
  }
}

/* ── 900px ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .dotd-trending-layout {
    grid-template-columns: 1fr;
  }

  .dotd-column {
    position: static;
  }

  .dotd-card-vertical {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dotd-card-vertical .dotd-image-wrap {
    height: 100%;
    min-height: 300px;
  }

  .trending-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .trending-loading {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-help-links {
    max-width: 100%;
  }

  /* NEW — duo section stacks vertically */
  .duo-section-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .shop-cat-compact {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .duo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .duo-loading {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── 768px ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .announcement-bar {
    height: 34px;
  }

  .header {
    top: 34px;
  }

  .page-start {
    margin-top: 104px;
  }

  .header-container {
    padding: 0.9rem 1.25rem;
  }

  .search-container {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-action span {
    display: none;
  }

  .hero-section {
    padding: 0.75rem 1.25rem 0;
  }

  .carousel-slide {
    padding: 1.75rem 1.25rem 3rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .hero-flash-deals {
    flex-direction: column;
  }

  .flash-deal-card {
    min-height: 200px;
  }

  .categories-section {
    padding: 1.25rem 0;
  }

  .categories-scroll {
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  /* NEW */
  .section-compact {
    padding: 1.75rem 1.25rem;
  }

  .trust-section {
    padding: 2rem 1.25rem;
  }

  .reviews-section {
    padding: 2rem 1.25rem;
  }

  .footer {
    padding: 2rem 1.25rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

  .shop-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-controls {
    left: 1.25rem;
  }

  .trending-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .trending-loading {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── 600px ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .dotd-card-vertical {
    grid-template-columns: 1fr;
  }

  .dotd-card-vertical .dotd-image-wrap {
    height: 220px;
    min-height: auto;
  }
}

/* ── 480px ──────────────────────────────────────────── */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide-content h1 {
    font-size: 1.75rem;
  }

  .slide-buttons {
    flex-direction: column;
  }

  .slide-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dotd-time-sm {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }

  .flash-deal-btns {
    flex-direction: column;
  }

  .flash-btn-primary,
  .flash-btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* NEW */
  .shop-cat-compact .shop-cat-card {
    height: 140px;
  }

  .duo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .duo-loading {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
