@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Noto+Sans+Devanagari:wght@400;700&display=swap');

:root {
  --primary: #c8860a;
  --primary-dark: #a06a06;
  --secondary: #2d5016;
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e8e0d0;
  --shadow: rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --bg-card: #1a1a1a;
  --text: #f0ead8;
  --text-muted: #8a8a8a;
  --border: #2a2a2a;
  --shadow: rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background .3s, color .3s;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: 'Outfit', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: .45rem 1rem;
  font-size: .83rem;
  font-weight: 500;
}

.announcement-bar a {
  color: #fff;
  text-decoration: underline;
}

/* Header */
.site-header {
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

[data-theme="dark"] .site-header {
  background: rgba(26, 26, 26, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem;
  gap: 1rem;
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.search-bar {
  flex: 1;
  max-width: 400px;
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .4rem 1rem;
  align-items: center;
  gap: .5rem;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  color: var(--text);
  font-family: 'Outfit';
  font-size: .9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  position: relative;
  padding: .4rem;
  border-radius: 50%;
  transition: background .2s;
  display: flex;
  align-items: center;
}

.btn-icon:hover {
  background: var(--bg);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dark-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .3rem .75rem;
  cursor: pointer;
  color: var(--text);
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s;
  white-space: nowrap;
}

.dark-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.user-dropdown {
  position: relative;
}

.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 160px;
  box-shadow: 0 10px 40px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform: translateY(-8px);
}

.user-dropdown:hover .user-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.user-menu a,
.user-menu button {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  color: var(--text);
  font-size: .88rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}

.user-menu a:hover,
.user-menu button:hover {
  background: var(--bg);
  color: var(--primary);
}

/* Desktop nav */
.nav-bar {
  border-top: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.nav-links a {
  padding: .72rem 1.2rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  transition: color .2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  transition: left .3s, right .3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 1.2rem;
  right: 1.2rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Outfit';
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 134, 10, .35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Outfit';
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: .4rem 1rem;
  font-size: .83rem;
}

/* Hero */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 10, 5, .72) 0%, rgba(15, 10, 5, .28) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
  line-height: 1.15;
}

.hero-content .subtitle {
  font-size: clamp(.95rem, 2vw, 1.25rem);
  opacity: .9;
  margin-bottom: 2rem;
}

.hero-arrows {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.hero-arrow {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(200, 134, 10, .85);
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .3s, width .3s;
}

.hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Products */
.products-section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
}

.section-title .hi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  display: block;
  margin-top: .25rem;
}

.section-title p {
  color: var(--text-muted);
  margin-top: .5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  z-index: 1;
}

.badge.new {
  background: #059669;
}

.product-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.quick-view-btn {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  cursor: pointer;
  border: none;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
}

.quick-view-btn svg {
  color: #fff;
  width: 32px;
  height: 32px;
}

.product-info {
  padding: 1rem;
}

.product-name {
  font-weight: 700;
  font-size: .98rem;
  margin-bottom: .15rem;
}

.product-name-hi {
  font-size: .78rem;
  color: var(--text-muted);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin: .4rem 0;
}

.stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.price-mrp {
  font-size: .82rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-off {
  font-size: .72rem;
  background: #dcfce7;
  color: #16a34a;
  padding: .1rem .4rem;
  border-radius: 4px;
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: .5rem;
}

.product-actions .btn-primary,
.product-actions .btn-outline {
  flex: 1;
  padding: .5rem .4rem;
  font-size: .8rem;
  text-align: center;
  justify-content: center;
}

a.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.product-card-link:hover {
  text-decoration: none;
}

/* Quick View Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(.92);
  transition: transform .3s;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.gallery-main img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.gallery-thumbs img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.gallery-thumbs img.active {
  border-color: var(--primary);
}

.modal-product-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.modal-product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.modal-product-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: .93rem;
}

/* Testimonials */
.testimonials-section {
  background: var(--bg);
  padding: 5rem 0;
}

.testimonials-scroll {
  display: none;
}

.testimonials-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1.5rem 0;
}

.testimonials-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.testimonials-marquee-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 260px;
  min-width: 260px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.reviewer {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

img.reviewer-avatar {
  object-fit: cover;
  background: var(--border);
}

.reviewer-name {
  font-weight: 700;
  font-size: .92rem;
}

.reviewer-state {
  font-size: .78rem;
  color: var(--text-muted);
}

.testimonial-text {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: .88rem;
}

.testimonials-scroll-container::-webkit-scrollbar {
  display: none;
}

.testi-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  box-shadow: 0 2px 10px var(--shadow);
}

