/* =====================================================
   Ambica Haldi Farm — Premium polish layer
   ===================================================== */

:root {
  --premium-glow: 0 18px 50px rgba(31, 63, 40, 0.08);
  --premium-lift: 0 14px 36px rgba(28, 25, 23, 0.1);
  --header-height: 108px;
}

body {
  background:
    radial-gradient(1200px 480px at 100% -10%, rgba(232, 163, 23, 0.07), transparent 55%),
    radial-gradient(900px 420px at -10% 30%, rgba(47, 93, 58, 0.05), transparent 50%),
    var(--color-offwhite);
}

/* —— Brand mark —— */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
}
.logo__emblem {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 8px 18px rgba(196, 132, 10, 0.22);
}
.logo__emblem img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.logo--wordmark .logo__emblem {
  width: auto;
  height: auto;
  max-width: min(420px, 68vw);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
.logo--wordmark .logo__emblem img {
  width: auto;
  height: 78px;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}
.site-header .logo {
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  overflow: hidden;
}
.site-header .logo--wordmark .logo__emblem {
  max-width: 100%;
}
.site-header .logo--wordmark .logo__emblem img {
  height: 72px;
  width: auto;
  max-width: 100%;
}
.footer-brand .logo {
  margin-bottom: 0.35rem;
}
.footer-brand .logo--wordmark .logo__emblem {
  background: transparent;
  max-width: min(420px, 90vw);
}
.footer-brand .logo--wordmark .logo__emblem img {
  height: 92px;
  max-width: 100%;
  filter: none;
  opacity: 1;
}
/* admin brand styles live in admin.css */
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__mark {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  letter-spacing: 0.01em;
}
.logo__tag {
  margin-top: 0.15rem;
  color: var(--color-forest);
  letter-spacing: 0.14em;
}

/* —— Header —— */
.site-header {
  background: rgba(252, 251, 248, 0.86);
  border-bottom: 1px solid rgba(229, 223, 212, 0.85);
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.04);
}
.primary-nav a {
  position: relative;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  letter-spacing: 0.01em;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(247, 228, 184, 0.55);
  color: var(--color-forest-deep);
}
.primary-nav a[aria-current="page"]::after {
  display: none;
}
.header-action {
  border: 1px solid transparent;
}
.header-action:hover {
  background: #fff;
  border-color: var(--color-line);
  box-shadow: var(--shadow-xs);
}

/* —— Buttons —— */
.btn {
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
}
.btn--primary {
  background: linear-gradient(180deg, #efb53a, var(--color-turmeric));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(196, 132, 10, 0.22);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--color-turmeric), var(--color-turmeric-deep));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(196, 132, 10, 0.28);
}
.btn--secondary {
  box-shadow: 0 10px 22px rgba(31, 63, 40, 0.18);
}
.btn--outline {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn--light {
  box-shadow: var(--shadow-sm);
}

/* —— Hero —— */
.hero-section {
  min-height: min(88vh, 760px);
  isolation: isolate;
}
.hero-section__media img {
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}
.hero-section__overlay {
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.35) 0%, rgba(18, 16, 14, 0.62) 46%, rgba(18, 16, 14, 0.88) 100%);
}
.hero-section__content {
  max-width: 38rem;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero-section__content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(232, 163, 23, 0.16);
  border: 1px solid rgba(232, 163, 23, 0.28);
  color: #f6d27a;
  margin-bottom: 1rem;
}
.hero-section__content .display-hero {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  margin-bottom: 1rem;
}
.hero-section__content .body-lg {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  max-width: 34rem;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  position: relative;
  z-index: 3;
}

/* —— Trust strip —— */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.05rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 223, 212, 0.95);
  box-shadow: var(--premium-glow);
  backdrop-filter: blur(8px);
}
.trust-strip__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--color-forest-soft);
  color: var(--color-forest-deep);
}
.trust-strip__icon svg { width: 18px; height: 18px; }
.trust-strip__item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.15rem;
}
.trust-strip__item span {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.35;
}

/* —— Sections —— */
.section-header {
  margin-bottom: 2rem;
}
.section-header__text .display-2 {
  letter-spacing: -0.02em;
}
.eyebrow {
  letter-spacing: 0.16em;
}

/* —— Product cards —— */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(229, 223, 212, 0.95);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 132, 10, 0.28);
  box-shadow: var(--premium-lift);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background:
    radial-gradient(circle at 30% 20%, rgba(247, 228, 184, 0.55), transparent 55%),
    var(--color-sand);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.product-card__media img.is-illustration,
