/**
 * ShopsDeal - Premium Men's Fashion
 * Domain: shopsdealcresta.org
 * Brand: ShopsDeal
 * Pure CSS3 - Clean Light Theme Architecture - Zero Frameworks
 */

/* ==========================================================================
   1. CSS Reset & Variables (Light Theme Constitution)
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-input: #f9fafb;
  --card: #ffffff;
  --text: #111827;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-subtle: #e5e7eb;
  
  --gold: #b8941f;
  --primary: #b8941f;
  --gold-hover: #9c7c16;
  --gold-soft: rgba(184, 148, 31, 0.12);
  
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --success: #15803d;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  
  --header-height: 70px;
  --container-max: 1240px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: -0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   2. Page Margins & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.section-wrapper {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 768px) {
  .section-wrapper {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

.section-header {
  margin-bottom: 28px;
  text-align: left;
}

.section-kicker {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  text-wrap: balance;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
  max-width: 620px;
  line-height: 1.55;
}

/* ==========================================================================
   3. Sticky Top Navbar (Light Theme)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.header-left-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger button at top-left before logo */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: transparent;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.hamburger-btn:hover {
  background-color: var(--bg-soft);
}

.hamburger-icon {
  width: 24px;
  height: 24px;
}

/* Brand Name Wordmark */
.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
}

.brand-logo .brand-deal {
  color: var(--gold);
  font-weight: 800;
}

/* Center nav: 5 desktop links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

/* Right zone: Wishlist & Cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header-action-btn:hover {
  background-color: var(--bg-soft);
  color: var(--gold);
}

.header-action-btn svg {
  width: 22px;
  height: 22px;
}

.action-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--gold);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  height: 18px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.badge-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
  .header-nav {
    display: none;
  }
}

/* ==========================================================================
   4. Mobile Navigation Drawer (Light Theme)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(310px, 82vw);
  background-color: var(--card);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-muted);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  min-height: 44px;
}

.drawer-link:hover, .drawer-link.active {
  background-color: var(--bg-soft);
  color: var(--gold);
  font-weight: 600;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. Hero Section (Light Theme with Luxury Visual Balance)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  padding: 16px 0 28px 0;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: clamp(380px, 48vw, 480px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #f1f3f5;
  box-shadow: var(--shadow-card);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #f1f3f5;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-bg {
    transform: none !important;
  }
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Refined subtle scrim overlay (fade reduced, model & suit clear and vibrant) */
.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.42) 40%, rgba(255, 255, 255, 0.05) 70%, transparent 92%);
}

@media (max-width: 768px) {
  .hero-slide-bg::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.45) 55%, rgba(255, 255, 255, 0.1) 100%);
  }
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  padding: 0 40px;
  max-width: 600px;
  text-align: left;
}

@media (max-width: 480px) {
  .hero-slide-content {
    padding: 0 20px;
  }
}

.hero-tagline {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 480px;
  line-height: 1.55;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.slider-arrow:hover {
  background-color: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.slider-prev {
  left: 14px;
}

.slider-next {
  right: 14px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color var(--transition-fast), width var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--gold);
  width: 38px;
}

/* ==========================================================================
   6. Product Cards & Grids (RECTANGLE / NO CIRCLES)
   Strict Requirement:
   - Width 100%, aspect-ratio: 4 / 5;
   - Overflow hidden, border-radius: 12px 12px 0 0;
   - Background: #f1f3f5;
   - Image fills top of card edge to edge;
   - Heart button top-right;
   - Fallback: light-grey rectangle with inline SVG hanger icon, NO circle;
   - Equal heights, buttons full width at bottom;
   - 2 cols on mobile (>=320px), 3 cols on tablet, 4 on desktop.
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  text-align: left;
  height: 100%;
}

.product-card:hover {
  border-color: rgba(184, 148, 31, 0.4);
  box-shadow: var(--shadow-md);
}

/* Rectangular image wrapper edge-to-edge at top */
.product-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: #f1f3f5;
  position: relative;
}

.product-img-wrap a.product-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Light grey rectangle fallback with hanger icon (NO CIRCLES) */
.img-fallback-hanger {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: #f1f3f5;
  color: #9ca3af;
}

