:root{
  --purple:#3B0764;
  --purple-2:#5B168C;
  --violet:#7C3AED;
  --pink:#EC4899;
  --bg:#FBF8FE;
  --surface:#FFFFFF;
  --surface-2:#F8F2FC;
  --text:#211529;
  --muted:#746A80;
  --border:#E9DFF0;
  --green:#15803D;
  --green-bg:#F0FDF4;
  --danger:#9F1239;
  --shadow:0 14px 40px rgba(59,7,100,.08);
  --shadow-lg:0 24px 70px rgba(59,7,100,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
.site-shell{max-width:1180px;margin:0 auto;padding:24px}
.store-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.brand-link{display:inline-flex;align-items:center}
.logo{height:48px;max-width:190px;object-fit:contain}
.store-slug{
  display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;
  padding:8px 13px;background:#fff;font-weight:800;color:var(--purple);font-size:13px
}
.hero{
  position:relative;overflow:hidden;border-radius:30px;
  background:linear-gradient(135deg,#FFF5FA 0%,#F3EAFE 100%);
  padding:30px;border:1px solid #F1E6F8;margin-bottom:18px;
}
.hero:after{
  content:"";position:absolute;width:220px;height:220px;border-radius:50%;
  background:rgba(124,58,237,.07);right:-70px;top:-90px
}
.hero-content{position:relative;z-index:1;max-width:760px}
.hero h1{font-size:clamp(30px,4vw,46px);line-height:1.05;letter-spacing:-.035em;margin:16px 0 10px}
.hero p{font-size:17px;color:var(--muted);margin:0;max-width:700px}
.status-pill{
  display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 11px;
  background:#fff;border:1px solid var(--border);font-size:12px;font-weight:850;color:var(--purple)
}
.status-dot{width:8px;height:8px;border-radius:50%;background:#22C55E}
.status-pill.closed .status-dot{background:#F59E0B}
.card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;margin-bottom:16px;box-shadow:0 1px 0 rgba(59,7,100,.02)}
.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}
.muted{color:var(--muted)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:26px 0 12px}
.section-heading h2{margin:0;font-size:26px;letter-spacing:-.02em}
.section-heading p{margin:0;color:var(--muted);font-size:14px}
.country-card{padding:16px 18px}
.country-card .field{min-width:260px;margin:0}
.catalog-tools{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0 0 16px;
}
.catalog-search{
  position:relative;
  max-width:560px;
}
.catalog-search-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  font-size:22px;
  pointer-events:none;
}
.catalog-search input{
  width:100%;
  height:48px;
  border:1px solid #DFD3E8;
  border-radius:15px;
  padding:0 14px 0 43px;
  background:#fff;
  color:var(--text);
  font-size:15px;
  outline:none;
}
.catalog-search input:focus{
  border-color:#A879CE;
  box-shadow:0 0 0 3px rgba(124,58,237,.08);
}
.category-chips{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:1px 1px 5px;
  scrollbar-width:none;
}
.category-chips::-webkit-scrollbar{display:none}
.category-chip{
  flex:0 0 auto;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  color:var(--muted);
  padding:9px 14px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
.category-chip:hover{
  border-color:#CDB7DE;
  color:var(--purple);
}
.category-chip.active{
  border-color:#D5BDE8;
  background:#F2E8F8;
  color:var(--purple);
}
.product-category-label{
  width:max-content;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  border-radius:999px;
  background:#F6F0FA;
  color:var(--purple);
  padding:5px 9px;
  font-size:11px;
  font-weight:850;
}
.detail-category{
  display:inline-flex;
  border-radius:999px;
  background:#F6F0FA;
  color:var(--purple);
  padding:6px 10px;
  font-size:12px;
  font-weight:850;
  margin-bottom:8px;
}
.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.product-card{
  position:relative;background:#fff;border:1px solid var(--border);border-radius:24px;padding:14px;
  display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 18px rgba(59,7,100,.035);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#DDCDEF}
.product-media{position:relative;display:block;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,var(--pink),var(--violet));aspect-ratio:1.16/1}
.prod-img{width:100%;height:100%;object-fit:cover;display:flex;align-items:center;justify-content:center;color:#fff;font-size:44px}
.product-card-body{display:flex;flex-direction:column;gap:10px;padding:14px 3px 4px;flex:1}
.product-title-row{display:flex;align-items:flex-start;gap:10px}
.product-title{font-size:20px;font-weight:900;letter-spacing:-.015em;color:var(--text);text-decoration:none;flex:1}
.product-title:hover{color:var(--purple)}
.product-desc{margin:0;color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:41px}
.price{font-size:22px;font-weight:950;color:var(--purple);letter-spacing:-.02em}
.in-cart-badge{
  display:inline-flex;align-items:center;width:max-content;background:#F4EAFE;color:var(--purple);
  border-radius:999px;padding:5px 9px;font-size:12px;font-weight:850
}
.variant-box{background:var(--surface-2);border:1px solid var(--border);border-radius:16px;padding:12px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.field:last-child{margin-bottom:0}
.field label{font-weight:850;font-size:14px}
.field input,.field textarea,.field select{
  width:100%;border:1px solid #DFD3E8;border-radius:14px;padding:12px 13px;font-size:15px;background:#fff;color:var(--text);outline:none
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#A879CE;box-shadow:0 0 0 3px rgba(124,58,237,.08)}
.qty-row{display:flex;align-items:center;gap:9px}
.qty-control{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:14px;padding:4px;background:#fff}
.qty-control button{
  border:0;background:#F5EEFA;color:var(--purple);width:36px;height:36px;border-radius:10px;font-size:19px;font-weight:900
}
.qty-control span,.qty-control b{min-width:30px;text-align:center;font-size:16px}
.mainbtn{
  border:0;border-radius:14px;background:var(--purple);color:var(--on-primary,#fff);font-weight:900;padding:12px 16px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px
}
.mainbtn:hover{filter:brightness(.92)}
.mainbtn:disabled{opacity:.52;cursor:not-allowed}
.secondary-btn{
  border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--purple);font-weight:850;padding:11px 14px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none
}
.text-btn{border:0;background:transparent;color:var(--purple);padding:5px 0;font-weight:800;text-decoration:none}
.addbtn{width:100%;margin-top:auto}
.addbtn.added{background:var(--green)}
.product-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:1px}
.details-link{color:var(--purple);font-size:13px;font-weight:850;text-decoration:none}
.product-menu{position:relative}
.product-menu summary{
  list-style:none;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--border);background:#fff;color:var(--muted);font-weight:900;cursor:pointer
}
.product-menu summary::-webkit-details-marker{display:none}
.product-menu-panel{
  position:absolute;right:0;top:39px;z-index:20;background:#fff;border:1px solid var(--border);
  border-radius:12px;padding:6px;box-shadow:var(--shadow);min-width:150px
}
.product-menu-panel button{border:0;background:#fff;color:var(--danger);font-weight:800;padding:9px 10px;width:100%;text-align:left;border-radius:8px}
.product-menu-panel button:hover{background:#FFF1F5}
.unavailable{font-size:13px;color:#9A3412;background:#FFF7ED;border:1px solid #FED7AA;border-radius:13px;padding:10px}
.fallback{font-size:12px;color:var(--muted)}
.cart-card{scroll-margin-top:18px}
.cart-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cart-count{font-weight:900;color:var(--purple)}
.summary-line{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px dashed var(--border)}
.summary-line:last-child{border-bottom:0}
.cart-line{display:flex;gap:12px;align-items:flex-start}.cart-main{flex:1;min-width:0}
.cart-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}
.cart-actions button{border:1px solid var(--border);background:#fff;color:var(--purple);border-radius:10px;padding:7px 10px;font-weight:900}
.cart-actions .remove{color:var(--danger)}
.cart-total{font-size:18px}
.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.success{font-size:14px;color:#166534;background:var(--green-bg);border:1px solid #BBF7D0;border-radius:14px;padding:12px;margin:12px 0}
.empty{text-align:center;color:var(--muted);padding:30px}
.error{border:1px solid #FFD199;background:#FFF8EF;color:#7C2D12;border-radius:16px;padding:16px;margin-top:16px}
.footer{color:var(--muted);font-size:13px;text-align:center;margin:28px 0 92px}
.footer a{color:var(--purple);font-weight:800;margin:0 6px;text-decoration:none}
.policy-list li{margin:10px 0;line-height:1.45}.danger{border-color:#FECACA;background:#FFF7F7;color:#7F1D1D}
.report-store-link{position:relative;z-index:2;margin-top:16px;display:inline-block;color:var(--muted);font-size:12px;font-weight:750}
.report-store-link:hover{color:var(--danger)}
.toast{
  position:fixed;left:50%;bottom:88px;z-index:1000;transform:translate(-50%,18px);
  background:#201528;color:#fff;border-radius:14px;padding:12px 16px;box-shadow:var(--shadow-lg);
  font-size:14px;font-weight:800;opacity:0;pointer-events:none;transition:.2s ease;max-width:min(420px,calc(100vw - 28px));text-align:center
}
.toast.show{opacity:1;transform:translate(-50%,0)}
.sticky-cart{
  position:fixed;left:50%;bottom:18px;z-index:900;transform:translateX(-50%);
  width:min(640px,calc(100vw - 28px));background:#201528;color:#fff;border-radius:18px;padding:10px 11px 10px 16px;
  box-shadow:0 18px 55px rgba(32,21,40,.28);display:flex;align-items:center;justify-content:space-between;gap:12px
}
.sticky-cart strong{display:block}.sticky-cart small{color:#D8CEE0}
.sticky-cart button{border:0;background:#fff;color:var(--purple);border-radius:12px;padding:10px 14px;font-weight:900}
.product-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.back-btn{border:0;background:transparent;color:var(--purple);font-weight:900;padding:8px 0}
.product-detail{
  display:grid;grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);gap:26px;
  background:#fff;border:1px solid var(--border);border-radius:28px;padding:20px;box-shadow:var(--shadow)
}
.detail-media{min-width:0}
.detail-main-image{width:100%;aspect-ratio:1.1/1;object-fit:cover;border-radius:21px;background:linear-gradient(135deg,var(--pink),var(--violet));display:flex;align-items:center;justify-content:center;color:#fff;font-size:58px}
.detail-thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto;padding-bottom:2px}
.detail-thumb{width:72px;height:72px;border-radius:12px;object-fit:cover;border:2px solid transparent;cursor:pointer}
.detail-thumb:hover{border-color:#B78DD8}
.product-detail-copy{padding:8px 5px}
.product-detail-copy h1{font-size:34px;line-height:1.1;letter-spacing:-.035em;margin:4px 0 10px}
.detail-description{color:var(--muted);white-space:pre-wrap;margin:0 0 16px}
.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}
.share-status{font-size:12px;color:var(--green);font-weight:800}
.detail-report{display:inline-block;margin-top:16px;color:var(--muted);font-size:12px;font-weight:750}
.detail-report:hover{color:var(--danger)}
.detail-cart-note{margin-top:10px;font-size:13px;color:var(--muted)}
@media(max-width:760px){
  .site-shell{padding:14px}
  .store-topbar{margin-bottom:14px}
  .logo{height:42px}
  .hero{padding:22px;border-radius:24px}
  .products{grid-template-columns:1fr}
  .section-heading{align-items:flex-start;flex-direction:column;gap:3px}
  .country-card .field{min-width:100%;width:100%}
  .product-detail{grid-template-columns:1fr;padding:14px;border-radius:22px}
  .product-detail-copy h1{font-size:29px}
  .footer{margin-bottom:100px}
}


/* V11 checkout & delivery rules */
.fulfilment-card{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}
.fulfilment-switch{display:flex;gap:8px;flex-wrap:wrap}
.fulfilment-switch button{border:1px solid var(--border);background:#fff;border-radius:14px;padding:11px 16px;font-weight:900;color:var(--purple);cursor:pointer}
.fulfilment-switch button.active{background:var(--purple);color:#fff;border-color:var(--purple)}
.pickup-note{margin-top:8px;font-size:14px;line-height:1.45;color:var(--muted)}
.rule-warning,.rule-success,.rule-hint{margin-top:12px;border-radius:14px;padding:11px 13px;font-size:14px;line-height:1.4}
.rule-warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}
.rule-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.rule-hint{background:#faf5ff;border:1px solid #e9d5ff;color:#6b21a8}
.free-label{color:#166534}
@media(max-width:680px){.fulfilment-card{align-items:flex-start;flex-direction:column}.fulfilment-switch{width:100%}.fulfilment-switch button{flex:1}}


/* V12 store hours */
.store-hours{margin-top:14px;max-width:420px}
.store-hours summary{cursor:pointer;color:var(--purple);font-weight:900;list-style:none}
.store-hours summary::-webkit-details-marker{display:none}
.store-hours summary::after{content:' ▾';font-size:12px}
.store-hours[open] summary::after{content:' ▴'}
.hours-list{margin-top:10px;border:1px solid rgba(59,7,100,.10);border-radius:14px;padding:8px 12px;background:rgba(255,255,255,.72)}
.hours-row{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px dashed var(--border);font-size:13px}
.hours-row:last-child{border-bottom:0}
.store-hours small{display:block;margin-top:7px;color:var(--muted)}

/* V15 customer convenience: optional remembered checkout details */
.remember-details-box{
  margin-top:18px;
  padding:14px 15px;
  border:1px solid var(--border);
  border-radius:15px;
  background:#FCFAFD;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.remember-details-toggle{
  min-width:0;
  flex:1;
  display:flex;
  align-items:flex-start;
  gap:11px;
  cursor:pointer;
}
.remember-details-toggle input{
  width:18px;
  height:18px;
  flex:0 0 auto;
  margin:2px 0 0;
  accent-color:var(--purple);
}
.remember-details-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.remember-details-copy b{
  color:var(--text);
  font-size:14px;
}
.remember-details-copy small{
  color:var(--muted);
  line-height:1.35;
  font-size:12px;
}
.remember-details-status{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-top:4px;
  color:#166534;
  font-size:12px;
  font-weight:800;
}
.remember-forget-btn{
  flex:0 0 auto;
  border:0;
  background:transparent;
  color:var(--purple);
  padding:4px 2px;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
.remember-forget-btn:hover{text-decoration:underline}
@media(max-width:520px){
  .remember-details-box{flex-direction:column;gap:10px}
  .remember-forget-btn{margin-left:29px}
}
@media(max-width:340px){
  .remember-forget-btn{margin-left:0;width:100%;text-align:left}
}

/* V13.1.1 coupon checkout polish */
.coupon-card{margin-top:16px}
.checkout-coupon{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}
.checkout-coupon h3{margin:0 0 12px;font-size:16px}
.coupon-entry{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}
.coupon-entry input{
  width:100%;
  min-width:0;
  height:48px;
  border:1px solid #DFD3E8;
  border-radius:14px;
  padding:0 14px;
  background:#fff;
  color:var(--text);
  outline:none;
  font-size:15px;
  text-transform:uppercase;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.coupon-entry input::placeholder{
  color:#8A7E91;
  text-transform:none;
}
.coupon-entry input:focus{
  border-color:#A879CE;
  box-shadow:0 0 0 3px rgba(124,58,237,.08);
}
.coupon-apply-btn{
  min-width:104px;
  height:48px;
  padding:0 18px;
  border-color:#D8C9E4;
  background:#F9F5FC;
}
.coupon-apply-btn:not(:disabled):hover{
  background:#F2E8F8;
  border-color:#C9B1DC;
}
.coupon-apply-btn:disabled{opacity:.48;cursor:not-allowed}
.coupon-applied{
  margin-top:16px;
  padding:14px 15px;
  border:1px solid #BBF7D0;
  background:#F0FDF4;
  color:#166534;
  border-radius:14px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}
.coupon-applied-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.coupon-applied-copy b{font-size:14px}
.coupon-applied-copy span{font-size:13px;line-height:1.35}
.coupon-remove-btn{
  flex:0 0 auto;
  border:1px solid rgba(22,101,52,.18);
  background:#fff;
  color:var(--purple);
  border-radius:11px;
  padding:8px 12px;
  font-weight:850;
  cursor:pointer;
}
.coupon-remove-btn:hover{background:#FAF5FF}
.coupon-discount{color:#166534}

/* V13.1.3: spacing before the actual checkout action (#waBtn.mainbtn) */
.checkout-coupon ~ #waBtn{
  margin-top:20px;
}
@media(max-width:520px){
  .coupon-entry{grid-template-columns:1fr;gap:10px}
  .coupon-apply-btn{width:100%}
  .coupon-applied{align-items:flex-start;gap:12px}
}
@media(max-width:380px){
  .coupon-applied{flex-direction:column}
  .coupon-remove-btn{width:100%}
}

.product-card[hidden]{display:none!important}

/* Phase 2 seller branding + themes */
.store-brand-wrap{display:flex;align-items:center;gap:10px;min-width:0}
.powered-by{font-size:11px;font-weight:800;color:var(--muted);white-space:nowrap}
.store-banner{margin:-30px -30px 24px;position:relative;z-index:1;overflow:hidden;max-height:340px;background:#eee}
.store-banner img{display:block;width:100%;max-height:340px;object-fit:cover}
body.theme-modern .hero{border-radius:18px;background:linear-gradient(135deg,#f6fbff 0%,#edf4ff 100%)}
body.theme-modern .product-card{border-radius:18px}.theme-modern .product-media{border-radius:14px}
body.theme-boutique{background:#fffaf7}.theme-boutique .hero{background:linear-gradient(135deg,#fff5f1 0%,#f8eee9 100%);border-color:#eadbd3}.theme-boutique .hero h1,.theme-boutique .section-heading h2{font-family:Georgia,"Times New Roman",serif;font-weight:700}.theme-boutique .product-card{border-radius:28px}
body.theme-minimal{background:#fff}.theme-minimal .hero{background:#fff;border-color:#e8e8e8;border-radius:14px}.theme-minimal .hero:after{display:none}.theme-minimal .product-card,.theme-minimal .card{box-shadow:none;border-color:#e8e8e8;border-radius:14px}.theme-minimal .product-media{border-radius:10px}
body.theme-bold{background:#f6f2fa}.theme-bold .hero{background:linear-gradient(135deg,var(--purple),#24152f);color:#fff;border:0}.theme-bold .hero p,.theme-bold .hero .muted{color:rgba(255,255,255,.8)}.theme-bold .status-pill{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.12);color:#fff}.theme-bold .product-card{border-width:2px}
body.theme-luxe{background:#faf8f4}.theme-luxe .hero{background:linear-gradient(135deg,#171218 0%,#352b2b 100%);color:#fff;border-color:#4b3d36}.theme-luxe .hero p,.theme-luxe .hero .muted{color:#ddd1c8}.theme-luxe .hero h1,.theme-luxe .section-heading h2{font-family:Georgia,"Times New Roman",serif}.theme-luxe .status-pill{background:#2c2428;border-color:#5b4d43;color:#f5e9d9}.theme-luxe .product-card{border-color:#e7dfd5}
@media(max-width:640px){.powered-by{display:none}.store-banner{margin:-20px -20px 20px}.store-topbar{align-items:flex-start}.logo{max-width:150px}}

/* Phase 2.1 storefront refinement */
.site-shell{max-width:1240px;padding:22px 26px}
.store-topbar{margin-bottom:18px;min-height:48px}.store-home-link{display:inline-flex;align-items:center;gap:10px;text-decoration:none;min-width:0}.store-home-avatar{width:40px;height:40px;border:1px solid var(--border);background:#fff;border-radius:12px;display:grid;place-items:center;overflow:hidden;box-shadow:0 4px 14px rgba(59,7,100,.05)}.store-home-avatar .logo{width:100%;height:100%;max-width:none;object-fit:contain;padding:4px}.store-home-copy{display:grid;min-width:0}.store-home-copy b{font-size:14px;line-height:1.2;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-home-copy small{font-size:10px;color:var(--muted);font-weight:700;margin-top:2px}.store-slug{background:rgba(255,255,255,.86);padding:7px 12px;font-size:11px;color:var(--muted)}
.hero{padding:0;border-radius:28px;background:#fff;overflow:hidden;border:1px solid var(--border);box-shadow:0 10px 34px rgba(59,7,100,.055)}.hero:after{display:none}.store-banner{margin:0;max-height:none;aspect-ratio:16/5;background:#eee}.store-banner img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}.hero-content{max-width:none;padding:25px 28px}.hero-identity{display:flex;align-items:flex-start;gap:18px}.hero-logo{width:84px;height:84px;flex:0 0 84px;border-radius:20px;border:1px solid rgba(59,7,100,.10);background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 24px rgba(33,21,41,.08)}.hero-logo img{width:100%;height:100%;object-fit:contain;padding:7px}.hero-logo-fallback{background:linear-gradient(135deg,var(--purple),var(--pink));color:var(--on-primary,#fff);font-size:34px;font-weight:950}.hero-title-copy{min-width:0;flex:1}.hero-status-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hero-next-open{font-size:12px;color:var(--muted);font-weight:750}.hero h1{font-size:clamp(28px,4vw,42px);margin:9px 0 7px}.hero p{font-size:15px;line-height:1.5;max-width:720px}.hero-meta-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:15px;border-top:1px solid var(--border)}.hero-meta-row .store-hours{margin:0;max-width:none}.report-store-link{margin-top:0}.powered-by-footer{display:inline-flex;font-weight:850;color:var(--muted)}
.fulfilment-card,.country-card{border-radius:18px;box-shadow:none}.section-heading{margin-top:30px}.section-heading h2{font-size:28px}
.catalog-tools{margin-bottom:18px}.catalog-toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.catalog-search{flex:1;max-width:620px}.catalog-sort{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:850;color:var(--muted)}.catalog-sort select{height:46px;border:1px solid #DFD3E8;border-radius:13px;background:#fff;color:var(--text);padding:0 36px 0 12px;outline:none;font-weight:750}.catalog-sort select:focus{border-color:#A879CE;box-shadow:0 0 0 3px rgba(124,58,237,.08)}
.products{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px}.product-card{border-radius:20px;padding:10px;box-shadow:0 3px 16px rgba(59,7,100,.035);min-height:100%}.product-media{border-radius:15px;aspect-ratio:1/1}.product-card-body{padding:12px 3px 4px;gap:8px}.product-title{font-size:17px}.product-desc{font-size:12px;min-height:36px;-webkit-line-clamp:2}.product-category-label{font-size:10px;padding:4px 8px}.price{font-size:18px}.product-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:4px}.product-view-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;text-decoration:none;border:1px solid var(--border);background:#fff;color:var(--purple);border-radius:11px;padding:9px 11px;font-size:11px;font-weight:900;transition:.16s}.product-view-btn:hover{border-color:#bfa7d1;background:#faf5ff;transform:translateY(-1px)}.unavailable.compact{font-size:11px;padding:7px 8px}.in-cart-badge{font-size:10px;padding:4px 7px;margin-top:5px}.product-menu summary{width:30px;height:30px;font-size:11px}.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:22px 0 8px;color:var(--muted);font-size:12px}.catalog-pagination .secondary-btn{min-width:180px}
.product-detail{box-shadow:0 12px 34px rgba(59,7,100,.07);border-radius:24px}.detail-main-image{border-radius:17px}.product-detail-copy h1{font-size:32px}
body.theme-modern .hero,body.theme-boutique .hero,body.theme-minimal .hero,body.theme-bold .hero,body.theme-luxe .hero{padding:0}.theme-bold .hero-content,.theme-luxe .hero-content{color:#fff}.theme-bold .hero-meta-row,.theme-luxe .hero-meta-row{border-color:rgba(255,255,255,.15)}.theme-bold .hero-next-open,.theme-luxe .hero-next-open{color:rgba(255,255,255,.72)}.theme-bold .hero-logo,.theme-luxe .hero-logo{border-color:rgba(255,255,255,.18)}
@media(max-width:760px){.site-shell{padding:12px}.store-home-copy b{max-width:170px}.hero{border-radius:20px}.store-banner{aspect-ratio:2.4/1}.hero-content{padding:18px}.hero-identity{gap:12px}.hero-logo{width:64px;height:64px;flex-basis:64px;border-radius:16px}.hero h1{font-size:28px}.hero p{font-size:14px}.hero-meta-row{align-items:flex-start;flex-direction:column}.catalog-toolbar-row{align-items:stretch;flex-direction:column}.catalog-search{max-width:none}.catalog-sort{justify-content:space-between}.catalog-sort select{flex:1}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:8px;border-radius:16px}.product-media{border-radius:12px}.product-card-footer{align-items:stretch;flex-direction:column}.product-view-btn{justify-content:center;width:100%}.product-desc{display:none}.product-title{font-size:15px}.price{font-size:16px}.catalog-pagination{flex-direction:column}}
@media(max-width:420px){.products{grid-template-columns:1fr 1fr}.product-title-row{gap:4px}.product-menu{display:none}.product-card-body{padding-top:9px}.product-category-label{max-width:100px}.hero-logo{width:58px;height:58px;flex-basis:58px}.store-slug{display:none}}


/* Phase 2.1a fallback branding + storefront polish */
.store-topbar{padding:7px 8px 7px 6px;border-radius:18px;transition:.18s ease}
.store-topbar:hover{background:rgba(255,255,255,.55)}
.store-home-avatar{width:44px;height:44px;border-radius:13px}
.store-home-copy b{font-size:15px}.store-home-copy small{font-size:10px;letter-spacing:.01em}
.store-slug{display:inline-flex;align-items:center;justify-content:center;min-width:66px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--purple);font-weight:900;box-shadow:0 3px 12px rgba(59,7,100,.035)}
.store-slug:after{content:' →';margin-left:3px}
.default-store-banner{display:grid;place-items:center;min-height:220px;padding:34px;background:radial-gradient(circle at 18% 20%,rgba(236,72,153,.14),transparent 32%),radial-gradient(circle at 84% 78%,rgba(109,55,215,.15),transparent 34%),linear-gradient(135deg,#fbf7ff 0%,#f5effb 52%,#fff8fb 100%)}
.default-store-banner img{display:block;width:min(52%,470px);height:auto;max-height:150px;object-fit:contain;filter:drop-shadow(0 10px 24px rgba(59,7,100,.08))}
.default-hero-logo{background:#fff}.default-hero-logo img{padding:8px;object-fit:contain}
.hero.has-default-banner .hero-content{background:linear-gradient(180deg,#fff 0%,#fff 74%,rgba(250,247,252,.72) 100%)}
.catalog-pagination[hidden]{display:none!important}
.catalog-pagination:empty{display:none!important}
@media(max-width:760px){.store-topbar{padding:5px}.store-home-avatar{width:40px;height:40px}.default-store-banner{min-height:150px;padding:20px}.default-store-banner img{width:min(65%,320px);max-height:105px}}

/* Phase 2.1c polished store loading state */
.store-topbar[hidden]{display:none!important}
.store-topbar.is-loading,.store-topbar.is-brand-only{justify-content:center;min-height:64px;margin-bottom:20px;padding:6px 10px;background:transparent}
.store-topbar.is-loading:hover,.store-topbar.is-brand-only:hover{background:transparent}
.store-loading-brand{display:flex;align-items:center;justify-content:center;width:100%}
.store-loading-brand[hidden]{display:none!important}
.store-loading-brand img{display:block;width:min(210px,52vw);height:48px;object-fit:contain}
.store-loading-card{min-height:190px;border:1px solid var(--border);border-radius:24px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:34px;box-shadow:0 8px 28px rgba(59,7,100,.04)}
.store-loading-copy{font-size:14px;font-weight:800;color:var(--muted);letter-spacing:.01em}
.store-loading-skeleton{display:flex;gap:8px;align-items:center;justify-content:center}
.store-loading-skeleton span{display:block;width:8px;height:8px;border-radius:999px;background:var(--purple);opacity:.24;animation:ordoraLoadingPulse 1.15s ease-in-out infinite}
.store-loading-skeleton span:nth-child(2){animation-delay:.14s}
.store-loading-skeleton span:nth-child(3){animation-delay:.28s}
@keyframes ordoraLoadingPulse{0%,80%,100%{transform:scale(.72);opacity:.22}40%{transform:scale(1);opacity:.9}}
@media(prefers-reduced-motion:reduce){.store-loading-skeleton span{animation:none;opacity:.55}}
@media(max-width:760px){.store-topbar.is-loading,.store-topbar.is-brand-only{min-height:56px;margin-bottom:14px}.store-loading-brand img{height:40px;width:min(180px,58vw)}.store-loading-card{min-height:160px;border-radius:20px;padding:26px}}

/* Phase 2.2 inventory */
.stock-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;margin-top:8px;border:1px solid transparent}
.stock-badge.in{background:#ecfdf3;color:#067647;border-color:#abefc6}
.stock-badge.low{background:#fffaeb;color:#b54708;border-color:#fedf89}
.stock-badge.out{background:#fef3f2;color:#b42318;border-color:#fecdca}
.detail-stock{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.detail-stock .stock-badge{margin-top:0}
.detail-stock small{color:var(--muted);font-weight:700}

/* Phase 2.3 — Featured products & collections */
.section-kicker{display:inline-block;margin-bottom:4px;color:var(--brand-primary,#6d37d7);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.section-heading.compact{margin-top:0;margin-bottom:12px}.section-heading.compact h2{margin:0}.section-heading.compact p{margin:4px 0 0}
.featured-products-section,.store-collections{margin:22px 0}
.featured-products-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.featured-product-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border:1px solid var(--line,#ebe6ef);border-radius:18px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 8px 24px rgba(37,20,51,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.featured-product-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--brand-primary,#6d37d7) 35%,#e8e0ed);box-shadow:0 12px 30px rgba(37,20,51,.09)}
.featured-product-card img,.featured-product-placeholder{width:92px;height:82px;border-radius:13px;object-fit:cover;background:#f5f1f8;display:grid;place-items:center;font-size:28px}
.featured-product-card div:last-child{min-width:0}.featured-product-card span{display:block;color:var(--brand-primary,#6d37d7);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.featured-product-card b{display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured-product-card small{display:block;margin-top:5px;color:var(--muted,#756f7d);font-weight:800}
.collection-filter-row{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
.store-collection-chip{appearance:none;border:1px solid var(--line,#ebe6ef);background:#fff;border-radius:16px;padding:10px 14px;min-width:140px;text-align:left;color:#302537;cursor:pointer;transition:.18s ease;box-shadow:0 5px 18px rgba(37,20,51,.035)}
.store-collection-chip:hover{border-color:color-mix(in srgb,var(--brand-primary,#6d37d7) 35%,#ddd)}.store-collection-chip.active{background:color-mix(in srgb,var(--brand-primary,#6d37d7) 8%,#fff);border-color:var(--brand-primary,#6d37d7)}
.store-collection-chip b,.store-collection-chip span{display:block}.store-collection-chip b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-collection-chip span{margin-top:3px;font-size:11px;color:var(--muted,#756f7d);font-weight:700}
@media(max-width:900px){.featured-products-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.featured-products-row{display:flex;overflow-x:auto;padding-bottom:7px}.featured-product-card{min-width:275px;grid-template-columns:82px minmax(0,1fr)}.featured-product-card img,.featured-product-placeholder{width:82px;height:74px}.store-collection-chip{min-width:130px}}