.product-gallery__main img.is-illustration,
.product-gallery__thumb img.is-illustration {
  object-fit: contain;
  padding: 0.75rem;
  background: #f6f1e8;
}
.product-card:hover .product-card__media img {
  transform: scale(1.05);
}
.product-card__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.product-card__badges .badge {
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(31, 63, 40, 0.92);
  color: #fff8ea;
  backdrop-filter: blur(4px);
}
.product-card__wish {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.92);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}
.product-card__wish:hover {
  transform: scale(1.06);
  color: var(--color-saffron);
}
.product-card__wish svg { width: 16px; height: 16px; }
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
}
.product-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
  font-weight: 600;
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}
.product-card__title a {
  color: var(--color-charcoal);
}
.product-card__title a:hover {
  color: var(--color-forest-deep);
}
.product-card__desc {
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.product-card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.product-card .price__current {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-forest-deep);
}
.product-card .price__mrp {
  font-size: 0.88rem;
  color: var(--color-subtle);
  text-decoration: line-through;
}
.product-card .price__discount {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-saffron-deep);
  background: rgba(212, 106, 30, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.product-card__footer {
  margin-top: 0.75rem;
}
.product-card__footer .btn {
  border-radius: 999px;
  min-height: 42px;
}

/* —— Category cards —— */
.category-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 223, 212, 0.8);
}
.category-card__media {
  position: absolute;
  inset: 0;
}
.category-card__media img,
.category-card__media .img-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.category-card:hover .category-card__media img {
  transform: scale(1.06);
}
.category-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(20,17,15,0.78), rgba(20,17,15,0.05));
  color: #fff;
}
.category-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

/* —— Testimonials —— */
.testimonial-card {
  border-radius: 18px;
  border: 1px solid rgba(229, 223, 212, 0.95);
  background: #fff;
  padding: 1.35rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--premium-glow);
}

/* —— Page hero —— */
.page-hero {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(232, 163, 23, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f1e6, var(--color-cream));
  border-bottom: 1px solid var(--color-line);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero__title {
  letter-spacing: -0.02em;
}

/* —— Forms storefront —— */
.form-control,
.form-select,
.form-textarea,
.form-input {
  border-radius: 12px !important;
  border-width: 1.5px !important;
  min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 4px rgba(47, 93, 58, 0.12);
}

/* —— Motion —— */
.animate-fade-up {
  animation: premiumRise 0.7s var(--ease-out) both;
}
@keyframes premiumRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1023px) {
  :root { --header-height: 76px; }
  .site-header .logo--wordmark .logo__emblem img {
    height: 48px;
  }
  .mobile-nav__header .logo--wordmark .logo__emblem {
    max-width: min(220px, 62vw);
  }
  .mobile-nav__header .logo--wordmark .logo__emblem img {
    height: 44px;
  }
}
@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
  }
}
@media (max-width: 560px) {
  :root { --header-height: 68px; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-section { min-height: 78vh; }
  .site-header .logo--wordmark .logo__emblem img {
    height: 40px;
  }
  .header-action {
    width: 38px;
    height: 38px;
  }
}

/* �� Footer + commerce surfaces �� */
.site-footer {
  background: linear-gradient(180deg, #163021, #1a3324 40%, #12261b);
  margin-top: 2rem;
}
.footer-brand .logo__mark { color: #fff4d8; }
.footer-brand .logo__tag { color: rgba(246, 210, 122, 0.85); }
.footer-brand p { color: rgba(248,245,239,0.72); max-width: 28rem; }
.checkout-card,
.cart-summary,
.account-card {
  border-radius: 18px !important;
  box-shadow: var(--premium-glow) !important;
  border: 1px solid rgba(229,223,212,0.95) !important;
}
.shop-toolbar,
.filters-panel {
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(229,223,212,0.9);
  box-shadow: var(--shadow-xs);
}

.product-card__wish.is-active { color: var(--color-saffron); background: #fff4e8; }
.product-card__wish.is-active svg { fill: currentColor; }

.lang-switch { display: flex; gap: .4rem; align-items: center; font-size: .75rem; letter-spacing: .04em; }
.lang-switch a { color: inherit; text-decoration: none; opacity: .7; }
.lang-switch a[aria-current="true"] { opacity: 1; font-weight: 700; }
.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #1a3324;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: .7rem 1rem;
  font-size: .85rem;
  box-shadow: 0 10px 24px rgba(18, 24, 16, 0.28);
}
.whatsapp-fab svg { width: 1.15rem; height: 1.15rem; flex: none; }
@media (max-width: 700px) {
  .whatsapp-fab { width: 3.25rem; height: 3.25rem; padding: 0; justify-content: center; }
  .whatsapp-fab span { display: none; }
  .whatsapp-fab svg { width: 1.45rem; height: 1.45rem; }
  .site-main { padding-bottom: 4.5rem; }
}
.pay-methods { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pay-methods label { border: 1px solid rgba(26,51,36,.2); border-radius: 999px; padding: .45rem .8rem; cursor: pointer; }
.pay-methods input { margin-right: .35rem; }

.mt-10 { margin-top: var(--space-16); }

.product-section {
  margin-top: 3.5rem;
  padding: 1.75rem 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 18px;
}
@media (min-width: 768px) {
  .product-section {
    margin-top: 4.5rem;
    padding: 2.25rem 2rem 2rem;
  }
}
.product-section .tabs { margin-bottom: 1.75rem; }
.product-section .tabs__panel {
  max-width: 72ch;
  line-height: 1.75;
  padding-bottom: 0.25rem;
}
.product-section .grid-2 { align-items: start; gap: 2rem; }
.product-section .display-3 { margin-bottom: 1.5rem; }

.account-layout { gap: 2.25rem; margin-top: 2rem; }
.stat-grid { gap: 1.25rem; margin-bottom: 2.25rem; }
.stat-card { padding: 1.5rem 1.35rem; }
.stat-card__value {
  font-family: var(--font-body);
  font-weight: 650;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0;
}
.account-layout > div > .account-panel + .account-panel { margin-top: 1.75rem; }