.img-placeholder-active .img-fallback-hanger,
.img-broken + .img-fallback-hanger {
  display: flex !important;
}

/* Wishlist Heart Toggle Button (top-right corner of image) */
.wishlist-toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.wishlist-toggle-btn:hover {
  color: var(--gold);
  background-color: #ffffff;
}

.wishlist-toggle-btn.active {
  color: var(--gold);
  background-color: #ffffff;
  border-color: var(--gold);
}

.wishlist-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* Product Card Body */
.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 480px) {
  .product-card-body {
    padding: 10px;
  }
}

.product-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 6px;
}

@media (max-width: 480px) {
  .product-card-title {
    font-size: 0.88rem;
  }
}

.product-card-title a:hover {
  color: var(--gold);
}

.product-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.product-original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-actions {
  margin-top: auto;
}

/* ==========================================================================
   7. Buttons (Min 44px Touch Targets)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  box-shadow: 0 4px 12px rgba(184, 148, 31, 0.28);
}

.btn-outline {
  border-color: var(--border);
  background-color: #ffffff;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: var(--gold-soft);
}

.btn-danger {
  background-color: #ffffff;
  border-color: #fca5a5;
  color: var(--danger);
}

.btn-danger:hover {
  background-color: #fef2f2;
  border-color: var(--danger);
}

.btn-sm {
  padding: 8px 14px;
  min-height: 42px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   8. Category Cards & Feature Boxes (Square / Rectangular - NO CIRCLES)
   ========================================================================== */
.square-box-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  height: 100%;
}

.square-box-card:hover {
  border-color: rgba(184, 148, 31, 0.4);
  box-shadow: var(--shadow-md);
}

.category-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--card);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.category-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.category-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f1f3f5;
  overflow: hidden;
  position: relative;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.category-card-body {
  padding: 18px;
}

.card-rect-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-rect-icon svg {
  width: 22px;
  height: 22px;
}

.faq-cta-icon-box,
.card-circle-media {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  flex-shrink: 0;
}

.faq-cta-icon-box svg,
.card-circle-media svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  display: block;
}

.card-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.boxes-horizontal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.boxes-horizontal-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.boxes-horizontal-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 992px) {
  .boxes-horizontal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .boxes-horizontal-row-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 580px) {
  .boxes-horizontal-row,
  .boxes-horizontal-row-3,
  .boxes-horizontal-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   9. Filter & Sort Toolbar
   ========================================================================== */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.toolbar-left, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box-wrap {
  position: relative;
  min-width: 220px;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--gold);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.custom-filter-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-dropdown-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 140px;
  transition: border-color var(--transition-fast);
}

.dropdown-trigger:hover, .dropdown-trigger[aria-expanded="true"] {
  border-color: var(--gold);
}

.dropdown-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 6px;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: 4px;
  text-align: left;
  min-height: 42px;
}

.dropdown-item:hover, .dropdown-item.selected {
  background-color: var(--gold-soft);
  color: var(--gold);
}

.check-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.filter-tabs-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.filter-tab-btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  min-height: 38px;
  transition: all var(--transition-fast);
}

.filter-tab-btn.active {
  background-color: var(--gold);
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   10. Modals & Quick Add (Light Theme)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.6rem;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-add-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.quick-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #f1f3f5;
  flex-shrink: 0;
  position: relative;
}

.quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.size-selector-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.size-options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.size-btn {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition-fast);
}

.size-btn:hover {
  border-color: var(--gold);
}

.size-btn.selected {
  background-color: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

/* ==========================================================================
   11. Product Detail Page (PDP)
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 880px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.product-gallery-box {
  background-color: #f1f3f5;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.product-gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.pdp-info-panel {
  text-align: left;
}

.pdp-category {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.pdp-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.pdp-current-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.pdp-original-price {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.pdp-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  height: 48px;
}

.qty-btn {
  width: 42px;
  height: 100%;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

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

.qty-display {
  width: 44px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

/* ==========================================================================
   12. Cart Page & Wishlist Thumbnails
   Strict Requirement:
   - Square thumbnail (aspect-ratio 1/1, 90px on mobile, 110px on desktop,
     border-radius 10px, object-fit: cover, background #f1f3f5).
   - On mobile: clean layout (thumb left, info right/below, Order Summary below).
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.cart-items-card, .cart-summary-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table th {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Square thumbnail (1/1, 110px desktop, 90px mobile, radius 10px) */
.cart-item-thumb, .wishlist-item-thumb {
  width: 110px;
  height: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #f1f3f5;
  flex-shrink: 0;
  position: relative;
}

@media (max-width: 640px) {
  .cart-item-thumb, .wishlist-item-thumb {
    width: 90px;
    height: 90px;
  }
}

.cart-item-thumb img, .wishlist-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

/* Mobile cart layout: clean stacked card layout */
@media (max-width: 640px) {
  .cart-table thead {
    display: none;
  }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 14px;
    background-color: var(--bg-soft);
  }
  .cart-table td {
    border: none;
    padding: 6px 0;
  }
}

