/* Electon index.html palette and hero, adapted for server-rendered Bootstrap views. */
/* Slightly larger shared Bootstrap text scale (17px at the default browser size). */
html{font-size:106.25%}
:root{--store-primary:#512ec3;--store-ink:#25232b;--store-muted:#62606a}
body{min-height:100vh;display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif;color:var(--store-ink);line-height:1.6}main{flex:1}a{color:var(--store-primary)}h1,h2,h3{font-weight:700;letter-spacing:-.035em}.announcement{text-align:center;background:var(--store-primary);color:#fff;font-size:.8rem;padding:.55rem 1rem}.brand{font-size:1.7rem;font-weight:800;letter-spacing:-.06em}.brand-dot{color:var(--store-primary)}.navbar-light .navbar-nav .nav-link{color:#514e59}.navbar-light .navbar-nav .nav-link.active{color:var(--store-primary)}.btn{padding:.75rem 1.25rem;border-radius:5px;font-weight:600;white-space:nowrap}.btn-primary{background:var(--store-primary);border-color:var(--store-primary)}.btn-primary:hover,.btn-primary:focus{background:#3d219b;border-color:#3d219b}.btn:active{transform:translateY(1px)}.form-control,.form-select{padding:.75rem}.store-hero{position:relative;min-height:470px;background:#573bd0;overflow:hidden}.hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}.hero-content{position:relative;min-height:470px;display:flex;align-items:center}.hero-copy{color:#fff;max-width:480px;padding:3rem 0}.hero-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.78rem;margin-bottom:1.25rem}.hero-copy h1{font-size:clamp(2.8rem,4.4vw,4.7rem);line-height:1.06;margin-bottom:1.5rem}.hero-description{max-width:360px;margin-bottom:1.8rem}.btn-hero{background:#f5e70e;border:1px solid #f5e70e;color:#25232b}.btn-hero:hover{background:#fff36a;color:#25232b}.department{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:105px;padding:1.5rem;border:1px solid #dddbe4;border-radius:5px;color:var(--store-ink);text-decoration:none;font-weight:600}.department:hover{border-color:var(--store-primary);color:var(--store-primary);background:#f8f6ff}.catalog-notice{background:#f6f5f9;border-left:3px solid var(--store-primary);padding:2rem}.catalog-notice p,footer{color:var(--store-muted)}.empty-state{text-align:center;padding:4rem 1.5rem;background:#f7f7fa;border:1px solid #e6e4ed;border-radius:5px}.empty-state>i{font-size:2.5rem;color:var(--store-primary)}.login-panel{max-width:460px;padding:2rem;border:1px solid #e1dfe8;border-radius:5px}.metric{border:1px solid #e1dfe8;border-radius:5px;padding:1.7rem}.metric p{color:var(--store-muted)}.metric strong{font-size:2.5rem}a:focus-visible,button:focus-visible{outline:3px solid #ad94ff;outline-offset:4px}@media(max-width:767px){.store-hero,.hero-content{min-height:670px}.hero-content{align-items:flex-start}.hero-copy{padding-top:2rem;max-width:100%}.hero-copy h1{font-size:2.9rem}.hero-description{max-width:290px}.hero-image{object-position:center}.login-panel{padding:1.5rem}.announcement{font-size:.7rem}.navbar-brand{font-size:1.5rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:767px){.store-hero,.hero-content{min-height:710px}.hero-image{height:340px;bottom:0;object-fit:cover;object-position:right center}}

/* --- Storefront extensions --- */
.nav-search{width:220px}
.cart-badge{position:absolute;top:-2px;right:-8px;background:var(--store-primary);color:#fff;border-radius:50%;font-size:.65rem;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px}
.product-card{display:flex;flex-direction:column;border:1px solid #e6e4ed;border-radius:6px;overflow:hidden;background:#fff;transition:box-shadow .15s ease,border-color .15s ease}
.product-card:hover{box-shadow:0 10px 24px rgba(37,35,43,.08);border-color:#d7d3e6}
.product-card-media{position:relative;display:block;aspect-ratio:1/1;background:#f6f5f9;overflow:hidden}
.product-card-media img{width:100%;height:100%;object-fit:cover}
.product-card-badge{position:absolute;top:.6rem;left:.6rem}
.product-card-wish{position:absolute;top:.5rem;right:.5rem}
.product-card-wish button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.product-card-body{padding:1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.product-card-category{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--store-muted);margin:0}
.product-card-title{font-size:.95rem;margin:0}
.product-card-title a{color:var(--store-ink);text-decoration:none}
.product-card-title a:hover{color:var(--store-primary)}
.product-card-price{font-weight:700;margin:0 0 .5rem}
.product-card form:last-child{margin-top:auto}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:1.5rem}
.section-heading a{font-weight:600;text-decoration:none}
.product-gallery-main{border:1px solid #e6e4ed;border-radius:8px;overflow:hidden;aspect-ratio:1/1;background:#f6f5f9}
.product-gallery-main img{width:100%;height:100%;object-fit:cover}
.product-thumb{width:70px;height:70px;object-fit:cover;border:1px solid #e6e4ed;border-radius:5px;cursor:pointer}
.product-thumb.active{border-color:var(--store-primary)}
.rating-stars{color:#f0a300}
.cart-line-media{width:80px;height:80px;object-fit:cover;border-radius:5px;border:1px solid #e6e4ed}
.qty-input{width:80px}
.summary-card{border:1px solid #e1dfe8;border-radius:6px;padding:1.5rem;background:#fbfaff}
.summary-row{display:flex;justify-content:space-between;padding:.35rem 0}
.summary-row.total{font-weight:700;font-size:1.15rem;border-top:1px solid #e1dfe8;margin-top:.5rem;padding-top:.75rem}
.badge-status-pending{background:#f0a300}
.account-sidebar{border:1px solid #e1dfe8;border-radius:6px;overflow:hidden}
.account-sidebar a{display:flex;align-items:center;gap:.6rem;padding:.85rem 1.1rem;color:var(--store-ink);text-decoration:none;border-bottom:1px solid #eeecf4}
.account-sidebar a:last-child{border-bottom:0}
.account-sidebar a.active,.account-sidebar a:hover{background:#f6f5f9;color:var(--store-primary)}
.stat-card{border:1px solid #e1dfe8;border-radius:6px;padding:1.3rem;background:#fff}
.stat-card .value{font-size:1.8rem;font-weight:700}
.stat-card .label{color:var(--store-muted);font-size:.85rem}

/* --- Shared with POS pages only (admin.blade.php uses admin.css's own, redesigned versions of
   these same class names — this file is never loaded there, so this isn't a duplicate to merge) --- */
.admin-card{background:#fff;border:1px solid #e6e4ed;border-radius:6px;padding:1.5rem}
table.admin-table{width:100%}
table.admin-table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--store-muted);border-bottom:2px solid #eee}
.product-thumb-sm{width:42px;height:42px;object-fit:cover;border-radius:4px;border:1px solid #e6e4ed}

/* --- POS workspace --- */
.pos-shell{display:flex;height:100vh;overflow:hidden;background:#eef1f7}
.pos-catalog{flex:1;overflow-y:auto;padding:1.25rem;background:linear-gradient(180deg,#f8f9fd 0%,#eef1f7 100%)}
.pos-cart{width:430px;flex-shrink:0;background:#fff;border-left:1px solid #e2e7f0;display:flex;flex-direction:column;height:100vh;box-shadow:-14px 0 34px rgba(15,18,32,.08)}
.pos-cart-items{flex:1;overflow-y:auto;padding:1rem}
.pos-cart-footer{border-top:1px solid #e2e7f0;padding:1rem;background:#fbfcff}
.pos-product{border:1px solid #e2e7f0;border-radius:12px;padding:.75rem;background:#fff;cursor:pointer;text-align:center;height:100%;box-shadow:0 1px 2px rgba(15,18,32,.06);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.pos-product:hover{border-color:var(--store-primary);box-shadow:0 14px 28px rgba(15,18,32,.08);transform:translateY(-2px)}
.pos-product:disabled{opacity:.55;cursor:not-allowed;transform:none}
.pos-product img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;margin-bottom:.5rem;background:#f2f4f8}
.pos-product .name{font-size:.82rem;font-weight:600;line-height:1.25}
.pos-product .price{color:var(--store-primary);font-weight:700}
.pos-product-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.pos-product-stock{font-size:.72rem;font-weight:700;white-space:nowrap}
.pos-cart-line{display:flex;gap:.6rem;align-items:center;padding:.65rem 0;border-bottom:1px solid #eef1f5}
.pos-cart-stock{color:#64748b;font-size:.72rem;font-weight:600}
.pos-numpad button{aspect-ratio:1/1}

@media(max-width:991px){.pos-shell{flex-direction:column;height:auto;overflow:visible}.pos-catalog{overflow:visible}.pos-cart{width:100%;height:auto;border-left:0;border-top:1px solid #e2e7f0;box-shadow:none}.pos-cart-footer{position:sticky;bottom:0;z-index:10}}
@media print{.no-print{display:none!important}body{background:#fff}}
