/* ============================================
   CHOI CAFE - Design System & Styles
   ============================================ */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Colors */
  --sidebar-bg: #1A120B;
  --sidebar-text: #BFA58A;
  --sidebar-hover: #D4A574;
  --sidebar-active: #D4A574;
  --sidebar-width-collapsed: 78px;
  --sidebar-width-expanded: 260px;

  --bg-primary: #F5F0E8;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FBF8F3;
  --text-primary: #2C1810;
  --text-secondary: #6B5443;
  --text-muted: #9A8776;
  --accent: #D4A574;
  --accent-hover: #C4915E;
  --accent-light: rgba(212, 165, 116, 0.15);

  --shopee: #EE4D2D;
  --lazada: #0F146D;
  --tiktok: #010101;

  --border-color: rgba(44, 24, 16, 0.08);
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.12);
  --shadow-hover: 0 12px 48px rgba(44, 24, 16, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
}

/* ---- Dark Mode Variables ---- */
[data-theme="dark"] {
  --bg-primary: #1C1410;
  --bg-card: #2A201A;
  --bg-card-alt: #241C16;
  --text-primary: #F0E6DC;
  --text-secondary: #BFA58A;
  --text-muted: #8A7A6A;
  --border-color: rgba(212, 165, 116, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.35);
  --sidebar-bg: #120D08;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background var(--transition-normal), color var(--transition-normal);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width-collapsed);
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width var(--transition-normal);
  overflow: hidden;
}

.sidebar:hover {
  width: var(--sidebar-width-expanded);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 80px;
}

.sidebar-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sidebar-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sidebar:hover .logo-text {
  opacity: 1;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin: 2px 10px;
  border-radius: var(--radius-sm);
  color: var(--sidebar-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-item i {
  width: 22px;
  text-align: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-item .nav-text {
  opacity: 0;
  transition: opacity var(--transition-normal);
  font-size: 14px;
  font-weight: 500;
}

.sidebar:hover .nav-text {
  opacity: 1;
}

.nav-item:hover {
  background: rgba(212, 165, 116, 0.1);
  color: var(--sidebar-hover);
}

.nav-item.active {
  background: rgba(212, 165, 116, 0.12);
  color: var(--sidebar-active);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.nav-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 12px 20px;
}

.sidebar-footer {
  padding: 16px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-footer .nav-item {
  margin: 2px 0px;
  padding: 12px 20px;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
  margin-left: var(--sidebar-width-collapsed);
  min-height: 100vh;
  transition: margin-left var(--transition-normal);
  padding: 0;
}

/* ---- Section Base ---- */
.content-section {
  padding: 48px 40px;
  padding-top: 10px;
}

.section-header {
  margin-bottom: 36px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 600px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2C1810 0%, #1A120B 50%, #3E2518 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 18, 11, 0.9) 0%, rgba(26, 18, 11, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 56px;
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent);
  font-style: italic;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-cf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary-cf:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

.btn-outline-cf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-cf:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 165, 116, 0.05);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ============================================
   VIDEO REELS SECTION
   ============================================ */
.reels-section {
  background: var(--bg-primary);
}

.reels-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reels-container::-webkit-scrollbar {
  height: 4px;
}

.reels-container::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 10px;
}

.reels-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.reel-card {
  flex: 0 0 280px;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  background: var(--sidebar-bg);
  transition: transform var(--transition-fast);
}

.reel-card:hover {
  transform: scale(1.03);
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.reel-card:hover .reel-play {
  opacity: 1;
}

.reel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.reel-title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.reel-views {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-top: 4px;
}

/* ============================================
   PRODUCT CATEGORIES (Pills)
   ============================================ */
.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-pill {
  padding: 10px 22px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-pill:hover,
.category-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.25);
}

/* ============================================
   PRODUCT GRID - 5 Columns
   ============================================ */
@media (min-width: 1200px) {
  .col-xl-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-card-alt);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.product-wishlist:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  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: 4px;
  margin-bottom: 14px;
}

.product-rating i {
  color: #F5A623;
  font-size: 12px;
}

.product-rating span {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Price Comparison Widget */
.price-compare {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 13px;
}

.price-row:hover {
  background: var(--bg-card-alt);
}

.price-row.best-price {
  background: rgba(212, 165, 116, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.price-shop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-shop .shop-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.shop-shopee {
  background: var(--shopee);
}

.shop-lazada {
  background: var(--lazada);
}

.shop-tiktok {
  background: var(--tiktok);
}

.price-value {
  font-weight: 700;
  color: var(--text-primary);
}

.price-row.best-price .price-value {
  color: var(--accent);
}

.best-tag {
  font-size: 10px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* ============================================
   BLOG / KNOWLEDGE SECTION
   ============================================ */
.blog-section {
  background: var(--bg-card-alt);
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
}

.blog-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  max-width: max-content;
}

.blog-card-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-meta .read-more {
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.blog-card-meta .read-more:hover {
  gap: 8px;
}

/* ---- Featured Blog Card ---- */
.blog-card.featured {
  display: flex;
  flex-direction: row;
}

.blog-card.featured .blog-card-img {
  flex: 0 0 45%;
  aspect-ratio: auto;
}

.blog-card.featured .blog-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.blog-card.featured .blog-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
}

/* ============================================
   DEAL HOT SECTION
   ============================================ */
.deal-section {
  background: var(--bg-primary);
}

.deal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all var(--transition-normal);
}

.deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.deal-card-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card-alt);
}

.deal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-card-body {
  flex: 1;
}

.deal-card-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.deal-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.deal-price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 13px;
}

