/* Modern app look: only inside the installed Android / home-screen app (html.app-mode), phones only.
   The website in a normal browser is unchanged. */
@media (max-width: 760px) {
  html.app-mode { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
  html.app-mode body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); background: var(--bg); }

  /* Things a website needs but an app doesn't */
  html.app-mode .topbar, html.app-mode .app-strip, html.app-mode #footer, html.app-mode .soc-float,
  html.app-mode .m-menu, html.app-mode header.site .nav { display: none !important; }

  /* Compact sticky app bar: logo + search */
  html.app-mode header.site { position: sticky; top: 0; border-bottom: 0; background: var(--header-bg); box-shadow: none; }
  html.app-mode header.site.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
  html.app-mode header.site .row { min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 10px; flex-wrap: wrap; }
  html.app-mode header.site .logo img { height: 34px !important; width: auto; }
  html.app-mode header.site .logo .brand-tag { display: none; }
  html.app-mode header.site .search { order: 3; flex: 1 1 100%; margin: 0; border-radius: 14px; background: var(--soft, #f3ece0); border: 0; box-shadow: none; min-height: 44px; }
  html.app-mode header.site .search input { background: transparent; font-size: 15px; }
  html.app-mode header.site .search .btn { display: none; }
  html.app-mode .app-bell { margin-left: auto; display: inline-flex !important; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--soft, #f3ece0); color: #1f9d55; }

  html.app-mode .app-bell svg { width: 22px; height: 22px; }

  /* Category pills instead of big circles */
  html.app-mode .catbar { border-bottom: 0; background: var(--header-bg); }
  html.app-mode .catbar .container { gap: 8px; padding-top: 2px; padding-bottom: 12px; }
  html.app-mode .catbar .chip { flex-direction: row !important; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); min-width: 0; height: auto; width: auto !important; font-size: 13px; text-align: left; box-shadow: none; }
  html.app-mode .catbar .chip img, html.app-mode .catbar .chip .chip-ic { width: 28px !important; height: 28px !important; border-radius: 50%; border: 0 !important; margin: 0 !important; font-size: 14px; }
  html.app-mode .catbar .chip .chip-tx { font-size: 13px; font-weight: 600; white-space: nowrap; max-width: none; line-height: 1; display: inline !important; overflow: visible !important; -webkit-line-clamp: unset; }
  html.app-mode .catbar .chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
  html.app-mode .catbar .chip.active .chip-ic { background: rgba(255,255,255,.2); color: #fff; }

  /* Shop page: category pills replace the filter box */
  html.app-mode .shop > .filters { display: none; }

  /* Product cards: rounded, soft shadow, round add button */
  html.app-mode .grid { gap: 12px; }
  html.app-mode .pcard { border: 0; border-radius: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
  html.app-mode .pcard .img { border-radius: 18px 18px 0 0; }
  html.app-mode .pcard .body { padding: 10px 12px 12px; }
  html.app-mode .pcard .cat { display: none; }
  html.app-mode .pcard .name { font-size: 14px; }
  html.app-mode .pcard .foot .btn { border-radius: 12px; min-width: 44px; height: 36px; padding: 0 12px; font-weight: 700; }
  html.app-mode .pcard .tag { border-radius: 8px; }

  /* Product page: sticky buy bar above the tabs */
  html.app-mode .pdp .buy-row, html.app-mode .pdp .actions { position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 15; background: var(--bg); padding: 10px 0; }

  /* Bottom tab bar */
  .app-tabs { display: none; }
  html.app-mode .app-tabs { display: grid !important; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--card, #fff); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0,0,0,.06); }
  html.app-mode .app-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0; position: relative; text-decoration: none; }
  html.app-mode .app-tabs a i { display: flex; align-items: center; justify-content: center; width: 52px; height: 30px; border-radius: 16px; transition: background .2s; }
  html.app-mode .app-tabs a.on { color: var(--brand); }
  html.app-mode .app-tabs a.on i { background: color-mix(in srgb, var(--brand) 14%, transparent); }
  html.app-mode .app-tabs em { position: absolute; top: 0; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent, #e0621f); color: #fff; font: 700 11px/18px system-ui, sans-serif; text-align: center; font-style: normal; }
  html.app-mode .app-tabs em:empty, html.app-mode .app-tabs em[data-n="0"] { display: none; }

  /* Sheets / toasts sit above the tab bar */
  html.app-mode .toast { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}

/* ===== Three app designs (Admin → Settings → App → App design): html[data-app-style="clean|royal|quick"] ===== */
@media (max-width: 760px) {
  /* --- 1. Clean (default): light, airy; the long story banner is skipped so shopping starts straight away --- */
  html.app-mode[data-app-style="clean"] .hh-hero { display: none; }

  /* --- 2. Royal: maroon & gold, keeps the heritage feel, compact story banner --- */
  html.app-mode[data-app-style="royal"] header.site, html.app-mode[data-app-style="royal"] .catbar { background: #fbf4e6; }
  html.app-mode[data-app-style="royal"] header.site { border-bottom: 0; }
  html.app-mode[data-app-style="royal"] .catbar { border-bottom: 2px solid #c9a24a; }
  html.app-mode[data-app-style="royal"] header.site .search { background: #fff; border: 1px solid #e6d3a3; }
  html.app-mode[data-app-style="royal"] .app-bell { background: #fff; border: 1px solid #e6d3a3; }
  html.app-mode[data-app-style="royal"] .catbar .chip { border-color: #e6d3a3; background: #fff; }
  html.app-mode[data-app-style="royal"] .catbar .chip.active { background: #6b1a1a; border-color: #6b1a1a; color: #f6e7c1; }
  html.app-mode[data-app-style="royal"] .hh-hero .w, html.app-mode[data-app-style="royal"] .hh-hero > div { padding-top: 26px !important; padding-bottom: 26px !important; }
  html.app-mode[data-app-style="royal"] .hh-hero h1 { font-size: 34px !important; margin-top: 10px !important; }
  html.app-mode[data-app-style="royal"] .hh-hero p, html.app-mode[data-app-style="royal"] .hh-hero .hh-sig { font-size: 14px; }
  html.app-mode[data-app-style="royal"] .hh-hero .tel, html.app-mode[data-app-style="royal"] .hh-paisley { display: none; }
  html.app-mode[data-app-style="royal"] .pcard { border: 1px solid #ecd9ab; box-shadow: none; background: #fffdf8; }
  html.app-mode[data-app-style="royal"] .pcard .name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; font-weight: 700; }
  html.app-mode[data-app-style="royal"] .pcard .foot .btn { background: #6b1a1a; border-color: #6b1a1a; color: #f6e7c1; }
  html.app-mode[data-app-style="royal"] .app-tabs { background: #4a1010; border-top: 2px solid #c9a24a; box-shadow: none; }
  html.app-mode[data-app-style="royal"] .app-tabs a { color: #d9c49a; }
  html.app-mode[data-app-style="royal"] .app-tabs a.on { color: #ffe9a8; }
  html.app-mode[data-app-style="royal"] .app-tabs a.on i { background: rgba(201,162,74,.25); }
  html.app-mode[data-app-style="royal"] .app-tabs em { background: #c9a24a; color: #4a1010; }

  /* --- 3. Quick: bright quick-commerce style (like grocery apps): green header, category grid, ADD buttons --- */
  html.app-mode[data-app-style="quick"] body { background: #f4f6f3; }
  html.app-mode[data-app-style="quick"] header.site { background: linear-gradient(160deg, #1e6b34, #2f8a3a); }
  html.app-mode[data-app-style="quick"] header.site .logo img { background: #fff; border-radius: 10px; padding: 3px 6px; }
  html.app-mode[data-app-style="quick"] header.site .search { background: #fff; }
  html.app-mode[data-app-style="quick"] .app-bell { background: rgba(255,255,255,.18); color: #fff; }
  html.app-mode[data-app-style="quick"] .catbar { background: #fff; }
  html.app-mode[data-app-style="quick"] .hh-hero { display: none; }
  html.app-mode.app-home[data-app-style="quick"] .catbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; padding: 14px 12px; white-space: normal; }
  html.app-mode.app-home[data-app-style="quick"] .catbar .chip { flex-direction: column !important; border: 0; background: none; padding: 0; gap: 6px; text-align: center; }
  html.app-mode.app-home[data-app-style="quick"] .catbar .chip img, html.app-mode.app-home[data-app-style="quick"] .catbar .chip .chip-ic { width: 64px !important; height: 64px !important; border-radius: 18px; background: #eef6ea; font-size: 22px; }
  html.app-mode.app-home[data-app-style="quick"] .catbar .chip .chip-tx { font-size: 12px; white-space: normal; line-height: 1.2; display: block !important; }
  html.app-mode.app-home[data-app-style="quick"] .catbar .chip.active { background: none; color: var(--text); }
  html.app-mode[data-app-style="quick"] .pcard { box-shadow: none; border: 1px solid #e6ebe4; border-radius: 14px; background: #fff; }
  html.app-mode[data-app-style="quick"] .pcard .img { margin: 6px; border-radius: 12px; background: #f6f8f5; }
  html.app-mode[data-app-style="quick"] .pcard .foot .btn { background: #fff; color: #1e6b34; border: 1.5px solid #1e6b34; border-radius: 10px; text-transform: uppercase; letter-spacing: .5px; font-size: 13px; }
  html.app-mode[data-app-style="quick"] .pcard .tag { background: #2563eb; color: #fff; }
  html.app-mode[data-app-style="quick"] .app-tabs { box-shadow: none; }
  html.app-mode[data-app-style="quick"] .app-tabs a.on { color: #1e6b34; }
  html.app-mode[data-app-style="quick"] .app-tabs a.on i { background: none; }
  html.app-mode[data-app-style="quick"] .app-tabs a.on::before { content: ""; position: absolute; top: -6px; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: #1e6b34; }
}

/* App: no category strip on cart / checkout / account pages (more room for the form) */
@media (max-width: 760px) {
  html.app-mode.app-nocats .catbar { display: none; }
  html.app-mode[data-app-style="royal"] .m-dh { background: #5b1414 !important; color: #f6e7c1; }
  html.app-mode[data-app-style="royal"] .m-dh .m-x { background: rgba(255,255,255,.15); color: #f6e7c1; }
}

/* Native app feel (installed app only) */
@media (max-width: 760px) {
  html.app-mode body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  html.app-mode input, html.app-mode textarea, html.app-mode select, html.app-mode [contenteditable], html.app-mode .selectable { -webkit-user-select: text; user-select: text; }
  html.app-mode img { -webkit-user-drag: none; }
  html.app-mode a, html.app-mode button { -webkit-tap-highlight-color: transparent; }
  html.app-mode .btn:active, html.app-mode .app-tabs a:active, html.app-mode .pcard:active { transform: scale(.97); transition: transform .08s; }
  html.app-mode ::-webkit-scrollbar { width: 0; height: 0; }
  html.app-mode header.site { padding-top: env(safe-area-inset-top); }
}
/* Smooth page-to-page transitions like an app (Chrome 126+; ignored elsewhere) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms ease-out both vt-out; }
::view-transition-new(root) { animation: 200ms ease-out both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* =====================================================================
   NATIVE APP LOOK (installed app on phones) — header, home, product, cart
   ===================================================================== */
@media (max-width: 760px) {
  /* ---- Top bar: maroon with round logo, "Deliver to", account button, search ---- */
  html.app-mode header.site, html.app-mode[data-app-style] header.site { background: #4B1013; border: 0; border-radius: 0 0 22px 22px; box-shadow: 0 6px 18px rgba(75,16,19,.18); }
  html.app-mode header.site .row { padding: 10px 14px 14px; gap: 10px; align-items: center; }
  html.app-mode header.site .logo { flex: 0 0 auto; }
  html.app-mode header.site .logo img { content: url(/app-icon/192.png); width: 40px !important; height: 40px !important; border-radius: 50%; border: 2px solid #C8A24A; background: #fff7e8; object-fit: cover; }
  html.app-mode header.site .logo .brand-text { display: none; }
  html.app-mode .app-loc { display: block; min-width: 0; flex: 1; color: #F6EFE2; text-decoration: none; line-height: 1.15; }
  html.app-mode .app-loc small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #E3C98A; font-weight: 700; }
  html.app-mode .app-loc b { display: flex; align-items: center; gap: 4px; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.app-mode .app-av { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: #C8A24A; color: #4B1013; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; text-decoration: none; }
  html.app-mode .app-av svg { width: 20px; height: 20px; }
  html.app-mode header.site .search, html.app-mode[data-app-style] header.site .search { order: 3; flex: 1 1 100%; background: #fff; border: 0; border-radius: 14px; min-height: 46px; box-shadow: none; }
  html.app-mode header.site .search input { font-size: 15px; }
  /* category pills sit on the cream page under the maroon bar */
  html.app-mode .catbar, html.app-mode[data-app-style] .catbar { background: transparent; border: 0; }
  html.app-mode .catbar .container { padding-top: 12px; padding-bottom: 6px; }
  html.app-mode.app-home .catbar { display: none; }
  html.app-mode body { background: #FBF7EE; }
  html.app-mode .sk { display: block; background: linear-gradient(90deg, #f0e6d3, #e6d9c0, #f0e6d3); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }

  /* ---- Pull to refresh ---- */
  .app-ptr { display: none; }
  html.app-mode .app-ptr { display: block; position: fixed; top: -44px; left: 50%; z-index: 80; width: 40px; height: 40px; margin-top: env(safe-area-inset-top); border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); transform: translate(-50%, 0); transition: transform .15s; }
  html.app-mode .app-ptr i { position: absolute; inset: 10px; border-radius: 50%; border: 3px solid #e6d3a3; border-top-color: #4B1013; }
  html.app-mode .app-ptr.ready i { border-color: #4B1013; border-top-color: #C8A24A; }
  html.app-mode .app-ptr.spin { transform: translate(-50%, 70px) !important; }
  html.app-mode .app-ptr.spin i { animation: ptr .7s linear infinite; }
  @keyframes ptr { to { transform: rotate(360deg); } }

  /* ---- App home ---- */
  html.app-mode #appHome { display: block; }
  html.app-mode.app-home #heritageHome, html.app-mode.app-home #classicHome { display: none !important; }
  .ah { padding: 4px 14px 24px; }
  .ah-hi { margin: 14px 2px 12px; }
  .ah-hi b { display: block; font-family: 'Noto Sans Telugu', 'Gurajada', sans-serif; font-size: 20px; color: #4B1013; }
  .ah-hi span { font-size: 13px; color: #76665A; }
  .ah-banners { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
  .ah-banners::-webkit-scrollbar { display: none; }
  .ah-ban { position: relative; flex: 0 0 100%; scroll-snap-align: center; min-height: 150px; border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, #6b1a1c, #4B1013); color: #fff; text-decoration: none; display: flex; align-items: center; }
  .ah-ban.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ah-ban.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,8,11,.82), rgba(43,8,11,.25) 70%, transparent); }
  .ah-bt { position: relative; z-index: 1; padding: 16px; max-width: 82%; }
  .ah-bt small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #E3C98A; font-weight: 800; }
  .ah-bt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px; line-height: 1.08; margin: 5px 0 6px; }
  .ah-bs { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; opacity: .9; margin-bottom: 8px; }
  .ah-bb { display: inline-block; background: #C8A24A; color: #4B1013; font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 999px; }
  .ah-code b { display: inline !important; font: 800 12px Mulish, system-ui, sans-serif !important; margin: 0 !important; -webkit-line-clamp: unset; }
  .ah-code { display: inline-block; margin-left: 6px; border: 1.5px dashed #E3C98A; color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 8px; }
  .ah-dots { display: flex; justify-content: center; gap: 5px; margin: 8px 0 0; }
  .ah-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d8cbb3; transition: width .2s; }
  .ah-dots i.on { width: 18px; background: #4B1013; }
  .ah-how { position: relative; margin-top: 14px; background: #fff; border: 1px solid #ecd9ab; border-radius: 16px; padding: 12px 14px; }
  .ah-how > b { font-size: 14px; color: #4B1013; }
  .ah-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 20px; color: #9b8f84; }
  .ah-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; text-align: center; }
  .ah-steps i { display: flex; width: 38px; height: 38px; margin: 0 auto 4px; border-radius: 50%; background: #fbf1df; align-items: center; justify-content: center; font-style: normal; font-size: 18px; }
  .ah-steps span { font-size: 11px; font-weight: 700; line-height: 1.2; display: block; }
  .ah-sh { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 2px 10px; }
  .ah-sh b { font-size: 17px; color: #2A1A14; }
  .ah-sh a { font-size: 13px; font-weight: 800; color: #8E6F2A; text-decoration: none; }
  .ah-tel { font-family: 'Noto Sans Telugu', sans-serif; font-size: 13px; color: #8E6F2A; margin: -6px 2px 8px; }
  .ah-cats { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ah-cats::-webkit-scrollbar { display: none; }
  .ah-cat { flex: 0 0 64px; text-align: center; text-decoration: none; color: #2A1A14; }
  .ah-cat img, .ah-ci, .ah-skc { display: flex; width: 62px; height: 62px; border-radius: 18px; object-fit: cover; border: 1.5px solid #ecd9ab; background: #fff; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto; }
  .ah-cat b { display: block; font-size: 11.5px; margin-top: 5px; font-weight: 800; line-height: 1.15; }
  .ah-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px 6px; }
  .ah-rail::-webkit-scrollbar { display: none; }
  .ah-pc { position: relative; flex: 0 0 138px; scroll-snap-align: start; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 2px 10px rgba(75,16,19,.07); }
  .ah-pc.out { opacity: .75; }
  .ah-pi { position: relative; display: block; }
  .ah-pi img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #f6efe2; display: block; }
  .ah-off { position: absolute; left: 0; top: 0; background: #1f7a3a; color: #fff; font-size: 9.5px; font-weight: 900; padding: 3px 6px; border-radius: 12px 0 8px 0; }
  .ah-off.out { background: #6b5f55; }
  .ah-combo { position: absolute; right: 6px; top: 6px; font-size: 16px; }
  .ah-add { position: absolute; right: 12px; top: 112px; background: #fff; color: #1f7a3a; border: 1.5px solid #1f7a3a; font: 900 12px Mulish, system-ui, sans-serif; padding: 6px 13px; border-radius: 9px; box-shadow: 0 3px 8px rgba(0,0,0,.12); text-decoration: none; }
  .ah-add.ghost { color: #6b5f55; border-color: #b9ab9c; }
  .ah-pn { display: block; font-size: 13px; font-weight: 800; margin-top: 18px; line-height: 1.22; height: 32px; overflow: hidden; color: #2A1A14; text-decoration: none; }
  .ah-ps { font-size: 11px; color: #76665A; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ah-pp { margin-top: 4px; font-size: 14.5px; }
  .ah-pp s { font-size: 11px; color: #9b8f84; margin-left: 5px; }
  .ah-kit { flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: #fff; border-radius: 16px; padding: 12px 8px; text-decoration: none; color: #2A1A14; box-shadow: 0 2px 10px rgba(75,16,19,.06); }
  .ah-kit img, .ah-kit > span { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fbf1df; display: flex; align-items: center; justify-content: center; font-size: 24px; }
  .ah-kit b { font-size: 13px; }
  .ah-kit small { font-size: 11px; color: #76665A; }
  .ah-end { text-align: center; color: #9b8f84; font-size: 12px; margin: 26px 0 4px; }

  /* ---- Product page: full-width photo, details in a rounded sheet, fixed buy bar ---- */
  html.app-mode.app-pdp header.site, html.app-mode.app-pdp .catbar { display: none; }
  html.app-mode.app-pdp .app-tabs { display: none !important; }
  html.app-mode.app-pdp body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  html.app-mode .crumbs { display: none; }
  html.app-mode .pdp { margin: 0 -16px; gap: 0; }
  html.app-mode .pdp .gallery { position: relative; border: 0; border-radius: 0; background: #f6efe2; }
  html.app-mode .pdp .gallery img { aspect-ratio: 1 / 1; }
  html.app-mode .pd-float { display: flex; position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 12px; right: 12px; gap: 8px; }
  html.app-mode .pd-fb { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: #4B1013; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
  html.app-mode .pdp > div:nth-child(2) { position: relative; margin-top: -22px; background: #FBF7EE; border-radius: 24px 24px 0 0; padding: 18px 18px 0; }
  html.app-mode .pdp > div:nth-child(2)::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: #d8cbb3; margin: -8px auto 12px; }
  html.app-mode .pdp h1 { font-size: 27px; line-height: 1.1; color: #4B1013; }
  html.app-mode .pdp .price { font-size: 25px; }
  html.app-mode .sz-pdp { grid-template-columns: repeat(3, 1fr); max-width: none; }
  html.app-mode .sz-pdp button { text-align: center; padding: 8px 4px; }
  html.app-mode .sz-pdp button.on { border-color: #4B1013; background: #fff6ec; }
  html.app-mode .pdp .buy-row { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0 !important; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.10); flex-wrap: nowrap !important; gap: 8px !important; }
  html.app-mode .pdp .buy-row .qty { flex: 0 0 auto; }
  html.app-mode .pdp .buy-row .btn { flex: 1; min-width: 0; padding-left: 8px; padding-right: 8px; height: 48px; border-radius: 14px; font-size: 15px; white-space: nowrap; }
  html.app-mode .pdp .buy-row #add { background: #4B1013; border-color: #4B1013; color: #F6E7C1; }

  /* ---- Cart: app list + fixed checkout bar ---- */
  html.app-mode .two-col { display: block; }
  html.app-mode .two-col > .card { border: 0; border-radius: 18px; box-shadow: 0 2px 10px rgba(75,16,19,.06); margin-bottom: 12px; }
  html.app-mode .cart-item img { border-radius: 12px; }
  html.app-mode .cart-item .qty { background: #1f7a3a; border-color: #1f7a3a; border-radius: 10px; }
  html.app-mode .cart-item .qty button, html.app-mode .cart-item .qty input { color: #fff; background: transparent; font-weight: 900; }
  html.app-mode .summary a.btn.outline[href="/shop"] { display: none; }
  html.app-mode .cart-go { position: fixed; left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 30; display: flex !important; align-items: center; justify-content: space-between; gap: 10px; height: 56px; border-radius: 16px; background: #4B1013 !important; border-color: #4B1013 !important; color: #F6E7C1 !important; box-shadow: 0 10px 26px rgba(75,16,19,.35); padding: 0 18px; }
  html.app-mode .cart-go .cg-t { display: block; text-align: left; font-size: 18px; font-weight: 900; line-height: 1; }
  html.app-mode .cart-go .cg-t small { display: block; font-size: 9.5px; letter-spacing: .1em; opacity: .8; margin-bottom: 3px; }
  html.app-mode.app-nocats main.container { padding-bottom: 80px; }
  html.app-mode body:has(.cart-go) main.container { padding-bottom: 150px; }
}
