/* Canonical 2026 storefront visual layer: editorial commerce.
   This file is consumed by index.php. Existing PromoHome geometry stays untouched. */
.is-premium-store{width:min(1180px,100%);margin:12px auto 36px;color:var(--ink,#172033);background:var(--surface,#fff);border:1px solid var(--border,#e5e7eb);border-radius:24px;overflow:hidden;box-shadow:0 12px 42px rgba(18,28,48,.09)}
.is-premium-store-cover{position:relative;height:clamp(154px,27vw,300px);background:linear-gradient(120deg,#1d2948,#6279aa 62%,#d7b1a3);overflow:hidden}
.is-premium-store-cover>img{width:100%;height:100%;object-fit:cover}.is-premium-store-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,12,30,.32),transparent)}
.is-premium-store-back{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;min-height:38px;padding:0 14px;background:rgba(12,17,32,.52);color:white;border:1px solid rgba(255,255,255,.35);border-radius:999px;text-decoration:none;backdrop-filter:blur(8px);font-size:13px;font-weight:700}
.is-premium-store-identity{position:relative;margin-top:-43px;padding:0 22px 18px;display:flex;align-items:end;gap:16px;z-index:1}.is-premium-store-logo{width:90px;height:90px;flex:0 0 90px;border:4px solid var(--surface,#fff);border-radius:21px;background:#fff;box-shadow:0 10px 24px rgba(14,20,34,.17);display:grid;place-items:center;overflow:hidden;color:#101828;font-size:30px;font-weight:900}.is-premium-store-logo img{width:100%;height:100%;object-fit:contain}
.is-premium-store-identity>div:last-child{min-width:0;padding-top:44px}.is-premium-store h1{font-weight:850;letter-spacing:-.035em;font-size:clamp(19px,3.4vw,29px);line-height:1.2;margin:0 0 5px}.is-premium-store h1 span{color:#087e72}.is-premium-store-identity p{margin:0 0 3px;font-size:12px;color:var(--muted,#657084)}.is-premium-store-identity small{font-size:11px;color:var(--muted,#657084)}
.is-premium-store-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border,#e5e7eb);border-bottom:1px solid var(--border,#e5e7eb);background:var(--surface,#fff);position:sticky;top:0;z-index:5}
.is-premium-store-tabs a{text-decoration:none;display:grid;place-items:center;min-height:55px;color:var(--muted,#667085);font-weight:760;position:relative;font-size:14px}.is-premium-store-tabs a.is-active{color:var(--accent,#6c4deb)}.is-premium-store-tabs a.is-active::after{content:"";position:absolute;bottom:0;left:24%;right:24%;height:3px;background:currentColor;border-radius:4px}
.is-premium-store-content{padding:22px}.is-premium-store-content h2,.is-premium-section-head h2{margin:0;font-size:clamp(18px,2.6vw,23px);line-height:1.25;letter-spacing:-.025em}.is-premium-store-content h2 small{font-size:12px;color:var(--muted);font-weight:500}.is-premium-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px}.is-premium-section-head:not(:first-child){margin-top:24px}.is-premium-section-head>a{font-size:12px;color:var(--accent,#7056db);font-weight:750;text-decoration:none}
.is-premium-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:13px;margin:14px 0;background:var(--surface-soft,#f5f7fb);border:1px solid var(--border,#e5e7eb);border-radius:16px}.is-premium-toolbar-copy{flex:1 1 215px;display:grid;gap:4px;min-width:0}.is-premium-toolbar-copy strong{font-size:13px}.is-premium-toolbar-copy small{color:var(--muted,#64748b);font-size:10px;line-height:1.4}.is-premium-toolbar label{display:grid;gap:5px;font-weight:700;font-size:10px;color:var(--muted,#64748b);flex:0 1 180px}.is-premium-toolbar select{width:100%;height:41px;min-width:135px;border:1px solid var(--border,#d7dce5);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#172033);padding:0 10px;font-size:12px;font-weight:720;appearance:auto}
.is-premium-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.is-premium-product{display:flex;flex-direction:column;min-width:0;background:var(--surface,#fff);color:var(--ink,#172033);border:1px solid var(--border,#e5e7eb);border-radius:18px;overflow:hidden;text-decoration:none;box-shadow:0 4px 13px rgba(19,28,48,.05);transition:transform .2s ease,box-shadow .2s ease}.is-premium-product:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(20,29,46,.13)}.is-premium-product:focus-visible{outline:3px solid var(--accent,#7c3aed);outline-offset:2px}
.is-premium-product-image{display:block;width:100%;aspect-ratio:1/1;background:var(--surface-soft,#f1f5f9);overflow:hidden}.is-premium-product-image img{display:block;width:100%;height:100%;object-fit:cover}.is-premium-product-placeholder{height:100%;display:grid;place-items:center;color:var(--muted)}.is-premium-product-body{display:flex;flex-direction:column;gap:6px;padding:12px;min-height:160px}.is-premium-product-body>strong{font-size:13px;line-height:1.36;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.72em}.is-premium-product-price{font-size:16px;color:var(--accent,#5b3fcc);font-weight:840}.is-premium-metrics{display:flex;flex-wrap:wrap;gap:4px 7px;align-items:center;color:var(--muted,#687284);font-size:10px}.is-premium-metrics>b{font-weight:770;color:#bd7423}.is-premium-metrics>small{font-size:10px}.is-premium-locality{font-size:10px;color:var(--muted,#687284);line-height:1.35}.is-premium-shop-cta{font-size:11px;font-weight:800;color:var(--accent,#7054d1);margin-top:auto;border-top:1px solid var(--border,#e5e7eb);padding-top:10px}.is-premium-unlinked{opacity:.8;cursor:default}.is-premium-unlinked:hover{transform:none;box-shadow:none}
.is-premium-category-grid{margin:12px 0 4px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.is-premium-category-grid a{border-radius:15px;background:var(--surface-soft,#f5f7fb);border:1px solid var(--border,#e5e7eb);padding:15px;display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:var(--ink)}.is-premium-category-grid a span{font-size:23px;color:var(--accent,#6d50d4)}.is-premium-category-grid a b{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;font-size:12px}.is-premium-category-grid a small{color:var(--muted);font-size:10px}.is-premium-empty{padding:30px 20px;border:1px dashed var(--border,#dce2ec);border-radius:16px;background:var(--surface-soft,#f8fafc);color:var(--muted,#64748b);line-height:1.5;font-size:13px}.is-premium-empty h1{color:var(--ink)}
.is-premium-submenu-market{margin:22px 0;padding:16px;background:var(--surface,#fff);border:1px solid var(--border,#e5e7eb);border-radius:19px;box-shadow:0 8px 28px rgba(18,27,52,.045)}.is-premium-submenu-market .is-premium-section-head{margin-bottom:8px}.is-premium-submenu-market .is-premium-section-head small{font-size:11px;color:var(--muted,#69788a)}
/* Keep cards free of decorative 3D effects. */
.is-premium-store *, .is-premium-submenu-market *{text-shadow:none;-webkit-text-stroke:0 transparent}
html[data-theme=dark] .is-premium-store,html[data-theme=dark] .is-premium-submenu-market{background:#101827;color:#f8fafc;border-color:#293549;box-shadow:0 16px 40px rgba(0,0,0,.22)}html[data-theme=dark] .is-premium-store-tabs{background:#101827;border-color:#293549}html[data-theme=dark] .is-premium-store-logo{border-color:#101827}html[data-theme=dark] .is-premium-product,html[data-theme=dark] .is-premium-toolbar select{background:#161f30;color:#f8fafc;border-color:#334155}html[data-theme=dark] .is-premium-category-grid a,html[data-theme=dark] .is-premium-toolbar,html[data-theme=dark] .is-premium-empty{background:#172236;color:#f8fafc;border-color:#334155}html[data-theme=dark] .is-premium-product-image{background:#223047}html[data-theme=dark] .is-premium-product-price{color:#c4b5fd}
@media(max-width:720px){.is-premium-store{margin:7px 0 20px;border-radius:17px}.is-premium-store-identity{padding:0 14px 14px;gap:9px}.is-premium-store-logo{width:68px;height:68px;flex-basis:68px;border-width:3px;border-radius:17px}.is-premium-store-identity>div:last-child{padding-top:44px}.is-premium-store h1{font-size:18px}.is-premium-store-content{padding:13px}.is-premium-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.is-premium-product-body{padding:10px;gap:5px;min-height:143px}.is-premium-product-body>strong{font-size:12px}.is-premium-product-price{font-size:14px}.is-premium-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.is-premium-category-grid a{padding:10px;gap:6px}.is-premium-category-grid a small{display:none}.is-premium-toolbar{gap:7px}.is-premium-toolbar label{flex:1 1 132px}.is-premium-submenu-market{padding:10px;margin:14px 0;border-radius:15px}}
@media(prefers-reduced-motion:reduce){.is-premium-product{transition:none}.is-premium-product:hover{transform:none}}
.is-premium-product-categories{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 5px}.is-premium-product-categories a{padding:9px 12px;border:1px solid var(--border,#d7deea);border-radius:100px;background:var(--surface-soft,#f6f7fa);color:var(--ink,#182133);font-size:11px;font-weight:740;text-decoration:none}.is-premium-product-categories a.is-active{color:#fff;background:var(--accent,#664cde);border-color:transparent}html[data-theme=dark] .is-premium-product-categories a{background:#1d2c41;border-color:#34445b;color:#f8fafc}html[data-theme=dark] .is-premium-product-categories a.is-active{background:#795fe1;color:#fff}

/* Canonical grid, category effects and navigation surface styles. */
/* Prevent card overlap on dynamic grids. */
.ppob-flash-scroller,.ppob-voucher-grid,.brand-scroller,.auto-showcase-strip{align-items:stretch}
.product-copy,.market-reference-copy,.is-premium-product-body{overflow:hidden}

/* Restore dark-mode text visibility for category/menu/submenu labels. */
html[data-theme=dark] :is(.category-menu-label,.category-submenu-label,.ppob-catalog-card-copy strong,.ppob-catalog-card-copy small){color:#f8fafc!important;opacity:1}
html[data-theme=dark] :is(.category-menu-item,.category-submenu-item){color:#e5e7eb}
html[data-theme=dark] :is(.category-menu-item.active,.category-submenu-item.active){color:#fff}

/* One stationary container outline; only its gradient hue runs around the border.
   No rotating pseudo-element, diagonal corners, or mask-composite dependency. */
@property --istore-ring-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes istoreBorderSweep{from{--istore-ring-angle:0deg}to{--istore-ring-angle:360deg}}
.product-card-discovery .discovery-badge{
  border:3.5px solid transparent;
  background:linear-gradient(#fff,#fff) padding-box,
    conic-gradient(from var(--istore-ring-angle),#7c3aed,#06b6d4,#e11d91,#7c3aed) border-box;
  box-shadow:0 4px 15px rgba(99,45,180,.26);
  animation:istoreBorderSweep 3.8s linear infinite;
}
.product-card-discovery .discovery-badge::before{content:none!important}
/* Shared bottom navigation ring is defined once in css/navigation-ring.css. */
/* Selected-only spotlight. Exactly one selector group covers every visual renderer. */
:is(.category-item .category-icon,
    .category-menu-item .universal-category-menu-visual,
    .category-menu-item .category-menu-list-icon,
    .category-menu-item .ppob-menu-icon-frame,
    .category-submenu-item .universal-category-submenu-visual,
    .ppob-card-submenu .ppob-product-image){position:relative;isolation:isolate;overflow:visible}
:is(.category-item.active .category-icon,
    .category-menu-item.active .universal-category-menu-visual,
    .category-menu-item.active .category-menu-list-icon,
    .category-menu-item.active .ppob-menu-icon-frame,
    .category-submenu-item.active .universal-category-submenu-visual,
    .ppob-card-submenu.active .ppob-product-image)::before{
  content:"";position:absolute;left:50%;top:50%;width:124%;height:124%;aspect-ratio:1;
  border-radius:50%;pointer-events:none;z-index:0;
  background:radial-gradient(circle,rgba(255,255,255,.30) 0%,rgba(97,54,226,.61) 24%,rgba(0,168,239,.40) 46%,transparent 69%);
  filter:blur(clamp(3px,.8vw,7px));
  animation:istoreGlowPulse 2.6s ease-in-out infinite;
}
:is(.category-item.active .category-icon,
    .category-menu-item.active .universal-category-menu-visual,
    .category-menu-item.active .category-menu-list-icon,
    .category-menu-item.active .ppob-menu-icon-frame,
    .category-submenu-item.active .universal-category-submenu-visual,
    .ppob-card-submenu.active .ppob-product-image)>*{position:relative;z-index:1}
html[data-theme="dark"] :is(.category-item.active .category-icon,
    .category-menu-item.active .universal-category-menu-visual,
    .category-menu-item.active .category-menu-list-icon,
    .category-menu-item.active .ppob-menu-icon-frame,
    .category-submenu-item.active .universal-category-submenu-visual,
    .ppob-card-submenu.active .ppob-product-image)::before{
  background:radial-gradient(circle,rgba(255,255,255,.2) 0%,rgba(147,51,234,.53) 24%,rgba(34,211,238,.34) 46%,transparent 69%);
}
@media(prefers-reduced-motion:reduce){
  :is(.category-item.active .category-icon,.category-menu-item.active .universal-category-menu-visual,
      .category-menu-item.active .category-menu-list-icon,.category-menu-item.active .ppob-menu-icon-frame,
      .category-submenu-item.active .universal-category-submenu-visual,
      .ppob-card-submenu.active .ppob-product-image)::before{animation:none;transform:translate(-50%,-50%)}
}

/* Flash sale countdown enlarged and given a leading alarm icon. */
.ppob-countdown-wrap{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.ppob-countdown-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#2a1146,#4c1d95 58%,#9333ea);box-shadow:0 10px 20px rgba(76,29,149,.28)}
.ppob-countdown-icon img{display:block;width:24px;height:24px;object-fit:contain}
.ppob-countdown{gap:6px}
.ppob-countdown span{min-width:clamp(36px,4vw,52px);height:clamp(36px,4vw,52px);border-radius:12px;font-size:clamp(12px,1.6vw,18px);box-shadow:0 10px 20px rgba(15,23,42,.16)}
.ppob-countdown b{font-size:clamp(13px,1.35vw,18px)}
@media(max-width:520px){.ppob-countdown-wrap{gap:6px}.ppob-countdown-icon{width:32px;height:32px;border-radius:10px}.ppob-countdown-icon img{width:18px;height:18px}.ppob-countdown{gap:3px}.ppob-countdown span{min-width:29px;height:29px;font-size:10px;border-radius:8px}.ppob-countdown b{font-size:11px}}

/* Promo ribbon uses animated siren SVG instead of static gif. */
.ribbon-beacon-image--siren .ribbon-beacon-svg{display:block;width:1.72em;height:1.72em;min-width:1.72em;min-height:1.72em;overflow:visible;filter:drop-shadow(0 0 10px rgba(168,85,247,.36));transform-origin:center;animation:promoDuoSirenPulse 1.1s ease-in-out infinite}

/* Section headings and wrappers for better structure. */
.ppob-voucher-section .ppob-catalog-title h2,.ppob-category-popular .showcase-head h2,.brand-section .showcase-head h2,.is-premium-submenu-market .is-premium-section-head h2{letter-spacing:-.02em}
.ppob-category-popular .section-title,.ppob-voucher-section .section-title{margin-bottom:10px}
.brand-section .showcase-head p{max-width:42rem}

/* Keep store/partner detail page visible and tappable. */
.is-premium-store{position:relative;z-index:1}
.brand-card{cursor:pointer}
.is-premium-store-back,.is-premium-store-tabs a,.is-premium-product,.is-premium-category-grid a{touch-action:manipulation}

@keyframes istoreGlowPulse{0%,100%{opacity:.62;transform:translate(-50%,-50%) scale(.96)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}}

/* PromoDuo: alarm belongs immediately before the countdown, not inside its updating text node. */
.promoduo-flash-head .duo-flash-countdown{display:inline-flex;align-items:center;justify-content:flex-end;gap:clamp(2px,.45cqw,6px);min-width:0;flex:0 0 auto}
.promoduo-flash-head .duo-flash-alarm{display:block;flex:0 0 auto;width:clamp(20px,3.25cqw,35px);height:clamp(20px,3.25cqw,35px);object-fit:contain;filter:drop-shadow(0 0 4px rgba(168,85,247,.4))}
.promoduo-flash-head .promoduo-timer{min-width:0}
@media(max-width:520px){.promoduo-flash-head .duo-flash-countdown{gap:2px}.promoduo-flash-head .duo-flash-alarm{width:clamp(18px,2.8cqw,23px);height:clamp(18px,2.8cqw,23px)}}
/* Existing premium merchandise card grid is the only order landing renderer. */
.is-premium-service-order .is-premium-order-back{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);color:var(--ink);font-size:12px;font-weight:750;text-decoration:none}
.is-premium-service-order h1{font-size:clamp(20px,4.5vw,30px);margin:12px 0 5px;color:var(--ink)}
.is-premium-service-order .is-premium-order-lead{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 16px}
.is-premium-service-order .is-premium-product-grid{margin-top:16px}

/* Category captions are DOM content, not dark/light pseudo-elements. */
.category-scroller .category-item{color:var(--ink,#101828)!important}
.category-scroller .category-label{display:block!important;position:relative;z-index:2;opacity:1!important;visibility:visible!important;-webkit-text-fill-color:currentColor!important;font-weight:850}
html[data-theme=dark] .category-scroller .category-item{color:#f2f4ff!important}
html[data-theme=dark] .category-scroller .category-item.active .category-label{color:#c9a8ff!important}
@media(prefers-reduced-motion:reduce){.product-card-discovery .discovery-badge{animation:none!important}}

/* One canonical PPOB stack. Every section owns its natural height. */
#ppobCategoryFeatureStack{display:block;min-width:0}
#ppobCategoryFeatureStack #categorySubMenus{display:flex;flex-direction:column;gap:clamp(22px,4vw,36px);min-width:0}
#ppobCategoryFeatureStack #categorySubMenus>section{flex:0 0 auto;width:100%;min-width:0;max-width:100%;margin:0!important;position:relative}
.catalog-discovery-grid,.ppob-recommendation-grid,.product-grid-current{grid-auto-rows:max-content;align-items:start;row-gap:clamp(12px,2.5vw,24px)}
.product-grid-current>.product-card-discovery,.catalog-discovery-grid>.product-card-discovery{height:auto;min-height:0;aspect-ratio:auto;align-self:start}
.product-grid-current>.premium-reference-card,.ppob-recommendation-grid>.premium-reference-card{height:auto;align-self:start}
.catalog-discovery-grid>*{height:auto;min-width:0}
/* Single purple accent, for every admin-defined PPOB-style submenu heading. */
.ppob-category-submenu-section>.ppob-category-submenu-heading{display:flex;align-items:center;gap:10px;margin-bottom:clamp(12px,2vw,18px);font-weight:950;line-height:1.2}
.ppob-category-submenu-section>.ppob-category-submenu-heading::before{content:"";display:block;flex:0 0 22px;width:22px;height:5px;border-radius:999px;background:#8b35e9}
/* Compact circular glow, including the PPOB submenu card's clipped image. */
.ppob-card-submenu.active .ppob-product-image{isolation:isolate;overflow:visible;border-radius:50%}
.ppob-card-submenu.active .ppob-product-image::before{width:108%;height:108%;filter:blur(7px);background:radial-gradient(circle,rgba(124,58,237,.44),rgba(14,165,233,.25) 47%,transparent 69%)}
.category-menu-item.active :is(.universal-category-menu-visual,.category-menu-list-icon)::before{width:104%;height:104%;filter:blur(4px)}
.category-item.active .category-icon img,.category-menu-item.active :is(.universal-category-menu-visual,.category-menu-list-icon,.ppob-menu-icon-frame) img,.ppob-card-submenu.active .ppob-product-image img{filter:drop-shadow(0 0 9px rgba(56,189,248,.58)) drop-shadow(0 0 14px rgba(147,51,234,.52))}
html[data-theme=dark] #ppobCategoryFeatureStack .ppob-product-card{border-color:rgba(148,163,184,.26)}

/* Service chooser: editorial storefront treatment, dark + light support. */
.is-premium-service-order{padding:0;overflow:hidden!important;box-shadow:0 16px 45px rgba(22,16,55,.12)}
.is-service-hero{padding:clamp(18px,4vw,38px);position:relative;overflow:hidden;isolation:isolate;
  background:radial-gradient(circle at 85% 8%,rgba(255,255,255,.88),transparent 38%),
    linear-gradient(115deg,#d4e9ff 0%,#efd7ff 48%,#fff0cb 100%);color:#19152b}
.is-service-hero::after{content:"";position:absolute;width:210px;height:210px;right:-80px;top:-95px;border-radius:50%;border:34px solid rgba(120,55,215,.1);pointer-events:none;z-index:-1}
.is-service-hero .is-premium-order-back{background:rgba(255,255,255,.75);border-color:rgba(105,74,175,.18);color:#332057}
.is-service-eyebrow{display:block;margin:22px 0 7px;color:#6726a9;font-size:11px;font-weight:900;letter-spacing:.12em}
.is-premium-service-order .is-service-hero h1{margin:0;color:#211a36;font-size:clamp(25px,5.8vw,42px);letter-spacing:-.035em;line-height:1.12}
.is-service-hero-subtitle{color:#524467;font-size:13px;font-weight:650;margin:11px 0 23px;line-height:1.5}
.is-service-hero-subtitle span{padding-inline:4px;color:#8b5cf6}
.is-service-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.is-service-steps span{display:grid;place-items:center;min-height:42px;min-width:0;padding:7px 4px;background:rgba(255,255,255,.53);border:1px solid rgba(130,100,200,.14);border-radius:11px;text-align:center;font-size:clamp(10px,2.4vw,12px);font-weight:790;color:#695c76}
.is-service-steps .is-current{color:#fff;border-color:transparent;background:linear-gradient(125deg,#7c3aed,#b92bd2);box-shadow:0 8px 18px rgba(110,42,190,.23)}
.is-service-catalog{padding:clamp(16px,3vw,30px)}
.is-service-count{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:9px 13px;border-radius:11px;background:color-mix(in srgb,var(--accent) 7%,var(--surface));margin-bottom:13px}
.is-service-count strong{font-size:12px}.is-service-count span{font-size:11px;color:var(--muted)}
.is-service-empty{padding:clamp(32px,6vw,66px) 20px;text-align:center;border:1px dashed color-mix(in srgb,var(--accent) 28%,var(--border));border-radius:17px;background:var(--surface-soft);color:var(--ink)}
.is-service-empty-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;margin:0 auto 15px;background:color-mix(in srgb,var(--accent) 13%,var(--surface));color:var(--accent)}
.is-service-empty-icon svg{width:31px;height:31px}.is-service-empty h2{margin:0 0 9px}.is-service-empty p{font-size:13px;line-height:1.6;max-width:410px;margin:0 auto;color:var(--muted)}
html[data-theme=dark] .is-service-hero{background:radial-gradient(circle at 90% 0%,rgba(119,78,211,.37),transparent 38%),linear-gradient(120deg,#141d36,#2a174b 65%,#28213d);color:#fff}
html[data-theme=dark] .is-service-hero .is-premium-order-back{background:rgba(13,20,37,.58);color:#fff;border-color:rgba(255,255,255,.26)}
html[data-theme=dark] .is-service-eyebrow{color:#e0aaff}
html[data-theme=dark] .is-premium-service-order .is-service-hero h1{color:#fff}
html[data-theme=dark] .is-service-hero-subtitle{color:#d8cde6}
html[data-theme=dark] .is-service-steps span{background:rgba(255,255,255,.08);color:#ddd2ed;border-color:rgba(255,255,255,.12)}
html[data-theme=dark] .is-service-steps .is-current{color:#fff;background:linear-gradient(125deg,#6d28d9,#aa2ac0)}
.is-service-catalog .is-premium-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,2vw,17px);align-items:stretch}
@media(min-width:790px){.is-service-catalog .is-premium-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* PPOB selection: one bright but soft main-category-sized purple spotlight.
   Vertical room in the rail keeps its edge away from the progress track. */
:is(#ppobHome,#priorityHome,#categoryMenuStrip) > .ppob-menu-section .ppob-menu-tabs{
  padding-top:clamp(14px,3vw,20px);
  padding-bottom:clamp(18px,3.5vw,26px);
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) .ppob-menu-tab.active .ppob-menu-icon-frame::before {
  content:"";position:absolute;left:50%;top:50%;width:132%;height:132%;
  transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;z-index:0;
  background:radial-gradient(circle,rgba(215,186,255,.28) 0%,rgba(139,71,238,.56) 26%,rgba(73,82,230,.32) 49%,transparent 72%);
  filter:blur(6px);animation:none!important;
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) .ppob-menu-tab.active .ppob-menu-icon-frame img {
  filter:drop-shadow(0 0 4px rgba(124,58,237,.34));
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) .ppob-menu-tab.active .ppob-menu-icon-frame::after {
  content:none!important;display:none!important;
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) .ppob-menu-tab.active .ppob-menu-icon-frame {
  filter:none!important;
}
@media (prefers-reduced-motion:reduce){
  :is(#ppobHome,#priorityHome,#categoryMenuStrip) .ppob-menu-tab.active .ppob-menu-icon-frame::before{animation:none}
}

/* Consistent compact PPOB-style category rail (reference: Kategori Menu Barang).
   Apply to PPOB main, Layanan Prioritas, and category menus presented as PPOB.
   One horizontal icon row; underline belongs to its icon and the progress track
   follows closely.  Keep the transparent backdrop and existing active glow. */
:is(#ppobHome,#priorityHome,#categoryMenuStrip) > .ppob-menu-section .ppob-menu-tabs {
  padding-top:clamp(8px,1.8vw,16px) !important;
  padding-bottom:0 !important;
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) > .ppob-menu-section .ppob-menu-tabs > .ppob-menu-tab {
  min-height:0;
  padding-top:2px !important;
  padding-bottom:clamp(18px,2.4vw,24px) !important;
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) > .ppob-menu-section .ppob-menu-tab.active::after {
  bottom:2px;
}
#priorityHome > .priority-menu-section {
  gap:0;
}
:is(#ppobHome,#priorityHome,#categoryMenuStrip) > .ppob-menu-section > .ppob-menu-progress {
  margin-top:clamp(8px,1vw,10px) !important;
  margin-bottom:clamp(8px,1vw,12px) !important;
}

/* Product-only chooser: no search / sort / region toolbar above product list. */
.is-premium-service-order,.is-premium-service-order *{box-sizing:border-box}
.is-premium-service-order{width:100%;max-width:100%;min-width:0;margin-inline:auto}
.is-premium-service-order .is-service-catalog{min-width:0;overflow-wrap:anywhere}
.is-premium-service-order .is-premium-product-grid{width:100%;min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr))}
.is-premium-service-order .is-premium-product{min-width:0}
@media(max-width:530px){.is-premium-service-order .is-premium-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.is-premium-service-order .is-service-steps span{font-size:clamp(9px,2.7vw,12px)}}

/* October final: intrinsic service columns, no desktop min-width overflow. */
:is(.is-premium-service-order,.is-service-catalog,.is-service-hero){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.is-premium-service-order .is-premium-product-grid{min-width:0;max-width:100%;gap:clamp(8px,2.5vw,18px)}
.is-premium-service-order .is-premium-product{min-width:0;max-width:100%;overflow:hidden}
.is-premium-service-order .is-premium-product-image{max-width:100%;min-width:0}
.is-premium-service-order .is-premium-product-body{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
  .is-premium-service-order{border-radius:clamp(12px,4vw,22px);margin-block:12px}
  .is-service-hero{padding:clamp(14px,4vw,22px)}
  .is-service-catalog{padding:clamp(10px,3.5vw,18px)}
  .is-premium-service-order .is-premium-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .is-premium-service-order .is-service-steps{gap:5px}
  .is-premium-service-order .is-service-steps span{min-height:40px;padding:5px 2px;overflow-wrap:anywhere}
}

/* Compact PPOB-style submenu choices stay light and touch-friendly. */
.ppob-category-submenu-rail{display:flex;align-items:flex-start;gap:clamp(10px,2.5vw,16px);width:100%;min-width:0;padding:3px 2px 8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scroll-snap-type:x proximity;scrollbar-width:none}
.ppob-category-submenu-rail::-webkit-scrollbar{display:none}
.ppob-category-submenu-choice{box-sizing:border-box;display:flex;flex:0 0 clamp(68px,20vw,88px);min-width:0;min-height:100px;flex-direction:column;align-items:center;gap:6px;padding:0 2px 3px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:center;text-decoration:none;scroll-snap-align:start;cursor:pointer}
.ppob-category-submenu-choice .ppob-menu-icon-frame{display:grid;place-items:center;width:clamp(52px,15vw,64px);aspect-ratio:1;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:16px;background:var(--surface);color:var(--accent)}
.ppob-category-submenu-choice .ppob-menu-icon-frame img{display:block;width:100%;height:100%;object-fit:cover}
.ppob-category-submenu-choice .ppob-menu-icon-frame>span,.ppob-category-submenu-choice .ppob-menu-icon-frame>.icon{display:grid;place-items:center;width:58%;height:58%;color:var(--accent)}
.ppob-category-submenu-choice .ppob-menu-icon-frame>.category-submenu-exact-icon,.ppob-category-submenu-choice .ppob-submenu-icon-fallback .category-submenu-exact-icon{width:100%;height:100%;padding:12%;object-fit:contain}
.ppob-category-submenu-choice .ppob-submenu-icon-fallback{display:grid;place-items:center;width:58%;height:58%;color:var(--accent)}
.ppob-submenu-choice-label{display:block;max-width:100%;min-height:2.4em;overflow-wrap:anywhere;color:inherit;font-size:clamp(10px,2.8vw,12px);font-weight:850;line-height:1.2}
.ppob-category-submenu-choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ppob-category-submenu-choice.active{color:var(--accent)}
.ppob-category-submenu-choice.is-unavailable{opacity:.62;cursor:default}
.ppob-submenu-choice-status{font-size:9px;line-height:1.1}

/* Match the recommendation banner to its product-card row and fill the cell. */
.product-grid-current.catalog-discovery-grid{grid-auto-rows:max-content;align-items:stretch}
.product-grid-current.catalog-discovery-grid>.product-card-discovery,.product-grid-current.catalog-discovery-grid>.catalog-grid-banner-carousel{align-self:stretch;aspect-ratio:auto;min-height:0}
.product-grid-current.catalog-discovery-grid>.catalog-grid-banner-carousel .catalog-grid-banner-slide img{object-fit:cover}


/* 2026-10-22: all PPOB-presentation submenus use the priority-service geometry.
   Columns are sourced from each group in the Admin panel; no fixed-pixel desktop override. */
.category-priority-unified .ppob-category-submenu-rail {
  display:grid; grid-template-columns:repeat(var(--unified-submenu-mobile,2),minmax(0,1fr));
  gap:clamp(8px,var(--unified-submenu-gap,12px),30px); overflow:visible; padding:4px 0 12px;
  align-items:stretch; min-width:0; scroll-snap-type:none;
}
.category-priority-unified .ppob-category-submenu-choice {
  min-width:0; width:100%; min-height:0; height:auto; padding:clamp(8px,2vw,14px);
  flex:none; display:flex; align-items:center; justify-content:flex-start; gap:8px;
  border:1px solid var(--border,#dfe3ee); border-radius:clamp(14px,2vw,19px);
  background:var(--surface,#fff); box-shadow:0 6px 17px rgba(20,18,43,.06);
  overflow:hidden; color:var(--ink,#171a2b); isolation:isolate;
}
.category-priority-unified .ppob-category-submenu-choice .ppob-menu-icon-frame {
  display:grid; place-items:center; flex:none; width:min(100%,112px); max-width:100%;
  aspect-ratio:1; height:auto; border:0; border-radius:clamp(12px,2vw,18px);
  background:var(--surface-soft,#f3f3fa); overflow:hidden;
}
.category-priority-unified .ppob-category-submenu-choice .ppob-menu-icon-frame>img,
.category-priority-unified .ppob-category-submenu-choice .ppob-submenu-icon-fallback img {
  display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain;
}
.category-priority-unified .ppob-category-submenu-choice .ppob-submenu-icon-fallback {
  display:grid; place-items:center; width:100%; height:100%; min-width:0; min-height:0;
}
.category-priority-unified .ppob-category-submenu-choice .ppob-menu-icon-frame :is(svg,.icon),
.category-priority-unified .ppob-category-submenu-choice .ppob-submenu-icon-fallback :is(svg,.icon) {
  display:block; width:clamp(25px,40%,52px); height:clamp(25px,40%,52px);
  max-width:100%; max-height:100%; flex:none;
}
.category-priority-unified .ppob-category-submenu-choice .ppob-submenu-choice-label {
  display:block; width:100%; min-height:2.3em; font-size:clamp(10px,1.7vw,13px);
  line-height:1.2; text-align:center; overflow-wrap:anywhere; font-weight:800;
}
.category-priority-unified .ppob-category-submenu-choice.is-unavailable{opacity:.65;box-shadow:none}
.category-priority-unified .ppob-category-submenu-choice:focus-visible{outline:3px solid var(--accent,#7c3aed);outline-offset:2px}
@media (min-width:680px) {
  .category-priority-unified .ppob-category-submenu-rail {grid-template-columns:repeat(var(--unified-submenu-desktop,5),minmax(0,1fr));}
}
@media (max-width:360px) {
  .category-priority-unified .ppob-category-submenu-choice{padding:6px;gap:5px;}
  .category-priority-unified .ppob-category-submenu-choice .ppob-submenu-choice-label{font-size:10px}
}
@media (prefers-reduced-motion:reduce){.category-priority-unified .ppob-category-submenu-choice{transition:none}}


/* 2026-10-25: priority category menus match the tighter Barang rail rhythm.
   Applies whether the same menu is mounted in priorityHome or categoryMenuStrip.
   Only the category menu rail is affected: submenu shell/white artwork untouched. */
:is(#priorityHome,#categoryMenuStrip) > .priority-menu-section {
  display:grid;
  gap:0 !important;
  background:transparent;
}
:is(#priorityHome,#categoryMenuStrip) > .priority-menu-section > .priority-menu-rail {
  padding-bottom:0 !important;
}
:is(#priorityHome,#categoryMenuStrip) > .priority-menu-section > .priority-menu-rail > .priority-menu-item {
  padding-bottom:clamp(20px,3vw,28px) !important;
  gap:0 !important;
}
:is(#priorityHome,#categoryMenuStrip) > .priority-menu-section > .priority-menu-rail > .priority-menu-item.active::after {
  bottom:2px;
}
:is(#priorityHome,#categoryMenuStrip) > .priority-menu-section > .ppob-menu-progress {
  margin-top:9px !important;
  margin-bottom:clamp(7px,1vw,10px) !important;
}
