/* LEBSATI — product page life layer v1 · icons, live pick, delivery date, sticky bar, share, smooth sections */
html.lbx-pdp{--lbx-ink:#1d1d1f;--lbx-muted:#6e6e73;--lbx-soft:#f5f5f7;--lbx-line:rgba(0,0,0,.09);--lbx-ok:#1d8a3a;--lbx-ease:cubic-bezier(.32,.72,0,1)}
.lbx-ic{width:1em;height:1em;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.15em}

/* field heads: icon + label */
body #detail-options>.field-head>span{display:inline-flex!important;align-items:center;gap:8px}
body #detail-options .lbx-fh{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--lbx-soft);color:var(--lbx-ink);font-size:17px;font-style:normal}

/* size guide: ruler pill */
body #detail-options .lbx-guide{display:inline-flex!important;align-items:center;gap:7px;padding:8px 14px!important;border-radius:999px!important;background:var(--lbx-soft)!important;color:var(--lbx-ink)!important;
  font-size:13.5px!important;font-weight:600!important;text-decoration:none!important;border:0!important;box-shadow:inset 0 0 0 1px var(--lbx-line);transition:background .2s,box-shadow .2s,transform .2s var(--lbx-ease)}
body #detail-options .lbx-guide .lbx-ic{font-size:19px;transition:transform .45s var(--lbx-ease)}
body #detail-options .lbx-guide:hover{background:#ececf0!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
body #detail-options .lbx-guide:hover .lbx-ic{transform:rotate(-14deg) translateX(-1px)}
body #detail-options .lbx-guide:active{transform:scale(.96)}

/* colour swatches: check on the chosen one, gentle lift */
body #detail-options [data-action=color]{position:relative;transition:transform .2s var(--lbx-ease),box-shadow .2s}
body #detail-options [data-action=color]:hover{transform:translateY(-2px)}
body #detail-options .lbx-ck{position:absolute;top:-6px;inset-inline-end:-6px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--lbx-ink);color:#fff;font-size:12px;
  box-shadow:0 0 0 2px #fff;transform:scale(0);opacity:0;transition:transform .35s var(--lbx-ease),opacity .2s;pointer-events:none}
body #detail-options .lbx-ck .lbx-ic{stroke-width:2.6}
body #detail-options [data-action=color].active .lbx-ck,body #detail-options [data-action=color][aria-pressed=true] .lbx-ck{transform:scale(1);opacity:1}
body #detail-options [data-action=size]{transition:transform .2s var(--lbx-ease),box-shadow .2s,background .2s}
body #detail-options [data-action=size]:not([disabled]):hover{transform:translateY(-2px)}

/* the store's "your size" box pulses on change */
body #detail-options .selected-fit.lbx-bump strong{animation:lbx-bump .5s var(--lbx-ease)}
body #detail-options .selected-fit.lbx-bump{animation:lbx-glow .9s ease}

/* delivery date */
body #detail-options .lbx-eta{display:flex;align-items:center;gap:12px;margin-top:14px;padding:13px 16px;border-radius:16px;background:linear-gradient(135deg,#f5f5f7,#fbfbfd);box-shadow:inset 0 0 0 1px var(--lbx-line)}
body #detail-options .lbx-eta-i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#1d1d1f;color:#fff;font-size:21px;font-style:normal;flex:none;overflow:hidden}
body #detail-options .lbx-eta-i .lbx-ic{animation:lbx-drive 3.2s ease-in-out infinite}
body #detail-options .lbx-eta b{display:block;font-size:13px;font-weight:500;color:var(--lbx-muted)}
body #detail-options .lbx-eta span{display:block;font-size:15px;font-weight:700;color:var(--lbx-ink);margin-top:2px}

