/* ═══════════════════════════════════════════════════════════════
   DULHAN FAMILY — Base + Typography + Utilities
   ═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--txt-1);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

svg {
  flex-shrink: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--ivory-3);
}

::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-deep);
}

/* Selection */
::selection {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* ── Typography Scale ── */
h1,
h2,
h3 {
  font-family: var(--ff-display);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
}

h4,
h5,
h6 {
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--ink-2);
}

.display-1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
}

.display-2 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
}

.h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.ff-display {
  font-family: var(--ff-display) !important;
}

.ff-hindi {
  font-family: var(--ff-hindi) !important;
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ── Ornamental Divider ── */
.orn-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin: 0.6rem 0;
}

.orn-divider::before,
.orn-divider::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.orn-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.orn-divider>span {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.orn-divider.left {
  justify-content: flex-start;
}

.orn-divider.left::before {
  display: none;
}

.orn-divider.left::after {
  max-width: 100px;
}

/* ── Container ── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ── Section Head ── */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head .eyebrow {
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0.3rem 0 0.5rem;
}

.section-head p {
  font-size: 1rem;
  color: var(--txt-3);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Grid Layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  font-family: var(--ff-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--t-fast);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-brand {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: var(--ivory);
  border-color: var(--maroon);
  box-shadow: var(--shadow-brand);
}

.btn-brand:hover {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, #280808 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(92, 26, 26, 0.38);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--ivory);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--txt-3);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.btn-lg {
  padding: 0.95rem 2.4rem;
  font-size: 0.96rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.76rem;
}

.btn-xs {
  padding: 0.35rem 0.8rem;
  font-size: 0.68rem;
}

.btn-icon {
  padding: 0.6rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
}

.btn-icon svg {
  display: block;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-brand {
  background: var(--maroon);
  color: #fff;
}

.badge-gold {
  background: var(--gold);
  color: var(--ink);
}

.badge-sale {
  background: #C62828;
  color: #fff;
}

.badge-new {
  background: #2E7D32;
  color: #fff;
}

.badge-heritage {
  background: var(--copper);
  color: #fff;
}

.badge-outline {
  background: transparent;
  color: var(--maroon);
  border: 1px solid var(--maroon);
}

/* ── Card shadow / hover base ── */
.card-hover {
  transition: transform var(--t-base), box-shadow var(--t-base);
}

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

/* ── Toast ── */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--r-md);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.35s var(--ease-back), opacity 0.3s var(--ease);
  max-width: 320px;
  border-left: 3px solid var(--gold);
}

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

.toast.toast-success {
  border-left-color: #4CAF50;
}

.toast.toast-error {
  border-left-color: #F44336;
}

/* ── Overlay ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 10, 0, 0.55);
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: var(--t-base);
  backdrop-filter: blur(2px);
}

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

/* ── Announcement Bar ── */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--maroon-deep);
  color: var(--gold-pale);
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
}

.announce-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: announce-scroll 28s linear infinite;
}

.announce-item {
  margin: 0 3rem;
}

.announce-item::before {
  content: '✦';
  margin-right: 1rem;
  color: var(--gold);
}

@keyframes announce-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(250, 244, 228, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--t-base);
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-2);
  background: rgba(250, 244, 228, 0.98);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--t-base), opacity var(--t-base);
  border-radius: var(--r-sm);
}

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

.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--ff-hindi);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--maroon);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-top: 0.2rem;
  white-space: nowrap;
}

.nav-logo-name em {
  display: inline-block;
  font-style: italic;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--gold-deep);
  margin-top: 0;
  margin-left: 0;
  font-weight: 500;
  text-transform: lowercase;
  -webkit-text-fill-color: var(--gold-deep);
  /* Reset gradient for em */
}

.nav-logo-sub {
  display: none; /* Removed 'HERITAGE BRIDAL & WOMENSWEAR' from header per rules */
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  position: relative;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--txt-2);
  border-radius: var(--r-pill);
  transition: var(--t-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: left var(--t-base), right var(--t-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--maroon);
  background: rgba(92, 26, 26, 0.06);
}

.nav-link.active::after {
  left: 12px;
  right: 12px;
}

