/* Extracted verbatim from the source project's partials/shop_style.blade.php. */
/* ---------- product cards (home + listing + related) ---------- */
.shop-card{--shop-accent:var(--theme-color,#8d44f3);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #ecebf4;border-radius:16px;box-shadow:0 4px 16px rgba(20,11,46,.05);transition:transform .25s,box-shadow .25s,border-color .25s}
.shop-card:hover{transform:translateY(-3px);border-color:rgba(141,68,243,.25);box-shadow:0 14px 30px rgba(20,11,46,.1)}
.shop-card-media{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#f7f7fb}
.shop-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.shop-card:hover .shop-card-media img{transform:scale(1.06)}
.shop-badge-off{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;line-height:1.4;box-shadow:0 4px 10px rgba(239,68,68,.32)}
.shop-badge-stock{position:absolute;top:8px;right:8px;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.94);color:#334155;font-size:10.5px;font-weight:800;line-height:1.4;box-shadow:0 3px 9px rgba(20,11,46,.14)}
.shop-card-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:10px 11px 12px}
.shop-card-body .shop-card-title{display:block;color:#140b2e;font-size:12.5px;font-weight:800;line-height:1.35;text-decoration:none;text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:34px}
.shop-card-body .shop-card-title:hover{color:var(--shop-accent)}
.shop-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.shop-price-wrap{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.shop-price{padding:3px 9px;border-radius:8px;background-color:rgba(141,68,243,.1);background-image:none;color:var(--shop-accent);font-size:12.5px;font-weight:900}
.shop-old{color:#9aa3b2;font-size:11.5px;font-weight:600;text-decoration:line-through}
.shop-card .shop-add-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;border:0;border-radius:9px;background-color:var(--shop-accent);background-image:linear-gradient(135deg,#a069f7,#7b30e6);color:#fff;cursor:pointer;box-shadow:0 5px 13px rgba(123,48,230,.28);transition:transform .18s,opacity .18s}
.shop-card .shop-add-btn:hover{transform:translateY(-1px)}
.shop-card .shop-add-btn:active{transform:scale(.94)}
.shop-card .shop-add-btn[disabled]{opacity:.42;cursor:not-allowed;box-shadow:none}
.shop-add-btn svg{width:16px;height:16px}
.shop-stock-line{margin:0;font-size:11px;font-weight:800}
.shop-stock-line.is-in{color:#059669}
.shop-stock-line.is-out{color:#dc2626}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- header cart button ---------- */
.hdr-cart{position:relative;margin-right:8px}
.hdr-cart-btn{display:inline-flex;align-items:center;justify-content:center;position:relative;width:40px;height:40px;border:0;border-radius:999px;background-color:rgba(141,68,243,.12);background-image:none;color:var(--theme-color,#8d44f3);text-decoration:none;transition:background-color .2s,transform .2s}
.hdr-cart-btn:hover{background-color:rgba(141,68,243,.2);transform:translateY(-1px)}
.hdr-cart-btn svg{width:19px;height:19px}
.hdr-cart-count{position:absolute;top:-3px;right:-3px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:999px;background-color:#ef4444;background-image:none;color:#fff;font-size:10px;font-weight:900;line-height:1}
.hdr-cart-count.is-hidden{display:none}

/* ---------- toast ---------- */
#shopToast{position:fixed;left:50%;bottom:86px;z-index:9999;transform:translate(-50%,20px);display:flex;align-items:center;gap:8px;max-width:88vw;padding:11px 16px;border-radius:12px;background:#140b2e;color:#fff;font-size:13px;font-weight:700;box-shadow:0 14px 34px rgba(20,11,46,.32);opacity:0;pointer-events:none;transition:opacity .22s,transform .22s}
#shopToast.is-show{opacity:1;transform:translate(-50%,0)}
#shopToast.is-error{background:#b91c1c}

@media(max-width:560px){
    .shop-card-body{padding:9px 9px 11px}
    .shop-card-body .shop-card-title{font-size:11.5px}
    .shop-price{font-size:11.5px;padding:3px 7px}
}

/* ---------- product detail page ---------- */
/* Extracted verbatim from the source project's shop/product.blade.php @push('style').
 * It lives in a static sheet rather than in the page component because scoped CSS
 * cannot reach the v-html description body, and because this sheet already loads
 * after tailwindcss.css - which is the whole reason the source double-scopes every
 * rule that paints a button or a link.
 */
/*
 * Shop product page. Anything that paints a button or link is scoped with
 * .sp-page (0,2,0) so tailwind preflight (0,1,0), which loads after this
 * stack, cannot strip the backgrounds. Buttons declare background-color and
 * background-image together.
 */
/* The gradient this used to paint ran the full width of the viewport - .sp-page
   is outside `.container` - so the product page was an edge-to-edge band while
   the header and footer above and below it stopped at the shell measure. The
   site background shows through instead, and the column is --shell-max like
   every other page's `.container` rather than a 1120px of its own. */
.sp-page{--sp-accent:var(--theme-color,#8d44f3);padding:18px 14px 56px}
.sp-shell{max-width:var(--shell-max,1180px);margin:0 auto}

.sp-crumb{display:flex;align-items:center;gap:7px;margin-bottom:14px;font-size:12px;font-weight:700}
.sp-page .sp-crumb a{color:#7b8496;background-image:none;text-decoration:none}
.sp-page .sp-crumb a:hover{color:var(--sp-accent)}
.sp-crumb-sep{color:#c3c9d4}
.sp-crumb-now{color:#140b2e}

.sp-main{display:grid;grid-template-columns:minmax(0,520px) minmax(340px,1fr);gap:20px;align-items:start}

.sp-gallery{position:sticky;top:14px}
.sp-stage{position:relative;overflow:hidden;aspect-ratio:1/1;border:1px solid #ecebf4;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(20,11,46,.07)}
.sp-stage img{width:100%;height:100%;object-fit:cover}
.sp-off{position:absolute;top:12px;left:12px;padding:5px 11px;border-radius:999px;background:#ef4444;color:#fff;font-size:12.5px;font-weight:900;box-shadow:0 6px 16px rgba(239,68,68,.34)}
.sp-stage-oos{position:absolute;inset:auto 0 0;padding:10px;background:rgba(20,11,46,.72);color:#fff;font-size:13px;font-weight:900;text-align:center;backdrop-filter:blur(2px)}
.sp-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:11px}
.sp-page .sp-thumb{overflow:hidden;padding:0;aspect-ratio:1/1;border:2px solid #ecebf4;border-radius:13px;background-color:#fff;background-image:none;cursor:pointer;transition:border-color .2s,transform .2s}
.sp-page .sp-thumb:hover{transform:translateY(-2px)}
.sp-page .sp-thumb.is-active{border-color:var(--sp-accent)}
.sp-thumb img{width:100%;height:100%;object-fit:cover}

.sp-buy-card{padding:22px;border:1px solid #ecebf4;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(20,11,46,.07)}
.sp-page .sp-cat{display:inline-block;margin-bottom:9px;padding:4px 11px;border-radius:999px;background-color:rgba(141,68,243,.09);background-image:none;color:var(--sp-accent);font-size:11.5px;font-weight:800;text-decoration:none;letter-spacing:.2px}
.sp-page .sp-cat:hover{background-color:rgba(141,68,243,.16)}
.sp-title{margin:0;color:#140b2e;font-size:22px;font-weight:900;line-height:1.3;letter-spacing:-.3px}
.sp-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sp-stock{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:800}
.sp-stock i{width:7px;height:7px;border-radius:50%;background:currentColor}
.sp-stock.is-in{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.sp-stock.is-out{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.sp-sku{padding:5px 12px;border:1px solid #ecebf4;border-radius:999px;background:#f8f8fc;color:#5b6478;font-size:12px;font-weight:700}
.sp-hurry{padding:5px 12px;border:1px solid #fde68a;border-radius:999px;background:#fffbeb;color:#b45309;font-size:12px;font-weight:800}

.sp-price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin-top:16px}
.sp-price{color:var(--sp-accent);font-size:28px;font-weight:900;letter-spacing:-.6px}
.sp-old{color:#9aa3b2;font-size:15px;font-weight:600;text-decoration:line-through}
.sp-off-chip{padding:3px 9px;border-radius:8px;background:#fef2f2;color:#dc2626;font-size:12px;font-weight:900}
.sp-saved{margin:8px 0 0;color:#047857;font-size:12.5px;font-weight:800}
.sp-saved b{font-weight:900}
.sp-short{margin:12px 0 0;color:#5b6478;font-size:13.5px;line-height:1.65}

.sp-qty-block{display:flex;align-items:center;flex-wrap:wrap;gap:11px;padding:14px 0 16px;margin-top:16px;border-top:1px dashed #ecebf4;border-bottom:1px dashed #ecebf4}
.sp-qty-label{color:#3f4859;font-size:13px;font-weight:800}
.sp-stepper{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;overflow:hidden;border:1px solid #e3e0f0;border-radius:12px;background:#fff}
.sp-page .sp-step{display:flex;align-items:center;justify-content:center;height:40px;border:0;background-color:#f7f6fd;background-image:none;color:#4a5464;cursor:pointer;transition:background-color .18s,color .18s}
.sp-page .sp-step:hover{background-color:rgba(141,68,243,.12);color:var(--sp-accent)}
.sp-step svg{width:15px;height:15px}
.sp-stepper input{width:56px;height:40px;border:0;background:#fff;color:#140b2e;font-size:14px;font-weight:800;text-align:center;outline:none;-moz-appearance:textfield}
.sp-stepper input::-webkit-outer-spin-button,.sp-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sp-line-total{color:#5b6478;font-size:13px;font-weight:700}
.sp-line-total b{color:#140b2e;font-weight:900}

.sp-cta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.sp-page .sp-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:48px;padding:0 18px;border:0;border-radius:13px;font-size:14.5px;font-weight:800;cursor:pointer;text-decoration:none;transition:opacity .2s,transform .2s,border-color .2s,color .2s}
.sp-page .sp-btn:active{transform:scale(.985)}
.sp-page .sp-btn svg{width:19px;height:19px}
.sp-page .sp-btn[disabled]{opacity:.45;cursor:not-allowed}
.sp-page .sp-btn-outline{border:1.6px solid #e3e0f0;background-color:#fff;background-image:none;color:#3f4859}
.sp-page .sp-btn-outline:hover:not([disabled]){border-color:var(--sp-accent);color:var(--sp-accent)}
.sp-page .sp-btn-solid{background-color:var(--sp-accent);background-image:linear-gradient(135deg,#a069f7,#7b30e6);color:#fff;box-shadow:0 10px 24px rgba(123,48,230,.28)}
.sp-page .sp-btn-solid:hover:not([disabled]){opacity:.94}
.sp-oos-note{margin:10px 0 0;color:#b91c1c;font-size:12.5px;font-weight:700;text-align:center}

.sp-ship{margin-top:17px;padding:14px;border:1px solid #e6ecf7;border-radius:16px;background:linear-gradient(180deg,#f7faff 0%,#f2f6fd 100%)}
.sp-ship-head{display:flex;align-items:flex-start;gap:10px}
.sp-ship-ico{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:#dbeafe;color:#1d4ed8}
.sp-ship-ico svg{width:19px;height:19px}
.sp-ship-head strong{display:block;color:#140b2e;font-size:13.5px;font-weight:900}
.sp-ship-head small{display:block;margin-top:2px;color:#5b6478;font-size:11.5px;font-weight:600;line-height:1.5}
.sp-ship-list{margin:12px 0 0;padding:0;list-style:none;border-top:1px dashed #d8e3f5}
.sp-ship-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed #e2eaf7;color:#4a5464;font-size:12.5px;font-weight:700}
.sp-ship-list li:last-child{border-bottom:0;padding-bottom:0}
.sp-ship-list b{color:#1d4ed8;font-size:13.5px;font-weight:900}
.sp-ship-note{margin:11px 0 0;color:#3f4859;font-size:11.5px;font-weight:600;line-height:1.65}

.sp-perks{margin:16px 0 0;padding:0;list-style:none}
.sp-perks li{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#4a5464;font-size:12.5px;font-weight:700}
.sp-perks li:last-child{margin-bottom:0}
.sp-perks svg{flex:0 0 auto;width:16px;height:16px;color:#16a34a}

.sp-desc{margin-top:20px;padding:22px;border:1px solid #ecebf4;border-radius:20px;background:#fff;box-shadow:0 6px 20px rgba(20,11,46,.045)}
.sp-desc h2,.sp-related h2{margin:0;color:#140b2e;font-size:17px;font-weight:800}
.sp-desc h2{margin-bottom:12px}
.sp-desc-body{color:#4a5464;font-size:13.5px;line-height:1.75}
.sp-desc-body p{margin:0 0 9px}
.sp-desc-body ul,.sp-desc-body ol{margin:0 0 9px;padding-left:20px}
.sp-desc-body li{margin-bottom:5px}
.sp-desc-body img{max-width:100%;height:auto;border-radius:12px}
.sp-related{margin-top:24px}
.sp-related-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.sp-page .sp-related-all{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border:1px solid rgba(141,68,243,.28);border-radius:999px;background-color:rgba(141,68,243,.06);background-image:none;color:var(--sp-accent);font-size:12px;font-weight:800;text-decoration:none;transition:background-color .2s}
.sp-page .sp-related-all:hover{background-color:rgba(141,68,243,.14)}
.sp-related-all svg{width:14px;height:14px}

@media(max-width:900px){.sp-main{grid-template-columns:1fr}.sp-gallery{position:static}}
@media(max-width:560px){
    .sp-page{padding:12px 10px 40px}
    .sp-stage{border-radius:18px}
    .sp-buy-card{padding:17px;border-radius:18px}
    .sp-title{font-size:18.5px}
    .sp-price{font-size:24px}
    .sp-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
    .sp-cta{grid-template-columns:1fr}
    .sp-related-head h2{font-size:15.5px}
}

/* ---------- additions the server-rendered source did not need ---------- */
/* The source painted this page whole; a SPA has a request in flight first, so the
   grid above is reused for a skeleton and for the "product is gone" panel. */
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sp-empty{padding:44px 22px;border:1px solid #ecebf4;border-radius:22px;background:#fff;text-align:center;box-shadow:0 8px 24px rgba(20,11,46,.055)}
.sp-empty p{margin:0 0 14px;color:#6b7488;font-size:13.5px;font-weight:700}
.sp-page .sp-empty-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border:0;border-radius:12px;background-color:var(--sp-accent);background-image:linear-gradient(135deg,#a069f7,#7b30e6);color:#fff;font-size:14px;font-weight:800;text-decoration:none}
@media(max-width:900px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
