:root {
  --bg: #ffffff !important;
  --surface: #ffffff !important;
  --border: #dce5d5 !important;
  --accent: #d9a52b !important;
  --accent2: #bd8a1c !important;
  --text: #20352a !important;
  --muted: #657568 !important;
  --error: #b42318 !important;
}

body {
  position: relative;
  isolation: isolate;
  background: #ffffff !important;
  color: #20352a !important;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url("../assets/punyakoti-logo-watermark.webp") center 48% / min(58vw, 570px) auto no-repeat;
  opacity: .06;
}
html[lang="kn"] :where([data-i18n], .filter-btn, .card-body, .language-picker select) { font-family: 'Noto Sans Kannada', 'Nirmala UI', sans-serif !important; }
html[lang="hi"] :where([data-i18n], .filter-btn, .card-body, .language-picker select) { font-family: 'Noto Sans Devanagari', 'Nirmala UI', sans-serif !important; }
html[lang="te"] :where([data-i18n], .filter-btn, .card-body, .language-picker select) { font-family: 'Noto Sans Telugu', 'Nirmala UI', sans-serif !important; }
html[lang="ta"] :where([data-i18n], .filter-btn, .card-body, .language-picker select) { font-family: 'Noto Sans Tamil', 'Nirmala UI', sans-serif !important; }
nav { background: rgba(255,255,255,.96) !important; border-color: #dce5d5 !important; box-shadow: 0 4px 18px rgba(35,60,39,.08); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #254b36 !important; font-family: 'Rye', 'Playfair Display', serif !important; font-size: 25px !important; letter-spacing: .015em; text-shadow: 1px 1px 0 #e8c572; }
.brand::before { content: ""; flex: 0 0 38px; width: 38px; height: 38px; background: url("../assets/punyakoti-logo-watermark.webp") center / contain no-repeat; }
.brand::first-letter { color: #d9a52b; }
.left { background: linear-gradient(145deg,#e9f0df 0%,#f8f8f1 100%) !important; }
.left .brand,.left h1,.left h2 { color: #20352a !important; }
.right,.page,.products-section { background-color: transparent !important; }
.hero { background: #fff !important; border-color: #dce5d5 !important; }
.hero p,.subtitle,.nav-user,.card-desc,.loading { color: #657568 !important; }
.filter-bar { background: #fff !important; border-color: #dce5d5 !important; }
.filter-btn { color: #4c6252 !important; border-color: #cbd8c8 !important; }
.filter-btn:hover,.filter-btn.active { background: #e6efdf !important; color: #234d35 !important; border-color: #77a17d !important; }
.card,.modal { background: #fff !important; border-color: #dce5d5 !important; color: #20352a !important; box-shadow: 0 10px 28px rgba(35,60,39,.09); }
.card-img { background: #f3f6ef !important; color: #20352a !important; }
.card-category { color: #527b59 !important; }
.price { color: #916910 !important; }
.card-name,.modal h2,label { color: #20352a !important; }
.btn,.add-btn,.checkout-btn,.save-btn,.modal-btns .save-btn { background: #d9a52b !important; color: #20352a !important; }
.btn:hover,.add-btn:hover,.checkout-btn:hover,.save-btn:hover { background: #c99520 !important; }
.nav-btn.cart { background: #fff !important; color: #294936 !important; border-color: #cbd8c8 !important; }
.nav-btn.cart:hover { background: #e6efdf !important; color: #234d35 !important; }
.nav-btn.logout { color: #657568 !important; }
.field input,.field textarea,.field select,input,textarea,select { background: #fff !important; border-color: #cbd8c8 !important; color: #20352a !important; }
.modal-overlay { background: rgba(25,42,30,.58) !important; }
.toast { background: #234d35 !important; border-color: #d9a52b !important; color: #fff !important; }
.msg.error { background: #fff0ef !important; color: #a51818 !important; }
.msg.success { background: #eff8e8 !important; color: #2d6b25 !important; }

.hero-store { display: grid !important; grid-template-columns: 1fr; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 42px; }
.hero-store h1 { max-width: 680px; font-size: clamp(34px,5vw,58px) !important; line-height: 1.06; color: #20352a; }
.hero-store .hero-copy { max-width: 900px; }
.hero-store .hero-copy p { margin-top: 14px; max-width: 560px; font-size: 17px; line-height: 1.65; }
.hero-eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 12px; border-radius: 999px; background: #234d35; color: #f1ce74; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-image { width: 100%; max-height: 350px; object-fit: contain; border-radius: 18px; mix-blend-mode: multiply; }
.farm-banner { width: min(1440px, calc(100% - 48px)); margin: 18px auto 0; overflow: hidden; aspect-ratio: 8 / 3; border: 1px solid rgba(41,73,54,.16); border-radius: 22px; background: #e7eddf; box-shadow: 0 14px 34px rgba(35,60,39,.15); }
.farm-banner img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .88; filter: saturate(.9) brightness(1.045); }
.card-img { height: 270px !important; padding: 14px; position: relative; overflow: hidden; }
.card-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-img.image-fallback img { max-width: 190px; opacity: .58; filter: grayscale(.2); }
.card { border-radius: 16px !important; }
.card-body { padding: 22px !important; }
.products-section { max-width: 1360px; margin: 0 auto; width: 100%; }
.products-section .card,
.products-section .card-img { background: #fff !important; }
.products-section .card { box-shadow: 0 8px 24px rgba(35,60,39,.08); }
.products-section .card-img img { mix-blend-mode: normal; opacity: 1; }
.products-section .card-body { background: #fff !important; }
.filter-bar { padding-top: 20px !important; padding-bottom: 20px !important; scroll-margin-top: 104px; }
.grid { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)) !important; justify-content: center; }
.filter-bar input[type="search"] { min-width: min(100%,260px); padding: 10px 14px; border-radius: 999px; }
.price-pending { color: #705d2b; font-size: 14px; font-weight: 700; }
.gallery-button { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(35,77,53,.22); border-radius: 50%; background: rgba(255,255,255,.92); color: #234d35; font-size: 22px; cursor: pointer; box-shadow: 0 2px 8px rgba(25,42,30,.12); }
.gallery-button:hover { background: #234d35; color: #fff; }
.gallery-button.prev { left: 12px; }
.gallery-button.next { right: 12px; }
.gallery-count { position: absolute; bottom: 10px; right: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(35,77,53,.82); color: white; font-size: 11px; }
@media (max-width: 420px) { .grid { grid-template-columns: minmax(0, 1fr) !important; } }
.store-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding: 28px max(24px, calc((100% - 1240px)/2)); border-top: 1px solid #dce5d5; background: rgba(255,255,255,.72); color: #657568; font-size: 13px; }
.customer-care-link { color: #234d35; text-decoration: none; font-weight: 600; white-space: nowrap; }
.customer-care-link:hover { color: #916910; text-decoration: underline; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #cbd8c8; border-radius: 50%; background: white; color: #234d35; transition: .2s ease; }
.social-links a:hover { color: white; background: #234d35; transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }

/* Screenshot-inspired storefront navigation */
nav { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; padding: 12px clamp(18px,3vw,42px) !important; }
.nav-left { display: flex; align-items: center; gap: clamp(16px,2.4vw,34px); min-width: 0; }
.site-links { display: flex; align-items: center; gap: clamp(12px,1.8vw,25px); }
.site-links a { color: #4e594f; font-size: 14px; text-decoration: none; white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-links a:hover,.site-links a:focus-visible { color: #234d35; border-bottom-color: #d9a52b; }
.nav-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nav-search-wrap { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid #d7ded3; border-radius: 999px; background: #fff; color: #718076; }
.nav-search-wrap > span { font-size: 21px; line-height: 1; }
.nav-search { width: 145px; padding: 0 !important; border: 0 !important; outline: 0; font-size: 13px; }
.nav-search:focus { box-shadow: none !important; }
.language-picker { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid #d7ded3; border-radius: 999px; background: #fff; color: #526257; }
.language-picker select { width: auto; max-width: 104px; padding: 0 !important; border: 0 !important; outline: 0; font-size: 13px; cursor: pointer; }
.sign-in-link { color: #34483a; text-decoration: none; font-size: 14px; white-space: nowrap; }
.sign-in-link:hover { color: #916910; text-decoration: underline; }
.account-logout { border: 0; padding: 0; background: transparent; font: inherit; cursor: pointer; }
.farm-info,.farm-notes,.video-section { width: min(1240px, calc(100% - 48px)); margin: 24px auto 0; }
.farm-info,.farm-notes { padding: clamp(24px,4vw,44px); border: 1px solid rgba(41,73,54,.14); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 12px 32px rgba(35,60,39,.07); }
.section-heading { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.section-heading .hero-eyebrow,.video-copy .hero-eyebrow { margin-bottom: 12px; }
.section-heading h2,.video-copy h2 { margin-bottom: 10px; color: #20352a; font-family: 'Playfair Display',serif; font-size: clamp(26px,3vw,38px); line-height: 1.2; }
.section-heading > p,.video-copy > p { color: #657568; font-size: 15px; line-height: 1.7; }
.info-grid,.product-details-grid,.notes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.info-card,.product-detail-card,.notes-grid article { padding: 22px; border: 1px solid #e0e8db; border-radius: 16px; background: linear-gradient(145deg,#fbfcf7,#f3f7ef); }
.animal-mark { display: block; margin-bottom: 10px; font-size: 30px; }
.info-card h3,.product-detail-card h3,.notes-grid h3 { margin-bottom: 9px; color: #284a34; font-size: 17px; }
.info-card p,.product-detail-card p,.notes-grid p { color: #647367; font-size: 14px; line-height: 1.7; }
.product-details-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; }
.product-detail-card { background: #fff; }
.farm-notes { background: rgba(239,245,232,.92); }
.notes-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.video-section { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(0,1.2fr); align-items: center; gap: 30px; padding: clamp(24px,4vw,42px); border: 1px solid rgba(41,73,54,.14); border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 12px 32px rgba(35,60,39,.07); }
.video-frame { overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #182d21; box-shadow: 0 8px 24px rgba(25,42,30,.16); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.store-footer { scroll-margin-top: 90px; }

@media (max-width: 768px) {
  nav { flex-wrap: wrap; gap: 10px !important; }
  .nav-left { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; }
  .site-links { flex: 1; justify-content: flex-start; overflow-x: auto; gap: 16px; }
  .site-links a { font-size: 13px; }
  .nav-tools { width: 100%; justify-content: space-between; gap: 8px; }
  .nav-search-wrap { flex: 1; min-width: 120px; }
  .nav-search { width: 100%; }
  .nav-tools .nav-btn { padding: 8px 10px; font-size: 12px; }
  .brand { font-size: 20px !important; }
  .brand::before { flex-basis: 31px; width: 31px; height: 31px; }
  .farm-banner { width: calc(100% - 28px); margin-top: 14px; aspect-ratio: 8 / 3; border-radius: 14px; }
  .products-section { padding-top: 28px !important; }
  .farm-info,.farm-notes,.video-section { width: calc(100% - 28px); border-radius: 16px; }
  .info-grid,.notes-grid { grid-template-columns: 1fr; }
  .product-details-grid,.video-section { grid-template-columns: 1fr; }
  .video-section { gap: 20px; }
  .store-footer { flex-direction: column; text-align: center; padding: 24px 20px; }
}

@media (min-width: 769px) and (max-width: 1120px) {
  .nav-left { flex-wrap: wrap; gap: 6px 18px; }
  .site-links { gap: 14px; }
  .nav-search { width: 105px; }
  .nav-tools { gap: 8px; }
  .nav-tools .nav-btn { padding: 8px 10px; }
}

.header-social-strip { display:flex; justify-content:flex-end; padding:8px clamp(16px,4vw,60px); background:#fff; border-bottom:1px solid #dbe4d1; }
.header-social-links a { width:44px; height:44px; }
.header-social-links a:first-child { color:#a72870; }
.header-social-links a:last-child { color:#c82020; }
.header-social-links a:hover { color:white; }
.header-social-links a:focus-visible { outline:3px solid #947117; outline-offset:3px; }