.testi-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(200, 134, 10, .2);
}

.testi-prev {
  left: -8px;
}

.testi-next {
  right: -8px;
}

@media(max-width:768px) {
  .testi-prev {
    left: 4px;
  }

  .testi-next {
    right: 4px;
  }

  .testi-nav {
    width: 34px;
    height: 34px;
  }
}

/* Video Testimonials Redesign */
.video-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
  position: relative;
  overflow: hidden;
}

/* Make header layout with navigation buttons */
.video-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.video-section-header .section-title {
  margin-bottom: 0;
}

.video-nav-container {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Glassmorphic custom navigation buttons */
.btn-video-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px var(--shadow);
}

.btn-video-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 134, 10, 0.3);
}

.btn-video-nav:active {
  transform: translateY(0);
}

/* Scroll wrap snapping */
.video-scroll-wrap {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0;
  margin: 0 -1rem;
  scroll-snap-type: x mandatory;
}

.video-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.video-scroll-track {
  display: flex;
  gap: 2rem;
  padding: 0 1.5rem;
}

/* Video Card Premium styling */
.video-card {
  width: 280px;
  min-width: 280px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px -10px var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: center;
}

html[data-theme="dark"] .video-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.video-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -15px rgba(200, 134, 10, 0.2);
  border-color: rgba(200, 134, 10, 0.3);
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #000;
  border-radius: 24px;
}

.video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 24px;
}

.video-frame-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* Play overlay - fully premium glassmorphism */
.play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  transition: all 0.4s ease;
  border-radius: 24px;
  z-index: 2;
}

.video-card:hover .play-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 60%, rgba(0, 0, 0, 0.3) 100%);
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Play button */
.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: playPulse 2s infinite;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  fill: currentColor;
}

.video-card:hover .play-btn {
  transform: scale(1.15);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(200, 134, 10, 0.4);
  animation: none;
}

/* Video badge */
.video-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.video-badge svg {
  color: #10b981;
}

/* Video info overlay at bottom */
.video-card-info {
  margin-top: auto;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.video-card-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #fff;
  letter-spacing: -0.01em;
}

.video-card-info p {
  font-size: 0.82rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .video-section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .video-section-header {
    margin-bottom: 1.5rem;
  }
  .video-nav-container {
    display: none;
  }
  .video-scroll-track {
    gap: 1.25rem;
    padding: 0 1.5rem;
  }
  .video-card {
    width: 250px;
    min-width: 250px;
    border-radius: 20px;
  }
  .video-frame-wrap, .video-frame-wrap video, .video-frame-wrap iframe, .play-overlay {
    border-radius: 20px;
  }
}

@media (max-width: 576px) {
  .video-section {
    padding: 3.5rem 0;
  }
  .video-scroll-wrap {
    margin: 0 -1rem;
  }
  .video-scroll-track {
    gap: 1rem;
    padding: 0 1rem;
  }
  .video-card {
    width: 240px;
    min-width: 240px;
  }
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: #d8e4c0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-w {
  height: 58px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  color: #b8c4a0;
}

.social-icons {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8c4a0;
  transition: all .2s;
  font-size: .88rem;
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #b8c4a0;
  font-size: .86rem;
  margin-bottom: .5rem;
  transition: color .2s;
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: #8a9870;
}

.payment-methods {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
}

.payment-methods img {
  height: 26px;
  border-radius: 4px;
  opacity: .75;
}

.developer-credit {
  color: #8a9870;
}

.developer-credit a {
  color: var(--primary);
}

/* Mobile header */
.mobile-header {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .mobile-header {
  background-color: rgba(26, 26, 26, 0.95);
}

.mobile-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
}

.mobile-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.mobile-brand-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.mobile-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.mobile-site-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* Hamburger Icon Styling & Animation */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:active, .mobile-menu-btn:hover {
  background: var(--bg);
  border-color: var(--primary);
  transform: scale(1.05);
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar active state -> animate hamburger to close icon */
.sidebar-active-hamburger .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--primary);
}

.sidebar-active-hamburger .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.sidebar-active-hamburger .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--primary);
}

/* Right Group: Actions */
.mobile-actions-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px var(--shadow);
  text-decoration: none;
}

.mobile-action-btn:hover, .mobile-action-btn:active {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.mobile-action-btn svg {
  stroke-width: 2px;
  width: 20px;
  height: 20px;
}

.mobile-action-btn .cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Second Group: Search Bar */
.mobile-header-bottom {
  width: 100%;
}

.mobile-header-bottom .mobile-search-bar {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  width: 100%;
  height: 42px;
  position: relative;
  transition: all 0.25s ease;
}

.mobile-header-bottom .mobile-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 134, 10, 0.15);
}

