@import url("/assets/nunito.css");
:root {
  color-scheme: light;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f4f7fb;
  color: #132237;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.topbar { background: #0e243e; color: white; }
.top-inner, main, footer { max-width: 1180px; margin: auto; padding-left: 24px; padding-right: 24px; }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { font-size: 1.5rem; font-weight: 850; letter-spacing: -.055em; }
.brand span { color: #63d5ee; }
.top-note { color: #b9cfe3; font-size: .9rem; }
main { padding-top: 54px; padding-bottom: 100px; }
.eyebrow { margin: 0 0 12px; color: #253038; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.055em; margin: 0 0 15px; }
.intro { color: #52657a; font-size: 1.08rem; line-height: 1.6; margin: 0 0 35px; }
.payment-return { padding: 16px 18px; margin: 0 0 25px; border: 1px solid #a8cbd8; border-radius: 12px; background: #eaf6fa; line-height: 1.5; }
.payment-return[hidden] { display: none; }
.payment-return a { color: #253038; font-weight: 750; text-decoration: underline; }
.toolbar { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.search-label { width: min(100%, 430px); }
.search-label input { width: 100%; min-width: 0; padding: 13px 16px; border: 1px solid #ccd8e5; border-radius: 12px; background: white; color: #132237; }
input:focus-visible, button:focus-visible { outline: 2px solid #596872; outline-offset: 2px; }
.count { color: #607184; font-weight: 650; white-space: nowrap; }
.catalog-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 26px; align-items: start; }
.catalog-results { min-width: 0; }
.filters { background: white; border: 1px solid #e1e9f1; border-radius: 18px; padding: 18px; }
.filters h2 { font-size: 1rem; margin: 2px 10px 14px; }
.filter-options { display: grid; gap: 3px; }
.filter-option { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 12px 11px; border: 0; border-radius: 10px; background: transparent; color: #132237; font-size: .91rem; font-weight: 650; text-align: left; cursor: pointer; }
.filter-option:hover { background: #eef6f9; }
.filter-option.active { color: #253038; background: #e6f5f8; }
.filter-count { color: #6b8194; font-size: .82rem; }
.filament-filters { display: grid; gap: 8px; margin: 18px 10px 3px; padding-top: 17px; border-top: 1px solid #e1e9f1; }
.filament-filters[hidden] { display: none; }
.filament-filters h3 { margin: 0 0 5px; font-size: .96rem; }
.filament-filters label { font-size: .84rem; font-weight: 650; color: #52657a; }
.filament-filters select { width: 100%; min-width: 0; padding: 9px 10px; margin-bottom: 6px; border: 1px solid #cbd9e5; border-radius: 9px; background: white; color: #132237; font: inherit; }
.filament-filters select:disabled { color: #8293a2; background: #f4f7fb; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.product { background: white; border: 1px solid #e1e9f1; border-radius: 18px; overflow: hidden; box-shadow: 0 9px 26px rgba(14, 36, 62, .045); }
.product-art { height: 190px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #e3f4f8, #d3e3ee); }
.product-art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 12px; background: white; }
.product-art::before { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid #a2cbd7; border-radius: 28px; transform: rotate(-20deg); }
.art-lines { position: absolute; width: 110%; height: 110%; background: repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255,255,255,.28) 21px); transform: rotate(-20deg); }
.art-symbol { position: relative; font-size: 3.5rem; font-weight: 850; letter-spacing: -.12em; color: #16798f; }
.product-body { padding: 23px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: #688096; font-size: .79rem; font-weight: 700; }
.product-meta span:last-child { text-align: right; }
.product h2 { font-size: 1.25rem; line-height: 1.3; margin: 16px 0 10px; letter-spacing: -.025em; }
.details { color: #64788b; font-size: .9rem; margin: 0 0 12px; }
.product-bottom { border-top: 1px solid #e6edf3; padding-top: 18px; margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-size: 1.42rem; white-space: nowrap; }
.stock { color: #187452; background: #eaf8f1; padding: 7px 10px; border-radius: 50px; font-size: .78rem; font-weight: 750; text-align: right; }
.stock.unavailable { color: #9d5d16; background: #fff2df; }
.message { background: white; border: 1px solid #e1e9f1; border-radius: 18px; padding: 55px 24px; text-align: center; color: #586c80; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination[hidden] { display: none; }
.pagination button { min-width: 40px; padding: 9px 12px; border: 1px solid #cbd9e5; border-radius: 9px; background: white; color: #132237; cursor: pointer; font: inherit; font-weight: 650; }
.pagination button:hover { background: #eef6f9; }
.pagination button[aria-current="page"] { background: #253038; border-color: #253038; color: white; }
.pagination button:disabled { opacity: .5; cursor: not-allowed; }
footer { border-top: 1px solid #d9e3ec; color: #607184; padding-top: 25px; padding-bottom: 35px; font-size: .9rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 10px 20px; flex-wrap: wrap; }
.site-footer a, .policy-page a, .checkout-legal a { color: #253038; text-decoration: underline; text-underline-offset: 2px; }
.policy-back { color: #d5edf5; font-weight: 700; font-size: .9rem; }
.policy-page { max-width: 860px; font-size: 1rem; line-height: 1.68; }
.policy-page h1 { margin-bottom: 8px; }
.policy-page h2 { margin: 35px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.policy-page p { margin: 0 0 15px; color: #354a60; }
.policy-page ul { padding-left: 24px; color: #354a60; }
.policy-page li { margin-bottom: 11px; }
.policy-page .policy-updated { color: #718499; font-size: .86rem; margin-bottom: 24px; }
.policy-template { padding: 17px 20px 4px; border: 1px solid #cbdce8; border-radius: 12px; background: #fff; }
.policy-page code { background: #e8eef5; border-radius: 4px; padding: 2px 4px; }
@media (max-width: 760px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { padding: 14px; }
  .filter-options { display: flex; flex-wrap: wrap; gap: 4px; }
  .filter-option { flex: 1 1 auto; width: auto; }
  .filament-filters { margin: 14px 4px 3px; }
}
@media (max-width: 600px) {
  .top-inner { min-height: 66px; }
  .top-note { display: none; }
  main { padding-top: 40px; }
  .toolbar { display: block; }
  .search-label { display: block; width: 100%; margin-bottom: 14px; }
}

.top-actions { display: flex; align-items: center; gap: 20px; position: relative; }
.cart-feedback:not(:empty) { position: absolute; z-index: 3; top: calc(100% + 10px); right: 0; width: max-content; max-width: min(340px, 85vw); padding: 10px 14px; border-radius: 9px; background: #e8f7ef; color: #135c3a; box-shadow: 0 7px 24px #0e243e24; font-size: .85rem; font-weight: 700; }
.cart-toggle { border: 1px solid #7bb1c2; border-radius: 11px; padding: 10px 14px; color: white; background: #145474; cursor: pointer; font-weight: 700; white-space: nowrap; }
.cart-toggle:hover { background: #1b6688; }
.cart-badge { display: inline-block; min-width: 24px; margin-left: 5px; padding: 2px 5px; border-radius: 99px; color: #0e243e; background: #63d5ee; text-align: center; }
.add-cart { width: 100%; margin-top: 15px; border: 0; border-radius: 10px; padding: 12px; background: #253038; color: white; font-weight: 750; cursor: pointer; }
.quantity-picker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: #40566c; font-size: .9rem; font-weight: 700; }
.quantity-picker input { width: 88px; min-width: 0; padding: 9px 11px; border: 1px solid #a9bfd3; border-radius: 9px; background: white; color: #132237; font: inherit; text-align: center; }
.quantity-picker input:disabled { background: #f0f4f7; color: #8293a2; }
.product-actions { display: flex; gap: 9px; align-items: stretch; }
.product-actions .add-cart { flex: 1; width: auto; margin-top: 10px; }
.product-actions .product-more { margin-top: 10px; }
.product-more { margin-top: 15px; border: 1px solid #92bbca; border-radius: 10px; padding: 12px 16px; background: white; color: #253038; font-weight: 750; cursor: pointer; }
.product-more:hover { background: #e8f5f8; }
.product-name-button { border: 0; padding: 0; background: transparent; color: inherit; text-align: left; font: inherit; font-weight: inherit; letter-spacing: inherit; cursor: pointer; }
.product-name-button:hover { color: #253038; text-decoration: underline; }
.product-art-clickable { cursor: pointer; }
.product-art-clickable:focus-visible { outline: 3px solid #596872; outline-offset: -3px; }
.product-dialog { width: min(92vw, 600px); max-height: min(90vh, 760px); padding: 27px; border: 1px solid #dce7ef; border-radius: 18px; box-shadow: 0 22px 70px #0e243e44; color: #132237; }
.product-dialog::backdrop { background: #0a1b2b99; }
.product-dialog-close { float: right; border: 0; padding: 0 6px; background: transparent; color: #53697a; font-size: 2rem; line-height: 1; cursor: pointer; }
.product-dialog-image { display: block; width: 100%; max-height: 300px; object-fit: contain; margin: 0 auto 17px; }
.product-dialog-category { margin: 0; color: #253038; font-size: .85rem; font-weight: 750; }
.product-dialog h2 { margin: 8px 32px 20px 0; font-size: 1.65rem; }
.product-dialog-description { margin: 0 0 20px; color: #33485d; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.product-compatibility { margin: 0 0 18px; padding: 16px 18px; border-radius: 12px; background: #eef7fa; }
.product-compatibility h3 { margin: 0 0 8px; font-size: 1rem; }
.product-compatibility p, .product-compatibility ul { margin: 0; color: #33485d; line-height: 1.5; }
.product-compatibility ul { padding-left: 20px; }
.product-dialog-details { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 12px; margin: 0; padding: 18px 0; border-top: 1px solid #e1e9f1; }
.product-dialog-details dt { color: #607184; }
.product-dialog-details dd { margin: 0; font-weight: 650; }
.add-cart:hover { background: #121c21; }
.add-cart:disabled { cursor: not-allowed; background: #d9e3ec; color: #64788b; }
.cart-backdrop { position: fixed; inset: 0; z-index: 10; background: rgba(10, 27, 43, .48); }
.cart-panel { position: fixed; inset: 0 0 0 auto; z-index: 11; width: min(100%, 430px); display: flex; flex-direction: column; background: white; box-shadow: -14px 0 40px rgba(0, 0, 0, .18); }
.cart-panel[hidden], .cart-backdrop[hidden] { display: none; }
body.cart-open { overflow: hidden; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid #e1e9f1; }
.cart-header h2 { margin: 0; font-size: 1.45rem; }
.cart-close { border: 0; background: transparent; cursor: pointer; font-size: 2rem; line-height: 1; color: #53697a; }
.cart-items { flex: 1; min-height: 70px; overflow-y: auto; padding: 12px 24px; }
.cart-item { padding: 18px 0; border-bottom: 1px solid #e1e9f1; }
.cart-item-name { margin: 0 0 5px; font-weight: 750; }
.cart-item-meta { color: #607184; font-size: .86rem; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.cart-quantity { display: flex; align-items: center; gap: 8px; }
.cart-quantity button { width: 31px; height: 31px; border: 1px solid #cbd9e5; border-radius: 8px; background: white; cursor: pointer; }
.cart-quantity button:disabled { color: #b0bdc8; cursor: not-allowed; }
.cart-remove { border: 0; padding: 4px 0; background: transparent; color: #a43636; cursor: pointer; font-size: .84rem; text-decoration: underline; }
.cart-footer { flex-shrink: 0; max-height: 72vh; overflow-y: auto; padding: 20px 24px 24px; border-top: 1px solid #e1e9f1; }
.cart-total { display: flex; justify-content: space-between; gap: 12px; font-size: 1.22rem; }
.cart-note { margin: 15px 0 0; color: #607184; font-size: .86rem; line-height: 1.5; }
.shipping-panel { margin: 14px 0; padding: 13px; border: 1px solid #d3e2ee; border-radius: 10px; background: #f5faff; }
.shipping-panel label { display: block; margin-bottom: 7px; font-weight: 650; }
.shipping-panel select { width: 100%; padding: 10px; border: 1px solid #a9bfd3; border-radius: 8px; background: white; color: #132237; }
.cart-empty { padding: 36px 0; color: #607184; text-align: center; }

.checkout-toggle, #submit-order { display: block; width: 100%; border: 0; border-radius: 10px; padding: 13px; margin-top: 15px; background: #253038; color: white; font-weight: 750; cursor: pointer; }
.checkout-toggle:disabled, #submit-order:disabled { background: #b5c8d0; cursor: not-allowed; }
.checkout-form { display: grid; gap: 11px; margin-top: 16px; max-height: 48vh; overflow-y: auto; padding: 2px; }
.checkout-form[hidden], #address-label[hidden], #pickup-label[hidden] { display: none; }
.checkout-step, .checkout-fields { display: grid; gap: 11px; }
.checkout-step[hidden], .checkout-fields[hidden], #person-name-label[hidden], #pickup-payment[hidden], #shipping-panel[hidden], .checkout-actions button[hidden] { display: none; }
.step-label { margin: 0; color: #52657a; font-weight: 700; }
.checkout-form label.choice { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid #cbd9e5; border-radius: 9px; background: #f8fbfe; }
.checkout-form label.choice input { width: auto; margin: 0; }
.checkout-actions { display: flex; gap: 10px; }
.checkout-actions button { flex: 1; padding: 13px; border-radius: 10px; border: 1px solid #253038; background: #253038; color: white; font-weight: 750; cursor: pointer; }
.checkout-actions #previous-step { background: white; color: #253038; }
.checkout-actions button:disabled { background: #b5c8d0; border-color: #b5c8d0; cursor: not-allowed; }
.checkout-actions #submit-order { width: auto; margin-top: 0; }
#submit-order[hidden] { display: none; }
.checkout-form h3 { margin: 0; font-size: 1.1rem; }
.checkout-form label { display: grid; gap: 5px; font-size: .9rem; font-weight: 650; }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding: 10px 11px; border: 1px solid #cbd9e5; border-radius: 9px; color: #132237; background: white; }
.checkout-message { margin: 0; color: #a43636; font-size: .88rem; }
.checkout-message.success { color: #187452; font-weight: 700; }
.checkout-legal { margin: 4px 0 0; color: #52657a; font-size: .79rem; line-height: 1.5; }

.pickup-hours { margin: -3px 0 3px; color: #52657a; font-size: .86rem; line-height: 1.4; }

/* Shop identity: a fixed machine control bar, print-bed grid and filament accent. */
:root { background: #f2f4f5; color: #253038; }
body { --header-height: 76px; padding-top: var(--header-height); background: radial-gradient(circle at 85% 14%, #e6ebee, transparent 33%), #f2f4f5; }
.topbar { position: fixed; z-index: 20; inset: 0 0 auto; height: var(--header-height); background: #253038; border-bottom: 2px solid #d2d9dd; box-shadow: 0 10px 30px #13252125; }
.top-inner { height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #ffffff; letter-spacing: -.05em; }
.brand::before { content: ""; width: 25px; height: 22px; border: 3px solid #d2d9dd; border-top-width: 7px; border-radius: 3px; background: linear-gradient(#d2d9dd 0 0) center 12px / 11px 3px no-repeat; box-shadow: inset 0 -4px #253038; }
.brand span { color: #ffffff; }
.top-note { color: #d2d9dd; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 750; }
.cart-toggle { border: 1px solid #a6b2ba; background: #253038; border-radius: 8px; }
.cart-toggle:hover { background: #121c21; }
.cart-badge { background: #ffffff; color: #253038; }
main { padding-top: 36px; }
.catalog-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 34%); min-height: 292px; margin: 0 0 32px; overflow: hidden; border: 1px solid #253038; border-radius: 18px; color: #ffffff; background: #253038; box-shadow: 0 20px 40px #25303816; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 38px 44px; }
.catalog-hero .eyebrow { color: #d2d9dd; font-size: .73rem; letter-spacing: .15em; }
.catalog-hero h1 { max-width: 670px; font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.08; margin-bottom: 18px; }
.catalog-hero h1 span { color: #ffffff; }
.catalog-hero .intro { max-width: 520px; margin: 0; color: #d2d9dd; font-size: 1rem; }
.hero-visual { position: relative; overflow: hidden; min-height: 290px; background: linear-gradient(110deg, #25303805, #121c2199), repeating-linear-gradient(0deg, #ffffff0b 0 1px, transparent 1px 26px), repeating-linear-gradient(90deg, #ffffff0b 0 1px, transparent 1px 26px); }
.hero-rail { position: absolute; top: 48px; left: 8%; right: 0; height: 7px; border-radius: 6px; background: #a6b2ba; box-shadow: 0 11px 0 #191a1d, 0 -13px 0 #46535c; }
.hero-nozzle { position: absolute; z-index: 2; top: 52px; left: 49%; width: 66px; height: 53px; transform: translateX(-50%); border: 4px solid #a6b2ba; border-radius: 6px 6px 11px 11px; background: linear-gradient(90deg, #596872, #253038 45%, #596872); box-shadow: 0 6px 0 #121c21; }
.hero-nozzle::after { content: ""; position: absolute; left: 22px; bottom: -25px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 22px solid #d2d9dd; }
.hero-print { position: absolute; left: 50%; bottom: 56px; width: 124px; height: 84px; transform: translateX(-50%) skewY(-9deg); border: 2px solid #d2d9dd; border-radius: 7px 7px 4px 4px; background: repeating-linear-gradient(0deg, #74848f 0 3px, #a6b2ba 3px 5px); box-shadow: 18px 13px 0 #46535c, 18px 13px 0 2px #d2d9dd, 0 0 48px #a6b2ba44; }
.hero-plate { position: absolute; bottom: 37px; left: 8%; right: 5%; height: 13px; border: 2px solid #a6b2ba; transform: skewX(-25deg); background: #596872; box-shadow: 0 10px 0 #121c21; }
.search-label input, .filament-filters select, .checkout-form input, .checkout-form select, .checkout-form textarea { border-color: #cbd2d7; }
.search-label input { border-radius: 9px; box-shadow: 0 4px 16px #25303809; }
input:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #596872; }
.filters { border-color: #d7dde1; border-radius: 12px; box-shadow: 0 8px 24px #2530380a; }
.filters h2 { text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.filter-option { border-radius: 7px; }
.filter-option:hover { background: #edf0f2; }
.filter-option.active { color: #253038; background: #e6ebee; box-shadow: inset 3px 0 #253038; }
.grid { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 18px; }
.product { border-color: #d7dde1; border-radius: 12px; box-shadow: 0 8px 24px #2530380b; transition: transform .16s ease, box-shadow .16s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 15px 30px #2530381a; }
.product-art { background: repeating-linear-gradient(0deg, #d7dde188 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, #d7dde188 0 1px, transparent 1px 22px), #f0f3f5; }
.product-art::before { border-color: #a6b2ba; border-radius: 8px; }
.art-symbol, .product-name-button:hover { color: #253038; }
.product-meta { color: #63717b; text-transform: uppercase; letter-spacing: .045em; font-size: .7rem; }
.product-bottom { border-color: #d7dde1; }
.stock { color: #286449; background: #e6f4e8; }
.add-cart, .checkout-toggle, #submit-order, .checkout-actions button { background: #253038; border-color: #253038; border-radius: 8px; }
.add-cart:hover { background: #121c21; }
.product-more { border-color: #b9c4cc; color: #46535c; border-radius: 8px; }
.product-more:hover, .pagination button:hover { background: #edf0f2; }
.pagination button[aria-current="page"] { background: #253038; border-color: #253038; }
.site-footer a, .policy-page a, .checkout-legal a { color: #253038; }
.policy-back { color: #ffffff; }
#catalog { scroll-margin-top: calc(var(--header-height) + 18px); }
@media (max-width: 760px) {
  .catalog-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px; }
  .hero-visual { min-height: 145px; }
  .hero-rail { top: 6px; }
  .hero-nozzle { top: 10px; }
  .hero-print { bottom: 33px; height: 50px; }
  .hero-plate { bottom: 15px; }
}
@media (max-width: 600px) {
  body { --header-height: 66px; }
  main { padding-top: 22px; }
  .hero-copy { padding: 26px 22px; }
  .catalog-hero h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero-visual { min-height: 110px; }
  .hero-print { width: 92px; height: 37px; bottom: 29px; }
}
@media (prefers-reduced-motion: reduce) { .product { transition: none; } }

.variant-picker { display: grid; gap: 7px; margin: 12px 0 2px; color: #46535c; font-size: .88rem; font-weight: 700; }
.variant-picker select { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #b9c4cc; border-radius: 8px; background: #fff; color: #253038; font: inherit; }
.product-dialog .variant-picker { margin-bottom: 17px; }
.product-dialog-art:empty { display: none; }


.cart-item-variant { display:block; margin:5px 0; color:#33485d; font-size:.86rem; line-height:1.5; overflow-wrap:anywhere; }
.checkout-review-items { list-style:none; padding:0; margin:0; }
.checkout-review-line { display:grid; gap:4px; padding:12px 0; border-bottom:1px solid #e1e9f1; font-size:.9rem; }
.last-order-link, .order-status-link { text-decoration:underline; text-underline-offset:3px; }
.last-order-link[hidden] { display:none; }
.checkout-recovery { padding:12px; border:1px solid #cbd9e5; border-radius:9px; }
.checkout-recovery[hidden] { display:none; }
.checkout-recovery button { display:block; width:100%; margin:8px 0; padding:10px; background:white; border:1px solid #253038; border-radius:8px; cursor:pointer; }
.order-status-main { max-width:820px; margin:36px auto 60px; }
.order-status-card { padding:28px; background:white; border:1px solid #dce7ef; border-radius:18px; box-shadow:0 8px 24px #0e243e0a; }
.order-status-card h1 { margin:0 0 24px; font-size:1.9rem; }
.order-status-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:24px 0; }
.order-status-label { color:#607184; margin:0 0 6px; font-size:.88rem; }
.order-status-value { margin:0; font-size:1.12rem; font-weight:750; }
.order-status-items { padding:0; list-style:none; }
.order-status-items li { display:grid; gap:6px; padding:16px 0; border-bottom:1px solid #e1e9f1; }
.order-status-total { display:flex; justify-content:space-between; gap:20px; margin:14px 0; }
.order-status-actions { display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 12px; }
.order-status-actions button, .order-status-actions .order-status-shop { border:1px solid #253038; border-radius:9px; background:white; color:#253038; padding:12px 18px; cursor:pointer; font-weight:700; }
.order-status-actions .primary { background:#253038; color:white; }
.order-status-actions button:disabled { opacity:.5; cursor:not-allowed; }
.order-status-actions [hidden] { display:none; }
.order-status-message { color:#33485d; line-height:1.6; }
.order-status-back { display:inline-block; margin:20px 0; color:#253038; text-decoration:underline; }
@media(max-width:600px) { .order-status-card { padding:20px; } .order-status-grid { grid-template-columns:1fr; } .last-order-link { font-size:.83rem; } }

/* Brand palette aligned with 3dps.lt: graphite, blue-gray and white. */
.catalog-hero { background: linear-gradient(135deg, #191a1d, #253038); }
.brand::before { border-color: #d2d9dd; background-color: transparent; }
.site-footer { max-width: none; background: #253038; color: #d2d9dd; border-top-color: #46535c; padding-left: max(24px, calc((100% - 1132px) / 2)); padding-right: max(24px, calc((100% - 1132px) / 2)); }
.site-footer a { color: #ffffff; }
.product-dialog-category, .eyebrow, .order-status-back { color: #253038; }
.catalog-hero .eyebrow { color: #d2d9dd; }
.product-more:hover, .checkout-recovery button:hover, .order-status-actions button:hover, .order-status-actions .order-status-shop:hover { background: #edf0f2; }
.checkout-actions #previous-step { color: #253038; }
.checkout-form input[type=radio], .checkout-form input[type=checkbox] { accent-color: #253038; }

/* 3dps.lt visual language: broad dark sections, quiet typography, square controls. */
:root { color-scheme: dark; background: #191a1d; color: #fff; }
body { --header-height: 98px; background: linear-gradient(135deg, #191a1d, #253038); color: #fff; }
.topbar { background: #253038; border-bottom: 1px solid #46535c; box-shadow: none; }
.top-inner, main { max-width: 1240px; }
.top-inner { gap: 28px; }
.brand { width: 117px; height: 38px; flex-shrink: 0; font-size: 0; background: url("/assets/logo.png") center / contain no-repeat; }
.brand span { font-size: 0; }
.brand::before { display: none; }
.top-note { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 400; color: #fff; }
.top-actions { gap: 28px; }
.cart-toggle { padding: 11px 18px; background: transparent; border: 1px solid #d2d9dd; border-radius: 8px; font-weight: 600; }
.cart-toggle:hover { background: #121c21; }
main { padding-top: 48px; }
.catalog-hero { display: grid; min-height: 292px; margin-bottom: 32px; border: 1px solid #46535c; border-radius: 18px; background: linear-gradient(135deg, #191a1d, #253038); box-shadow: 0 20px 40px #0002; }
.hero-copy { padding: 38px 44px; }
.hero-visual { display: block; }
.catalog-hero .eyebrow { font-weight: 400; letter-spacing: .05em; color: #d2d9dd; }
.catalog-hero h1 { max-width: 920px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 22px; }
.catalog-hero h1 span { color: #fff; }
.catalog-hero .intro { max-width: 780px; font-size: 1.1rem; font-weight: 400; color: #d2d9dd; line-height: 1.7; }
.count, .filter-count { color: #c4cdd3; }
.search-label input, .filament-filters select, .variant-picker select, .quantity-picker input { color-scheme: light; background: #fff; color: #253038; border-radius: 9px; box-shadow: 0 4px 16px #0002; }
.filters { background: #253038; border-color: #46535c; border-radius: 12px; box-shadow: 0 8px 24px #0002; padding: 20px; }
.filters h2 { font-weight: 600; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.filter-option { color: #fff; border-radius: 7px; font-weight: 500; }
.filter-option:hover { background: #34434e; }
.filter-option.active { background: #121c21; color: #fff; box-shadow: inset 2px 0 #fff; }
.filament-filters { border-color: #46535c; }
.filament-filters label, .variant-picker, .quantity-picker { color: #d2d9dd; }
.product { background: #253038; border: 1px solid #46535c; border-radius: 12px; box-shadow: 0 8px 24px #0002; }
.product:hover { transform: translateY(-3px); box-shadow: 0 15px 30px #0003; border-color: #83939e; }
.product-art { background: #fff; height: 190px; }
.product-art::before, .art-lines { display: none; }
.art-symbol { color: #46535c; }
.product-body { padding: 22px; }
.product h2 { font-weight: 600; letter-spacing: 0; }
.product-meta, .details { color: #c4cdd3; text-transform: none; letter-spacing: 0; }
.product-bottom { border-color: #46535c; }
.price { color: #fff; font-weight: 600; }
.add-cart { background: #000; border: 1px solid #000; border-radius: 8px; font-weight: 600; }
.add-cart:hover { background: #121c21; border-color: #a6b2ba; }
.add-cart:disabled { background: #46535c; color: #c4cdd3; border-color: #46535c; }
.product-more { background: transparent; color: #fff; border-color: #a6b2ba; border-radius: 8px; font-weight: 600; }
.product-more:hover { background: #34434e; }
.product-name-button:hover { color: #fff; }
.message { background: #253038; color: #d2d9dd; border-color: #46535c; border-radius: 18px; }
.pagination button { background: #253038; color: #fff; border-color: #83939e; border-radius: 9px; }
.pagination button:hover { background: #34434e; }
.pagination button[aria-current="page"] { background: #fff; border-color: #fff; color: #253038; }
.site-footer { background: #253038; border-color: #46535c; padding-top: 40px; padding-bottom: 40px; color: #fff; }
.policy-page p, .policy-page ul, .policy-page .policy-updated { color: #d2d9dd; }
.policy-page a { color: #fff; }
.policy-template, .policy-page code { background: #253038; border-color: #46535c; }
.cart-panel, .product-dialog, .order-status-card { color-scheme: light; background: #fff; color: #253038; }
.product-dialog .variant-picker { color: #46535c; }
.order-status-back { color: #fff; }
.order-status-actions .primary:hover { background: #121c21; }
@media(max-width:760px) {
  .top-actions { gap: 14px; }
  .catalog-hero { margin-bottom: 30px; }
  .hero-copy { padding: 24px; }
}
@media(max-width:600px) {
  body { --header-height: 80px; }
  .brand { width: 100px; height: 34px; }
  .top-inner { min-height: 80px; padding-left: 16px; padding-right: 16px; gap: 12px; }
  .cart-toggle { padding: 10px 12px; }
  main { padding-top: 28px; }
  .catalog-hero h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .catalog-hero .intro { font-size: 1rem; }
}

/* Compact catalog cards; four products per row on desktop. */
@media (min-width: 1180px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 950px) and (max-width: 1179px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 949px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
.product-art { height: 155px; }
.product-body { padding: 16px; }
.product h2 { font-size: 1.08rem; margin: 12px 0 8px; }
.product-bottom { margin-top: 14px; padding-top: 13px; flex-wrap: wrap; }
.price { font-size: 1.2rem; }
.product-actions { flex-wrap: wrap; }
.product-actions .add-cart { min-width: 105px; }
.product-actions .product-more { flex: 1; min-width: 74px; padding: 10px; }

/* Product detail route keeps the existing cart and checkout in the page shell. */
.product-route .catalog-hero, .product-route .toolbar, .product-route .filters,
.product-route .pagination { display: none; }
.collection-route .catalog-hero, .collection-route .toolbar, .collection-route .filters,
.collection-route .pagination, .collection-route .collection-links,
.product-route .collection-links { display: none; }
.collection-route .catalog-layout { display: block; }
.collection-links { display: flex; flex-wrap: wrap; gap: 12px; margin: -8px 0 22px; }
.collection-links a { padding: 8px 13px; border: 1px solid #83939e; border-radius: 8px; color: #fff; }
.collection-links a:hover { background: #34434e; }
.collection-page { padding: 20px 0 35px; }
.collection-page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.collection-intro { max-width: 800px; color: #d2d9dd; line-height: 1.65; margin: 0 0 30px; }
.collection-card-image { display: block; width: 100%; height: 180px; object-fit: contain; background: white; }
.collection-page .product { padding: 16px; }
.collection-page .product h2 { font-size: 1.12rem; }
.product-type-link { display: inline-block; margin: 0 0 15px; text-decoration: underline; text-underline-offset: 3px; }
.product-route .catalog-layout { display: block; }
.product-page { padding: 20px 0 35px; }
.product-breadcrumb { margin-bottom: 25px; color: #d2d9dd; font-size: .9rem; }
.product-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.product-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.product-page-art { display: grid; place-items: center; min-height: 400px; padding: 18px; background: #fff; border: 1px solid #d7dde1; border-radius: 12px; }
.product-page-art img { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.product-page-info { min-width: 0; background: #fff; color: #253038; padding: 28px; border: 1px solid #d7dde1; border-radius: 12px; }
.product-page-info h1 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.2; }
.product-page-info .variant-picker { display: block; margin: 20px 0; }
.product-page-info .variant-picker, .product-page-info .quantity-picker { color: #46535c; }
.product-page-info .product-dialog-details { margin-top: 20px; }
.product-page-info .product-compatibility { margin-top: 20px; }
.product-page-info .product-compatibility h2 { font-size: 1.15rem; }
.product-page-variants ul { padding-left: 20px; line-height: 1.9; }
.product-page-variants a { text-decoration: underline; }
.product-page-variants a[aria-current="page"] { font-weight: 800; }
.product-page-loading { color: #607184; }
.product-more { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
a.product-name-button:focus-visible, a.product-more:focus-visible { outline: 2px solid #596872; outline-offset: 2px; }
@media (max-width: 760px) {
  .product-page-layout { grid-template-columns: 1fr; gap: 16px; }
  .product-page-art { min-height: 260px; }
  .product-page-info { padding: 20px; }
}

/* Shared navigation, company pages and contact footer. */
.site-nav { display:flex; align-items:center; gap:clamp(12px,2vw,30px); margin-left:auto; white-space:nowrap; }
.site-nav a { padding:8px 0; color:#d2d9dd; font-size:.92rem; font-weight:650; border-bottom:2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color:#fff; border-bottom-color:#fff; }
.site-nav a:focus-visible, .site-footer a:focus-visible, .info-actions a:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.top-actions { flex-shrink:0; }
.site-footer { display:block; }
.footer-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; text-align:center; }
.footer-grid > div, .footer-grid nav { display:block; min-width:0; }
.footer-grid h2 { margin:0 0 16px; color:#fff; font-size:.96rem; font-weight:750; }
.footer-grid p { margin:0; color:#d2d9dd; line-height:1.7; overflow-wrap:anywhere; }
.footer-grid a { display:block; width:fit-content; margin:0 auto 10px; text-decoration:none; overflow-wrap:anywhere; }
.footer-grid p a { display:inline; }
.footer-grid a:hover { text-decoration:underline; text-underline-offset:3px; }
.footer-bottom { text-align:center; max-width:1180px; margin:30px auto 0; padding-top:18px; border-top:1px solid #46535c; color:#b9c4cb; font-size:.86rem; }
.info-page { padding-top:48px; }
.info-page .eyebrow { color:#b9cbd4; font-size:.8rem; letter-spacing:.1em; }
.info-hero { padding:36px 0 28px; }
.info-hero h1 { max-width:960px; font-size:clamp(2.2rem,4.6vw,4.4rem); font-weight:650; line-height:1.13; letter-spacing:-.04em; }
.info-hero p:not(.eyebrow) { max-width:790px; margin:0; color:#d2d9dd; font-size:1.12rem; line-height:1.7; }
.info-hero p:not(.eyebrow) + p { margin-top:22px; }
.info-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.info-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 19px; border-radius:8px; font-weight:700; }
.primary-link { color:#253038; background:#fff; }
.primary-link:hover { background:#e8eef1; }
.secondary-link { color:#fff; border:1px solid #a6b2ba; }
.secondary-link:hover { background:#ffffff16; }
.info-section { padding:68px 0; border-bottom:1px solid #46535c; }
.info-section h2, .info-cta h2 { max-width:780px; margin:0 0 18px; font-size:clamp(1.8rem,3vw,2.7rem); font-weight:650; line-height:1.2; letter-spacing:-.03em; }
.info-section > p:not(.eyebrow), .info-cta p, .info-split p { max-width:780px; color:#d2d9dd; line-height:1.75; }
.info-cards, .material-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:30px; }
.info-cards article, .material-card { min-width:0; padding:26px; border:1px solid #46535c; border-radius:12px; background:#253038; }
.card-index { color:#a6b2ba; font-size:.78rem; letter-spacing:.12em; }
.info-cards h3, .material-card h3 { margin:18px 0 12px; font-size:1.27rem; }
.info-cards p, .material-card p { color:#d2d9dd; line-height:1.7; }
.info-cards a { display:inline-block; margin-top:10px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.info-split { display:grid; grid-template-columns:1.2fr 1fr; gap:60px; align-items:center; }
.check-list, .service-list { margin:20px 0 0; padding:0; list-style:none; }
.check-list li, .service-list li { padding:13px 0 13px 28px; border-bottom:1px solid #46535c; position:relative; color:#e6ebee; }
.check-list li::before, .service-list li::before { content:"✓"; position:absolute; left:0; color:#9fdae5; font-weight:800; }
.service-list { max-width:780px; }
.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; padding:0; margin:30px 0 0; list-style:none; counter-reset:step; }
.steps li { padding:24px; border-top:2px solid #9fdae5; background:#253038; counter-increment:step; }
.steps li::before { content:"0" counter(step); display:block; margin-bottom:20px; color:#a6b2ba; }
.steps b, .steps span { display:block; }
.steps span { margin-top:8px; color:#d2d9dd; line-height:1.5; }
.info-cta { margin:65px 0 20px; padding:42px; border:1px solid #657681; border-radius:14px; background:#253038; }
.material-index { display:flex; gap:10px; flex-wrap:wrap; padding:28px 0 0; }
.material-index a { padding:9px 13px; border:1px solid #657681; border-radius:7px; color:#fff; }
.material-index a:hover { background:#34434e; }
.material-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.material-card { scroll-margin-top:150px; }
.material-card h3:first-child { margin-top:0; }
.material-card h3:not(:first-child) { margin-top:32px; padding-top:28px; border-top:1px solid #46535c; }
.material-card dl { margin:24px 0 0; display:grid; grid-template-columns:115px 1fr; gap:12px; line-height:1.55; }
.material-card dt { font-weight:700; color:#fff; }
.material-card dd { margin:0; color:#d2d9dd; }
.info-section .material-note { margin-top:25px; font-size:.9rem; }
@media(max-width:1100px) { .top-note { display:none; } }
@media(max-width:850px) { .footer-grid { grid-template-columns:1fr; gap:28px; } body { --header-height:116px; } .top-inner { display:grid; grid-template-columns:auto 1fr; grid-template-rows:66px 50px; gap:0 14px; } .site-nav { grid-column:1/-1; grid-row:2; width:100%; overflow-x:auto; margin:0; gap:24px; scrollbar-width:thin; } .site-nav a { flex-shrink:0; } .top-actions { grid-column:2; grid-row:1; justify-self:end; } .info-cards, .steps { grid-template-columns:repeat(2,minmax(0,1fr)); } .info-split { grid-template-columns:1fr; gap:20px; } }
@media(max-width:600px) { body { --header-height:116px; } .top-inner { min-height:116px; } .top-actions { gap:8px; } .cart-feedback { display:none; } .info-page { padding-top:22px; } .info-hero { padding:22px 0; } .info-section { padding:46px 0; } .info-cards, .material-grid, .steps, .footer-grid { grid-template-columns:1fr; } .info-cta { padding:28px 24px; } .material-card dl { grid-template-columns:1fr; gap:4px; } .material-card dd { margin-bottom:12px; } }

/* Mobile purchase flow: one viewport, one scroll region, generous touch targets. */
.menu-toggle { display:none; }
.filters > summary { cursor:pointer; font-size:1rem; font-weight:700; min-height:44px; padding:10px 8px; }
.filters-content { padding-top:8px; }
#active-filter-count { display:inline-flex; align-items:center; justify-content:center; min-width:24px; margin-left:6px; padding:2px 6px; border-radius:20px; background:#fff; color:#253038; }
#active-filter-count[hidden] { display:none; }
.clear-filters { min-height:44px; padding:8px 12px; margin:0 0 12px; border:1px solid #657681; border-radius:8px; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.clear-filters:disabled { opacity:.5; cursor:default; }
.cart-backdrop { z-index:100; }
.cart-panel { z-index:101; inset:var(--cart-viewport-top,0px) 0 auto auto; height:100vh; height:var(--cart-viewport-height,100dvh); max-height:none; overflow:hidden; }
.cart-header { flex-shrink:0; padding-top:max(12px,env(safe-area-inset-top)); padding-bottom:12px; }
.cart-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scroll-padding:20px 0 90px; }
.cart-items { flex:none; min-height:0; overflow:visible; }
.cart-footer { max-height:none; overflow:visible; padding-bottom:max(24px,env(safe-area-inset-bottom)); }
.checkout-form { max-height:none; overflow:visible; }
.checkout-form input, .checkout-form select, .checkout-form textarea, .search-label input, .filament-filters select, .variant-picker select { font-size:16px; }
.checkout-form input:not([type=radio]):not([type=checkbox]), .checkout-form select, .checkout-form textarea, .filament-filters select, .variant-picker select { min-height:46px; }
.checkout-actions { position:sticky; bottom:0; z-index:2; padding:12px 0 max(12px,env(safe-area-inset-bottom)); background:#fff; box-shadow:0 -8px 12px #fff; }
.checkout-actions button, .checkout-form label.choice { min-height:48px; }
.cart-close, .product-dialog-close { min-width:48px; min-height:48px; display:inline-flex; align-items:center; justify-content:center; }
.cart-quantity button { width:44px; height:44px; }
.cart-remove { min-height:44px; padding:10px 4px; }
.pagination button { min-width:44px; min-height:44px; }
.add-cart, .product-more { min-height:46px; }
.step-label { scroll-margin:16px; }
.cart-toast { position:fixed; z-index:90; left:50%; bottom:max(20px,env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(560px,calc(100% - 24px)); display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:12px 14px; border:1px solid #a8c9b5; border-radius:12px; background:#e8f7ef; color:#135c3a; box-shadow:0 6px 24px #0003; }
.cart-toast[hidden], body.cart-open .cart-toast { display:none; }
.cart-toast > span { flex:1 1 220px; overflow-wrap:anywhere; }
.cart-toast button { min-height:44px; padding:8px 12px; border:1px solid currentColor; border-radius:8px; background:transparent; color:inherit; font:inherit; font-weight:700; cursor:pointer; }
#cart-toast-close { min-width:44px; margin-left:auto; }
@media(max-width:1024px) {
  .has-mobile-menu body { --header-height:calc(72px + env(safe-area-inset-top)); }
  .has-mobile-menu .topbar { padding-top:env(safe-area-inset-top); }
  .has-mobile-menu .top-inner { display:flex; min-height:70px; gap:8px; padding-left:max(12px,env(safe-area-inset-left)); padding-right:max(12px,env(safe-area-inset-right)); }
  .has-mobile-menu .brand { margin-right:auto; width:96px; }
  .has-mobile-menu .top-note { display:none; }
  .has-mobile-menu .top-actions { order:2; gap:8px; }
  .has-mobile-menu .menu-toggle { order:3; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-height:46px; padding:8px 10px; border:1px solid #a6b2ba; border-radius:8px; background:#253038; color:#fff; font:inherit; font-size:15px; cursor:pointer; }
  .has-mobile-menu .site-nav { position:absolute; inset:100% 0 auto; display:none; width:auto; margin:0; padding:12px max(16px,env(safe-area-inset-left)); max-height:calc(100dvh - var(--header-height)); overflow-y:auto; white-space:normal; background:#253038; border-bottom:1px solid #83939e; box-shadow:0 10px 20px #0003; }
  .has-mobile-menu .nav-open .site-nav { display:grid; gap:0; }
  .has-mobile-menu .site-nav a { display:flex; align-items:center; min-height:48px; padding:12px; }
  .catalog-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
  .filters { padding:8px 12px; }
  .filter-options { display:flex; flex-wrap:wrap; gap:6px; }
  .filter-option { flex:1 1 auto; width:auto; min-height:46px; }
  .filament-filters { margin:12px 0; }
  .cart-feedback { display:none; }
}
@media(max-width:600px) {
  .cart-panel { width:100%; max-width:none; }
  .cart-header, .cart-items, .cart-footer { padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); }
  .cart-item-bottom { flex-wrap:wrap; }
  .has-mobile-menu .brand { width:80px; height:32px; }
  .has-mobile-menu .cart-toggle { min-height:46px; padding:8px; font-size:14px; }
  .has-mobile-menu .cart-badge { margin-left:2px; }
  .has-mobile-menu .last-order-link { display:none; }
  .cart-toast > span { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) { .cart-scroll { scroll-behavior:auto; } }
.cart-feedback, .mobile-order-link { display:none; }
@media(max-width:1024px) { .has-mobile-menu .site-nav .mobile-order-link:not([hidden]) { display:flex; } }
.has-mobile-menu .site-nav .mobile-order-link[hidden] { display:none; }

/* Repair total sits between the logo and navigation; on phones it gets its own row. */
.repair-counter { flex:1 0 auto; display:flex; align-items:center; justify-content:center; align-self:stretch; color:#d2d9dd; font-family:inherit; font-size:.92rem; font-weight:650; font-variant-numeric:tabular-nums; text-align:center; white-space:nowrap; }
.repair-counter[hidden] { display:none; }
.topbar:has(.repair-counter) { height:auto; }
.topbar:has(.repair-counter) .top-inner { height:auto; }
@media(min-width:1025px) {
  .top-inner { gap:16px; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; }
  .site-nav { gap:16px; }
  .top-inner:has(.repair-counter:not([hidden])) .site-nav { margin-left:0; }
  .top-actions { gap:12px; }
}
@media(max-width:1024px) {
  .has-mobile-menu body:has(.repair-counter:not([hidden])) { --header-height:calc(112px + env(safe-area-inset-top)); }
  .has-mobile-menu .top-inner:has(.repair-counter:not([hidden])) { flex-wrap:wrap; padding-top:8px; padding-bottom:8px; }
  .repair-counter { order:4; flex:1 0 100%; min-width:0; max-width:100%; overflow-x:auto; }
}
.cart-keyboard-open .cart-header { padding-top:4px; padding-bottom:4px; }
.cart-keyboard-open .checkout-actions { position:static; }

/* Responsive catalog, product preview and accessible checkout feedback. */
.product, .product-body, .product-actions, .variant-picker, .product-page-info { min-width:0; }
.product h2, .product-dialog h2, .product-dialog-details dd, .product-page-info h1 { overflow-wrap:anywhere; }
.product-body { display:flex; flex-direction:column; flex:1; }
.product-bottom { margin-top:auto; }
.product select, .product-dialog select { width:100%; min-width:0; max-width:100%; }
.product-actions > * { max-width:100%; }
.product-art img, .collection-card-image, .product-page-art img { aspect-ratio:1; object-fit:contain; }
.product-dialog { width:min(92vw,760px); max-height:90dvh; overflow-y:auto; overscroll-behavior:contain; scroll-padding-block:64px 110px; }
.product-dialog-close { position:sticky; top:0; z-index:3; background:white; border-radius:8px; }
.product-dialog-image { height:clamp(180px,35vh,300px); aspect-ratio:1; }
.product-dialog-actions { position:sticky; bottom:-27px; z-index:2; display:grid; grid-template-columns:minmax(110px,1fr) minmax(0,2fr); align-items:center; gap:16px; padding:16px 0; background:white; border-top:1px solid #dce7ef; }
.product-dialog-actions .quantity-picker { margin:0; color:#46535c; flex-wrap:wrap; }
.product-dialog-actions .add-cart { margin:0; min-height:48px; white-space:normal; }
.product-dialog-details { grid-template-columns:minmax(0,1fr) minmax(0,2fr); }
.checkout-progress { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; list-style:none; padding:0; margin:0 0 18px; font-size:.82rem; }
.checkout-progress li { padding:8px; border:1px solid #b6c2ca; border-radius:6px; color:#46535c; }
.checkout-progress [aria-current="step"] { background:#253038; color:white; font-weight:700; border-color:#253038; }
.checkout-progress .completed { border-color:#436e52; color:#2c5839; }
.field-error { display:block; flex-basis:100%; color:#a31e26; font-size:.9rem; font-weight:600; line-height:1.45; margin-top:6px; }
.checkout-form [aria-invalid="true"] { border:2px solid #a31e26; }
.checkout-form input, .checkout-form select, .checkout-form textarea { scroll-margin-block:28px 100px; }
@media (min-width:601px) and (max-width:1179px) {
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .grid { grid-template-columns:minmax(0,1fr); }
  .product-art { height:210px; }
  .product-dialog { position:fixed; inset:0; width:100%; max-width:100%; height:100dvh; max-height:100dvh; margin:0; border:0; border-radius:0; padding:16px; padding-top:max(16px,env(safe-area-inset-top)); padding-bottom:max(16px,env(safe-area-inset-bottom)); }
  .product-dialog-actions { bottom:calc(-1 * max(16px,env(safe-area-inset-bottom))); padding-bottom:max(16px,env(safe-area-inset-bottom)); gap:10px; }
  .product-dialog-actions .quantity-picker { gap:5px; }
  .product-dialog h2 { font-size:1.4rem; }
}

/* Plain catalog introduction without a banner or illustration. */
.catalog-hero.catalog-intro { display:block; min-height:0; padding:0; margin:0 0 24px; border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
.catalog-hero.catalog-intro .eyebrow { max-width:none; margin:0 0 12px; color:#b9cbd4; font-size:.8rem; font-weight:800; line-height:1.5; letter-spacing:.1em; }
.catalog-hero.catalog-intro .intro { max-width:790px; margin:0; color:#d2d9dd; font-size:1.12rem; line-height:1.7; }
.product-route .catalog-intro, .collection-route .catalog-intro { display:none; }

.printer-filters { min-width:0; margin:22px 0 0; padding:16px 0 0; border:0; border-top:1px solid #46535c; }
.printer-filters legend { padding:0; font-size:1rem; font-weight:700; color:#fff; }
.filter-help { margin:8px 0 12px; color:#d2d9dd; font-size:.85rem; line-height:1.5; }
.printer-model-choice { display:flex; align-items:center; gap:10px; min-height:46px; padding:7px 0; cursor:pointer; color:#fff; overflow-wrap:anywhere; }
.printer-model-choice input { flex:0 0 auto; width:20px; height:20px; margin:0; accent-color:#268bd2; }
.printer-model-choice span { min-width:0; }
.printer-model-choice:focus-within { outline:2px solid #83c9f4; outline-offset:2px; border-radius:4px; }

.order-status-actions .order-status-shop { display:inline-flex; align-items:center; justify-content:center; min-height:44px; box-sizing:border-box; text-decoration:none; text-align:center; max-width:100%; }

.commerce-details{min-width:0;overflow-wrap:anywhere}.commerce-details dl{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:8px 14px}.commerce-details dt{font-weight:600}.commerce-details dd{margin:0;white-space:pre-line}.commerce-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-block:16px}.commerce-gallery a{max-width:100%;border-radius:10px}.commerce-gallery img{max-width:100%;height:auto;object-fit:contain;border-radius:10px}@media(max-width:430px){.commerce-details dl{grid-template-columns:1fr}.commerce-details dd{margin-bottom:8px}.commerce-gallery a{width:calc(50% - 5px)}}