/* Wishlist page button wrapping */
.wishlist-actions-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.wishlist-actions-wrap .btn {
  flex: 1 1 45%;
  min-width: 100px;
}

/* ==========================================================================
   13. Contact Page Fixes (Strict Rules)
   - Desktop (>=992px): 2 columns grid (form left, info right), align-items: start
   - Atelier Fittings card: height: auto, no stretching
   - Mobile (<992px): single column (form first, then Atelier card, then map)
   - Inputs/textarea: width 100%, font-size: 16px (no mobile zoom), padding 14px
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: auto;
}

.contact-info-col .square-box-card {
  height: auto;
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 14px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 16px; /* Prevents mobile browser auto-zoom */
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
}

textarea.form-control {
  height: 130px;
  padding: 14px;
  resize: vertical;
}

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

/* CSS Vector Map Placeholder (Clean architectural light theme) */
.css-map-container {
  height: 220px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: #f8fafc;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
}

.map-marker-pin {
  width: 32px;
  height: 32px;
  animation: mapBounce 2s infinite ease-in-out;
}

@keyframes mapBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.map-marker-label {
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
}

/* ==========================================================================
   14. FAQ Accordion (Light Theme)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: transparent;
  min-height: 48px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

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

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
  padding: 0 20px 20px 20px;
}

/* ==========================================================================
   15. Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 480px) {
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-width: 380px;
}

.toast-item.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.toast-error .toast-icon {
  color: var(--danger);
}

/* ==========================================================================
   16. Simple, Consistent Footer (Light Theme)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand {
  text-align: left;
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
  text-align: left;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--gold);
}
/* Size wale <td> ke andar jo span.font-bold.text-sm hai usko target karke badge banana */
.cart-table tbody tr td span.font-bold.text-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #f3f4f6; /* Light gray background */
  color: #374151;            /* Dark text color */
  font-size: 0.75rem;        /* Small text size */
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;        /* Rounded corners (Div/Badge shape) */
  border: 1px solid #e5e7eb;  /* Soft border */
  margin-top: 6px;
  margin-bottom: 6px;
}