.mobile-search-bar .search-icon {
  color: var(--text-muted);
  margin-right: 0.5rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.mobile-search-bar input {
  border: none;
  background: none;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  padding: 0;
  font-weight: 500;
}

.mobile-search-bar input:focus {
  outline: none;
}

.mobile-search-bar input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* Search Dropdown adjustments for mobile */
.mobile-search-bar .search-dropdown {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom));
}

[data-theme="dark"] .mobile-bottom-nav {
  background: rgba(26, 26, 26, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  color: var(--text-muted);
  font-size: .67rem;
  padding: .3rem .5rem;
  transition: color .2s;
  flex: 1;
  position: relative;
}

.mobile-nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
  opacity: 0.6;
}

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

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
}

/* Sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .52);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 290px;
  height: 100%;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1600;
  transition: left .3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .sidebar {
  background: rgba(26, 26, 26, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sidebar-logo img {
  height: 45px;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.3rem;
  padding: .3rem;
  transition: transform .2s;
}

.sidebar-close:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--primary);
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  font-size: .92rem;
  transition: all .2s ease;
  margin-bottom: .25rem;
}

.sidebar-links a:hover {
  background: rgba(200, 134, 10, 0.08);
  color: var(--primary);
  transform: translateX(4px);
}

.sidebar-links a svg {
  transition: transform .25s;
}

.sidebar-links a:hover svg {
  transform: scale(1.1);
  color: var(--primary);
}

/* Sidebar User & Promo Cards */
.sidebar-user-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 15px var(--shadow);
}

.sidebar-user-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}

.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(200, 134, 10, 0.25);
  flex-shrink: 0;
}

.sidebar-user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-user-details .user-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-details .user-email {
  font-size: .78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}

.btn-sidebar-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: .83rem;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
}

.btn-sidebar-action:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  color: #dc2626;
  font-size: .83rem;
  font-weight: 600;
  width: 100%;
  transition: all .2s;
  cursor: pointer;
}

.btn-sidebar-logout:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

/* Sidebar Promo Card */
.sidebar-promo-card {
  background: linear-gradient(135deg, rgba(200, 134, 10, 0.06) 0%, rgba(45, 80, 22, 0.03) 100%);
  border: 1px dashed var(--primary);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.sidebar-promo-card .promo-icon {
  font-size: 2rem;
  margin-bottom: .4rem;
}

.sidebar-promo-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}

.sidebar-promo-card p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.promo-buttons {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
  font-size: .88rem;
}

.form-control {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit';
  font-size: .93rem;
  outline: none;
  transition: border-color .2s;
}

.form-control:focus {
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Card */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

/* Pages */
.page-hero {
  background: linear-gradient(135deg, var(--secondary), #1a3a0a);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: .75rem;
}

.page-hero p {
  opacity: .85;
  font-size: 1.05rem;
}

.page-content {
  padding: 4rem 0;
}

/* Auth */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, #1a3a0a 100%);
  padding: 2rem;
}

.auth-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}

.auth-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.auth-card .subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: .9rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-size: .83rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-google {
  width: 100%;
  padding: .72rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit';
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  transition: all .2s;
  font-size: .95rem;
}

.btn-google:hover {
  border-color: var(--primary);
  background: rgba(200, 134, 10, .05);
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.checkout-item-row:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.checkout-item-img-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  flex-shrink: 0;
}

.checkout-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.checkout-item-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.order-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
  margin-top: 1rem;
}

/* Track order */
.track-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.track-step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.track-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: -1rem;
  width: 2px;
  background: var(--border);
}

.track-step:last-child::before {
  display: none;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  color: #fff;
}

.step-dot.done {
  background: var(--primary);
}

.step-dot.active {
  background: #059669;
}

/* Our Story */
.founder-3d {
  perspective: 1000px;
}

.founder-card {
  transition: transform .1s ease-out;
  transform-style: preserve-3d;
}