.deal-price-new {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.deal-discount {
  padding: 2px 8px;
  background: #e74c3c;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.deal-countdown {
  display: flex;
  gap: 6px;
}

.deal-countdown .count-box {
  width: 36px;
  height: 36px;
  background: var(--sidebar-bg);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--sidebar-bg);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 40px 30px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-brand .footer-logo span {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-links a i {
  margin-right: 5px;
  width: 14px;
  text-align: center;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sidebar-bg);
  padding: 8px 0;
  z-index: 1001;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--sidebar-text);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 12px;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.mobile-nav-item i {
  font-size: 20px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--accent);
}

/* ============================================
   PAGE HEADER (Sub-pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--sidebar-bg) 0%, #3a2a1a 100%);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '☕';
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  opacity: 0.05;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.page-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
}

/* Breadcrumb */
.breadcrumb-custom {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 13px;
}

.breadcrumb-custom li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-custom li a:hover {
  color: var(--accent);
}

.breadcrumb-custom li.active {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom li+li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* Breadcrumb inside content section (not page-header) */
.content-section .breadcrumb-custom li a {
  color: var(--text-muted);
}

.content-section .breadcrumb-custom li.active {
  color: var(--text-primary);
}

.content-section .breadcrumb-custom li+li::before {
  color: var(--text-muted);
}

/* ============================================
   VIDEO GRID CARDS (List page)
   ============================================ */
.reel-card-grid {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  height: 100%;
}

.reel-card-grid:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.reel-card-grid-thumb {
  position: relative;
  aspect-ratio: 9/12;
  overflow: hidden;
  background: var(--sidebar-bg);
}

.reel-card-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.reel-card-grid:hover .reel-card-grid-thumb img {
  transform: scale(1.05);
}

.reel-card-grid-thumb .reel-play {
  opacity: 0;
}

.reel-card-grid:hover .reel-card-grid-thumb .reel-play {
  opacity: 1;
}

.reel-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.reel-card-grid-body {
  padding: 16px;
}

.reel-card-grid-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-card-grid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.reel-card-grid-meta i {
  margin-right: 3px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-link-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.page-link-custom:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

.page-link-custom.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-gallery {
  position: sticky;
  top: 20px;
}

.product-detail-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card-alt);
  aspect-ratio: 1/1;
  margin-bottom: 12px;
}

.product-detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumbs {
  display: flex;
  gap: 10px;
}

.product-detail-thumbs .thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.product-detail-thumbs .thumb:hover,
.product-detail-thumbs .thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.product-detail-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Large Price Comparison */
.price-compare-large {
  background: var(--bg-card-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
}

.price-compare-large h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.price-compare-large h4 i {
  margin-right: 8px;
  color: var(--accent);
}

.price-row-lg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  margin-bottom: 8px;
}

.price-row-lg:hover {
  background: var(--bg-card);
}

.price-row-lg.best-price {
  background: rgba(212, 165, 116, 0.08);
  border-color: rgba(212, 165, 116, 0.25);
}

