/* ============================================
   SHOP PAGES (/shop/) - loaded after content-pages.css
   ============================================ */
.buy-box { padding-top: 64px; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.buy-img { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.buy-img img { width: 100%; }
.buy-info h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.buy-info > p { color: var(--text-secondary); font-weight: 300; line-height: 1.75; margin-bottom: 20px; }
.buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.buy-price .amount { font-size: 2rem; font-weight: 700; color: var(--highlight); }
.buy-price .vat { font-size: 0.85rem; color: var(--text-secondary); }
.buy-stock { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; }
.buy-stock strong { color: var(--text); font-weight: 600; }
.buy-points { list-style: none; margin: 0 0 24px; }
.buy-points li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.92rem; color: var(--text-secondary); font-weight: 300; }
.buy-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.buy-note { font-size: 0.8rem; color: var(--text-secondary); font-weight: 300; line-height: 1.7; }
.buy-note a, .shop-info a, .spec-note a { color: var(--highlight); }
.shop-placeholder { display: inline-block; border: 1px dashed var(--highlight); color: var(--highlight); border-radius: 6px; padding: 0 6px; font-size: 0.85em; }
.spec-table { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.spec-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.spec-table th { width: 38%; color: var(--text); font-weight: 600; background: var(--bg-card); }
.spec-table td { color: var(--text-secondary); font-weight: 300; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-secondary); font-weight: 300; }
.shop-info { border-top: 1px solid var(--border); }
.shop-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.shop-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }
.shop-info-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.shop-info-card p, .shop-info-card li { font-size: 0.88rem; color: var(--text-secondary); font-weight: 300; line-height: 1.7; }
.shop-info-card p + p { margin-top: 10px; }
.shop-info-card ul { margin: 8px 0 0 18px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.3s, transform 0.3s; display: block; color: inherit; }
.product-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.product-img { background: var(--bg-panel); }
.product-img img { width: 100%; }
.product-body { padding: 24px; }
.product-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.product-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; font-weight: 300; margin-bottom: 16px; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.product-price .amount { font-size: 1.3rem; font-weight: 700; color: var(--highlight); }
.product-price .vat { font-size: 0.8rem; color: var(--text-secondary); }
.feature-item h3 a, .shop-links a { color: inherit; }
.feature-item h3 a:hover { color: var(--highlight); }
.draft-banner { max-width: 760px; margin: 32px auto 0; padding: 16px 20px; border: 1px dashed var(--highlight); border-radius: var(--radius); color: var(--highlight); font-size: 0.9rem; }
@media (max-width: 860px) {
    .buy-grid, .shop-info-grid, .product-grid { grid-template-columns: 1fr; }
    .buy-grid { gap: 28px; }
}
.btn-disabled { opacity: 0.45; pointer-events: none; cursor: not-allowed; }
.out-of-stock { color: var(--accent); }
.product-stock { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 16px; }
/* ---- Basket (24 Oct 2026) ---- */
.basket-pill { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--highlight); color: #000; font-weight: 700; font-size: 0.9rem; text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.basket-pill[hidden] { display: none; }
.basket-pill svg { width: 18px; height: 18px; fill: #000; }
.basket-pill [data-basket-count] { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #000; color: var(--highlight); display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.basket-status { font-size: 0.85rem; color: var(--highlight); margin-top: 10px; }
.basket-status a { color: inherit; text-decoration: underline; }
.basket-wrap { max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
.basket-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--border); }
.basket-row { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.basket-row img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: var(--radius); }
.basket-name a { color: var(--text); font-weight: 600; text-decoration: none; display: block; }
.basket-name a:hover { color: var(--highlight); }
.basket-unit, .basket-note { display: block; font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }
.basket-qty { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.basket-qty button { width: 36px; height: 40px; background: var(--bg-panel); color: inherit; border: 0; font: inherit; font-size: 1.1rem; cursor: pointer; }
.basket-qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.basket-qty input { width: 48px; height: 40px; border: 0; background: var(--bg-card); color: inherit; font: inherit; text-align: center; -moz-appearance: textfield; }
.basket-qty input::-webkit-inner-spin-button, .basket-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.basket-line { font-weight: 700; min-width: 80px; text-align: right; }
.basket-remove { background: none; border: 0; color: var(--text-secondary); font: inherit; font-size: 0.82rem; text-decoration: underline; cursor: pointer; }
.basket-remove:hover { color: var(--accent); }
.basket-summary { margin-left: auto; max-width: 380px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.basket-summary p { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 0.95rem; }
.basket-summary .basket-total { font-weight: 700; font-size: 1.1rem; color: var(--highlight); padding-top: 10px; border-top: 1px solid var(--border); }
.basket-summary .basket-small, .basket-summary .basket-error { display: block; font-size: 0.8rem; color: var(--text-secondary); margin: 12px 0 0; }
.basket-summary .basket-error { color: var(--accent-bright); }
.basket-checkout { width: 100%; justify-content: center; margin-top: 8px; }
.basket-checkout:disabled { opacity: 0.45; cursor: not-allowed; }
.basket-empty { font-size: 1.05rem; margin-bottom: 18px; }
.basket-delivery { font-size: 0.88rem; color: var(--text-secondary); margin: 0 0 24px; }
@media (max-width: 640px) {
    .basket-row { grid-template-columns: 64px 1fr auto; }
    .basket-row img { width: 64px; height: 64px; }
    .basket-line { grid-column: 2; text-align: left; }
    .basket-remove { grid-column: 3; justify-self: end; }
}
.buy-actions .basket-status { flex-basis: 100%; margin: 0; }