/* Outlet nav special pills */
.nav-link-outlet-exc {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-mid) 100%);
  color: var(--ivory) !important;
  padding: 0.45rem 1.1rem;
}

.nav-link-outlet-exc:hover {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 100%) !important;
  color: var(--ivory) !important;
}

.nav-link-outlet-sar {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: var(--ink) !important;
  padding: 0.45rem 1.1rem;
}

.nav-link-outlet-sar:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ivory-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.38rem 0.9rem;
  transition: var(--t-fast);
}

.nav-search:focus-within {
  border-color: var(--maroon);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(92, 26, 26, 0.1);
}

.nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.8rem;
  color: var(--ink);
  width: 150px;
}

.nav-search input::placeholder {
  color: var(--ink-4);
}

.nav-search svg {
  color: var(--ink-4);
}

.cart-fab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1rem;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: var(--ivory);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--t-base);
  position: relative;
  border: 1px solid rgba(201, 144, 42, 0.3);
}

.cart-fab:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--maroon) 100%);
  box-shadow: var(--shadow-brand);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  transition: transform var(--t-fast);
}

.cart-badge.hidden {
  transform: scale(0);
}

.wishlist-fab {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--txt-3);
  transition: var(--t-fast);
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
}

.wishlist-fab:hover {
  color: var(--maroon);
  border-color: var(--maroon);
  background: var(--brand-light);
}

.wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--maroon);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t-base);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--total-nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  z-index: 895;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: var(--t-base);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--txt-2);
  border-radius: var(--r-md);
  border-left: 3px solid transparent;
  transition: var(--t-fast);
}

.mobile-nav a:hover {
  color: var(--maroon);
  border-left-color: var(--maroon);
  background: rgba(92, 26, 26, 0.05);
}

/* ── Cart Sidebar ── */
#cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  background: var(--surface);
  z-index: 950;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 60px rgba(26, 10, 0, 0.18);
}

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

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

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--txt-4);
  font-size: 1.2rem;
  transition: var(--t-fast);
  border: 1px solid var(--border);
}

.cart-close-btn:hover {
  background: var(--surface-2);
  color: var(--maroon);
}

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--txt-4);
  padding: 3rem 2rem;
  text-align: center;
}

.cart-empty-icon {
  font-size: 4rem;
  opacity: 0.45;
  margin-bottom: 0.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

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

.cart-item-img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.cart-item-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.cart-item-meta {
  font-size: 0.72rem;
  color: var(--txt-4);
  margin-top: 0.2rem;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--maroon);
  margin-top: 0.4rem;
}

.qty-row {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  gap: 0;
}

.qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--txt-2);
  transition: var(--t-fast);
}

.qty-btn:hover {
  background: var(--brand-light);
  color: var(--maroon);
}

.qty-num {
  width: 34px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.cart-remove {
  color: var(--txt-4);
  font-size: 1.1rem;
  transition: var(--t-fast);
}

.cart-remove:hover {
  color: #E53935;
}

.cart-footer-wrap {
  padding: 1.1rem 1.6rem;
  border-top: 1px solid var(--border);
  background: var(--ivory-2);
  flex-shrink: 0;
}

.cart-totals {
  margin-bottom: 1rem;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--txt-3);
  padding: 0.28rem 0;
}

.cart-row.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
  margin-top: 0.3rem;
}

.cart-row.free {
  color: #2E7D32;
}

.cart-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.cart-trust-item {
  font-size: 0.67rem;
  color: var(--txt-4);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── Product Card ── */
.product-grid {
  display: grid;
  gap: 1.5rem;
}

.product-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.product-img-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-img-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--t-base), transform var(--t-base);
}

.product-card:hover .product-img-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-img-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(250, 244, 228, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-2);
  transition: var(--t-fast);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.product-img-action-btn:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.product-img-action-btn.wished {
  color: var(--maroon);
}

.product-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 10, 0, 0.82);
  backdrop-filter: blur(8px);
  color: var(--ivory);
  text-align: center;
  padding: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform var(--t-base);
  cursor: pointer;
}

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

.product-quick-add:hover {
  background: rgba(92, 26, 26, 0.92);
}