.price-value-lg {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-row-lg.best-price .price-value-lg {
  color: var(--accent);
}

.price-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.price-row-lg:hover .buy-btn {
  background: var(--accent-dark);
}

/* Specs Table */
.product-specs h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.product-specs h4 i {
  margin-right: 8px;
  color: var(--accent);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 10px 0;
  font-size: 13px;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-primary);
}

/* Review Section */
.product-review-section h3,
.product-video-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.product-review-section h3 i,
.product-video-section h3 i {
  margin-right: 10px;
  color: var(--accent);
}

.review-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.review-content p {
  margin-bottom: 12px;
}

/* ============================================
   ARTICLE / BLOG DETAIL PAGE
   ============================================ */
.article-header {
  margin-bottom: 24px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 12px 0 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-meta i {
  margin-right: 6px;
}

.article-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
}

.article-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 8px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 24px;
}

.article-highlight {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
}

.article-highlight>i {
  font-size: 20px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.article-table th {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}

.article-table td {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

.article-table tbody tr:hover {
  background: var(--bg-card-alt);
}

/* Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-muted);
}

.article-share a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card-alt);
  color: var(--text-secondary);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.article-share a:hover {
  background: var(--accent);
  color: #fff;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.article-tags a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-card-alt);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.article-tags a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ============================================
   ARTICLE SIDEBAR WIDGETS
   ============================================ */
.article-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.widget-title i {
  margin-right: 8px;
  color: var(--accent);
}

/* Widget Product */
.widget-product {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.widget-product:last-child {
  border-bottom: none;
}

.widget-product img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.widget-product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.widget-product-name:hover {
  color: var(--accent);
}

.widget-product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* Widget Article */
.widget-article {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.widget-article:last-child {
  border-bottom: none;
}

.widget-article a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.widget-article a:hover {
  color: var(--accent);
}

.widget-article-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.widget-article-meta i {
  margin-right: 4px;
}

/* WP Default Widgets Styling */
/* Search Widget */
.widget_search .search-form,
.wp-block-search {
  position: relative;
  display: block;
}

.widget_search label,
.wp-block-search__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.widget_search .screen-reader-text {
  display: none;
}

.wp-block-search__inside-wrapper {
  display: flex;
  position: relative;
}

.sidebar-widget input[type="search"],
.sidebar-widget input[type="text"],
.wp-block-search__input {
  width: 100%;
  padding: 12px 100px 12px 15px; /* Leave space for absolute button */
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.wp-block-search__inside-wrapper .wp-block-search__input {
  padding-right: 90px;
}

.sidebar-widget input[type="search"]:focus,
.sidebar-widget input[type="text"]:focus,
.wp-block-search__input:focus {
  border-color: var(--accent);
}

.sidebar-widget input[type="submit"],
.sidebar-widget button[type="submit"],
.wp-block-search__button {
  position: absolute;
  right: 5px;
  bottom: 5px;
  height: 36px;
  padding: 0 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
  line-height: 1;
}

.sidebar-widget input[type="submit"]:hover,
.sidebar-widget button[type="submit"]:hover,
.wp-block-search__button:hover {
  background: var(--accent-hover);
}

/* Recent Posts / Archives / Categories List Widgets */
.sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-widget ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.5;
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-widget ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
}

.sidebar-widget ul li a:hover {
  color: var(--accent);
}

.sidebar-widget ul li .post-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hide Recent Comments block (as requested) */
.widget_recent_comments,
.wp-block-latest-comments {
  display: none !important;
}


/* Product name links */
.product-name a,
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.product-name a:hover,
.blog-card-title a:hover {
  color: var(--accent);
}

/* Mobile nav links */
.mobile-nav-item {
  text-decoration: none;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 40px;
  }

  .content-section {
    padding: 40px 32px;
  }
}

@media (max-width: 991px) {
  .blog-card.featured {
    flex-direction: column;
  }

  .blog-card.featured .blog-card-img {
    aspect-ratio: 16/9;
  }

  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding-bottom: 70px;
  }

  .hero-section {
    min-height: 440px;
  }

  .hero-content {
    padding: 40px 24px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-stat .stat-number {
    font-size: 22px;
  }

  .content-section {
    padding: 32px 16px;
  }

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

  .reel-card {
    flex: 0 0 220px;
    height: 390px;
  }

  .deal-card {
    flex-direction: column;
    text-align: center;
  }

  .site-footer {
    padding: 40px 16px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .category-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
}