/* NIVRA - Static CSS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700;900&display=swap');

:root {
  --nivra-brown: #5C4033;
  --nivra-dark: #3D2B1F;
  --nivra-light: #8B7355;
  --nivra-cream: #F5F0EB;
  --nivra-white: #FFFFFF;
  --nivra-black: #1A1A1A;
}

/* ===== STYLE COLORS ===== */
:root {
  /* Japanese Style - Dark, mysterious, neon accents */
  --jp-bg: #1a1a2e;
  --jp-primary: #16213e;
  --jp-accent: #e94560;
  --jp-text: #eee;
  --jp-secondary: #0f3460;

  /* Street Style - Current brown, urban */
  --st-brown: #5C4033;
  --st-dark: #3D2B1F;
  --st-light: #8B7355;
  --st-cream: #F5F0EB;

  /* Simple Style - Black & White */
  --sp-black: #0a0a0a;
  --sp-white: #ffffff;
  --sp-gray: #888888;
  --sp-light: #f5f5f5;

  /* Luxury Style - Gold & Black */
  --lx-black: #0d0d0d;
  --lx-gold: #d4af37;
  --lx-gold-light: #f4e4a6;
  --lx-dark: #1a1a1a;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--nivra-cream);
  color: var(--nivra-dark);
  overflow-x: hidden;
}


/* ===== NAVBAR UPDATES - Match Original Design ===== */

/* White underline under NIVRA */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--nivra-cream);
  letter-spacing: 4px;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Navbar layout - match original */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nivra-brown);
  padding: 0 20px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Left icons - hamburger + search */
.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Right icons - account + cart */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Nav buttons - white icons */
.nav-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Search icon specific */
.nav-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--nivra-brown);
  z-index: 999;
  padding: 80px 30px 30px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  color: var(--nivra-cream);
  font-size: 32px;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== SEARCH BAR ===== */
.search-bar {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--nivra-brown);
  padding: 15px 20px;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.search-bar.active {
  transform: translateY(0);
}

.search-bar input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: var(--nivra-cream);
  font-size: 16px;
  padding: 10px 0;
  outline: none;
}

.search-bar input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--nivra-cream);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(92,61,46,0.1);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--nivra-brown);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  color: var(--nivra-light);
  margin-bottom: 15px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  color: var(--nivra-brown);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 13px;
  color: var(--nivra-light);
  margin-bottom: 10px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--nivra-light);
  background: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--nivra-brown);
  color: white;
  border-color: var(--nivra-brown);
}

.cart-item-price {
  font-weight: 700;
  color: var(--nivra-brown);
}

.remove-btn {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  padding: 5px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(92,61,46,0.1);
  background: white;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 18px;
}

.cart-total span:last-child {
  font-weight: 700;
  color: var(--nivra-brown);
}

.checkout-btn {
  display: block;
  width: 100%;
  background: var(--nivra-brown);
  color: var(--nivra-cream);
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 10px;
  transition: background 0.3s;
}

.checkout-btn:hover {
  background: var(--nivra-dark);
}

.continue-btn {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--nivra-brown);
  text-decoration: underline;
  padding: 10px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: var(--nivra-brown);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.hero-text {
  text-align: center;
  padding: 40px 20px;
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 12vw, 120px);
  font-weight: 900;
  color: var(--nivra-dark);
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  background: var(--nivra-brown);
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--nivra-dark);
  margin-bottom: 15px;
}

.section-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

.product-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  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.05);
}

.sold-out-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--nivra-brown);
  color: var(--nivra-cream);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.quick-add {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  background: var(--nivra-cream);
  color: var(--nivra-brown);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.quick-add:hover {
  background: var(--nivra-brown);
  color: var(--nivra-cream);
}

.product-info {
  padding: 15px;
}

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

.product-price {
  color: var(--nivra-light);
  font-size: 14px;
}

/* ===== FEATURES ===== */
.features {
  background: var(--nivra-cream);
  padding: 80px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(92,61,46,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--nivra-brown);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--nivra-brown);
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--nivra-light);
  line-height: 1.6;
}

/* ===== SHOP PAGE ===== */
.shop-header {
  background: var(--nivra-brown);
  padding: 100px 20px 60px;
  text-align: center;
}

.shop-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  color: var(--nivra-dark);
}