/* L ya M ke aage "Size: " text add karne ke liye pseudo-element */
.cart-table tbody tr td span.font-bold.text-sm::before {
  content: "Size: ";
  font-weight: 500;
  color: #6b7280; /* Gray color for 'Size:' label */
}
@media (max-width: 639px) {
  /* Cart Row ko Grid Layout banana */
  .cart-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto; /* Quantity left, Price right */
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
  }

  /* 1st TD: Item Info (Image + Title + Subtitle) - Top Full Width */
  .cart-table tbody tr td:nth-child(1) {
    grid-column: 1 / -1;
  }

  /* 2nd TD: Size Badge - Top Full Width / Details ke niche */
  .cart-table tbody tr td:nth-child(2) {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  /* 3rd TD: Quantity Picker - Bottom Left */
  .cart-table tbody tr td:nth-child(3) {
    grid-column: 1;
    justify-self: start;
  }

  /* 4th TD: Total Price ($105.00) - Quantity ke Side me (Right side) */
  .cart-table tbody tr td:nth-child(4) {
    grid-column: 2;
    justify-self: end;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
  }

  /* 5th TD: Remove Button - Sabse Niche Full Width / Right Alignment */
  .cart-table tbody tr td:nth-child(5) {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start; /* Remove button ko left/bottom align karne ke liye */
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #f3f4f6;
  }
}
@media (max-width: 639px) {
  /* Cart Row ko Grid Layout me set karein */
  .cart-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 equal columns */
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
  }

  /* 1st TD: Item Info (Image + Title) - Full Width Top */
  .cart-table tbody tr td:nth-child(1) {
    grid-column: 1 / -1;
  }

  /* --- ROW 1: Size aur Quantity (Aaju-Baju) --- */
  
  /* 2nd TD: Size Badge - Left Side */
  .cart-table tbody tr td:nth-child(2) {
    grid-column: 1;
    justify-self: start;
  }

  /* 3rd TD: Quantity Selector - Right Side */
  .cart-table tbody tr td:nth-child(3) {
    grid-column: 2;
    justify-self: end;
  }

  /* --- ROW 2: Price aur Remove Button (Aaju-Baju) --- */
  
  /* 4th TD: Total Price - Left Side */
  .cart-table tbody tr td:nth-child(4) {
    grid-column: 1;
    justify-self: start;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #f3f4f6;
  }

  /* 5th TD: Remove Button - Right Side */
  .cart-table tbody tr td:nth-child(5) {
    grid-column: 2;
    justify-self: end;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #f3f4f6;
  }
}
@media (max-width: 639px) {
  /* Main Card Layout (Grid) */
  .cart-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
  }

  /* 1st TD: Image & Product Details (Top Full Width) */
  .cart-table tbody tr td:nth-child(1) {
    grid-column: 1 / -1;
  }

  /* --- ROW 1: Size (Left) & Quantity (Right) --- */

  /* 2nd TD: Size Badge - Left Side */
  .cart-table tbody tr td:nth-child(2) {
    grid-column: 1;
    justify-self: start;
  }

  /* 3rd TD: Quantity Selector - Right Side */
  .cart-table tbody tr td:nth-child(3) {
    grid-column: 2;
    justify-self: end;
  }

  /* --- ROW 2: Remove Button (Left) & Total Price (Right) --- */

  /* 5th TD: Remove Button - Left Side */
  .cart-table tbody tr td:nth-child(5) {
    grid-column: 1;
    grid-row: 3; /* Price ke aaju-baju karne ke liye */
    justify-self: start;
    margin-top: 8px;
    padding-top: 8px;
  }

  /* 4th TD: Total Price - Right Side */
  .cart-table tbody tr td:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
    padding-top: 8px;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: #ffffff; /* Apni website ke background color ke hisaab se adjust karein */
}
/* 1. HTML aur Body par overflow check karein */
html, body {
  overflow-x: hidden; /* Agar overflow: hidden ho toh use overflow-x me badlein */
}

/* 2. Header Sticky CSS */
.site-header {
  position: -webkit-sticky; /* Safari support ke liye */
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: #ffffff; /* Background dena zaroori hai taaki piche ka content na dikhe */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Optional: Scroll hone par pata chale */
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff; /* Background dena zaroori hai taaki text piche na chhupe */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Zaroori Step: Kyunki fixed header page ke upar chipak jata hai, 
   isliye body ya main content ko thoda margin/padding deni padegi taaki pehla content chup na jaye */
body {
  padding-top: 60px; /* Header ki height ke hisaab se ise adjust kar lein (jaise 50px ya 60px) */
}
@media (max-width: 639px) {
  /* Slider container ki position set karo aur bottom me space banao */
  .hero-slider, 
  .hero-slider-container {
    position: relative;
    padding-bottom: 60px;
  }

  /* Content ko proper jagah dene ke liye */
  .hero-slide-content {
    margin-bottom: 20px;
  }

  /* Button dem ko bilkul niche corners me shift karo */
  .slider-arrow {
    top: auto;
    bottom: 10px;
    transform: none;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
  }

  /* Previous button bottom left me */
  .slider-arrow.slider-prev {
    left: 20px;
  }

  /* Next button bottom right me */
  .slider-arrow.slider-next {
    right: 20px;
  }
}@media (max-width: 639px) {
  /* Slider container par koi padding mat rakho taaki extra space na bane */
  .hero-slider, 
  .hero-slider-container {
    position: relative;
    padding-bottom: 0 !important;
  }

  /* Buttons ko image ke andar lower part me absolute position karein */
  .slider-arrow {
    position: absolute;
    top: auto;
    bottom: 20px; /* Card ke andar bottom se thoda upar */
    transform: none;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
  }

  /* Left button */
  .slider-arrow.slider-prev {
    left: 16px;
  }

  /* Right button */
  .slider-arrow.slider-next {
    right: 16px;
  }
}
@media (max-width: 639px) {
  /* Hero content ko thoda upar karne ke liye bottom padding add karein */
  .hero-slide-content {
    padding-bottom: 55px !important;
  }
}
@media (max-width: 639px) {
  /* CTA buttons group ko flex direction row aur gap dekar aaju-baju karein */
  .hero-cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px; /* Dono buttons ke beech ka gap */
    width: 100%;
  }

  /* Buttons ki width ko adjust karein taaki wo equal space lein aur line me fit aayein */
  .hero-cta-group .btn {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.875rem;
  }
}
/* Premium Dark Luxury Theme Footer Background */
footer.site-footer,
.site-footer {
  background-color: #111827 !important; /* Deep Premium Dark Slate / Charcoal */
  color: #9ca3af !important;             /* Muted gray text readability ke liye */
  padding-top: 40px;
  padding-bottom: 30px;
  border-top: 2px solid #d97706;         /* Brand gold accent top border */
}

