:root {
  --bg: #f6f6f2;
  --panel: #fff;
  --text: #1d1d1d;
  --muted: #5f5f5f;
  --accent: #006cb7;
  --accent-dark: #005a9b;
  --border: #d9d9d1;
  --danger: #a12a2a;
  --success: #1c6b4d;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; font-family: "Source Sans Pro", Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
.site-nav { height: 108px; display: flex; align-items: center; padding: 0 32px; background: #000; border-bottom: 1px solid #d9d9d9; }
.site-logo, .site-logo img { display: block; }
.site-logo img { width: 50px; height: 70px; }
.container { width: 100%; max-width: 1100px; flex: 1; margin: 0 auto; padding: 32px 20px 48px; }
h1, h2, h3, p { margin-top: 0; }
.page-header { margin-bottom: 24px; }
.back-link { display: inline-block; margin-bottom: 14px; color: var(--accent-dark); text-decoration: none; font-weight: 700; }
.page-header h1 { margin-bottom: 8px; color: var(--accent-dark); }
.panel { background: var(--panel); border: 1px solid var(--border); padding: 20px; }
.product-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-link { color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.product-link:hover, .product-link:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.product-link h2 { color: var(--accent-dark); }
.product-link p { color: var(--muted); }
.product-link span { color: var(--accent-dark); font-weight: 700; }
.layout, .form-grid, .order-form { display: grid; gap: 18px; }
.layout { grid-template-columns: 1.2fr .8fr; gap: 24px; }
.form-grid, .order-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.finishing-control { display: flex; align-items: center; gap: 8px; }
.finishing-control select { flex: 1; min-width: 0; }
.finishing-preview { width: 44px; height: 44px; margin: 0; padding: 0; flex: 0 0 44px; border: 0; background: none; }
.finishing-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--border); }
.finishing-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.finishing-modal { width: min(90vw, 640px); padding: 12px; border: 1px solid var(--border); background: var(--panel); }
.finishing-modal::backdrop { background: rgba(0, 0, 0, .55); }
.finishing-modal img { display: block; width: 100%; max-height: 80vh; object-fit: contain; }
.finishing-modal-close { display: block; width: 32px; height: 32px; margin: 0 0 8px auto; padding: 0; background: transparent; color: var(--accent); font-size: 1.8rem; line-height: 1; }
.field-label-row, .cart-header-row, .cart-submit-row, .cart-item-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field.full-width, .checkbox-row { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .95rem; }
.field-range, .muted-note { color: var(--muted); }
.field-range { font-size: .75rem; font-weight: 400; }
input, select, textarea, button { font: inherit; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); background: #fff; color: var(--text); }
select:disabled { background: #ededed; color: var(--muted); cursor: not-allowed; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(29, 77, 62, .15); border-color: var(--accent); }
.field-error { min-height: 1.3em; color: var(--danger); font-size: .85rem; font-weight: 600; }
input.has-error { border-color: var(--danger); }
.price-box { margin-top: 18px; padding: 14px 16px; background: #edf4f1; border: 1px solid #cfe1d7; }
.price-box strong { display: block; margin-bottom: 6px; color: var(--accent-dark); }
.price-box .value { font-size: 1.8rem; font-weight: 700; color: var(--accent-dark); }
.vat-note { font-size: .72em; font-weight: 400; }
.disclaimer { margin-top: 18px; padding: 12px 14px; border-left: 4px solid var(--accent); background: #f2f6f4; }
.button-row { margin-top: 18px; }
.add-item-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline-status { min-height: 1.5em; color: var(--success); font-weight: 700; opacity: 0; }
.inline-status.visible { opacity: 1; }
button { border: 0; cursor: pointer; }
button:hover { opacity: .96; }
.primary-btn { padding: 12px 18px; background: var(--accent); color: #fff; font-weight: 700; }
.secondary-btn { padding: 9px 12px; background: #e7ece8; color: var(--text); font-weight: 700; }
.cart-total, .cart-submit-total { color: var(--accent-dark); font-weight: 700; }
.cart-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item { padding: 14px 15px; border: 1px solid var(--border); background: #fff; }
.cart-item-header { margin-bottom: 8px; }
.cart-item-image { width: 38px; height: 38px; flex: 0 0 38px; object-fit: cover; border: 1px solid var(--border); }
.cart-item p { margin: 4px 0; }
.qty-picker { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn { width: 32px; height: 32px; border: 1px solid var(--border); background: #fff; font-size: 1.1rem; }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-value { min-width: 24px; text-align: center; font-weight: 700; }
.empty-state { padding: 10px 0; color: var(--muted); }
.order-panel { margin-top: 24px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.status-message { min-height: 24px; margin-top: 12px; font-weight: 700; }
.status-message.error { color: var(--danger); }
.status-message.success { color: var(--success); }
.site-footer {
  width: 100%;
  padding: 20px 16px;
  background: #000;
  color: rgba(255,255,255,.6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.site-footer > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
@media (max-width: 800px) { .site-nav { height: 86px; padding: 0 20px; } .layout, .form-grid, .order-form, .product-links { grid-template-columns: 1fr; } }
