html { scrollbar-gutter: stable; }
.cart-badge {
    position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px;
    padding: 0 5px; display: grid; place-items: center; border-radius: 12px;
    background: #F5B942; color: #1E2329; font: bold 12px Arial, sans-serif;
}
.cart-badge[hidden], .shop-cart-link[hidden] { display: none; }
.shop-notice, .shop-status { padding: 14px 18px; border: 1px solid #4B5662; border-radius: 12px; line-height: 1.6; }
.shop-notice { margin: 0 0 24px; color: #E5B84B; background: #282E35; }
.shop-status:empty { display: none; }
.shop-status { margin: 16px auto; max-width: 1100px; color: #E8EAED; background: #282E35; }
.shop-status[role="alert"] { border-color: #E05A5A; }
.shop-stock { display: block; font-size: 13px; color: #AEB4BB; margin: 8px 0; }
.shop-product-controls { margin-top: auto; padding-top: 18px; }
.product[hidden], #productInfo[hidden] { display: none; }
.product .visual img[hidden] { display: none; }
#catalogProducts > .product:not(:first-child) { margin-top: 36px; }
#catalogProducts .visual > .accessory-photo { max-height: 400px; }
.shop-price { font-size: 20px; font-weight: bold; }
.order-card { margin: 18px 0; overflow-wrap: anywhere; }
.order-card summary { cursor: pointer; font-weight: bold; line-height: 1.6; }
.order-complete { color: #4CCB7F; display: inline-block; margin-left: 10px; font-size: 20px; }
.order-count { display: inline-block; padding: 1px 8px; margin-left: 6px; border-radius: 12px; background: #343B44; color: #E8EAED; font-size: 14px; }
.order-address { white-space: pre-line; }
.order-checklist { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0; }
.order-checklist label { display: flex; align-items: center; gap: 8px; }
@media print {
    .order-card > :not(summary) { display: block !important; }
    .order-card .shop-links, body > .web-banner, main > nav, main > button { display: none !important; }
    .shop-page, .shop-panel { color: #000; background: #FFF; }
}
.shop-button, .shop-remove {
    display: inline-block; padding: 12px 18px; border: 1px solid #4CCB7F; border-radius: 10px;
    background: #214A35; color: #E8EAED; font: bold 16px Arial, sans-serif;
    text-align: center; text-decoration: none; cursor: pointer;
}
.shop-product-controls .shop-button { display: block; width: 100%; margin-top: 12px; }
.shop-button:disabled { background: #343B44; border-color: #4B5662; color: #AEB4BB; cursor: not-allowed; }
.shop-remove { padding: 8px 10px; background: transparent; border-color: #4B5662; font-size: 14px; }
.shop-page { margin: 0; background: #1E2329; color: #E8EAED; font: 16px/1.5 Arial, sans-serif; }
.shop-page * { box-sizing: border-box; }
.shop-page a { color: inherit; }
.shop-page [hidden] { display: none; }
.shop-page .web-banner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.shop-page .web-banner img { display: block; width: 100%; }
.shop-page .language { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #282E35; color: #E8EAED; font-weight: bold; cursor: pointer; }
.shop-wrap { width: min(1100px, calc(100% - 48px)); margin: auto; padding-bottom: 40px; }
.shop-page h1 { margin: 24px 0; font-size: 28px; }
.shop-page h2 { font-size: 21px; margin: 0 0 18px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.shop-panel { min-width: 0; padding: 24px; background: #282E35; border: 1px solid #4B5662; border-radius: 18px; }
.shop-panel + .shop-panel { margin-top: 20px; }
.shop-line { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid #4B5662; }
.shop-line:first-child { padding-top: 0; }
.shop-line:last-child { border-bottom: 0; }
.shop-line img { width: 90px; height: 80px; object-fit: contain; border-radius: 8px; }
.shop-line-symbol { font-size: 18px; text-align: center; overflow-wrap: anywhere; align-self: center; }
.shop-line h2 { font-size: 18px; margin-bottom: 8px; overflow-wrap: anywhere; }
.shop-quantity { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.shop-page select, .shop-page input { max-width: 100%; padding: 10px; background: #1E2329; color: #E8EAED; border: 1px solid #7F8790; border-radius: 8px; font: inherit; }
.shop-page select { min-height: 44px; }
.shop-summary dl { margin: 0; }
.shop-summary dl > div { display: flex; justify-content: space-between; gap: 18px; margin: 12px 0; }
.shop-summary dt, .shop-summary dd { margin: 0; overflow-wrap: anywhere; }
.shop-summary dd { text-align: right; }
.shop-summary .shop-due { border-top: 1px solid #7F8790; padding-top: 18px; font-weight: bold; }
.shop-summary .shop-button { width: 100%; margin-top: 16px; }
.shop-muted { color: #AEB4BB; font-size: 14px; }
.shop-address { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.shop-address label { display: grid; gap: 6px; min-width: 0; }
.shop-address input { width: 100%; min-width: 0; }
.shop-cart-link { display: block; margin-top: 10px; color: #4CCB7F; }
.shop-wide { grid-column: 1 / -1; }
.shop-links { display: flex; gap: 18px; flex-wrap: wrap; margin: 20px 0; }
.legal-footer { margin-top: 36px; padding: 24px 0; border-top: 1px solid #363E47; }
.legal-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; }
.legal-footer-links a { color: #AEB4BB; font-size: 13px; text-decoration: none; }
.legal-footer-links a:hover { text-decoration: underline; }
.main-nav, .shop-wrap > nav.shop-links {
    width: min(1180px, calc(100% - 48px)); margin: 0 auto 32px;
    display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px;
}
.main-nav > a, .shop-wrap > nav.shop-links > a {
    flex: 1 1 0; min-width: 0; min-height: 44px; padding: 12px 18px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #4B5662; border-radius: 10px; background: #282E35;
    color: #E8EAED; font: 600 16px/22px Arial,sans-serif;
    text-align: center; text-decoration: none;
}
.main-nav > a[hidden], .shop-wrap > nav.shop-links > a[hidden] { display: none; }
html.pw-has-clock [data-clock-nav][hidden] { display: flex !important; }
.main-nav > a:hover, .shop-wrap > nav.shop-links > a:hover, .shop-remove:hover { border-color: #4CCB7F; background: #34403A; }
.main-nav > a[aria-current], .shop-wrap > nav.shop-links > a[aria-current] { border-color: #4CCB7F; background: #4CCB7F18; color: #4CCB7F; }
.shop-wrap > nav.main-nav {
    width: min(1180px, 100%); display: flex; flex-wrap: wrap; gap: 10px; margin: 0 auto 32px;
}
.shop-wrap > nav.main-nav > a, .shop-wrap > nav.main-nav > button {
    flex: 1 1 0; min-width: 0; min-height: 44px; padding: 12px 18px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #4B5662; border-radius: 10px; background: #282E35;
    color: #E8EAED; font: 600 16px/22px Arial,sans-serif;
    text-align: center; text-decoration: none;
}
.shop-wrap > nav.main-nav > a[hidden], .shop-wrap > nav.main-nav > button[hidden] { display: none; }
.shop-wrap > nav.main-nav > a:hover { border-color: #4CCB7F; background: #34403A; }
.shop-wrap > nav.main-nav > a[aria-current] { border-color: #4CCB7F; background: #4CCB7F18; color: #4CCB7F; }
.shop-wrap > nav.order-pagination { justify-content: center; }
.shop-wrap > nav.order-pagination > button { flex: 0 1 180px; cursor: pointer; }
.shop-wrap > nav.admin-nav > a { overflow-wrap: anywhere; }
.order-mail-editor { margin-top: 20px; display: grid; gap: 14px; }
.order-mail-editor label { display: grid; gap: 6px; min-width: 0; }
.order-mail-editor textarea {
    width: 100%; min-height: 280px; padding: 10px; border: 1px solid #7F8790;
    border-radius: 8px; background: #1E2329; color: #E8EAED; font: inherit;
}
.order-mail-editor .shop-links { margin: 0; }
.order-mail-preview { display: block; width: 100%; height: 600px; border: 1px solid #4B5662; border-radius: 10px; }
.shop-page a:focus-visible, .shop-page button:focus-visible, .shop-page input:focus-visible, .shop-page select:focus-visible {
    outline: 3px solid #4CCB7F; outline-offset: 3px;
}
@media (max-width: 760px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-wrap, .shop-page .web-banner { width: calc(100% - 32px); }
    .shop-panel { padding: 18px; }
}
@media (max-width: 600px) {
    .main-nav, .shop-wrap > nav.shop-links { width: calc(100% - 32px); gap: 8px; }
    .main-nav > a, .shop-wrap > nav.shop-links > a,
    .shop-wrap > nav.main-nav > a, .shop-wrap > nav.main-nav > button {
        flex-basis: 140px; padding: 10px 12px; font-size: 15px;
    }
}
@media (max-width: 380px) {
    .shop-line { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
    .shop-line img { width: 60px; height: 60px; }
    .shop-address { grid-template-columns: 1fr; }
}
.shop-battery { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; cursor: pointer; font-size: 14px; }
.shop-battery input { width: 18px; height: 18px; margin: 0; accent-color: #4CCB7F; flex-shrink: 0; }