.founder-img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 134, 10, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* Policy */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.8;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
  color: var(--text);
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.policy-content ul {
  padding-left: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  background: var(--secondary);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 12px;
  font-size: .88rem;
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: .5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.py-5 {
  padding: 3rem 0;
}

.px-4 {
  padding: 0 1.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-1 {
  gap: .5rem;
}

.gap-2 {
  gap: 1rem;
}

.w-full {
  width: 100%;
}

.hidden {
  display: none !important;
}

.text-primary {
  color: var(--primary);
}

.font-bold {
  font-weight: 700;
}

.text-muted {
  color: var(--text-muted);
}

/* Responsive */
@media(max-width:768px) {
  .desktop-header {
    display: none !important;
  }

  .mobile-header {
    display: flex;
  }

  .mobile-bottom-nav {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

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

  .modal-body {
    grid-template-columns: 1fr;
  }

  .hero-section {
    height: 70vh;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .product-image {
    height: auto;
    aspect-ratio: 1/1;
  }

  .product-info {
    padding: 0.75rem 0.6rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-arrows {
    right: .75rem;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: .9rem;
  }
}

@media(max-width:576px) {
  .product-actions {
    flex-direction: column;
    gap: 0.4rem;
  }

  .product-actions .btn-primary,
  .product-actions .btn-outline {
    width: 100%;
    padding: 0.48rem 0.2rem;
    font-size: 0.76rem;
    border-radius: 8px;
  }
}

@media(min-width:769px) {
  .mobile-header {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }
}

/* ── Cart page (public /cart) ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cart-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: box-shadow .2s;
  margin-bottom: .75rem;
}

.cart-item-card:hover {
  box-shadow: 0 6px 24px var(--shadow);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}

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

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

.cart-item-name {
  font-weight: 700;
  font-size: .95rem;
}

.cart-item-unit-price {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  margin-top: .25rem;
}

.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qty-display {
  font-weight: 700;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: .4rem;
  border-radius: 8px;
  transition: all .2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cart-item-remove:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, .08);
}

.cart-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.cart-summary-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: .75rem;
  font-size: .9rem;
}

.cart-summary-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.cart-summary-total {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.dash-empty {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.dash-empty a {
  color: var(--primary);
  font-weight: 600;
}

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

/* Slide-out Cart Panel (Moved from dashboard.css to main.css for public page use) */
/* Slide-out Cart Panel Redesign */
.cart-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.cart-panel-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 95vw;
  height: 100%;
  background: var(--bg-card);
  z-index: 1800;
  transition: right .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  border-radius: 24px 0 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .cart-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
}

.cart-panel.open {
  right: 0;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-panel-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cart-panel-close {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

html[data-theme="dark"] .cart-panel-close {
  background: rgba(255, 255, 255, 0.03);
}

.cart-panel-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Custom scrollbar for cart body */
.cart-panel-body::-webkit-scrollbar {
  width: 6px;
}
.cart-panel-body::-webkit-scrollbar-track {
  background: transparent;
}
.cart-panel-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.cart-panel-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.cart-panel-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.cart-panel-total span:last-child {
  color: var(--primary);
}

/* Cart items list styling */
.cart-panel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.cart-panel-item:last-child {
  border-bottom: none;
}

.cart-panel-item-img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.cart-panel-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-panel-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-panel-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-panel-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
}

/* Circular Increment / Decrement & Trash */
.cart-panel-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.cart-qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card);
}

.cart-qty-btn.delete {
  border-color: rgba(220, 38, 38, 0.15);
  background: rgba(220, 38, 38, 0.05);
  color: #dc2626;
}

.cart-qty-btn.delete:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  transform: scale(1.05);
}

.cart-qty-val {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0 0.25rem;
  min-width: 18px;
  text-align: center;
}

/* Cart Panel Responsive Mobile Styles */
@media (max-width: 768px) {
  .cart-panel {
    width: 320px;
    max-width: 85vw;
    right: -340px; /* Offset width + buffer to hide card shadow fully when closed */
    border-radius: 20px 0 0 20px;
  }

  .cart-panel.open {
    right: 0;
  }

  .cart-panel-header {
    padding: 1.1rem 1.25rem;
  }

  .cart-panel-header h3 {
    font-size: 1.1rem;
  }

  .cart-panel-body {
    padding: 1.1rem 1.25rem;
  }

  .cart-panel-footer {
    padding: 1.1rem 1.25rem;
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }

  .cart-panel-item {
    gap: 0.85rem;
    padding: 0.85rem 0;
  }

  .cart-panel-item-img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .cart-panel-item-name {
    font-size: 0.88rem;
  }

  .cart-panel-item-price {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cart-panel {
    width: 300px;
    max-width: 80vw;
    right: -320px;
  }
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  gap: 1.5rem;
}

.mobile-cta-info {
  display: flex;
  flex-direction: column;
}

.mobile-cta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mobile-cta-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 90px;
  }
}