/* =====================================================================
   Dr. Nambiar's — SHOP: header bag icon, cart drawer, buy box, checkout, order/UPI page
   Prefixes: dnh-bag · dnc- (drawer) · dnbuy- (product) · dnco- (checkout) · dnod- (order)
   Colours dn-header-banner.css ke :root se; yahan fallbacks bhi diye hain.
   ===================================================================== */
:root {
  --dn-terra: #b4552f;     /* checkout button / highlight (reference jaisa) */
  --dn-terra-d: #93431f;
  --dn-paper: #faf7f0;
}
.dnc-drawer, .dnc-drawer *, .dnbuy, .dnbuy *, .dnco, .dnco *, .dnod, .dnod * { box-sizing: border-box; }
.dnc-drawer, .dnbuy, .dnco, .dnod { font-family: var(--dn-font, "Poppins", sans-serif); color: var(--dn-ink, #1d2a22); }
.dnc-drawer a, .dnbuy a, .dnco a, .dnod a { text-decoration: none; }
.dnc-drawer ul, .dnbuy ul, .dnco ul, .dnod ul { list-style: none; margin: 0; padding: 0; }
.dnco [hidden], .dnod [hidden], .dnc-drawer [hidden] { display: none !important; }

/* ============================ HEADER BAG ============================ */
.dnh-bag {
  position: relative; width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: var(--dn-g100, #e7efe4); color: var(--dn-g800, #1b4a33); transition: .25s;
}
.dnh-bag:hover { background: var(--dn-g700, #245f41); color: #fff; }
.dnh-bag-count {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
  background: var(--dn-terra); color: #fff; font-family: var(--dn-font, "Poppins", sans-serif); font-size: 11px; font-weight: 600; line-height: 1;
}
.dnh-bag-count[hidden] { display: none; }
.dnh-m-bag { margin-left: auto; margin-right: 10px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 20px; background: var(--dn-terra); color: #fff; font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; }
.dnh-m-bag[hidden] { display: none; }
@media (max-width: 767.98px) { .dnh-bag { width: 42px; height: 42px; font-size: 16px; } }

/* ============================ CART DRAWER ============================ */
.dnc-overlay {
  position: fixed; inset: 0; z-index: 100010; background: rgba(10, 30, 20, .55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.dnc-overlay.dnc-show { opacity: 1; visibility: visible; }
.dnc-drawer {
  position: fixed; top: 0; right: 0; z-index: 100011; width: min(440px, 100vw); height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; background: var(--dn-paper);
  transform: translateX(100%); visibility: hidden;
  transition: transform .38s cubic-bezier(.4,0,.2,1), visibility 0s linear .38s;
}
.dnc-drawer.dnc-show { transform: none; visibility: visible; box-shadow: -24px 0 60px rgba(0,0,0,.25); transition: transform .38s cubic-bezier(.4,0,.2,1), visibility 0s; }

.dnc-head {
  flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  background: var(--dn-g900, #123524); color: #fff;
}
.dnc-head-ic { font-size: 20px; color: var(--dn-gold-l, #f0d39a); }
.dnc-head-txt { flex: 1; min-width: 0; }
.dnc-head h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.25; color: #fff; }
.dnc-head p { margin: 2px 0 0; font-size: 12.5px; color: rgba(255,255,255,.78); }
.dnc-x {
  width: 38px; height: 38px; flex-shrink: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  color: #fff; font-size: 26px; line-height: 1; transition: .2s;
}
.dnc-x:hover, .dnc-x:focus-visible { background: rgba(255,255,255,.12); outline: none; }

.dnc-ship { flex-shrink: 0; padding: 12px 22px 12px; background: #f1ebdd; border-bottom: 1px solid #e6dcc7; }
.dnc-ship p { margin: 0 0 8px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--dn-ink, #1d2a22); }
.dnc-ship p > i { color: var(--dn-g700, #245f41); font-size: 14px; }
.dnc-ship b { color: var(--dn-terra); font-weight: 600; }
.dnc-ship strong { font-weight: 500; }
.dnc-ship-track { height: 4px; border-radius: 4px; background: #e2d7c1; overflow: hidden; }
.dnc-ship-track i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--dn-terra); transition: width .4s ease; }
.dnc-ship.dnc-free .dnc-ship-track i { background: var(--dn-g600, #2f7a52); }
.dnc-ship.dnc-free p, .dnc-ship.dnc-free p i { color: var(--dn-g700, #245f41); }

.dnc-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px; }
.dnc-list { display: flex; flex-direction: column; gap: 14px; }
.dnc-item {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 14px 14px;
  background: #fff; border: 1px solid #ebe3d3; border-radius: 16px; box-shadow: 0 6px 18px rgba(18,53,36,.05);
}
.dnc-img {
  width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--dn-sage, #f3f6ef);
  display: flex; align-items: center; justify-content: center; color: var(--dn-g600, #2f7a52); font-size: 22px;
}
.dnc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dnc-info { min-width: 0; padding-right: 24px; display: flex; flex-direction: column; }
.dnc-name { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--dn-ink, #1d2a22); }
.dnc-name:hover { color: var(--dn-g700, #245f41); }
.dnc-pack { margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--dn-mute, #5d6b62); }
.dnc-na { margin-top: 4px; font-size: 12px; font-weight: 600; color: #b42318; }
.dnc-row { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dnc-qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid #e6dcc7; border-radius: 10px; background: var(--dn-paper); overflow: hidden; }
.dnc-qty button {
  width: 32px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 17px; line-height: 1;
  color: var(--dn-ink, #1d2a22); transition: background .2s;
}
.dnc-qty button:hover:not(:disabled) { background: #efe6d4; }
.dnc-qty button:disabled { color: #b7b0a3; cursor: not-allowed; }
.dnc-qty span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 500; }
.dnc-price { text-align: right; line-height: 1.2; }
.dnc-price s { display: block; font-size: 12px; color: #9a9a90; }
.dnc-price b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dn-g900, #123524); }
.dnc-del {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 8px;
  background: transparent; color: #6b6b63; cursor: pointer; font-size: 14px; transition: .2s;
}
.dnc-del:hover { background: #fdecea; color: #b42318; }
.dnc-item.dnc-off .dnc-img, .dnc-item.dnc-off .dnc-name, .dnc-item.dnc-off .dnc-price { opacity: .5; }

.dnc-empty { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.dnc-empty-ic { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: var(--dn-g100, #e7efe4); color: var(--dn-g700, #245f41); font-size: 28px; }
.dnc-empty h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.dnc-empty p { margin: 0 0 20px; max-width: 280px; font-size: 14px; line-height: 1.6; color: var(--dn-mute, #5d6b62); }
.dnc-empty-btn { height: 46px; padding: 0 22px; border-radius: 12px; display: inline-flex; align-items: center; gap: 10px; background: var(--dn-g700, #245f41); color: #fff !important; font-size: 14px; font-weight: 500; }
.dnc-empty-btn:hover { background: var(--dn-g900, #123524); }

.dnc-foot { flex-shrink: 0; padding: 16px 22px 18px; background: #fff; border-top: 1px solid #ebe3d3; box-shadow: 0 -10px 30px rgba(18,53,36,.05); }
.dnc-warn { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: #fdecea; color: #b42318; font-size: 12.5px; }
.dnc-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14.5px; color: #43504a; }
.dnc-line b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--dn-ink, #1d2a22); }
.dnc-total { margin-top: 8px; padding-top: 10px; border-top: 1px solid #ebe3d3; font-size: 17px; font-weight: 600; color: var(--dn-ink, #1d2a22); }
.dnc-total b { font-size: 19px; font-weight: 700; }
.dnc-checkout {
  margin-top: 14px; width: 100%; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--dn-terra); color: #fff !important; font-size: 15.5px; font-weight: 600; transition: .25s;
  box-shadow: 0 12px 24px rgba(180,85,47,.28);
}
.dnc-checkout:hover { background: var(--dn-terra-d); }
.dnc-checkout.dnc-disabled { background: #c9c2b5; box-shadow: none; cursor: not-allowed; }
.dnc-note { margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--dn-mute, #5d6b62); text-align: center; }
.dnc-note i { color: var(--dn-g700, #245f41); }

@media (max-width: 420px) {
  .dnc-head { padding: 16px 16px; }
  .dnc-head h3 { font-size: 17px; }
  .dnc-ship, .dnc-body, .dnc-foot { padding-left: 16px; padding-right: 16px; }
  .dnc-item { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .dnc-img { width: 70px; height: 70px; }
  .dnc-name { font-size: 14px; }
  .dnc-price b { font-size: 15.5px; }
}

/* ============================ PRODUCT BUY BOX ============================ */
.dnbuy { margin: 0 0 24px; padding: 20px 22px; border-radius: 16px; background: var(--dn-paper); border: 1px solid #ebe3d3; }
.dnbuy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.dnbuy-price b { font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--dn-g800, #1b4a33); }
.dnbuy-price s { font-size: 16px; color: #8f8f86; }
.dnbuy-off { padding: 3px 10px; border-radius: 20px; background: #f7e3d9; color: var(--dn-terra-d); font-size: 12px; font-weight: 600; }
.dnbuy-por b { font-size: 22px; }
.dnbuy-tax { margin: 4px 0 0; font-size: 12.5px; color: var(--dn-mute, #5d6b62); }
.dnbuy-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.dnbuy-meta:empty { display: none; }
.dnbuy-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 20px; background: #fff; border: 1px solid #e6dcc7; font-size: 13px; }
.dnbuy-chip i { color: var(--dn-g600, #2f7a52); }
.dnbuy-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--dn-g700, #245f41); }
.dnbuy-stock i { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; }
.dnbuy-out { color: #b42318; }
.dnbuy-out i { background: #b42318; }
.dnbuy-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.dnbuy-qty { display: inline-flex; align-items: center; height: 50px; border: 1.5px solid #ddd2bd; border-radius: 12px; background: #fff; overflow: hidden; }
.dnbuy-qty button { width: 42px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 19px; color: var(--dn-ink, #1d2a22); }
.dnbuy-qty button:hover { background: var(--dn-sage, #f3f6ef); }
.dnbuy-qty input {
  width: 44px; height: 100%; border: 0; text-align: center; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--dn-ink, #1d2a22);
  background: transparent; -moz-appearance: textfield; appearance: textfield; outline: none;
}
.dnbuy-qty input::-webkit-outer-spin-button, .dnbuy-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dnbuy-add, .dnbuy-now {
  flex: 1 1 150px; height: 50px; padding: 0 20px; border-radius: 12px; cursor: pointer; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: inherit; font-size: 15px; font-weight: 600; transition: .25s;
}
.dnbuy-add { background: var(--dn-g700, #245f41); color: #fff; box-shadow: 0 10px 22px rgba(36,95,65,.22); }
.dnbuy-add:hover { background: var(--dn-g900, #123524); }
.dnbuy-add.dn-added { background: #2f9e5b; }
.dnbuy-add.dn-added span::after { content: " ✓"; }
.dnbuy-now { background: var(--dn-terra); color: #fff; box-shadow: 0 10px 22px rgba(180,85,47,.22); }
.dnbuy-now:hover { background: var(--dn-terra-d); }
.dnbuy-trust { margin-top: 16px !important; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dnbuy-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--dn-mute, #5d6b62); }
.dnbuy-trust i { color: var(--dn-g600, #2f7a52); }
@media (max-width: 575.98px) {
  .dnbuy { padding: 16px; }
  .dnbuy-price b { font-size: 26px; }
  .dnbuy-qty { flex: 0 0 auto; }
  .dnbuy-add { flex: 1 1 0; }
  .dnbuy-now { flex: 1 1 100%; }
}

/* ============================ CHECKOUT ============================ */
.dnco, .dnod { padding: 34px 0 80px; background: var(--dn-paper); }
.dnco-wrap, .dnod-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.dnco-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--dn-mute, #5d6b62); }
.dnco-bc a { color: var(--dn-mute, #5d6b62); }
.dnco-bc a:hover { color: var(--dn-g700, #245f41); }
.dnco-bc i { font-size: 10px; color: var(--dn-gold, #d4a24c); }
.dnco-bc span { color: var(--dn-ink, #1d2a22); font-weight: 500; }

.dnco-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dnco-head h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--dn-g800, #1b4a33); }
.dnco-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dnco-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 30px; background: #fff; border: 1px solid #e6dcc7; font-size: 13px; color: var(--dn-mute, #5d6b62); }
.dnco-steps li span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #efe8da; font-size: 11.5px; font-weight: 600; }
.dnco-steps li.dnco-done span { background: var(--dn-g700, #245f41); color: #fff; }
.dnco-steps li.dnco-on { border-color: var(--dn-terra); color: var(--dn-ink, #1d2a22); font-weight: 500; }
.dnco-steps li.dnco-on span { background: var(--dn-terra); color: #fff; }

.dnco-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dnco-card { background: #fff; border: 1px solid #ebe3d3; border-radius: 20px; padding: 28px; box-shadow: 0 14px 40px rgba(18,53,36,.06); }
.dnco-card h2 { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: var(--dn-ink, #1d2a22); }
.dnco-card h2 > i { color: var(--dn-g600, #2f7a52); font-size: 17px; }
.dnco-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.dnco-full { grid-column: 1 / -1; }
.dnco-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dnco-f label { font-size: 13.5px; font-weight: 500; color: var(--dn-ink, #1d2a22); }
.dnco-f label span { color: var(--dn-terra); }
.dnco-f label em { font-style: normal; font-weight: 400; color: var(--dn-mute, #5d6b62); }
.dnco-f input, .dnco-f select, .dnco-f textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #e3dccd; border-radius: 12px; background: var(--dn-paper);
  font-family: inherit; font-size: 15px; color: var(--dn-ink, #1d2a22); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.dnco-f textarea { resize: vertical; line-height: 1.55; }
.dnco-f select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23245f41' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.dnco-f input:focus, .dnco-f select:focus, .dnco-f textarea:focus { background-color: #fff; border-color: var(--dn-g600, #2f7a52); box-shadow: 0 0 0 4px rgba(47,122,82,.12); }
.dnco-phone { display: flex; align-items: stretch; border: 1.5px solid #e3dccd; border-radius: 12px; background: var(--dn-paper); overflow: hidden; transition: .2s; }
.dnco-phone:focus-within { background: #fff; border-color: var(--dn-g600, #2f7a52); box-shadow: 0 0 0 4px rgba(47,122,82,.12); }
.dnco-phone em { display: flex; align-items: center; padding: 0 12px; font-style: normal; font-size: 14.5px; font-weight: 500; color: var(--dn-mute, #5d6b62); border-right: 1px solid #e3dccd; background: #f3eee3; }
.dnco-phone input { border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0; }
.dnco-err { display: none; font-size: 12.5px; color: #b42318; }
.dnco-bad .dnco-err { display: block; }
.dnco-bad input, .dnco-bad select, .dnco-bad textarea, .dnco-bad .dnco-phone { border-color: #d64545 !important; }

.dnco-sum { position: sticky; top: 110px; }
.dnco-sum-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dnco-sum-head h2 { margin: 0; }
.dnco-edit { border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--dn-g700, #245f41); display: inline-flex; align-items: center; gap: 6px; }
.dnco-edit:hover { color: var(--dn-terra); }
.dnco-items { display: flex; flex-direction: column; gap: 14px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.dnco-items li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.dnco-thumb { position: relative; width: 58px; height: 58px; border-radius: 12px; background: var(--dn-sage, #f3f6ef); display: flex; align-items: center; justify-content: center; color: var(--dn-g600, #2f7a52); border: 1px solid #ebe3d3; }
.dnco-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.dnco-thumb em { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 20px; background: var(--dn-g800, #1b4a33); color: #fff; font-style: normal; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.dnco-items b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.dnco-items small { display: block; margin-top: 2px; font-size: 12px; color: var(--dn-mute, #5d6b62); }
.dnco-items small.dnco-na { color: #b42318; font-weight: 500; }
.dnco-items strong { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dnco-items li.dnco-off { opacity: .6; }
.dnco-lines { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e0d6c2; }
.dnco-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14.5px; color: #43504a; }
.dnco-lines > div b { font-weight: 500; color: var(--dn-ink, #1d2a22); font-variant-numeric: tabular-nums; }
.dnco-lines .dnco-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid #ebe3d3; font-size: 17px; font-weight: 600; color: var(--dn-ink, #1d2a22); }
.dnco-lines .dnco-total b { font-size: 21px; font-weight: 700; color: var(--dn-g900, #123524); }
.dnco-free { margin: 6px 0 0; padding: 8px 12px; border-radius: 10px; background: #f1ebdd; font-size: 12.5px; color: var(--dn-terra-d); }
.dnco-status { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #9c2b20; font-size: 13.5px; line-height: 1.5; }
.dnco-place {
  position: relative; margin-top: 18px; width: 100%; height: 56px; border: 0; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--dn-terra); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600; box-shadow: 0 12px 26px rgba(180,85,47,.28); transition: .25s;
}
.dnco-place:hover:not(:disabled) { background: var(--dn-terra-d); }
.dnco-place:disabled { background: #c9c2b5; box-shadow: none; cursor: not-allowed; }
.dnco-spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: dnco-spin .7s linear infinite; }
.dnco-loading .dnco-spin { display: block; }
@keyframes dnco-spin { to { transform: rotate(360deg); } }
.dnco-upi { margin-top: 16px; display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--dn-sage, #f3f6ef); }
.dnco-upi i { font-size: 22px; color: var(--dn-g700, #245f41); margin-top: 2px; }
.dnco-upi p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #43504a; }
.dnco-note { margin: 14px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--dn-mute, #5d6b62); text-align: center; }
.dnco-note i { color: var(--dn-g700, #245f41); }

.dnco-empty { max-width: 560px; margin: 10px auto 0; text-align: center; padding: 50px 28px; }
.dnco-empty-ic { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--dn-g100, #e7efe4); color: var(--dn-g700, #245f41); font-size: 30px; }
.dnco-empty h2 { justify-content: center; margin-bottom: 8px; }
.dnco-empty p { margin: 0 0 22px; color: var(--dn-mute, #5d6b62); }
.dnco-btn { height: 50px; padding: 0 24px; border-radius: 12px; display: inline-flex; align-items: center; gap: 10px; background: var(--dn-g700, #245f41); color: #fff !important; font-weight: 500; }

/* ============================ ORDER / UPI PAGE ============================ */
.dnod-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; margin-bottom: 22px; }
.dnod-head > div { flex: 1 1 320px; min-width: 0; }
.dnod-head h1 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; line-height: 1.25; color: var(--dn-g800, #1b4a33); }
.dnod-head p { margin: 0; font-size: 14px; color: var(--dn-mute, #5d6b62); }
.dnod-head-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #f7e3d9; color: var(--dn-terra); font-size: 24px; }
.dnod-head-ic.dnod-ok { background: var(--dn-g100, #e7efe4); color: var(--dn-g700, #245f41); }
.dnod-flash { margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; display: flex; gap: 10px; align-items: flex-start; background: #fff7e6; border: 1px solid #f1d9a6; color: #7a5410; font-size: 14px; line-height: 1.55; }
.dnod-flash-ok { background: #ecf7ef; border-color: #bfe3c9; color: #1e6b3a; }
.dnod-flash-err { background: #fdecea; border-color: #f5c2bd; color: #9c2b20; }
.dnod-flash i { margin-top: 3px; }

.dnod-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dnod-card { background: #fff; border: 1px solid #ebe3d3; border-radius: 20px; padding: 28px; box-shadow: 0 14px 40px rgba(18,53,36,.06); }
.dnod-card h2 { margin: 0 0 16px; font-size: 19px; font-weight: 600; }

.dnod-pay-box { text-align: center; }
.dnod-dim { opacity: .6; }
.dnod-amt-label { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dn-mute, #5d6b62); }
.dnod-amt { margin: 2px 0 18px; font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--dn-g900, #123524); }
.dnod-upi-btn {
  display: none; width: 100%; height: 56px; border-radius: 14px; align-items: center; justify-content: center; gap: 10px;
  background: var(--dn-terra); color: #fff !important; font-size: 16px; font-weight: 600; box-shadow: 0 12px 26px rgba(180,85,47,.28);
}
.dnod-upi-btn:hover { background: var(--dn-terra-d); }
.dnod-or { display: none; margin: 18px 0 14px; font-size: 12.5px; color: var(--dn-mute, #5d6b62); position: relative; }
.dnod-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed #e0d6c2; }
.dnod-or span { position: relative; padding: 0 12px; background: #fff; }
/* phone / tablet par UPI app button dikhe */
@media (max-width: 991.98px), (pointer: coarse) {
  .dnod-upi-btn { display: flex; }
  .dnod-or { display: block; }
}
.dnod-qr {
  width: 240px; height: 240px; margin: 0 auto; padding: 12px; border-radius: 18px; background: #fff;
  border: 1.5px solid #e6dcc7; box-shadow: 0 10px 26px rgba(18,53,36,.08); display: flex; align-items: center; justify-content: center;
}
.dnod-qr svg { width: 100%; height: 100%; display: block; }
.dnod-qr-load { color: var(--dn-g600, #2f7a52); font-size: 22px; }
.dnod-qr-fail { margin: 0; font-size: 13px; color: var(--dn-mute, #5d6b62); }
.dnod-apps { margin: 12px 0 18px; font-size: 12.5px; color: var(--dn-mute, #5d6b62); }
.dnod-upi-id { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 10px 12px; border-radius: 12px; background: var(--dn-paper); border: 1px solid #ebe3d3; }
.dnod-upi-id span { font-size: 12px; color: var(--dn-mute, #5d6b62); }
.dnod-upi-id b { font-size: 15px; font-weight: 600; word-break: break-all; }
.dnod-upi-id button { border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; background: var(--dn-g100, #e7efe4); color: var(--dn-g800, #1b4a33); font-family: inherit; font-size: 12.5px; font-weight: 500; }
.dnod-upi-id button:hover { background: var(--dn-g700, #245f41); color: #fff; }
.dnod-payee { margin: 10px 0 0; font-size: 13px; color: var(--dn-mute, #5d6b62); }

.dnod-state { text-align: center; padding: 6px 6px 22px; }
.dnod-state > i { font-size: 38px; color: #c58a12; margin-bottom: 10px; }
.dnod-state h2 { margin-bottom: 8px; }
.dnod-state p { margin: 0 auto; max-width: 420px; font-size: 14.5px; line-height: 1.65; color: #43504a; }
.dnod-state-ok > i { color: #2f9e5b; }
.dnod-badge { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 20px; background: var(--dn-g100, #e7efe4); color: var(--dn-g800, #1b4a33); font-size: 13px; font-weight: 500; }

.dnod-utr { margin-top: 24px; padding-top: 22px; border-top: 1px dashed #e0d6c2; display: flex; flex-direction: column; gap: 8px; }
.dnod-utr h3 { margin: 0; font-size: 16px; font-weight: 600; }
.dnod-utr p { margin: 0 0 6px; font-size: 13px; line-height: 1.6; color: var(--dn-mute, #5d6b62); }
.dnod-utr label { margin-top: 4px; font-size: 13.5px; font-weight: 500; }
.dnod-utr label span { color: var(--dn-terra); }
.dnod-utr label em { font-style: normal; color: var(--dn-mute, #5d6b62); font-weight: 400; }
.dnod-utr input[type="text"] {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #e3dccd; border-radius: 12px; background: var(--dn-paper);
  font-family: inherit; font-size: 15px; letter-spacing: .04em; outline: none;
}
.dnod-utr input[type="text"]:focus { background: #fff; border-color: var(--dn-g600, #2f7a52); box-shadow: 0 0 0 4px rgba(47,122,82,.12); }
.dnod-utr input[type="file"] { font-family: inherit; font-size: 13px; padding: 10px; border: 1.5px dashed #e3dccd; border-radius: 12px; background: var(--dn-paper); }
.dnod-submit {
  margin-top: 10px; height: 52px; border: 0; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--dn-g700, #245f41); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; transition: .25s;
}
.dnod-submit:hover { background: var(--dn-g900, #123524); }

.dnod-sum .dnco-items { max-height: none; }
.dnod-addr { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--dn-paper); border: 1px solid #ebe3d3; }
.dnod-addr h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.dnod-addr h3 i { color: var(--dn-g600, #2f7a52); }
.dnod-addr p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.6; color: #43504a; }
.dnod-status-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--dn-mute, #5d6b62); }
.dnod-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; background: #efe8da; color: var(--dn-ink, #1d2a22); font-size: 12px; font-weight: 600; }
.dnod-pill-pending { background: #fff1d6; color: #8a5a00; }
.dnod-pill-submitted { background: #e3edff; color: #1d4ed8; }
.dnod-pill-paid { background: #dcf3e3; color: #1e6b3a; }
.dnod-pill-failed, .dnod-pill-refunded { background: #fdecea; color: #9c2b20; }
.dnod-wa { margin-top: 16px; height: 48px; padding: 0 20px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #25d366; color: #fff !important; font-size: 14.5px; font-weight: 600; }
.dnod-wa:hover { background: #128c7e; }
.dnod-wa-line { width: 100%; background: #fff; color: #128c7e !important; border: 1.5px solid #b9e8cb; }
.dnod-wa-line:hover { background: #ecfaf1; }
.dnod-keep { margin: 12px 0 0; font-size: 12px; color: var(--dn-mute, #5d6b62); text-align: center; }

/* ============================ RESPONSIVE (pages) ============================ */
@media (max-width: 991.98px) {
  .dnco-grid, .dnod-grid { grid-template-columns: minmax(0, 1fr); }
  .dnco-sum { position: static; }
  .dnco-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .dnco, .dnod { padding: 22px 0 56px; }
  .dnco-wrap, .dnod-wrap { padding: 0 14px; }
  .dnco-card, .dnod-card { padding: 20px 16px; border-radius: 16px; }
  .dnco-fields { grid-template-columns: 1fr; gap: 14px; }
  .dnco-steps li { padding: 5px 10px 5px 5px; font-size: 12px; }
  .dnco-steps li span { width: 22px; height: 22px; }
  .dnod-amt { font-size: 34px; }
  .dnod-qr { width: 210px; height: 210px; }
}
@media (max-width: 380px) {
  .dnod-upi-btn { font-size: 14.5px; padding: 0 10px; }
  .dnod-amt { font-size: 30px; }
  .dnod-qr { width: 190px; height: 190px; }
  .dnco-items li { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; }
  .dnco-thumb { width: 50px; height: 50px; }
  .dnco-steps li { font-size: 11px; }
}

/* location page se add hua item */
.dnc-loc { margin-top: 3px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--dn-g700, #245f41); }
.dnc-loc i { font-size: 10px; }
.dnco-items small.dnco-loc { color: var(--dn-g700, #245f41); font-weight: 500; }
.dnco-items small.dnco-loc i { font-size: 10px; }

/* order page: WhatsApp card + flash button */
.dnod-wa-card {
  margin-bottom: 20px; padding: 16px 18px; border-radius: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px;
  background: #ecfaf1; border: 1px solid #bfe8cf;
}
.dnod-wa-card > div { flex: 1 1 260px; min-width: 0; }
.dnod-wa-card b { display: block; font-size: 15.5px; font-weight: 600; color: #0f5132; }
.dnod-wa-card p { margin: 3px 0 0; font-size: 13px; line-height: 1.55; color: #3f6b52; }
.dnod-wa-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; font-size: 24px; }
.dnod-wa-card .dnod-wa { margin-top: 0; }
.dnod-flash-wa { flex-wrap: wrap; align-items: center; justify-content: space-between; }
.dnod-flash-wa > span { flex: 1 1 260px; }
.dnod-flash-wa .dnod-wa { margin-top: 0; height: 44px; }
@media (max-width: 575.98px) {
  .dnod-wa-card .dnod-wa, .dnod-flash-wa .dnod-wa { width: 100%; }
}

/* =====================================================================
   BREADCRUMB BAR (About page jaisa) — product, location product, checkout
   About page ka apna CSS ho to wahi jeetega (wo baad me load hota hai)
   ===================================================================== */
.bab-bcbar { background: var(--dn-paper, #faf7f0); border-bottom: 1px solid #ece4d3; font-family: var(--dn-font, "Poppins", sans-serif); }
.bab-bcbar .bab-wrap { max-width: 1240px; margin: 0 auto; padding: 14px 20px; }
.bab-bc { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; line-height: 1.5; }
.bab-bc a { color: var(--dn-g700, #245f41); font-weight: 500; text-decoration: none; transition: color .2s; }
.bab-bc a:hover { color: var(--dn-terra); }
.bab-bc i { font-size: 10px; color: #b9a98a; }
.bab-bc span[aria-current] { color: var(--dn-ink, #1d2a22); font-weight: 600; }
@media (max-width: 575px) { .bab-bcbar .bab-wrap { padding: 12px 16px; } .bab-bc { font-size: 12.5px; } }

/* broken product image -> leaf icon (JS adds .dn-img-off) */
.dn-img-off { display: none !important; }

/* =====================================================================
   WHATSAPP ORDER POPUP (order page) — WhatsApp chat look, green theme
   ===================================================================== */
.dnwa[hidden] { display: none !important; }
.dnwa { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--dn-font, "Poppins", sans-serif); }
.dnwa *, .dnwa *::before, .dnwa *::after { box-sizing: border-box; }
.dnwa-bg { position: absolute; inset: 0; background: rgba(10, 30, 20, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: dnwaFade .2s ease; }
.dnwa-box {
  position: relative; width: 100%; max-width: 430px; height: min(720px, calc(100dvh - 32px)); display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden; background: #efeae2; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: dnwaUp .25s ease;
}
@keyframes dnwaFade { from { opacity: 0; } }
@keyframes dnwaUp { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.dnwa-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #0f5a3f, #1b7a55); color: #fff; flex-shrink: 0; }
.dnwa-av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.dnwa-av img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.dnwa-ht { flex: 1; min-width: 0; }
.dnwa-ht b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dnwa-ht small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.85); }
.dnwa-ht small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.dnwa-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.dnwa-x:hover { background: rgba(255,255,255,.28); }

.dnwa-body {
  flex: 1; overflow-y: auto; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(27, 74, 51, .06) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
}
.dnwa-day { align-self: center; padding: 5px 12px; border-radius: 8px; background: #e1f0f7; color: #4b5d66; font-size: 12px; font-weight: 500; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.dnwa-msg { position: relative; max-width: 88%; padding: 9px 12px 20px; border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.55; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.dnwa-msg.in { align-self: flex-start; border-top-left-radius: 2px; }
.dnwa-msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.dnwa-msg.wide { max-width: 96%; width: 96%; }
.dnwa-time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: #667781; display: flex; align-items: center; gap: 3px; }
.dnwa-time i { color: #53bdeb; font-size: 11px; }

.dnwa-prod { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; background: #f6f1e4; border: 1px solid #ece3cd; }
.dnwa-prod + .dnwa-prod { margin-top: 8px; }
.dnwa-pimg { width: 58px; height: 58px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: #fff; display: grid; place-items: center; color: #2f7a52; font-size: 20px; }
.dnwa-pimg img { width: 100%; height: 100%; object-fit: cover; }
.dnwa-pname { font-size: 14px; font-weight: 600; line-height: 1.35; color: #1d2a22; }
.dnwa-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 2px 9px; border-radius: 20px; background: #dcf3e3; color: #1e6b3a; font-size: 11.5px; font-weight: 600; }
.dnwa-pprice { margin-top: 3px; font-size: 13px; color: #5d6b62; }
.dnwa-pprice b { font-size: 15px; color: #123524; }
.dnwa-tot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #d9cfb7; font-size: 13.5px; }
.dnwa-tot b { font-size: 16px; color: #123524; }

.dnwa-form h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 9px; border-bottom: 1px dashed #dcd5c4; font-size: 14.5px; font-weight: 600; color: #1b4a33; }
.dnwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dnwa-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dnwa-f.full { grid-column: 1 / -1; }
.dnwa-f label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #2b3a31; }
.dnwa-f label i { color: #1e7a52; font-size: 12px; }
.dnwa-f label em { color: #c0392b; font-style: normal; }
.dnwa-f input, .dnwa-f textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #e3dccb; border-radius: 10px; background: #faf8f2;
  font: inherit; font-size: 13.5px; color: #1d2a22; outline: none; transition: border-color .2s, background .2s; resize: vertical;
}
.dnwa-f input:focus, .dnwa-f textarea:focus { border-color: #1e7a52; background: #fff; }
.dnwa-f.bad input, .dnwa-f.bad textarea { border-color: #d9534f; background: #fff7f6; }
.dnwa-ph { display: flex; }
.dnwa-ph span { display: grid; place-items: center; padding: 0 10px; border: 1px solid #e3dccb; border-right: 0; border-radius: 10px 0 0 10px; background: #efe9da; font-size: 13px; font-weight: 600; color: #3b4a40; }
.dnwa-ph input { border-radius: 0 10px 10px 0; }

.dnwa-preview-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #1e6b3a; }
.dnwa-preview { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 13px; line-height: 1.55; color: #111b21; }

.dnwa-foot { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: #f0f2f5; flex-shrink: 0; }
.dnwa-emo { width: 40px; height: 40px; border: 0; background: none; color: #54656f; font-size: 22px; cursor: pointer; flex-shrink: 0; }
.dnwa-foot textarea {
  flex: 1; min-height: 42px; max-height: 110px; padding: 10px 16px; border: 0; border-radius: 22px; background: #fff;
  font: inherit; font-size: 14px; line-height: 1.45; color: #111b21; outline: none; resize: none; box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.dnwa-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #25d366; color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; transition: transform .15s, background .2s; box-shadow: 0 4px 12px rgba(37, 211, 102, .35); }
.dnwa-send:hover { background: #1ebe5a; transform: scale(1.05); }
.dnwa-err { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fdecea; color: #9c2b20; font-size: 12.5px; align-self: stretch; }
.dnwa-err[hidden] { display: none; }

@media (max-width: 575px) {
  .dnwa { padding: 0; align-items: flex-end; }
  .dnwa-box { max-width: none; height: 100dvh; border-radius: 0; }
  .dnwa-grid { grid-template-columns: 1fr; }
  .dnwa-msg { max-width: 92%; }
}
body.dnwa-lock { overflow: hidden; }
