:root { --accent:#076883; --brand:#40b9df; --brand-ink:#112f3a; --ink:#242424; --line:#d0d0d0; --font: Arial, sans-serif; }
*, *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); font:15px/1.5 var(--font); background:#fff; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--accent); text-decoration:underline; }
button, input, textarea { font:inherit; }
button, summary { cursor:pointer; }
:focus-visible { outline:2px solid #075570; outline-offset:3px; }
.header :focus-visible, footer :focus-visible { outline-color:white; }
[hidden] { display:none !important; }
p, h1, h2 { margin:0; }
img { display:block; max-width:100%; }
.wrap { width:min(100% - 48px, 1157px); margin-inline:auto; }
.header { background:var(--accent); color:white; }
.header-inner { min-height:80px; display:flex; align-items:center; gap:30px; }
.logo { display:inline-flex; align-items:center; gap:9px; color:white; font-size:39px; font-weight:800; line-height:1; letter-spacing:-.075em; white-space:nowrap; }
.logo img { border-radius:50%; flex:none; }
.logo strong { font-weight:900; }
.logo:hover { color:white; text-decoration:none; }
.menu { position:relative; }
.menu summary { list-style:none; font-size:29px; line-height:1; }
.menu summary::-webkit-details-marker { display:none; }
.menu nav { position:absolute; z-index:2; width:210px; top:39px; left:0; color:var(--ink); background:white; box-shadow:0 3px 16px #0003; padding:8px; }
.menu nav a { display:block; padding:8px; }
.search { display:flex; position:relative; flex:1; max-width:594px; height:44px; margin-left:10px; }
.search input { width:100%; min-width:0; border:0; padding:0 15px; font-size:14px; }
.search button { border:0; color:white; padding:0 20px; background:#333; font-weight:bold; }
#search-result { position:absolute; top:48px; left:0; z-index:2; background:white; color:var(--ink); padding:9px; box-shadow:0 3px 10px #0003; }
.cart-button { margin-left:auto; position:relative; color:white; background:transparent; border:0; min-width:48px; min-height:40px; }
.bag-icon { position:relative; display:block; width:18px; height:18px; border:1.5px solid white; margin:auto; border-radius:3px; }
.bag-icon::before { content:""; position:absolute; width:8px; height:8px; border:1.5px solid white; border-bottom:0; border-radius:5px 5px 0 0; top:-6px; left:3.5px; }
#cart-count { position:absolute; right:0; top:0; background:var(--brand-ink); color:white; border-radius:40px; padding:0 5px; font-size:11px; }
.breadcrumb { padding-block:20px 15px; color:#474747; font-size:14px; }
h1 { font-size:28px; line-height:1.23; margin:5px 0 39px; }
.product { display:grid; grid-template-columns:minmax(0, 2.05fr) minmax(280px, 1fr); gap:40px; align-items:start; }
.gallery { display:grid; grid-template-columns:99px minmax(0, 1fr); gap:20px; align-items:start; }
.thumbs { display:grid; gap:12px; }
.thumbs button { width:100%; aspect-ratio:1; padding:2px; background:white; border:2px solid transparent; }
.thumbs button[aria-pressed="true"] { border-color:var(--accent); }
.thumbs img { width:100%; height:100%; object-fit:contain; }
.main-image { display:block; cursor:zoom-in; }
.main-image img { width:100%; height:auto; }
.product-info { padding-top:5px; }
.price { margin:0 0 20px; color:var(--accent); }
.price strong { font-size:18px; }
.price p, .categories { color:#585858; font-size:14px; }
fieldset { border:0; padding:0; margin:0 0 14px; min-width:0; }
legend { padding:0; margin-bottom:6px; }
.choices { display:flex; flex-wrap:wrap; gap:5px; }
.choices label { position:relative; }
.choices input { opacity:0; position:absolute; width:1px; height:1px; }
.choices span { display:block; padding:4px 7px; min-height:31px; line-height:21px; border:1px solid #aaa; border-radius:3px; cursor:pointer; color:#151515; }
.choices input:checked + span { background:var(--accent); color:white; border-color:#06485b; box-shadow:inset 0 0 0 1px #06485b; }
.choices input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
.clear { padding:0; border:0; background:none; color:#474747; font-size:12px; }
.clear:hover { text-decoration:underline; }
.availability { color:var(--accent); margin:18px 0 21px; font-size:14px; }
.quantity { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:3px; height:44px; }
.quantity button, .quantity input { text-align:center; border:0; background:white; height:38px; }
.quantity button { font-size:24px; min-width:35px; }
.quantity input { width:70px; font-weight:700; appearance:textfield; }
.quantity input::-webkit-inner-spin-button { appearance:none; }
.unit { font-weight:bold; margin:11px 0 9px 10px; }
.primary { width:100%; border:0; border-radius:2px; min-height:45px; padding:8px 12px; background:var(--accent); color:white; font-weight:700; }
.primary:hover { background:#055369; }
.categories { margin:22px 0; }
.categories a { color:var(--accent); }
.description { margin:34px 0 48px; border:1px solid #e0e0e0; }
.description summary { font-size:18px; font-weight:700; padding:12px 16px; background:#f7f7f7; }
.description div { padding:12px 16px; }
.description p + p { margin-top:9px; }
footer { background:var(--accent); color:white; }
.footer-inner { min-height:78px; display:flex; justify-content:space-between; align-items:center; }
.footer-inner a:hover { color:white; }
dialog { width:min(535px, calc(100% - 28px)); border:1px solid var(--line); padding:20px; border-radius:4px; color:var(--ink); }
dialog::backdrop { background:#1616169c; }
.dialog-head, .cart-line { display:flex; justify-content:space-between; align-items:start; gap:12px; border-bottom:1px solid var(--line); padding-bottom:8px; margin-bottom:10px; }
.close, .cart-line button { border:0; background:white; color:var(--accent); }
.close { font-size:25px; line-height:1; }
.cart-note, #status:not(:empty), #manual-copy { margin-top:12px; }
#copy-quote { margin-top:10px; }
#manual-copy { display:block; }
#quote-text { display:block; width:100%; }
#photo-dialog { width:min(645px, calc(100% - 28px)); }
.zoom-close { float:right; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width:850px) { .header-inner { gap:16px; } .product { gap:21px; grid-template-columns:minmax(0, 1.2fr) minmax(245px, 1fr); } .gallery { grid-template-columns:65px minmax(0, 1fr); gap:8px; } }
@media (max-width:620px) { .wrap { width:calc(100% - 30px); } .header-inner { flex-wrap:wrap; padding-block:12px; gap:11px 15px; } .logo { font-size:33px; } .search { order:4; flex-basis:100%; margin:0; height:39px; } .product { grid-template-columns:1fr; gap:17px; } .gallery { grid-template-columns:58px minmax(0, 1fr); } h1 { margin-bottom:19px; font-size:25px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.catalogue { padding-block:22px 28px; }
.catalogue h1 { margin:5px 0 16px; }
.catalogue-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.catalogue-card { display:flex; align-items:center; gap:16px; border:1px solid var(--line); border-radius:4px; padding:12px; }
.catalogue-card:hover { border-color:var(--accent); text-decoration:none; }
.catalogue-card img { width:clamp(85px,15vw,155px); height:auto; }
.catalogue-card h2 { font-size:clamp(17px,2vw,22px); }
.catalogue-card strong { display:inline-block; margin-top:5px; color:var(--accent); }
.product > h1 { grid-column:1 / -1; margin-bottom:-18px; }
@media(max-width:620px) {
  .catalogue-products { grid-template-columns:1fr; gap:9px; }
  .product > h1 { margin-bottom:0; }
}
.footer-inner { gap:20px; flex-wrap:wrap; padding-block:20px; }
.footer-contacts h2 { font-size:17px; margin:0 0 8px; }
.footer-contacts address { display:flex; flex-wrap:wrap; gap:8px 20px; font-style:normal; }
.footer-contacts a { white-space:nowrap; }
.gallery { grid-template-columns:minmax(0,1fr); }
.footer-contacts a { display:inline-flex; align-items:center; gap:7px; }
.contact-icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.order-summary {
  margin:14px 0 12px;
  padding:14px 16px;
  border:1px solid #b0d5e1;
  border-left:4px solid var(--accent);
  border-radius:5px;
  background:#edf7fb;
}
.order-summary dl { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; margin:0; }
.order-summary dt { color:#244853; font-weight:700; font-size:13px; }
.order-summary dd { margin:2px 0 0; color:#06465a; font-size:clamp(24px,4vw,32px); font-weight:800; line-height:1.15; font-variant-numeric:tabular-nums; }
.order-summary p { margin:8px 0 0; color:#244853; font-size:13px; }
.cart-button { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
.checkout { padding-block:24px 40px; }
.checkout h1 { margin:12px 0 20px; }
.checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
.checkout-card { border:1px solid var(--line); border-radius:5px; padding:16px; min-width:0; }
.checkout-card h2 { margin:0 0 12px; }
#order-form > label, #delivery-address label { display:block; margin:12px 0; font-weight:700; }
#order-form input:not([type=radio]), #order-form textarea { box-sizing:border-box; display:block; width:100%; border:1px solid #9ab1ba; border-radius:4px; padding:9px; font:inherit; background:white; }
#order-form fieldset label { display:block; margin:6px 0; }
#email-fallback a { text-decoration:underline; }
@media (max-width:720px) { .checkout-grid { grid-template-columns:1fr; } }
.cart-feedback { margin:8px 0 0; color:#06465a; font-weight:700; }
.cart-feedback:empty { margin:0; }
.order-thanks { max-width:620px; margin-inline:auto; }
.order-thanks h1 { margin-top:0; }
.order-email { display:inline-block; width:auto; min-height:0; margin:8px 0; text-decoration:none; }
.order-email:hover { color:white; }
.order-thanks textarea { display:block; width:100%; margin-top:6px; font:inherit; }
#pickup-address address { font-style:normal; margin-top:5px; }
.order-privacy, #order-status { font-size:13px; color:#244853; }
#order-status:empty { margin:0; }
.footer-address { flex-basis:100%; }
.view-cart { display:inline-block; margin-top:8px; color:var(--accent); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.product-gallery { display:flex; flex-direction:column; }
.product-gallery .main-image { order:0; width:100%; }
.product-thumbnails { order:1; display:flex; gap:10px; }
.product-thumbnails button { width:78px; height:78px; padding:2px; background:white; border:2px solid transparent; cursor:pointer; }
.product-thumbnails button[aria-pressed="true"] { border-color:var(--accent); }
.product-thumbnails img { width:100%; height:100%; object-fit:contain; }
.main-image { cursor:default; }
.logo { font-size:32px; letter-spacing:-.025em; }
@media(max-width:620px) { .logo { font-size:27px; } }

.menu nav { max-height:calc(100dvh - 100px); overflow-y:auto; }

/* Compact navigation between catalogue articles. */
.article-navigation { display:flex; align-items:stretch; justify-content:space-between; gap:18px; margin:0 0 26px; }
.article-navigation-link { display:flex; align-items:center; gap:12px; min-width:0; width:min(42%,360px); min-height:60px; padding:10px 14px; border:1px solid #dce5e8; border-radius:6px; background:#fff; color:#244853; transition:background .15s,border-color .15s; }
.article-navigation-link:hover { background:#f2f8fa; border-color:#8dbdcd; color:var(--accent); text-decoration:none; }
.article-nav-arrow { flex:none; font-size:22px; line-height:1; color:var(--accent); }
.article-nav-copy { display:flex; flex-direction:column; min-width:0; gap:2px; }
.article-nav-label { font-size:11px; color:#64777c; letter-spacing:.04em; }
.article-nav-name { font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.article-next { justify-content:flex-end; text-align:right; }
@media(max-width:620px) { .article-navigation { gap:10px; margin-bottom:20px; } .article-navigation-link { width:calc(50% - 5px); padding:9px 10px; gap:8px; min-height:58px; } .article-nav-name { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .article-navigation-link { transition:none; } }

.product-stock { display:inline-block; margin-top:8px; padding:7px 11px; border:1px solid #dce5e8; border-radius:5px; font-size:14px; color:#52666c; }
.product-stock.is-available { border-color:#b9d9cc; background:#f0f8f4; color:#256247; font-weight:600; }

/* Product purchase layout */

.product-info .choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-info .choices span{padding:11px 8px;text-align:center;border-radius:6px}.product-info legend{font-weight:700;margin-bottom:12px}.product-info .availability{margin:22px 0 0;color:#344950;font-size:16px}.product-info .product-stock{margin:10px 0 24px}.quantity-label{display:block;margin-bottom:10px;font-weight:600}.product-info .quantity{margin-bottom:22px;border-radius:6px}.order-summary .summary-prices{margin-top:14px;font-size:14px}button:disabled{opacity:.45;cursor:not-allowed}


.order-summary .summary-prices { border-top:1px solid #cfe2e8; padding-top:14px; margin-top:16px; }

.cart-actions { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.clear-product-cart { border:0; padding:8px 0; background:transparent; color:#586c72; font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.clear-product-cart:hover { color:var(--accent); }
.commercial-note { margin:22px 0 16px; padding-top:18px; border-top:1px solid #e0e9ec; font-size:14px; line-height:1.6; color:#586c72; }
.commercial-note a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }

.order-summary .cart-delivery-note { border-top:1px solid #cfe2e8; padding-top:14px; margin-top:16px; font-weight:400; line-height:1.65; }
.cart-line { align-items:center; gap:16px; padding:16px 0; margin:0; }
.cart-item-photo { flex:0 0 84px; display:block; }
.cart-item-photo img { display:block; width:84px; height:84px; object-fit:contain; background:white; border:1px solid #e5edef; border-radius:6px; }
.cart-item-info { flex:1; min-width:0; margin:0; }
.cart-item-title { display:block; color:var(--accent); font-weight:600; text-decoration:none; line-height:1.4; }
.cart-item-title:hover { text-decoration:underline; }
.cart-item-details { display:block; margin-top:6px; font-size:14px; line-height:1.6; color:#52666c; }
.cart-line button { flex:0 0 auto; padding:8px 0; cursor:pointer; }
@media(max-width:520px) { .cart-line { gap:12px; flex-wrap:wrap; } .cart-item-photo { flex-basis:64px; } .cart-item-photo img { width:64px; height:64px; } .cart-item-info { flex-basis:calc(100% - 80px); } .cart-line button { margin-left:76px; } }
