.shop-public{min-height:520px;padding-bottom:42px}.shop-hero{align-items:center;background:linear-gradient(135deg,#2e1065,#7c3aed 65%,#a78bfa);border-radius:18px;color:#fff;display:flex;justify-content:space-between;margin-top:16px;overflow:hidden;padding:25px;position:relative}.shop-hero:after{border:40px solid rgba(255,255,255,.08);border-radius:50%;content:"";height:210px;position:absolute;right:120px;top:-100px;width:210px}.shop-hero>div>span{color:#ddd6fe;font-size:.7em;font-weight:800;letter-spacing:.09em}.shop-hero h1{font-size:1.7em;margin:5px 0}.shop-hero p{color:#ede9fe;margin:0}.shop-bag-open{align-items:center;background:#fff;border:0;border-radius:11px;color:#4c1d95;display:flex;font-weight:800;gap:8px;padding:12px 14px;position:relative;z-index:1}.shop-bag-open b{align-items:center;background:#facc15;border-radius:20px;color:#422006;display:flex;font-size:.72em;height:23px;justify-content:center;min-width:23px;padding:0 6px}.shop-public-message,.shop-public-notice{border-radius:10px;margin-top:13px;padding:12px 14px}.shop-public-message.success{background:#d1e7dd;color:#0f5132}.shop-public-message.error{background:#f8d7da;color:#842029}.shop-public-notice{align-items:center;background:#eef2ff;color:#334155;display:flex;gap:11px}.shop-public-notice>i{font-size:1.4em}.shop-public-notice>div{flex:1}.shop-public-notice strong,.shop-public-notice p{display:block;margin:0}.shop-public-notice p{font-size:.78em;margin-top:3px}.shop-public-notice>a{background:#7c3aed;border-radius:7px;color:#fff;font-size:.75em;font-weight:700;padding:8px 11px;text-decoration:none}.shop-public-notice.closed{background:#fff3cd;color:#856404}.shop-public-notice.blocked{background:#f8d7da;color:#842029}.shop-public-notice.blocked>a{background:#842029}.shop-toolbar{align-items:center;display:flex;gap:13px;justify-content:space-between;margin:18px 0 14px}.shop-toolbar>label{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;display:flex;gap:8px;min-width:260px;padding:0 11px}.shop-toolbar>label i{color:#64748b}.shop-toolbar input{border:0;height:42px;outline:none;width:100%}.shop-tag-filters{display:flex;gap:7px;overflow:auto}.shop-tag-filters button{background:#fff;border:1px solid #ddd6fe;border-radius:20px;color:#6d28d9;font-size:.72em;font-weight:700;padding:7px 11px;white-space:nowrap}.shop-tag-filters button.active{background:#7c3aed;border-color:#7c3aed;color:#fff}.shop-products{display:grid;gap:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.shop-product-card{background:#fff;border:1px solid #eee;border-radius:15px;box-shadow:0 5px 18px rgba(15,23,42,.07);overflow:hidden;transition:.2s}.shop-product-card:hover{box-shadow:0 10px 25px rgba(15,23,42,.12);transform:translateY(-3px)}.shop-product-card[hidden]{display:none}.shop-product-image{align-items:center;background:#f1f5f9;color:#94a3b8;display:flex;font-size:2.5em;height:260px;justify-content:center;overflow:hidden;position:relative}.shop-product-image img{height:100%;object-fit:cover;width:100%}.shop-product-image>span{background:#7c3aed;border-radius:20px;color:#fff;font-size:.25em;font-weight:800;left:10px;padding:6px 9px;position:absolute;top:10px}.shop-product-image>b{background:rgba(15,23,42,.82);border-radius:7px;color:#fff;font-size:.3em;padding:7px 12px;position:absolute}.shop-product-body{padding:14px}.shop-product-body>small{color:#7c3aed;font-size:.66em;font-weight:800;text-transform:uppercase}.shop-product-body h2{font-size:1em;margin:4px 0}.shop-product-body>p{color:#64748b;display:-webkit-box;font-size:.74em;line-height:1.45;margin:7px 0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.shop-product-body>div{align-items:end;display:flex;justify-content:space-between;margin-top:12px}.shop-product-body>div strong{font-size:1.08em}.shop-product-body>div span{color:#64748b;font-size:.64em}.shop-add-product{background:#7c3aed;border:0;border-radius:8px;color:#fff;font-size:.82em;font-weight:800;margin-top:12px;padding:10px;width:100%}.shop-add-product:disabled{background:#cbd5e1;cursor:not-allowed}.shop-product-card.sold-out{opacity:.75}.shop-no-results,.shop-empty{background:#fff;border-radius:14px;color:#64748b;margin-top:15px;padding:45px 20px;text-align:center}.shop-no-results i,.shop-empty>i{font-size:2.3em}.shop-empty h2{color:#334155;font-size:1.1em}.shop-bag-overlay{background:rgba(15,23,42,.55);display:none;inset:0;position:fixed;z-index:1290}.shop-bag{background:#fff;bottom:0;box-shadow:-12px 0 35px rgba(15,23,42,.2);display:flex;flex-direction:column;max-width:440px;position:fixed;right:0;top:0;transform:translateX(105%);transition:.25s;width:100%;z-index:1300}.shop-bag.open{transform:translateX(0)}.shop-bag-overlay.open{display:block}.shop-bag-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:17px}.shop-bag-header>div{align-items:center;display:flex;gap:10px}.shop-bag-header>div>i{align-items:center;background:#f0eaff;border-radius:9px;color:#7c3aed;display:flex;font-size:1.2em;height:42px;justify-content:center;width:42px}.shop-bag-header strong,.shop-bag-header small{display:block}.shop-bag-header small{color:#64748b;font-size:.7em}.shop-bag-close{background:#f1f5f9;border:0;border-radius:50%;height:36px;width:36px}.shop-bag-items{flex:1;overflow:auto;padding:12px 17px}.shop-bag-item{align-items:center;border-bottom:1px solid #eee;display:grid;gap:10px;grid-template-columns:58px 1fr auto;padding:11px 0}.shop-bag-item>span:first-child{align-items:center;background:#f1f5f9;border-radius:8px;display:flex;height:58px;justify-content:center;overflow:hidden;width:58px}.shop-bag-item img{height:100%;object-fit:cover;width:100%}.shop-bag-item-info strong,.shop-bag-item-info small{display:block}.shop-bag-item-info strong{font-size:.82em}.shop-bag-item-info small{color:#7c3aed;font-size:.72em;font-weight:700;margin-top:3px}.shop-bag-quantity{align-items:center;display:flex;gap:7px;margin-top:7px}.shop-bag-quantity button{align-items:center;background:#f1f5f9;border:0;border-radius:6px;display:flex;height:27px;justify-content:center;width:27px}.shop-bag-quantity b{font-size:.76em;min-width:18px;text-align:center}.shop-bag-remove{background:transparent;border:0;color:#dc3545}.shop-bag-empty{color:#64748b;display:none;margin:auto;padding:35px;text-align:center}.shop-bag-empty i{font-size:2.2em}.shop-bag-footer{border-top:1px solid #e5e7eb;padding:17px}.shop-bag-footer>div{display:flex;justify-content:space-between}.shop-bag-footer>div strong{font-size:1.15em}.shop-checkout-form button{background:#198754;border:0;border-radius:9px;color:#fff;font-weight:800;margin-top:12px;padding:12px;width:100%}.shop-checkout-form button:disabled{background:#94a3b8;cursor:not-allowed}.shop-bag-footer>small{color:#64748b;display:block;font-size:.65em;margin-top:7px;text-align:center}.shop-toast{background:#111827;border-radius:8px;bottom:18px;color:#fff;font-size:.8em;left:50%;opacity:0;padding:10px 14px;pointer-events:none;position:fixed;transform:translate(-50%,20px);transition:.2s;z-index:1400}.shop-toast.show{opacity:1;transform:translate(-50%,0)}body.shop-bag-opened{overflow:hidden}@media(max-width:900px){.shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.shop-public{padding-left:10px;padding-right:10px}.shop-hero{padding:18px}.shop-hero h1{font-size:1.35em}.shop-hero p{font-size:.78em}.shop-bag-open span{display:none}.shop-toolbar{align-items:stretch;flex-direction:column}.shop-toolbar>label{min-width:0}.shop-products{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.shop-product-image{height:190px}.shop-product-body{padding:11px}.shop-product-body h2{font-size:.87em}.shop-product-body>p{display:none}.shop-product-body>div{align-items:flex-start;flex-direction:column;gap:3px}.shop-product-body>div strong{font-size:.92em}.shop-add-product{font-size:.73em}.shop-public-notice{align-items:flex-start;flex-wrap:wrap}.shop-public-notice>a{margin-left:34px}.shop-bag{max-width:none}.shop-toast{bottom:82px;white-space:nowrap}}

.shop-product-card { cursor: pointer; position: relative; }
.shop-product-card button { cursor: pointer; }
.shop-product-details-trigger { background: transparent; border: 0; border-radius: 15px; inset: 0; padding: 0; position: absolute; z-index: 1; }
.shop-product-details-trigger:focus-visible { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--shop-accent, #198754) 45%, transparent); outline: none; }
.shop-add-product { position: relative; z-index: 2; }
.shop-product-more { align-items: center; color: var(--shop-accent, #198754); display: inline-flex; font-size: .68em; font-weight: 700; gap: 5px; margin-top: 3px; }

.shop-product-modal { display: none; inset: 0; position: fixed; z-index: 1500; }
.shop-product-modal.open { align-items: center; display: flex; justify-content: center; }
.shop-product-modal-backdrop { background: rgba(15,23,42,.76); border: 0; inset: 0; position: absolute; }
.shop-product-modal-panel { background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(15,23,42,.38); max-height: 92vh; max-width: 920px; overflow: auto; position: relative; width: calc(100% - 32px); z-index: 1; }
.shop-product-modal-close { align-items: center; background: rgba(255,255,255,.96); border: 0; border-radius: 50%; box-shadow: 0 3px 12px rgba(15,23,42,.18); color: #334155; display: flex; height: 40px; justify-content: center; position: absolute; right: 12px; top: 12px; width: 40px; z-index: 4; }
.shop-product-modal-grid { display: grid; grid-template-columns: minmax(330px, 1.05fr) minmax(0, .95fr); min-height: 520px; }
.shop-product-modal-image { align-items: center; background: #eef2f7; border: 0; border-radius: 18px 0 0 18px; color: #94a3b8; display: flex; flex-direction: column; font-size: 3em; justify-content: center; min-height: 520px; overflow: hidden; padding: 0; position: relative; width: 100%; }
.shop-product-modal-image:not(:disabled) { cursor: zoom-in; }
.shop-product-modal-image img { height: 100%; object-fit: contain; width: 100%; }
.shop-product-modal-image > span { align-items: center; background: rgba(15,23,42,.78); border-radius: 20px; bottom: 14px; color: #fff; display: flex; font-size: .22em; font-weight: 700; gap: 6px; left: 50%; padding: 8px 12px; position: absolute; transform: translateX(-50%); white-space: nowrap; }
.shop-product-modal-content { display: flex; flex-direction: column; padding: 54px 28px 28px; }
.shop-product-modal-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.shop-product-modal-badges span,.shop-product-modal-badges b { border-radius: 20px; font-size: .68em; font-weight: 800; padding: 5px 9px; text-transform: uppercase; }
.shop-product-modal-badges span { background: #f1f5f9; color: #475569; }
.shop-product-modal-badges b { background: color-mix(in srgb, var(--shop-accent, #198754) 12%, #fff); color: var(--shop-accent, #198754); }
.shop-product-modal-content h2 { color: #172033; font-size: 1.45em; line-height: 1.25; margin: 14px 0 0; }
.shop-product-modal-description { color: #64748b; font-size: .86em; line-height: 1.65; margin: 14px 0; white-space: pre-line; }
.shop-product-modal-meta { border-bottom: 1px solid #e5e7eb; border-top: 1px solid #e5e7eb; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: auto; padding: 16px 0; }
.shop-product-modal-meta small,.shop-product-modal-meta strong { display: block; }
.shop-product-modal-meta small { color: #94a3b8; font-size: .66em; font-weight: 700; text-transform: uppercase; }
.shop-product-modal-meta strong { color: #1e293b; font-size: .92em; margin-top: 4px; }
.shop-product-modal-add { background: var(--shop-accent, #198754); border: 0; border-radius: 9px; color: #fff; font-weight: 800; margin-top: 16px; min-height: 46px; padding: 11px 15px; width: 100%; }
.shop-product-modal-add:disabled { background: #cbd5e1; cursor: not-allowed; }
body.shop-product-modal-open,body.shop-image-viewer-open { overflow: hidden; }
.shop-toast { z-index: 1700; }

.shop-image-viewer { display: none; inset: 0; position: fixed; z-index: 1900; }
.shop-image-viewer.open { display: block; }
.shop-image-viewer-backdrop { background: rgba(3,7,18,.97); border: 0; inset: 0; position: absolute; }
.shop-image-viewer-stage { height: 100%; position: relative; width: 100%; z-index: 1; }
.shop-image-viewer-scroll { align-items: center; display: flex; inset: 0; justify-content: center; overflow: auto; padding: 70px 20px 100px; position: absolute; }
.shop-image-viewer-scroll img { cursor: zoom-in; flex: 0 0 auto; height: auto; margin: auto; max-height: none; max-width: none; object-fit: contain; width: auto; }
.shop-image-viewer-scroll.zoomed { align-items: flex-start; justify-content: flex-start; }
.shop-image-viewer-scroll.zoomed img { cursor: zoom-out; }
.shop-image-viewer-close { align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; display: flex; height: 46px; justify-content: center; position: absolute; right: 18px; top: 18px; width: 46px; z-index: 3; }
.shop-image-viewer-controls { align-items: center; background: rgba(15,23,42,.82); border: 1px solid rgba(255,255,255,.14); border-radius: 30px; bottom: 22px; display: flex; gap: 8px; left: 50%; padding: 7px; position: absolute; transform: translateX(-50%); z-index: 3; }
.shop-image-viewer-controls button { align-items: center; background: rgba(255,255,255,.13); border: 0; border-radius: 50%; color: #fff; display: flex; height: 36px; justify-content: center; width: 36px; }
.shop-image-viewer-controls button:disabled { opacity: .35; }
.shop-image-viewer-controls span { color: #fff; font-size: .76em; font-weight: 700; min-width: 48px; text-align: center; }

@media(max-width:700px) {
    .shop-product-modal.open { align-items: flex-end; }
    .shop-product-modal-panel { border-radius: 20px 20px 0 0; max-height: 94vh; width: 100%; }
    .shop-product-modal-grid { grid-template-columns: 1fr; min-height: 0; }
    .shop-product-modal-image { border-radius: 20px 20px 0 0; min-height: 0; height: min(72vw, 340px); }
    .shop-product-modal-content { padding: 20px 16px calc(18px + env(safe-area-inset-bottom)); }
    .shop-product-modal-content h2 { font-size: 1.2em; }
    .shop-product-modal-description { font-size: .8em; margin: 11px 0 14px; }
    .shop-product-modal-meta { margin-top: 0; }
    .shop-product-modal-image > span { bottom: 10px; }
    .shop-image-viewer-scroll { padding: 66px 8px 96px; }
    .shop-image-viewer-close { height: 42px; right: 12px; top: 12px; width: 42px; }
    .shop-image-viewer-controls { bottom: calc(14px + env(safe-area-inset-bottom)); }
}

.shop-product-card.access-denied { border-color: #ddd6fe; }
.shop-product-image > b.shop-product-access-badge { background: rgba(76, 29, 149, .9); font-size: .27em; }
.shop-product-card.access-denied .shop-product-body > div span { color: #6d28d9; font-weight: 700; max-width: 52%; text-align: right; }
.shop-product-card.access-denied .shop-product-body > button:disabled { background: #ede9fe; color: #6d28d9; }

.shop-toolbar { align-items: flex-end; flex-wrap: wrap; }
.shop-toolbar > .shop-search-field { flex: 1; height: 44px; margin: 0; }
.shop-toolbar > .shop-search-field input[type="search"] { -webkit-appearance: none; appearance: none; background: transparent; border: 0; border-radius: 0; height: 42px; margin: 0; padding: 0; }
.shop-toolbar > .shop-search-field input[type="search"]::-webkit-search-decoration,
.shop-toolbar > .shop-search-field input[type="search"]::-webkit-search-cancel-button,
.shop-toolbar > .shop-search-field input[type="search"]::-webkit-search-results-button,
.shop-toolbar > .shop-search-field input[type="search"]::-webkit-search-results-decoration { display: none; }
.shop-toolbar-selects { display: flex; gap: 9px; }
.shop-filter-field { display: grid; gap: 4px; }
.shop-filter-field > span { color: #64748b; font-size: .64em; font-weight: 800; padding-left: 3px; text-transform: uppercase; }
.shop-filter-field select { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; color: #334155; font: inherit; font-size: .76em; height: 44px; min-width: 165px; outline: none; padding: 0 34px 0 11px; }
.shop-filter-field select:focus { border-color: var(--shop-accent, #198754); box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-accent, #198754) 14%, transparent); }
.shop-toolbar .shop-tag-filters { flex-basis: 100%; padding-bottom: 2px; }

@media(max-width:600px) {
    .shop-toolbar { align-items: stretch; }
    .shop-toolbar > .shop-search-field { flex: none; width: 100%; }
    .shop-toolbar-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .shop-filter-field select { min-width: 0; width: 100%; }
    .shop-toolbar .shop-tag-filters { width: 100%; }
}
