:root {
  --navy: #101d52;
  --ink: #182237;
  --muted: #535f73;
  --line: #dfe3e9;
  --paper: #f2f3f5;
  --white: #fff;
  --shadow: 0 13px 32px #2236530d;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid #006e92;
  outline-offset: 3px;
}
.shell { width: min(calc(100% - 32px), 1440px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 9px 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { position: sticky; top: 0; z-index: 2; background: #ffffffed; border-bottom: 1px solid #e1e4e9; backdrop-filter: blur(12px); }
.top-inner { width: min(calc(100% - 100px), 1370px); min-height: 83px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mondello { width: 120px; height: auto; margin-right: 7px; }
.brand-badge { flex: none; display: grid; place-items: center; width: 63px; height: 53px; border: 5px solid var(--navy); border-radius: 17px; background: white; color: #131313; box-shadow: 0 6px 18px #111f5024; }
.mark { width: 35px; height: 27px; background: currentColor; clip-path: polygon(0 100%,0 88%,9% 76%,24% 100%,28% 100%,13% 69%,31% 48%,58% 100%,63% 100%,36% 41%,57% 15%,100% 100%); }
.brand-text { display: grid; gap: 2px; font-size: 15px; }
.brand-text small { text-transform: uppercase; font-size: 11px; letter-spacing: .11em; color: var(--muted); white-space: nowrap; }
.top nav { border-radius: 999px; padding: 4px; background: #e9edf3; }
.top nav a, .order-button { display: flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; background: var(--navy); color: white; padding: 9px 17px; font-size: 14px; font-weight: 700; text-decoration: none; }
.toolbar { justify-self: end; }
.order-button { box-shadow: 0 5px 16px #101d522c; min-height: 42px; }
.count { display: grid; place-items: center; min-width: 25px; min-height: 23px; padding-inline: 5px; background: white; border-radius: 999px; color: var(--navy); font-size: 13px; }
.selectors { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; margin-block: 26px 14px; }
.selectors label { display: flex; align-items: center; gap: 9px; padding: 5px 6px 5px 12px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.exchange-note { margin: -3px 3px 12px; text-align: right; font-size: 13px; color: var(--muted); }
#currency { min-width: 78px; }
.selectors select { min-height: 40px; min-width: 170px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 11px; background: #f0f2f6; color: var(--ink); font-weight: 700; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; justify-content: space-between; gap: 24px; min-height: 247px; padding: 37px clamp(24px,5.15vw,77px); background: #101010; color: white; border-radius: 27px; box-shadow: 0 18px 38px #00000024; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  right: -54px;
  width: clamp(190px, 25vw, 330px);
  background: linear-gradient(90deg, #fff 0 21%, transparent 21% 31%, #fff 31% 52%, transparent 52% 62%, #fff 62% 83%, transparent 83%);
  transform: skewX(-37deg);
  pointer-events: none;
}
.kicker { margin: 0; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 2px 0 8px; font-size: clamp(42px,5.1vw,76px); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy { max-width: 570px; margin: 0; color: #eee; font-size: clamp(16px,1.35vw,20px); line-height: 1.45; }
.hero-summary { flex: 0 0 187px; display: grid; gap: 3px; padding: 19px 21px; margin-bottom: 1px; border-radius: 21px; border: 1px solid #ffffff3b; background: #171717eb; box-shadow: 0 9px 24px #00000038; backdrop-filter: blur(15px); }
.hero-summary .kicker { color: white; font-size: 12px; overflow-wrap: anywhere; }
.hero-summary strong { font-size: 34px; line-height: 1.05; overflow-wrap: anywhere; }
.hero-summary > span:last-child { font-size: 14px; color: #eee; }
.catalog { padding-block: 25px 42px; scroll-margin-top: 83px; }
.filters, .swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-row { margin-bottom: 19px; }
.filter { color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; padding: 9px 15px; }
.filter[aria-pressed="true"], .filter:hover { background: var(--navy); color: white; border-color: var(--navy); }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.card { min-width: 0; display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.card-image { display: grid; place-items: center; padding: 7%; aspect-ratio: 1.02; border-radius: 15px; background: linear-gradient(145deg,#f6f8fa,#e8f6f8); overflow: hidden; }
.card-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #e8e8e8; }
.card-body { padding: 19px 8px 7px; flex: 1; display: grid; grid-template-rows: auto auto 1fr auto auto auto; gap: 8px; }
.card-category { color: #007989; font-size: 12px; font-weight: 800; letter-spacing: .12em; margin: 0; text-transform: uppercase; }
.card h2 { margin: 0; font-size: clamp(18px,1.5vw,23px); letter-spacing: -.028em; line-height: 1.2; }
.card-copy { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.swatch { display: inline-flex; align-items: center; gap: 5px; background: #f8f9fb; color: var(--ink); padding: 6px 8px; border: 1px solid #dbe1ea; border-radius: 8px; font-size: 13px; }
.swatch[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.swatch-dot { width: 11px; height: 11px; border: 1px solid #737f93; border-radius: 50%; }
.swatch-dot.black { background: #151515; }
.swatch-dot.white { background: white; }
.swatch-dot.multicolor { background: conic-gradient(#537865 0deg 120deg,#e4bb74 120deg 240deg,#222c34 240deg); }
.price { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; align-items: center; padding: 12px; border: 1px solid #cfe5e9; border-radius: 13px; background: linear-gradient(125deg,#ebf8fa,#f9fbfd); }
.price span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.price strong { font-size: 17px; color: var(--navy); }
.price small { flex: 0 0 100%; font-size: 13px; color: var(--muted); }
.price .demo-stock { font-weight: 700; }
.add-button, .primary { border: 1px solid var(--navy); border-radius: 12px; padding: 9px 10px; min-height: 41px; background: var(--navy); color: white; font-weight: 750; }
.add-button:hover, .order-button:hover, .primary:hover { background: #223673; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; justify-content: space-between; min-height: 94px; padding: 16px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-brand { font-size: 16px; color: var(--navy); }
.footer-brand .brand-badge { width: 43px; height: 36px; border-width: 3px; border-radius: 11px; }
.footer-brand .mark { width: 24px; height: 19px; }
dialog { width: min(540px,calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 18px 54px #0c173640; }
dialog::backdrop { background: #12234b80; }
.dialog-inner { padding: 24px; }
.dialog-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dialog-top h2 { margin: 4px 0 0; font-size: 33px; line-height: 1.05; letter-spacing: -.04em; }
.close { flex: none; width: 39px; height: 39px; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); font-size: 25px; }
.detail-image { display: block; width: 100%; max-height: 210px; object-fit: contain; border-radius: 12px; background: #e8e8e8; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 15px 0; }
.field { display: grid; gap: 5px; font-size: 14px; font-weight: 700; min-width: 0; }
.field input, .field select { width: 100%; min-height: 42px; padding: 7px 9px; background: #f8f9fb; border: 1px solid #bdc8d6; border-radius: 9px; color: var(--ink); }
.dialog-note, .empty { line-height: 1.45; color: var(--muted); }
.dialog-inner .primary { width: 100%; }
.order-list { list-style: none; padding: 0; margin: 0; }
.order-line { display: grid; grid-template-columns: 1fr 75px auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-line p { margin: 4px 0; font-size: 14px; color: var(--muted); }
.remove { color: var(--navy); text-decoration: underline; background: none; padding: 7px 2px; border: 0; font-size: 14px; }
.order-total { display: flex; justify-content: space-between; gap: 10px; }
.toast { position: fixed; z-index: 4; right: 15px; bottom: 15px; border-radius: 12px; background: var(--navy); color: white; padding: 12px 16px; box-shadow: var(--shadow); }
.toast:empty { display: none; }
@media (max-width: 1000px) {
  .top-inner { width: calc(100% - 32px); }
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 725px) {
  .selectors label { flex-direction: column; align-items: start; gap: 4px; padding: 6px 10px; font-size: 13px; }
  .selectors select { width: 100%; min-width: 0; }
  .selectors label { min-width: 0; flex: 1 1 28%; }
  #currency { min-width: 0; }
  .hero { min-height: 229px; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 24px); }
  .top-inner { width: calc(100% - 24px); min-height: 65px; display: flex; justify-content: space-between; gap: 7px; }
  .top nav { display: none; }
  .brand { gap: 5px; }
  .mondello { width: 72px; margin-right: 3px; }
  .brand-badge { width: 40px; height: 36px; border-width: 3px; border-radius: 11px; }
  .brand-badge .mark { width: 25px; height: 20px; }
  .brand-text { font-size: 13px; }
  .brand-text small { font-size: 8px; }
  .order-button { padding-inline: 8px; font-size: 12px; gap: 4px; }
  .count { min-width: 19px; min-height: 20px; }
  .selectors { margin-top: 16px; }
  .hero { flex-direction: column; align-items: start; min-height: 0; gap: 15px; padding: 23px 17px; border-radius: 20px; }
  .hero h1 { font-size: clamp(35px,10vw,53px); }
  .hero-copy { max-width: 25ch; }
  .hero::before { opacity: .42; right: -105px; }
  .hero-summary { flex: auto; padding: 10px 11px; border-radius: 12px; }
  .hero-summary strong { font-size: 25px; }
  .catalog { padding-top: 18px; scroll-margin-top: 65px; }
  .filter { padding: 7px 10px; font-size: 13px; }
  .card { padding: 6px; border-radius: 15px; }
  .card-image { border-radius: 10px; }
  .card-body { padding: 11px 4px 4px; }
  .price { padding: 7px; }
  .price strong { font-size: 15px; }
  .add-button { font-size: 13px; }
  .dialog-inner { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