.filters {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--nivra-light);
  background: transparent;
  color: var(--nivra-brown);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--nivra-brown);
  color: var(--nivra-cream);
  border-color: var(--nivra-brown);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--nivra-light);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--nivra-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--nivra-brown);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.thumbnails {
  display: flex;
  gap: 10px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

.thumb.active {
  border-color: var(--nivra-brown);
}

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

.product-info-detail h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--nivra-brown);
  margin-bottom: 10px;
}

.detail-price {
  font-size: 24px;
  color: var(--nivra-light);
  margin-bottom: 20px;
}

.detail-desc {
  color: var(--nivra-light);
  line-height: 1.7;
  margin-bottom: 30px;
}

.selector-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nivra-brown);
  margin-bottom: 12px;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.option-btn {
  padding: 12px 24px;
  border: 2px solid var(--nivra-light);
  background: white;
  color: var(--nivra-brown);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.option-btn.active,
.option-btn:hover {
  background: var(--nivra-brown);
  color: var(--nivra-cream);
  border-color: var(--nivra-brown);
}

.add-to-cart {
  width: 100%;
  padding: 18px;
  background: var(--nivra-brown);
  color: var(--nivra-cream);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background: var(--nivra-dark);
}

.add-to-cart:disabled {
  background: var(--nivra-light);
  cursor: not-allowed;
}

.success-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: #d4edda;
  color: #155724;
  border-radius: 10px;
  margin-top: 15px;
}

/* ===== CHECKOUT ===== */
.checkout-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}

.checkout-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--nivra-brown);
  margin-bottom: 30px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-section {
  background: white;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section h2 {
  font-size: 20px;
  color: var(--nivra-brown);
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--nivra-brown);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid rgba(92,61,46,0.2);
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
  background: white;
  font-family: inherit;
  color: var(--nivra-brown);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--nivra-brown);
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .payment-methods {
    grid-template-columns: 1fr 1fr;
  }
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 2px solid rgba(92,61,46,0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}

.payment-option.active,
.payment-option:hover {
  border-color: var(--nivra-brown);
  background: rgba(92,61,46,0.05);
}

.payment-icon {
  width: 48px;
  height: 48px;
  background: rgba(92,61,46,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nivra-brown);
  flex-shrink: 0;
}

.payment-info h3 {
  font-size: 16px;
  color: var(--nivra-brown);
  margin-bottom: 4px;
}

.payment-info p {
  font-size: 13px;
  color: var(--nivra-light);
}

.payment-note {
  margin-top: 20px;
  padding: 15px;
  background: var(--nivra-cream);
  border-radius: 10px;
  font-size: 14px;
  color: var(--nivra-light);
}

.order-summary {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.order-summary h2 {
  font-size: 20px;
  color: var(--nivra-brown);
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(92,61,46,0.1);
}

.order-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.order-item-info {
  flex: 1;
}

.order-item-info h4 {
  font-size: 14px;
  color: var(--nivra-brown);
  margin-bottom: 4px;
}

.order-item-info p {
  font-size: 12px;
  color: var(--nivra-light);
  margin-bottom: 4px;
}

.order-item-price {
  font-weight: 700;
  color: var(--nivra-brown);
}

.order-totals {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(92,61,46,0.1);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--nivra-light);
}

.total-row.final {
  font-size: 20px;
  font-weight: 700;
  color: var(--nivra-brown);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid rgba(92,61,46,0.1);
}

.place-order-btn {
  width: 100%;
  padding: 18px;
  background: var(--nivra-brown);
  color: var(--nivra-cream);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.place-order-btn:hover {
  background: var(--nivra-dark);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.success-box {
  text-align: center;
  max-width: 500px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #d4edda;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: #155724;
}

.success-box h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--nivra-brown);
  margin-bottom: 15px;
}

.success-box p {
  color: var(--nivra-light);
  margin-bottom: 30px;
}

.success-total {
  background: white;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.success-total p {
  font-size: 14px;
  color: var(--nivra-light);
  margin-bottom: 10px;
}

.success-total h2 {
  font-size: 32px;
  color: var(--nivra-brown);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--nivra-dark);
  color: var(--nivra-cream);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--nivra-cream);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--nivra-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--nivra-brown);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nivra-dark);
}

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

  .products-grid {
    gap: 15px;
  }

  .product-info {
    padding: 12px;
  }

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

  .cart-sidebar {
    max-width: 100%;
  }
}