.product-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-outlet-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.product-name {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--txt-4);
}

.product-stars {
  color: var(--gold-light);
  letter-spacing: 0.03em;
  font-size: 0.8rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.product-price {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
}

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

.product-discount {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2E7D32;
}

/* ── Star rating display ── */
.stars {
  color: var(--gold-light);
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.modal.active {
  pointer-events: auto;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.38s var(--ease-back), opacity 0.3s var(--ease);
}

.modal.active .modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}

.modal-header h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
}

.modal-close {
  color: var(--txt-4);
  font-size: 1.4rem;
  transition: var(--t-fast);
}

.modal-close:hover {
  color: var(--maroon);
}

.modal-body {
  padding: 2rem;
}

/* ── Footer ── */
#footer {
  background: var(--ink);
  color: var(--ivory);
}

.footer-top {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(250, 244, 228, 0.1);
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.footer-brand-emblem {
  margin-bottom: 24px;
}

.footer-logo-img {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--ff-hindi);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--ivory);
  line-height: 1.15;
  padding-top: 0.3rem; 
  gap: 14px;
  margin-bottom: 22px;
}

.footer-brand-name em {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--gold-light);
  line-height: 1;
}

.footer-brand-sub {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  max-width: 280px;
  line-height: 1.7;
}

.footer-about {
  font-size: 0.84rem;
  color: rgba(250, 244, 228, 0.5);
  line-height: 1.7;
  margin: 1.5rem 0;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(250, 244, 228, 0.08);
  color: rgba(250, 244, 228, 0.6);
  border: 1px solid rgba(250, 244, 228, 0.12);
  transition: var(--t-fast);
}

.footer-social-btn:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.footer-col h5 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 144, 42, 0.2);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(250, 244, 228, 0.5);
  transition: var(--t-fast);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: rgba(250, 244, 228, 0.55);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.footer-contact-item a {
  color: rgba(250, 244, 228, 0.7);
  transition: var(--t-fast);
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(250, 244, 228, 0.3);
}

.footer-bottom a {
  color: rgba(250, 244, 228, 0.45);
  transition: var(--t-fast);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.payment-badges {
  display: flex;
  gap: 0.4rem;
}

.payment-badge {
  padding: 0.22rem 0.65rem;
  background: rgba(250, 244, 228, 0.08);
  border: 1px solid rgba(250, 244, 228, 0.12);
  border-radius: var(--r-xs);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(250, 244, 228, 0.5);
}

/* ── Scroll reveal utility ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Hidden ── */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe57;
  color: #FFF;
}

@media screen and (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

/* ═══════════════════════════════════
   COMPREHENSIVE MOBILE FIXES
   ═══════════════════════════════════ */

/* Cart sidebar full-width on small phones */
@media (max-width: 480px) {
  #cart-sidebar {
    width: 100vw;
    border-radius: 0;
  }
}

/* Modal full-screen on mobile */
@media (max-width: 768px) {
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal-box {
    max-height: 92vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    width: 100%;
    max-width: 100%;
  }
  .modal-header {
    padding: 1.2rem 1.2rem;
  }
  .modal-body {
    padding: 1.2rem;
  }
}

/* Product cards on small screens */
@media (max-width: 400px) {
  .product-grid-4,
  .product-grid-3,
  .product-grid-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .product-body {
    padding: 0.7rem 0.75rem 0.85rem;
  }
  .product-name {
    font-size: 0.82rem;
  }
}

/* Footer mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .payment-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-brand-col {
    max-width: 100%;
  }
}

/* Toast position fix on mobile */
@media (max-width: 480px) {
  #toast-container {
    bottom: 1rem;
    right: 0.75rem;
    left: 0.75rem;
  }
  .toast {
    max-width: 100%;
  }
}

/* Navbar logo text truncation on very small screens */
@media (max-width: 360px) {
  .nav-logo-name {
    font-size: 1.1rem;
  }
  .nav-logo-img {
    height: 38px;
  }
}

/* ═══════════════════════════════════
   GLOBAL MOBILE NAVBAR (applies to ALL pages)
   ═══════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 62px; --announce-h: 30px; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-search { display: none; }
}