/* Brand Name in Footer */
.site-footer .brand-logo,
.site-footer h2,
.site-footer h3,
.site-footer .footer-brand-title {
  color: #ffffff !important;
}

/* Footer Headings (NAVIGATION, CUSTOMER CARE, etc.) */
.site-footer h4,
.site-footer .footer-heading {
  color: #d97706 !important;             /* Warm Gold color for Headings */
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Footer Navigation Links */
.site-footer a {
  color: #d1d5db !important;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

/* Hover Effect on Links */
.site-footer a:hover {
  color: #f59e0b !important;             /* Light Gold hover effect */
}

/* Copyright & Subtext */
.site-footer p,
.site-footer .footer-desc {
  color: #9ca3af !important;
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (max-width: 639px) {
  /* Container ko horizontal scrolling ya flex-wrap me set karein */
  .boxes-horizontal-row {
    display: flex;
    flex-direction: row; /* Ek line me karne ke liye */
    overflow-x: auto;    /* Horizontal scroll enable karne ke liye */
    gap: 12px;           /* Boxes ke beech ka gap */
    padding: 8px 4px;
    scroll-snap-type: x mandatory;
    width: 100%;
    box-sizing: border-box;
  }

  /* Har ek individual box ki width fix karein taaki woh side-by-side fit aayein */
  .boxes-horizontal-row > div,
  .boxes-horizontal-row .square-box-card {
    flex: 0 0 75%;       /* Ek baar me ek card aur thoda agla card dikhega */
    max-width: 260px;
    scroll-snap-align: start;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
  }
}
@media (max-width: 639px) {
  /* Buttons container ko center align karna */
  div[style*="display: flex"][style*="flex-wrap: wrap"] {
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Dono buttons ka size bada karna */
  div[style*="display: flex"][style*="flex-wrap: wrap"] .btn,
  div[style*="display: flex"][style*="flex-wrap: wrap"] a {
    width: 100% !important;        /* Full width button size */
    max-width: 280px !important;   /* Excess width se bachane ke liye */
    padding: 12px 20px !important; /* Button ki height/padding badhane ke liye */
    font-size: 1rem !important;    /* Text size thoda bada karne ke liye */
    text-align: center !important;
    box-sizing: border-box !important;
  }
}
/* Mobile navigation drawer / hamburger menu ke andar action badges ko chupane ke liye */
.mobile-nav-panel .action-badge,
.mobile-nav-panel .wishlist-badge,
.mobile-nav-panel .cart-badge,
aside .action-badge {
  display: none !important;
}
/* Add to Bag button ki width aur flex ko control karne ke liye */
#pdp-add-bag-btn,
.pdp-actions-row .btn-primary {
  flex: unset !important;
  width: auto !important;
  min-width: 120px !important; /* Aap yahan 100px ya 120px apne hisab se rakh sakte hain */
  padding-left: 20px !important;
  padding-right: 20px !important;
}
nav[aria-label="Breadcrumb"] {
  display: none !important;
}