/* ===== SEARCH DROPDOWN (functional search results) ===== */
.search-dropdown {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 998;
  overflow: hidden;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--nivra-brown);
  border-bottom: 1px solid rgba(92,61,46,0.08);
  transition: background 0.2s;
}

.search-result-item:hover {
  background: var(--nivra-cream);
}

.search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.search-result-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--nivra-brown);
}

.search-result-price {
  font-size: 13px;
  color: var(--nivra-light);
  margin-top: 3px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--nivra-light);
  font-size: 15px;
}

/* ===== VIEW ALL BUTTON (index) ===== */
.view-all-btn {
  display: inline-block;
  border: 2px solid var(--nivra-cream);
  color: var(--nivra-cream);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

/* ===== ACCOUNT SAVE MSG ===== */
#acc-save-msg {
  align-items: center;
  gap: 8px;
}

/* ===== PRODUCT INFO DETAIL SECTION ===== */
.product-info-detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 0;
}

.selector-group {
  margin-bottom: 20px;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.product-meta-table {
  border-top: 1px solid rgba(92,61,46,0.12);
  padding-top: 20px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-meta-label {
  color: var(--nivra-light);
  font-size: 14px;
}

.product-meta-value {
  color: var(--nivra-brown);
  font-weight: 600;
  font-size: 14px;
}

/* ===== PLACE ORDER BTN DISABLED STATE ===== */
.place-order-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}
.whatsapp-float svg { flex-shrink: 0; }

/* ===== TRACK ORDER PAGE ===== */
.track-page { max-width: 600px; margin: 0 auto; padding: 100px 20px 60px; }
.track-box { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.track-result { margin-top: 30px; display: none; }
.track-status-bar { display: flex; justify-content: space-between; margin: 30px 0; position: relative; }
.track-status-bar::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: #e0d8d0; z-index: 0; }
.track-step { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; flex: 1; }
.track-step-dot { width: 40px; height: 40px; border-radius: 50%; background: #e0d8d0; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.3s; }
.track-step-dot.active { background: var(--nivra-brown); }
.track-step-dot.done { background: #27ae60; }
.track-step-label { font-size: 11px; color: var(--nivra-light); text-align: center; }
.track-info { background: #faf8f6; border-radius: 14px; padding: 20px; }
.track-info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0ece8; font-size: 14px; }
.track-info-row:last-child { border: none; }

/* ===== DISCOUNT CODE ===== */
.discount-row { display: flex; gap: 10px; margin-bottom: 15px; }
.discount-input { flex: 1; padding: 12px; border: 2px solid rgba(92,61,46,0.2); border-radius: 10px; font-size: 15px; outline: none; }
.discount-btn { background: var(--nivra-brown); color: var(--nivra-cream); border: none; padding: 12px 20px; border-radius: 10px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.discount-success { color: #27ae60; font-size: 13px; font-weight: 600; margin-bottom: 10px; display: none; }
.discount-error { color: #e74c3c; font-size: 13px; margin-bottom: 10px; display: none; }

/* ===== REVIEWS ===== */
.reviews-section { margin-top: 50px; }
.reviews-grid { display: grid; gap: 15px; margin-top: 20px; }
.review-card { background: white; border-radius: 14px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.review-stars { color: #f39c12; font-size: 18px; margin-bottom: 8px; }
.review-text { color: var(--nivra-dark); font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.review-author { font-size: 13px; color: var(--nivra-light); }

/* ===== SIZE GUIDE ===== */
.size-guide-page { max-width: 800px; margin: 0 auto; padding: 100px 20px 60px; }
.size-table { width: 100%; border-collapse: collapse; background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.size-table th { background: var(--nivra-brown); color: var(--nivra-cream); padding: 14px 16px; text-align: center; font-size: 14px; }
.size-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid #f0ece8; font-size: 14px; }
.size-table tr:last-child td { border: none; }
.size-table tr:hover td { background: #faf8f6; }

/* ===== NOTIFICATION TOAST ===== */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--nivra-dark); color: white; padding: 12px 24px; border-radius: 30px; font-size: 14px; font-weight: 500; z-index: 9999; opacity: 0; transition: opacity 0.3s; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; }

/* ===== ANALYTICS BANNER ===== */
.sold-count { font-size: 13px; color: #e74c3c; font-weight: 600; margin-top: 5px; }
