/* -------------------------------------------------------------
   AACHAR / HISAR WALA - Premium Artisanal E-Commerce Stylesheet
   Inspired by Kasutam.com & Shweta Fabrics Architecture
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1B3B22;
  --primary-dark: #112816;
  --primary-light: #2D5837;
  --accent: #C85A17;
  --accent-hover: #A6440B;
  --gold: #D4AF37;
  --gold-light: #FAF3E0;
  --gold-border: #E8D293;
  --bg-main: #FDFBF7;
  --bg-card: #FFFFFF;
  --bg-alt: #F5F1E8;
  --text-main: #212623;
  --text-muted: #626B65;
  --border-light: #E5DFC0;
  --shadow-sm: 0 2px 8px rgba(27, 59, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 59, 34, 0.1);
  --shadow-lg: 0 16px 40px rgba(27, 59, 34, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', serif;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

/* --- Announcement Bar --- */
.top-bar {
  background-color: var(--primary);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-marquee {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.top-bar-badge {
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Header & Navbar --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 56px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.footer-logo-img {
  height: 64px;
  max-width: 240px;
  border-radius: 8px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Search Bar */
.search-wrapper {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 11px 18px 11px 46px;
  border-radius: 30px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 59, 34, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
  font-size: 1rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  position: relative;
  background: var(--bg-alt);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.icon-btn.auth-btn {
  width: auto;
  min-width: 44px;
  height: 44px;
  border-radius: 22px;
  padding: 0 16px;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}

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

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
}

/* Navigation Categories Bar */
.cat-nav {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar {
  display: none;
}

.cat-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  gap: 12px;
}

.cat-chip {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.cat-chip:hover, .cat-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* --- Hero Banner Section --- */
.hero-section {
  max-width: 1280px;
  margin: 24px auto 32px;
  padding: 0 24px;
}

.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(90deg, rgba(27,59,34,0.85) 0%, rgba(27,59,34,0.4) 60%), url('images/banner.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: background 0.5s ease;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #E2E8E4;
  margin-bottom: 28px;
  font-weight: 400;
}

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

.hero-carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 10px;
}

.hero-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-carousel-dots .dot.active {
  background: var(--gold);
  width: 32px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 90, 23, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
}

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

/* --- Kasutam Style Interactive Product Details Modal Gallery --- */
.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.modal-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-gallery-main {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumb-item {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-light);
  cursor: pointer;
  background: var(--bg-alt);
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-thumb-item:hover, .modal-thumb-item.active {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

/* Product Modal Reviews & Media Section */
.modal-reviews-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.modal-review-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}

.modal-review-media {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.modal-review-media img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

/* Related Products Grid Inside Modal */
.related-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-3px);
}

.related-card img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.related-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.related-card-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}

/* --- Spotlight Video Section --- */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.video-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: #000;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
  opacity: 0.95;
}

.play-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
}

.play-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding-left: 4px;
  box-shadow: 0 4px 16px rgba(200, 90, 23, 0.6);
  transition: var(--transition);
}

.video-card:hover .play-icon-circle {
  transform: scale(1.15);
  background: var(--primary);
}

.video-duration-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.video-info {
  padding: 20px;
}

.video-badge {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.video-card-title {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.video-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Customer Reviews Grid --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.review-media-gallery {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.review-media-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.review-media-thumb:hover {
  transform: scale(1.05);
}

/* --- FAQ Accordion --- */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-icon {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* --- Prominent Footer Admin Panel Button --- */
.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), #9E370B);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.4);
  transition: var(--transition);
}

.footer-admin-btn:hover {
  background: linear-gradient(135deg, #A6440B, var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 90, 23, 0.6);
}

/* Trust Highlights Bar */
.trust-bar {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Layout */
.section {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

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

.section-subtitle {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-badge-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.3);
}

.product-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.product-category {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #E6A100;
  margin-bottom: 12px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.product-variant-select {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.variant-chip {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
}

.variant-chip.active {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

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

.price-mrp {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 6px;
}

.add-cart-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-cart-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* --- Cart Drawer --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 40, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.cart-header {
  padding: 20px 24px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.close-cart-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-alt);
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

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

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

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

.cart-footer {
  padding: 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
  margin-bottom: 16px;
}

.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.3);
}

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

/* Modal Windows */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 40, 22, 0.7);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 32px;
}

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

/* Forms & Inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 0.92rem;
  background: var(--bg-card);
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(27, 59, 34, 0.1);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #D3DDD6;
  padding: 60px 24px 24px;
  border-top: 4px solid var(--accent);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--accent);
  animation: slideInRight 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .hero-banner { padding: 32px 24px; min-height: 340px; }
  .nav-container { flex-wrap: wrap; gap: 10px; }
  .search-wrapper { order: 3; max-width: 100%; width: 100%; }
  .header-dropdowns { order: 2; width: 100%; flex-wrap: wrap; }
}

/* Category Section Dropdowns Styling */
.cat-chip-dropdown-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cat-chip-select {
  padding: 10px 18px;
  border-radius: 30px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.cat-chip-select:hover, .cat-chip-select:focus {
  border-color: var(--accent);
  background: #fffdf9;
  box-shadow: 0 4px 12px rgba(200, 90, 23, 0.15);
}

/* User Account Header Action */
.user-btn-label {
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 4px;
}

/* User Auth Modal Styling */
.auth-modal-card {
  max-width: 440px;
  width: 90%;
  border-radius: 16px;
  padding: 24px;
}

.auth-tabs-header {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.auth-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* General Mobile Responsiveness */
@media (max-width: 480px) {
  .brand-logo-img { height: 44px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .cat-select-dropdown, .prod-quick-select { font-size: 0.8rem; width: 100%; }
  .product-quick-box { display: none; }
}
