/* Shared styles for the public shop page and the Yiriclick showcase */
:root {
  --navy: #10232A; --navy-2: #172F37; --line: #2A3B42; --teal: #4FC7CF; --teal-deep: #0E6E78; --orange: #FF7A2E;
  --bg: #F3F6F7; --white: #FFFFFF; --ink: #10232A; --soft: #4A5A5F; --rule: #D5DEE0; --tint: #E6F4F5;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.45; padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden] { display: none !important; }
button, input, select { font-family: var(--font); font-size: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top { background: var(--navy); color: var(--white); padding-top: env(safe-area-inset-top, 0px); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.word { font-size: 22px; font-weight: 900; letter-spacing: -1px; } .word .a { color: var(--orange); } .word .b { color: var(--teal); }
.prefs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.prefs select { background: var(--navy-2); color: var(--white); border: 1px solid var(--line); min-height: 40px; padding: 0 10px; font-weight: 700; font-size: 14px; }
.prefs a { color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 4px; }
.prefs a:hover { color: var(--teal); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 2px solid transparent; font-weight: 800; cursor: pointer; text-decoration: none; }
.btn-wa { background: var(--orange); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--rule); }

/* Shop header: the cover stays a picture; name and details always sit below it on the page background */
body { --brand: #0E6E78; --brand-ink: #FFFFFF; }
.cover { height: clamp(140px, 30vw, 320px); background: var(--brand) center / cover no-repeat; position: relative; }
.shop-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; position: relative; }
.logo { width: 104px; height: 104px; margin-top: -52px; flex: none; background: var(--white) center / cover no-repeat; border: 4px solid var(--bg); box-shadow: 0 6px 18px rgba(16, 35, 42, .18); display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 900; color: var(--brand); grid-row: span 2; }
.shop-id { min-width: 0; padding-top: 12px; }
.shop-id h1 { margin: 0; font-size: clamp(24px, 5vw, 38px); font-weight: 900; letter-spacing: -1px; line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; color: var(--ink); }
.shop-id .slogan { margin: 4px 0 0; font-size: 16px; font-weight: 700; color: var(--brand); overflow-wrap: anywhere; }
.shop-id .place { margin: 4px 0 0; color: var(--soft); font-size: 14px; }
.shop-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.shop-acts .btn { flex: 1 1 200px; }
@media (min-width: 760px) { .shop-head { grid-template-columns: auto minmax(0, 1fr) auto; } .logo { width: 128px; height: 128px; margin-top: -64px; grid-row: auto; } .shop-acts { grid-column: auto; margin-top: 14px; } .shop-acts .btn { flex: 0 0 auto; } }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.about { margin: 18px 0 0; max-width: 70ch; white-space: pre-line; overflow-wrap: anywhere; }
.verified { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; color: var(--teal-deep); background: var(--tint); padding: 4px 8px; margin-top: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.socials a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.socials a:hover { border-color: var(--brand); color: var(--brand); }
.shop-nav { display: flex; gap: 4px; overflow-x: auto; margin-top: 22px; border-bottom: 2px solid var(--rule); scrollbar-width: none; }
.shop-nav a { padding: 12px 14px; font-weight: 800; font-size: 14px; color: var(--soft); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.shop-nav a:hover, .shop-nav a.on { color: var(--ink); border-bottom-color: var(--brand); }
.ssec { margin-top: 28px; scroll-margin-top: 80px; }
.ssec > h2 { margin: 0 0 12px; font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.ssec > h2::before { content: ""; width: 6px; height: 22px; background: var(--brand); flex: none; }
.srail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 64%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.srail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .srail { grid-auto-columns: minmax(200px, 23%); } }
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.icard { background: var(--white); border: 1px solid var(--rule); padding: 16px; min-width: 0; }
.icard h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.icard p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--soft); }
.faq { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.faq details { background: var(--white); border: 1px solid var(--rule); }
.faq summary { padding: 14px 16px; font-weight: 800; cursor: pointer; min-height: 48px; }
.faq details p { margin: 0; padding: 0 16px 16px; white-space: pre-line; color: var(--soft); overflow-wrap: anywhere; }

.tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 16px; }
.tools input { flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 10px 12px; border: 2px solid var(--rule); background: var(--white); }
.tools select { min-height: 48px; padding: 0 12px; border: 2px solid var(--rule); background: var(--white); flex: 0 1 260px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; padding-bottom: 40px; }
.item { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.item-open { display: flex; flex-direction: column; flex: 1; min-width: 0; cursor: pointer; text-align: left; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.item-acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 0 12px 12px; }
.item-acts .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
.btn-buy { gap: 6px; }
.btn-buy:disabled { background: var(--rule); color: var(--soft); cursor: not-allowed; }
.item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 35, 42, .12); }
@media (prefers-reduced-motion: reduce) { .item { transition: none; } .item:hover { transform: none; } }
.item .im { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--tint); display: block; }
.item .noim { width: 100%; aspect-ratio: 1; background: var(--tint); }
.item .ib { padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item h2, .item h3 { margin: 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.item .pr { font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.item .cv { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
.item .shopname { font-size: 12px; color: var(--teal-deep); font-weight: 700; overflow-wrap: anywhere; }
.empty { padding: 40px 16px; text-align: center; color: var(--soft); background: var(--white); border: 1px dashed var(--rule); grid-column: 1 / -1; }
.state { padding: 60px 16px; text-align: center; }
.state h1 { margin: 0 0 8px; font-size: 26px; font-weight: 900; }
.state p { margin: 0 0 16px; color: var(--soft); }

.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 760px) { .modal { align-items: center; padding: 24px; } }
.modal-bg { position: absolute; inset: 0; background: rgba(16, 35, 42, .66); }
.mbox { position: relative; width: 100%; max-width: 900px; max-height: calc(100% - env(safe-area-inset-top, 0px) - 12px); overflow-y: auto; background: var(--white); display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .mbox { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.gal { position: relative; background: var(--tint); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; display: block; }
.mnav { grid-column: 1 / -1; position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 6px 64px 6px 8px; background: var(--white); border-bottom: 1px solid var(--rule, #E3EAEC); }
.mback { border: 0; background: none; color: var(--navy); font: inherit; font-weight: 800; font-size: 15px; padding: 10px; cursor: pointer; min-height: 44px; }
.mback:hover { color: var(--teal-deep); }
.mpn { display: flex; align-items: center; gap: 4px; }
.mpos { font-size: 13px; color: var(--soft, #5B6B70); min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.mpv { width: 44px; height: 44px; border: 2px solid var(--rule, #E3EAEC); background: var(--white); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.mpv:hover:not([disabled]) { border-color: var(--navy); }
.mpv[disabled] { opacity: .35; cursor: default; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(16, 35, 42, .25); }
.gnav.gprev { left: 10px; } .gnav.gnext { right: 10px; }
.gnav:hover { background: var(--white); }
@media (hover: none) { .gnav { display: none; } }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 1px solid rgba(16, 35, 42, .3); }
.dots span.on { background: var(--orange); }
.mbody { padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mbody h2 { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.mbody .pr { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mbody .cv { font-size: 14px; color: var(--soft); }
.mbody .desc { white-space: pre-line; margin: 0; overflow-wrap: anywhere; }
.mbody .meta { font-size: 14px; color: var(--soft); }
.mclose { position: absolute; top: calc(6px + env(safe-area-inset-top, 0px)); right: 8px; z-index: 4; width: 44px; height: 44px; border: 0; background: rgba(16, 35, 42, .85); color: var(--white); font-size: 22px; cursor: pointer; }
.wa-note { font-size: 13px; color: var(--soft); margin: 0; overflow-wrap: anywhere; }
footer { background: var(--navy); color: #C9D8DB; font-size: 14px; }
footer .wrap { padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer a { color: var(--teal); }

/* Cart */
.cart-btn { position: relative; width: 44px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: var(--navy); border: 0; cursor: pointer; }
.cart-n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--teal); color: var(--navy); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.btn-buy svg, .m-buy .btn svg { flex: none; }
.m-buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.m-buy .btn { flex: 1 1 180px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--rule); background: var(--white); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; font-weight: 800; color: var(--navy); cursor: pointer; }
.stepper button:disabled { color: var(--rule); cursor: not-allowed; }
.stepper .qv { min-width: 32px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.direct { color: var(--teal-deep); font-weight: 700; font-size: 14px; align-self: flex-start; padding: 8px 0; }
.yc-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 14px; background: var(--navy); color: var(--white); padding: 10px 10px 10px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); max-width: calc(100% - 32px); }
.yc-toast .tmsg { font-weight: 700; font-size: 14px; }
.yc-toast button { background: var(--orange); color: var(--navy); border: 0; font-weight: 800; min-height: 40px; padding: 0 12px; cursor: pointer; white-space: nowrap; }
.cart-wrap { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; }
.cart-bg { position: absolute; inset: 0; background: rgba(16, 35, 42, .55); }
.cart-panel { position: relative; width: 100%; max-width: 460px; height: 100%; overflow-y: auto; background: var(--white); padding: calc(16px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 18px; display: flex; flex-direction: column; gap: 14px; }
.cart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-head h2 { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.15; }
.cart-head .mclose { position: static; flex: none; }
.cart-empty, .cart-help { margin: 0; color: var(--soft); }
.cart-notice { margin: 0; padding: 10px 12px; background: #FFF4E5; color: #6B3A00; font-size: 14px; }
.cart-group { border: 1px solid var(--rule); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cart-shop { font-weight: 800; color: var(--teal-deep); text-decoration: none; }
.cart-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.cart-row img, .cart-noim { width: 56px; height: 56px; object-fit: cover; background: var(--tint); }
.cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-info b { font-size: 14px; overflow-wrap: anywhere; }
.cart-unit { font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.cart-ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-ctl .stepper button { width: 36px; height: 36px; }
.cart-rm { background: none; border: 0; padding: 8px 0; color: var(--soft); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 36px; }
.cart-line { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-sub, .cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.cart-sub { border-top: 1px solid var(--rule); padding-top: 8px; font-size: 14px; }
.cart-total { font-size: 18px; font-weight: 800; }
.cart-total b { font-size: 22px; font-weight: 900; }
.cart-go { width: 100%; }
.cart-form { display: flex; flex-direction: column; gap: 12px; }
.cfield { display: flex; flex-direction: column; gap: 6px; }
.cfield label { font-size: 14px; font-weight: 700; }
.cfield input, .cfield textarea { font-family: var(--font); font-size: 16px; padding: 12px; border: 2px solid var(--rule); width: 100%; min-height: 48px; }
.cfield input:focus, .cfield textarea:focus { border-color: var(--teal-deep); outline: none; }
.cfield [aria-invalid="true"] { border-color: #B3261E; }
.cerr { color: #B3261E; font-size: 13px; } .cerr:empty { display: none; }
.cart-sent { margin: 0; color: #1E7F4F; font-weight: 800; }

.cart-sentbox { background: #E3F4EA; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cart-sentbox b { color: #1E7F4F; }
.cart-sentrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; }
.cart-done { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cart-done-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; }
.cart-done h3 { margin: 0; font-size: 22px; font-weight: 900; }

/* Product cards: favourites heart, badges, sale prices */
.item { position: relative; }
.media { position: relative; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(16, 35, 42, .15); }
.fav.on { color: #D93A2B; }
.fav.on svg { fill: currentColor; }
.m-pricerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.m-pricerow .fav { position: static; flex: none; border: 1px solid var(--rule); box-shadow: none; }
.badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.bdg { font-size: 11px; font-weight: 800; padding: 3px 7px; letter-spacing: .3px; }
.bdg-sale { background: #D93A2B; color: var(--white); }
.bdg-new { background: var(--teal); color: var(--navy); }
.bdg-low { background: var(--navy); color: var(--white); }
.pblock { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.pblock .pr { font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }
.pblock .pr-sale { background: #D93A2B; color: var(--white); padding: 2px 10px 2px 8px; clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%); }
.pblock .sale-l { color: #C2301F; font-weight: 800; font-size: 13px; }
.pblock .usual { color: var(--soft); font-size: 13px; }
.pblock .cv { font-size: 12px; color: var(--soft); }
.pblock.big .pr { font-size: 28px; }
.mbody .pblock .pr { font-size: 28px; }

/* Variants in the product sheet */
.vpick { display: flex; flex-direction: column; gap: 12px; }
.vgroup { display: flex; flex-direction: column; gap: 6px; }
.vlab { font-size: 14px; font-weight: 800; }
.vvals { display: flex; flex-wrap: wrap; gap: 8px; }
.vval { min-width: 48px; min-height: 44px; padding: 0 14px; border: 2px solid var(--rule); background: var(--white); color: var(--ink); font-weight: 700; cursor: pointer; }
.vval[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.vval.na { color: #8A979B; text-decoration: line-through; border-style: dashed; }
.m-buy .btn:disabled { background: var(--rule); color: var(--soft); cursor: not-allowed; }
/* Orders */
.cart-var { font-size: 13px; color: var(--soft); font-weight: 700; }
.order-no { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.order-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ostat { font-size: 12px; font-weight: 800; padding: 3px 8px; white-space: nowrap; }
.ostat-nouvelle { background: #FFF2DC; color: #8A5300; } .ostat-confirmee { background: var(--tint); color: var(--teal-deep); }
.ostat-expediee { background: #E8E4F6; color: #4B2E99; } .ostat-livree { background: #E5F4EC; color: #1E7F4F; } .ostat-annulee { background: #FCE8E6; color: #B3261E; }
/* Sales, promo codes, reviews */
.bdg-solde { background: #C62828; color: #fff; }
.promo-box summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--teal-deep); min-height: 36px; display: flex; align-items: center; }
.promo-form { display: flex; gap: 8px; margin-top: 4px; }
.promo-form input { flex: 1; min-width: 0; min-height: 44px; border: 2px solid var(--rule); padding: 0 10px; text-transform: uppercase; }
.promo-form .btn { min-height: 44px; }
.promo-on { color: #1E7F4F; }
.rev-form { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 4px; }
.rev-form textarea { width: 100%; border: 2px solid var(--rule); padding: 8px; font: inherit; font-size: 16px; }
.rev-stars { display: flex; gap: 4px; }
.rev-stars button { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; color: #C9D3D5; cursor: pointer; line-height: 1; }
.rev-stars button.on { color: #E0A526; }
.stars { color: #E0A526; letter-spacing: 1px; }
.rating { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; margin-top: 6px; }
.revs { display: flex; flex-direction: column; gap: 10px; }
.rev { background: var(--white); border: 1px solid var(--rule); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.rev .who { font-size: 13px; color: var(--soft); }
.rev p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.rev .reply { background: var(--bg); padding: 8px 10px; font-size: 14px; border-left: 3px solid var(--brand, #0E6E78); }
.rev-sum { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.rev-sum .big { font-size: 40px; font-weight: 900; letter-spacing: -1px; }
/* Sizes on cards and size guide */
.item .sizes { font-size: 12px; color: var(--soft); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sguide summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; display: flex; align-items: center; }
.gtable { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; margin: 4px 0 6px; }
.gtable th, .gtable td { border: 1px solid var(--rule); padding: 6px; text-align: center; }
.gtable th { background: var(--bg); font-weight: 800; }
.item .ends { font-size: 12px; font-weight: 800; color: #C62828; }
/* Detailed review form and review lists (base v14) */
.rv-h { font-size: 16px; }
.rv-hint { margin: -4px 0 0; font-size: 13px; color: var(--soft); }
.rv-sub { font-size: 14px; font-weight: 800; }
.rv-crit { display: flex; flex-direction: column; gap: 2px; }
.rv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-lbl { font-size: 14px; min-width: 0; flex: 1; }
.rv-row .rev-stars { flex: none; gap: 2px; }
.rv-small .rev-stars button { width: 32px; height: 36px; font-size: 22px; padding: 0; }
.rv-causes, .rv-yc { border: 1px solid var(--rule); padding: 10px 12px 12px; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rv-causes { border-color: #E8C27A; background: #FFF8EA; }
.rv-causes legend, .rv-yc legend { font-size: 14px; font-weight: 800; padding: 0 4px; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 10px; border: 2px solid var(--rule); background: var(--white); font-size: 14px; cursor: pointer; }
.rv-chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.rv-chip.on { border-color: var(--navy); font-weight: 700; }
.rv-chip:focus-within { outline: 3px solid var(--orange); outline-offset: 1px; }
.rv-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.rv-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.rv-nps { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; }
.rv-nps button { min-height: 40px; border: 2px solid var(--rule); background: var(--white); font-weight: 800; font-size: 14px; cursor: pointer; padding: 0; color: var(--ink); }
.rv-nps button.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rv-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--soft); }
.rv-more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--teal-deep); min-height: 36px; display: flex; align-items: center; }
.rv-more[open] { display: flex; flex-direction: column; gap: 6px; }
.rv-legal { margin: 0; font-size: 12px; color: var(--soft); }
.rv-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 24px; align-items: center; margin-bottom: 12px; }
.rv-top .rev-sum { margin: 0; }
.rv-dist { display: flex; flex-direction: column; gap: 3px; max-width: 360px; font-size: 13px; font-variant-numeric: tabular-nums; }
.rv-drow { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 8px; align-items: center; }
.rv-bar { height: 8px; background: var(--rule); overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: #E0A526; }
.rv-dn { text-align: right; color: var(--soft); }
.rv-cavg { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--soft); }
.rv-cavg b { color: var(--ink); }
@media (max-width: 520px) { .rv-top { grid-template-columns: 1fr; } }
.rv-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.rv-tools select { min-height: 40px; border: 2px solid var(--rule); background: var(--white); padding: 0 8px; font-weight: 700; color: var(--ink); }
.rv-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-badge { font-size: 12px; font-weight: 800; background: var(--tint); color: var(--teal-deep); padding: 2px 8px; }
.rv-ok { font-size: 12px; font-weight: 700; color: #1E7F4F; }
.rev-star { border-color: var(--teal-deep); box-shadow: inset 4px 0 0 var(--teal-deep); }
.rv-moreb { align-self: flex-start; margin-top: 10px; min-height: 44px; }
.rv-empty { color: var(--soft); }
