/* MVTREND — DESKTOP LAYOUT (sirf 701px se bade screen). Mobile ke liye koi rule nahi chhua gaya.
   Ek hi container: header, categories, hero, ticker, products aur footer sab ek hi seedhi line me. */
@media (min-width: 701px) {
  :root { --wrap: 1240px; --gut: 28px; --inner: calc(var(--wrap) - 2 * var(--gut)); }

  /* ---------- ek hi container ---------- */
  html body header .top,
  html body header #cats { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
  html body header #cats { flex-wrap: wrap; overflow: visible; padding-top: 2px; padding-bottom: 12px; }
  html body .hero,
  html body .mv-ticker { width: calc(100% - 2 * var(--gut)); max-width: var(--inner); margin-inline: auto; box-sizing: border-box; }
  html body main { width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gut) 40px; box-sizing: border-box; }

  /* ---------- hero ---------- */
  html body .hero { margin-top: 26px; margin-bottom: 26px; padding: 34px 3% 34px 5%; min-height: 330px; overflow: hidden; position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0 24px; }
  html body .hero-copy { padding-right: 8px; }
  html body .hero h1 { font-size: clamp(38px, 4.4vw, 58px); }
  html body .hero-art { position: relative; align-self: stretch; margin: -34px 0; min-height: 330px; display: block; }
  html body .hero-girl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 80%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 80%, transparent 100%); }
  html body .hero-chip { right: 1%; top: 34px; z-index: 3; }
  html body .hero-chips { min-width: 214px; }

  /* ---------- ticker ---------- */
  html body .mv-ticker { margin-top: 0; margin-bottom: 8px; }

  /* ---------- section heading ---------- */
  html body .section-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 40px 0 18px; padding: 0; }
  html body .section-head > div { display: block; }
  html body .section-head .eyebrow { display: block; margin: 0 0 4px; line-height: 1.2; }
  html body .section-head h2 { display: inline-block; margin: 0; font-size: 28px; line-height: 1.15; }
  html body .section-head .section-note { padding-bottom: 4px; }

  /* ---------- product grid: barabar columns, barabar height ---------- */
  html body main .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; width: 100%; margin: 0; padding: 0; }
  html body main .grid > .card { display: flex; flex-direction: column; width: 100%; min-width: 0; max-width: none; margin: 0; align-self: stretch; overflow: hidden; border-radius: 20px; }
  html body main .grid > .card .card-img { position: relative; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: none; background: #fff; overflow: hidden; border-bottom: 1px solid #f1e9ff; }
  html body main .grid > .card .card-img img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center; padding: 10px; box-sizing: border-box; }
  html body main .grid > .card .b { flex: 1 1 auto; display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 14px 16px 16px; }
  html body main .grid > .card .t { margin: 0; min-height: 2.8em; line-height: 1.4; font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body main .grid > .card .pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
  html body main .grid > .card .fd { align-self: flex-start; margin: 0; }
  html body main .grid > .card .buy-mini { margin-top: auto; }
  html body main .grid > .card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #5b21b62e; }

  /* ---------- trust bar ---------- */
  html body .trust { flex-wrap: wrap; gap: 8px clamp(18px, 3.4vw, 56px); }

  /* ---------- support strip & footer ---------- */
  html body .support-strip { margin: 52px 0 10px; }
  html body footer { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 40px; text-align: left;
    padding: 34px max(var(--gut), calc((100% - var(--inner)) / 2)) 22px; }
  html body footer .footer-logo { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
  html body footer > p { grid-column: 1; grid-row: 2; margin: 8px 0 0; }
  html body footer .footer-links { grid-column: 2; grid-row: 1 / 3; justify-self: end; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
  html body footer .footer-links > span:nth-child(2) { display: none; }
  html body footer > small { grid-column: 1 / -1; margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff2a; opacity: .75; }
}

/* 3 column */
@media (min-width: 820px) { html body main .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 4 column */
@media (min-width: 1100px) { html body main .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* chhota desktop / tablet: hero me chips neeche ek line me */
@media (min-width: 701px) and (max-width: 1000px) {
  html body .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: 30px 4% 22px 5%; }
  html body .hero-art { grid-column: 2; grid-row: 1; min-height: 280px; }
  html body .hero-chips { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 6px; min-width: 0; }
  html body .hero-chips li { font-size: 12px; padding: 8px 10px; white-space: normal; }
  html body header .top { flex-wrap: wrap; }
}


/* =====================================================================
   UNIFIED UI — desktop par SABHI pages ek jaise: home, product popup,
   product page (/p/...), bag/checkout, order success, 404.
   Ek hi "Order" button: bada gradient pill. Mobile par koi badlav nahi.
   ===================================================================== */
@media (min-width: 701px) {
  :root { --cta: linear-gradient(100deg, #5b21b6, #c026d3 55%, #ff7a18); }

  /* ---------- PRIMARY button (Order / Place order / WhatsApp / Chat) ---------- */
  html body .btn, html body .btn.lime {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box;
    min-height: 54px; padding: 14px 24px; margin-top: 12px; border: 0; border-radius: 32px; cursor: pointer; text-decoration: none; text-align: center;
    font: 800 16px/1.2 'DM Sans', sans-serif; letter-spacing: .01em; color: #fff; background: var(--cta);
    box-shadow: 0 12px 26px #c026d355; transition: transform .2s, box-shadow .2s, filter .2s; }
  html body .btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 16px 32px #c026d366; }
  html body .btn:active { transform: translateY(0) scale(.99); }
  html body .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
  /* SECONDARY button (Add to Bag / Continue shopping) */
  html body .btn.alt { background: #fff; color: #5b21b6; border: 2px solid #d9ccf5; box-shadow: none; }
  html body .btn.alt:hover { background: #faf5ff; border-color: #c026d3; box-shadow: 0 10px 22px #c026d322; }

  /* card ke andar ka Order button bhi bada */
  html body main .grid > .card .buy-mini,
  html body .similar .card .buy-mini { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 14px; border-radius: 32px; font-size: 15px; font-weight: 800; box-shadow: 0 10px 22px #c026d340; }
  html body .similar .card .buy-mini { min-height: 44px; font-size: 14px; margin-top: auto; }
  html body .support-strip a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 28px; border-radius: 32px; font-size: 15px; font-weight: 800; }

  /* ---------- Product popup (modal) ---------- */
  html body .modal { padding: 24px; }
  html body .modal .sheet { max-width: 980px; padding: 32px; border-radius: 26px; box-shadow: 0 30px 90px #1b146466; }
  html body .modal .detail-layout { gap: 36px; align-items: start; }
  html body .modal .big, html body .pp .big { border-radius: 18px; background: #fff; border: 1px solid #f1e9ff; }
  html body .modal .th { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
  html body .modal .th img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; border: 2px solid #eadffc; cursor: pointer; }
  html body .modal .th img.on { border-color: #c026d3; }
  html body .modal .detail-title { font-size: 28px; line-height: 1.2; margin: 6px 0 12px; }
  html body .modal .eyebrow { display: inline-block; background: var(--cta); color: #fff; border-radius: 20px; padding: 4px 12px; letter-spacing: .1em; font-size: 11px; }
  html body .modal .rating { display: inline-block; margin-bottom: 8px; }
  html body .modal .detail-price { font-size: 34px; color: #3b1d8f; }
  html body .modal .pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; }
  html body .modal .delivery-note, html body .drawer .delivery-note, html body .pp .delivery-note { border-radius: 14px; padding: 14px 16px; font-size: 13px; line-height: 1.55; }
  html body .modal #add { margin-top: 16px; }
  html body .modal .detail-section { margin-top: 26px; }
  html body .modal .specs { border-radius: 14px; }
  html body .modal .x, html body .drawer .x { width: 42px; height: 42px; font-size: 24px; line-height: 1; background: #f3ecff; color: #5b21b6; cursor: pointer; transition: transform .25s, background .2s; }
  html body .modal .x:hover, html body .drawer .x:hover { transform: rotate(90deg); background: #e8dcff; }
  html body .modal .sheet, html body .drawer .sheet { position: relative; }
  html body .modal .x, html body .drawer .x { position: absolute; top: 18px; right: 18px; float: none; z-index: 6; }
  html body .modal .detail-layout { clear: none; }
  html body .drawer .sheet > h2 { padding-right: 56px; }

  /* ---------- Bag / checkout drawer ---------- */
  html body .drawer .sheet { max-width: 580px; padding: 28px 30px 34px; border-radius: 28px 0 0 28px; }
  html body .drawer .sheet > h2 { font-size: 26px; margin: 4px 0 14px; }
  html body .drawer .row { gap: 16px; padding: 16px 0; }
  html body .drawer .row img { width: 72px; height: 72px; padding: 4px; box-sizing: border-box; border-radius: 14px; background: #fff; border: 1px solid #f1e9ff; }
  html body .drawer .row b { font-size: 14.5px; line-height: 1.35; }
  html body .drawer .row .sm { font-size: 14px; font-weight: 700; color: #3b1d8f; }
  html body .drawer .q { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 15px; white-space: nowrap; }
  html body .drawer .q button { width: 36px; height: 36px; border: 1.5px solid #d9ccf5; border-radius: 50%; background: #fff; color: #5b21b6; font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s, transform .15s; }
  html body .drawer .q button:hover { background: #f3ecff; transform: scale(1.08); }
  html body .drawer .tot { font-size: 22px; padding: 18px 0 14px; }
  html body .drawer .tot span:last-child { color: #3b1d8f; }
  html body .drawer .detail-section { margin-top: 22px; }
  html body .drawer .similar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  html body .drawer .similar .card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; }
  html body .drawer .similar .card .card-img { aspect-ratio: 4 / 3; background: #fff; }
  html body .drawer .similar .card .card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
  html body .drawer .similar .card .b { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 12px 14px 14px; }
  html body .drawer .similar .t { font-size: 13px; font-weight: 600; min-height: 2.8em; line-height: 1.4; margin: 0; }
  html body .drawer .similar .pr b { font-size: 18px; }

  /* ---------- Form fields ---------- */
  html body .f { gap: 12px; margin-top: 18px; }
  html body .f input, html body .f textarea, html body .f select { padding: 15px 18px; border: 1.5px solid #e4d9fb; border-radius: 14px; background: #fff; font: 500 15px 'DM Sans', sans-serif; transition: border-color .2s, box-shadow .2s; }
  html body .f input:focus, html body .f textarea:focus, html body .f select:focus { outline: 0; border-color: #c026d3; box-shadow: 0 0 0 4px #c026d31f; }
  html body .f .btn { margin-top: 6px; }

  /* ---------- Order success ---------- */
  html body .ok { padding: 34px 28px; border-radius: 22px; background: linear-gradient(160deg, #fff6d6, #ffe4f0 60%, #f1e8ff); }
  html body .ok p { margin: 8px 0; font-size: 15px; }
  html body .ok .btn { margin-top: 14px; }
  html body .ok .btn.alt { margin-top: 10px; }

  /* ---------- Product page (/p/...) ---------- */
  html body .pp-actions { gap: 14px; margin: 18px 0 12px; }
  html body .pp-actions .btn { margin: 0; min-height: 58px; font-size: 17px; }
  html body .pp-wa-ask { min-height: 54px; border-radius: 32px; font-size: 16px; border-width: 2px; margin-top: 12px; }
  html body .pp .sh { border-radius: 30px; padding: 12px 18px; }
  html body .pp .sh.wa { min-height: 54px; font-size: 16px; }
  html body .pp .detail-title { font-size: 32px; }
  html body .pp .detail-price span { font-size: 38px; color: #3b1d8f; }
  html body .pp-note .btn { max-width: 300px; margin-inline: auto; }
}
