[hidden] { display: none !important; }
.shop-content { padding-bottom: 50px; }
.shop-content h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.13; margin-bottom: 16px; }
.shop-content p { margin-bottom: 12px; }
.purchase-notice { padding: 10px 16px; background: var(--soft); border-left: 3px solid var(--accent); font-size: .87rem; }
.shop-local-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 14px; justify-content: space-between;
    align-items: center; background: var(--paper); padding: 10px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 1fr); gap: 4%; align-items: start; }
.shop-cart, #buchauswahl, #bestelldaten { scroll-margin-top: 86px; }
.book-card { display: grid; grid-template-columns: clamp(72px, 10vw, 136px) minmax(0, 1fr); gap: 5%;
    padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.book-card h3 { font-size: clamp(19px, 2.2vw, 29px); margin-bottom: 6px; line-height: 1.15; overflow-wrap: anywhere; }
.book-card figure { min-width: 0; }
.book-card img { display: block; width: 100%; height: auto; margin: 0; }
.book-card figcaption { font-size: .72rem; overflow-wrap: anywhere; }
.book-isbn, .book-detail, .publisher, .book-more, .shop-field-help { color: var(--muted, #53645b); font-size: .87rem; }
.book-choice { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin: 10px 0; }
.price { font-size: 1.06rem; white-space: nowrap; }
.book-unavailable { font-weight: 700; }
.shop-button, .order-card .btn { display: inline-block; background: var(--accent); color: white; border: 1px solid var(--accent);
    padding: 8px 14px; min-height: 42px; font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.shop-button:hover, .order-card .btn:hover { background: #30594e; color: white; }
.shop-button:disabled, .order-card .btn:disabled { opacity: .65; cursor: default; }
.shop-button:focus-visible, .shop-text-button:focus-visible { outline: 2px solid var(--accent, #3f7161); outline-offset: 4px; }
.shop-cart-jump { display: flex; gap: 9px; align-items: center; }
.shop-cart-jump span { display: inline-grid; place-items: center; min-width: 22px; border-radius: 12px;
    padding: 0 5px; background: var(--paper); color: var(--ink); font-size: .8rem; font-variant-numeric: tabular-nums; }
.shop-cart { background: var(--soft); padding: clamp(15px, 2.6vw, 28px); border: 1px solid var(--line); }
.shop-cart-list { margin: 0; padding: 0; list-style: none; }
.shop-cart-item { padding: 13px 0; border-top: 1px solid var(--line, #cddbd0); }
.shop-cart-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; line-height: 1.4; }
.shop-cart-title { overflow-wrap: anywhere; }
.shop-cart-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.shop-cart-controls { display: flex; align-items: center; gap: 9px; margin: 8px 0; flex-wrap: wrap; font-size: .85rem; }
.shop-cart-controls .shop-cart-quantity { font: inherit; margin: 0; width: 5rem; min-height: 38px; }
.shop-text-button { background: none; border: 0; color: var(--accent, #3f7161); font: inherit; font-size: .85rem;
    text-align: left; text-decoration: underline; text-underline-offset: .2em; padding: 4px 0; cursor: pointer; }
.shop-dedications { font-size: .9rem; }
.shop-content summary, .shop-dedications summary { cursor: pointer; }
.shop-dedication-line { display: grid; align-items: start; justify-items: start; gap: 5px; margin: 7px 0 13px; }
.shop-dedication-line input { width: 100%; font: inherit; }
.shop-summary { margin: 10px 0 14px; font-size: .93rem; font-variant-numeric: tabular-nums; }
.shop-summary div { display: flex; justify-content: space-between; gap: 1rem; padding: 4px 0; }
.shop-summary dd { margin: 0; white-space: nowrap; }
.shop-summary .total { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 700; }
.checkout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(18rem, 1.2fr); align-items: start; gap: 4%;
    margin: clamp(24px, 5vw, 54px) 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.order-card { background: white; border: 1px solid var(--line); padding: clamp(14px, 3vw, 26px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.full { grid-column: 1 / -1; }
.shop-content input:not([type=checkbox]), .shop-content select, .shop-content textarea { font: inherit; color: var(--ink);
    background: white; border: 1px solid #8fa89a; padding: 7px 9px; min-height: 38px; max-width: 100%; }
.form-grid input:not([type=checkbox]), .form-grid select, .form-grid textarea { display: block; width: 100%; margin: 3px 0 0; }
.shop-content input:focus-visible, .shop-content select:focus-visible, .shop-content textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-grid label { font-weight: 650; }
.check { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.billing-fields, .legal-info, .anti-phishing { background: var(--soft); padding: 12px; }
.legal-info, .anti-phishing, .field-help, .small { margin: 12px 0; font-size: .84rem; }
.hp, .shop-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 780px) {
    .shop-layout, .checkout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 440px) {
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .book-card { gap: 12px; }
    .shop-button { font-size: .82rem; }
}