/* title + share */
body .product-info h1.lbx-h1{display:flex!important;align-items:flex-start;justify-content:space-between;gap:12px}
body .product-info .lbx-share{all:unset;box-sizing:border-box;flex:none;display:grid;place-items:center;width:42px;height:42px;margin-top:6px;border-radius:50%;background:var(--lbx-soft);color:var(--lbx-ink);font-size:19px;cursor:pointer;transition:background .2s,transform .2s var(--lbx-ease)}
body .product-info .lbx-share:hover{background:#ececf0}body .product-info .lbx-share:active{transform:scale(.92)}
body .product-info .lbx-share:focus-visible{box-shadow:0 0 0 2px #0066cc}

/* sections with icons */
body .product-info>details>summary.lbx-sum{display:flex!important;align-items:center;gap:12px;list-style:none;cursor:pointer}
body .product-info>details>summary.lbx-sum::-webkit-details-marker{display:none}
body .product-info>details>summary.lbx-sum::after,body .product-info>details>summary.lbx-sum::before{content:none!important;display:none!important}
body .product-info .lbx-si{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--lbx-soft);color:var(--lbx-ink);font-size:18px;font-style:normal;flex:none}
body .product-info .lbx-sum>span{flex:1}
body .product-info .lbx-chev{font-style:normal;font-size:18px;color:var(--lbx-muted);transition:transform .35s var(--lbx-ease)}
body .product-info>details[open]>summary .lbx-chev{transform:rotate(180deg)}
body .product-info>details{overflow:hidden}

/* promises: lively icons */
body .product-info .product-promises>div svg{transition:transform .35s var(--lbx-ease)}
body .product-info .product-promises>div:hover svg{transform:translateY(-3px) scale(1.08)}

/* entrance */
body .product-info>.lbx-rise{animation:lbx-rise .6s var(--lbx-ease) both;animation-delay:var(--lbx-d,0ms)}

/* sticky add bar */
.lbx-bar{position:fixed;z-index:60;inset-inline:12px;bottom:12px;display:flex;align-items:center;gap:12px;max-width:560px;margin-inline:auto;padding:8px 8px 8px 14px;border-radius:22px;
  background:rgba(255,255,255,.86);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);box-shadow:0 18px 50px rgba(0,0,0,.18),inset 0 0 0 1px rgba(0,0,0,.06);
  transform:translateY(140%);opacity:0;transition:transform .5s var(--lbx-ease,cubic-bezier(.32,.72,0,1)),opacity .3s;pointer-events:none;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Arabic","Open Sans",Alexandria,sans-serif;color:#1d1d1f}
html[dir=rtl] .lbx-bar{padding:8px 14px 8px 8px}
.lbx-bar.on{transform:none;opacity:1;pointer-events:auto}
html:not(.lbx-pdp) .lbx-bar,body.studio-cart-open .lbx-bar,html:has(#modal[open]) .lbx-bar{transform:translateY(140%)!important;opacity:0!important;pointer-events:none!important}
.lbx-bar img{width:44px;height:52px;border-radius:12px;object-fit:cover;background:#f5f5f7;flex:none}
.lbx-bar-t{flex:1;min-width:0;display:grid;gap:2px}
.lbx-bar-t b{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbx-bar-t span{font-size:12.5px;color:#6e6e73;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbx-bar-b{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:999px;background:#1d1d1f;color:#fff;font-size:14.5px;font-weight:600;cursor:pointer;flex:none;transition:background .2s,transform .2s}
.lbx-bar-b .lbx-ic{font-size:18px}
.lbx-bar-b:hover{background:#000}.lbx-bar-b:active{transform:scale(.96)}.lbx-bar-b:focus-visible{box-shadow:0 0 0 2px #0066cc}
.lbx-bar-b.dim{opacity:.55}

/* toast */
.lbx-toast{position:fixed;z-index:70;left:50%;top:84px;transform:translate(-50%,-14px);padding:10px 18px;border-radius:999px;background:#1d1d1f;color:#fff;font:600 13.5px/1.3 -apple-system,BlinkMacSystemFont,"SF Arabic",Alexandria,sans-serif;opacity:0;transition:opacity .25s,transform .35s cubic-bezier(.32,.72,0,1);pointer-events:none}
.lbx-toast.on{opacity:1;transform:translate(-50%,0)}

@keyframes lbx-rise{from{opacity:0;transform:translateY(14px)}}
@keyframes lbx-bump{40%{transform:scale(1.18)}}
@keyframes lbx-glow{30%{box-shadow:0 0 0 3px rgba(29,29,31,.12)}}
@keyframes lbx-drive{0%,100%{transform:translateX(0)}45%{transform:translateX(3px)}55%{transform:translateX(-2px)}}
@media (prefers-reduced-motion:reduce){html.lbx-pdp *{animation:none!important}.lbx-bar,.lbx-toast{transition:none!important}}
@media (max-width:760px){
  body #detail-options .lbx-fh{width:28px;height:28px;font-size:16px}
  .lbx-bar{display:none!important}  /* phones use the store's own .mobile-product-bar */
}

/* ===== colour pass: brand coral as the attention colour + one clear colour per element ===== */
html.lbx-pdp{--lbx-coral:#ff5f6d;--lbx-coral2:#ff9a6b;--lbx-coral-soft:#fff0f0;--lbx-green:#14a44d;--lbx-green-soft:#eafaf0;--lbx-sky:#0a84ff;--lbx-sky-soft:#eaf3ff;--lbx-violet:#7c4dff;--lbx-violet-soft:#f1ecff;--lbx-amber:#f08c00;--lbx-amber-soft:#fff4e3}

/* field-head icon tiles */
body #detail-options>.field-head:first-child .lbx-fh{background:linear-gradient(135deg,#ff9a6b,#ff5f6d 55%,#e83e8c);color:#fff;box-shadow:0 6px 14px rgba(255,95,109,.35)}
body #detail-options>.field-head:not(:first-child) .lbx-fh{background:linear-gradient(135deg,#4facfe,#0a84ff 60%,#5b5bf6);color:#fff;box-shadow:0 6px 14px rgba(10,132,255,.32)}

/* size guide: coral pill that catches the eye */
body #detail-options .lbx-guide{background:var(--lbx-coral-soft)!important;color:#e5384a!important;box-shadow:inset 0 0 0 1.5px rgba(255,95,109,.45)!important}
body #detail-options .lbx-guide:hover{background:linear-gradient(135deg,#ff9a6b,#ff5f6d)!important;color:#fff!important;box-shadow:0 8px 20px rgba(255,95,109,.35)!important}
body #detail-options .lbx-guide .lbx-ic{animation:lbx-wiggle 4s ease-in-out 1.5s infinite}

/* chosen colour check + hover */
body #detail-options .lbx-ck{background:linear-gradient(135deg,#ff9a6b,#ff5f6d)}
body #detail-options [data-action=size]:not([disabled]):hover{box-shadow:0 8px 18px rgba(10,132,255,.18)}

/* "your size" pulse in coral */
@keyframes lbx-glow{30%{box-shadow:0 0 0 4px rgba(255,95,109,.25)}}

/* delivery date: fresh green */
body #detail-options .lbx-eta{background:linear-gradient(135deg,var(--lbx-green-soft),#f7fdf9);box-shadow:inset 0 0 0 1px rgba(20,164,77,.22)}
body #detail-options .lbx-eta-i{background:linear-gradient(135deg,#34c759,#14a44d);box-shadow:0 6px 14px rgba(20,164,77,.3)}
body #detail-options .lbx-eta span{color:#0f7a3a}

/* share */
body .product-info .lbx-share{background:linear-gradient(135deg,#4facfe,#0a84ff);color:#fff;box-shadow:0 6px 14px rgba(10,132,255,.3)}
body .product-info .lbx-share:hover{background:linear-gradient(135deg,#0a84ff,#5b5bf6)}

/* sections: each its own colour */
body .product-info>details:nth-of-type(1) .lbx-si{background:var(--lbx-violet-soft);color:var(--lbx-violet)}
body .product-info>details:nth-of-type(2) .lbx-si{background:var(--lbx-sky-soft);color:var(--lbx-sky)}
body .product-info>details:nth-of-type(3) .lbx-si{background:var(--lbx-amber-soft);color:var(--lbx-amber)}
body .product-info>details[open]>summary .lbx-chev{color:var(--lbx-coral)}

/* promise icons */
body .product-info .product-promises>div:nth-child(1) svg{color:var(--lbx-green);stroke:var(--lbx-green)}
body .product-info .product-promises>div:nth-child(2) svg{color:var(--lbx-sky);stroke:var(--lbx-sky)}
body .product-info .product-promises>div:nth-child(3) svg{color:var(--lbx-coral);stroke:var(--lbx-coral)}

/* sticky bar call to action */
.lbx-bar-b{background:linear-gradient(135deg,#ff9a6b,#ff5f6d 55%,#e83e8c)!important;box-shadow:0 10px 24px rgba(255,95,109,.4)}
.lbx-bar-b:hover{filter:brightness(1.06)}

/* toast */
.lbx-toast{background:linear-gradient(135deg,#ff9a6b,#ff5f6d)}

@keyframes lbx-wiggle{0%,86%,100%{transform:none}90%{transform:rotate(-16deg)}94%{transform:rotate(8deg)}}
