@font-face { font-family: 'Venturio Elegant Italic'; src: url('fonts/elegant-italic.otf') format('opentype'); font-display: swap; }
/* Limit this face to glyphs that contain outlines. The other mapped glyphs are empty. */
@font-face { font-family: 'Venturio Sport'; src: url('fonts/sport.otf') format('opentype'); unicode-range: U+0020-0029, U+002C-003B, U+003F-005F, U+0061-007A, U+007C, U+00AD, U+00F7, U+2026; font-display: swap; }
@font-face { font-family: 'Venturio Plain'; src: url('fonts/liberation-sans.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Venturio Sport Fallback'; src: url('fonts/liberation-sans-bold-italic.ttf') format('truetype'); unicode-range: U+002A-002B, U+003C-003E, U+0060, U+007B, U+007D-007E, U+00C0-024F, U+0300-036F; size-adjust: 62%; font-display: swap; }
@font-face { font-family: 'Venturio Retro Signature'; src: url('fonts/retro-signature.otf') format('opentype'); font-display: swap; }
@font-face { font-family: 'Venturio Royal Wedding'; src: url('fonts/royal-wedding.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Engraving Symbols'; src: url('fonts/noto-symbols-basic.ttf') format('truetype'); unicode-range: U+263A, U+266B; font-display: swap; }
@font-face { font-family: 'Engraving Symbols'; src: url('fonts/noto-symbols.ttf') format('truetype'); unicode-range: U+2600, U+2605, U+2615, U+2618, U+2665, U+2713, U+273F, U+1F44D; font-display: swap; }

:root {
  color-scheme: light;
  --page: #f9f6f0;
  --paper: #fffdfa;
  --ink: #302218;
  --muted: #6f5c4d;
  --accent: #945328;
  --line: #e7ddd0;
  --soft: #f7ede1;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, summary, select, .model-choice, .material-choice, .layout-choice { cursor: pointer; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { color: #311a0f; background: #e9c5a5; }
h1, h2, p, figure { margin: 0; }
.container { width: min(1112px, calc(100% - 64px)); margin-inline: auto; }
.top { background: #fffcf7; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 73px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 38px; height: 38px; border: 1px solid #e8ceb8; background: #f8ede0; border-radius: 10px; display: grid; place-items: center; }
.brand-mark i { width: 15px; height: 15px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); border-radius: 1px; }
.brand-mark i::after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); top: 3px; left: 3px; }
.brand-caption, .brand-name { display: block; }
.brand-caption { font-size: .62rem; text-transform: uppercase; letter-spacing: .19em; color: var(--muted); font-weight: 700; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; letter-spacing: .115em; line-height: 1.15; }
.top-caption { font-size: .85rem; color: var(--muted); }

.intro { padding: 45px 0 35px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; border-top: 1px solid #b77c50; }
h1 { margin: 10px 0 12px; font: 400 clamp(2.35rem, 5.4vw, 4.2rem)/1.02 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
h1 span { color: #a46133; }
.intro > p:last-child { color: var(--muted); font-size: 1.03rem; line-height: 1.6; }

.workspace { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 8px 26px #50351b08, 0 1px 2px #50351b0a; }
h2 { font: 400 1.78rem/1.1 var(--serif); letter-spacing: -.034em; scroll-margin-top: 18px; }
.card-intro { margin-top: 6px; color: var(--muted); font-size: .89rem; line-height: 1.45; }
.field + .field, .field + fieldset, fieldset + .field { margin-top: 16px; }
.field label, legend { display: block; font-size: .92rem; font-weight: 680; }
fieldset { min-inline-size: 0; border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 7px; }
.optional { color: var(--muted); font-weight: 400; font-size: .79rem; }
input[type='text'], input[type='number'], textarea, select { width: 100%; margin-top: 6px; border: 1px solid #ded0c0; border-radius: 8px; background: #fffefa; padding: 10px 12px; font-size: 1rem; line-height: 1.4; }
input[type='text'], input[type='number'], select { min-height: 45px; }
input::placeholder, textarea::placeholder { color: #806d5d; opacity: 1; }
textarea { display: block; resize: vertical; min-height: 66px; }
.hint, .error { line-height: 1.45; margin-top: 5px; font-size: .79rem; color: var(--muted); }
.error { color: #9c3628; }
[aria-invalid='true'] { border-color: #9c3628 !important; }

.model-field { margin-top: 18px; }
.material-field, .engraving-layout { margin-top: 16px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; pointer-events: none; width: 7px; height: 7px; right: 13px; top: calc(50% - 1px); border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); }
.select-wrap select { appearance: none; padding-right: 30px; text-overflow: ellipsis; }
.layout-choices, .material-choices { display: grid; gap: 8px; }
.layout-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.material-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-choice, .material-choice, .model-choice { position: relative; }
.layout-choice input, .material-choice input, .model-choice input, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.choice-content, .material-choice > span, .model-option { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #e5d9cd; border-radius: 9px; background: #fffcf8; font-size: .84rem; font-weight: 610; }
.choice-content { flex-direction: column; min-height: 67px; gap: 7px; padding: 7px 3px; text-align: center; }
.material-choice > span { gap: 7px; text-align: center; padding: 4px; }
.model-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.model-option { justify-content: flex-start; gap: 9px; min-height: 60px; padding: 8px 10px; }
.model-option small { display: block; padding-top: 2px; color: var(--muted); font-size: .73rem; font-weight: 400; white-space: nowrap; }
.model-icon { display: block; width: 24px; height: 29px; flex: 0 0 24px; background: #ad7448; mask: var(--bank-mask) center / contain no-repeat; }
.large-bank, .surface[data-model='large'] { --bank-mask: url('bank-large.png'); }
.medium-bank, .surface[data-model='medium'] { --bank-mask: url('bank-medium.png'); }
.model-icon.medium-bank { mask-size: 79%; }
.swatch { display: block; flex: 0 0 14px; width: 14px; height: 14px; border: 1px solid #bca58b; border-radius: 50%; }
.swatch-wood { background: #ebc49b url('wood.webp') center / auto 24px; }
.swatch-white { background: #fff; }
.swatch-black { background: #151413; border-color: #43372f; }
.layout-choice input:checked + span, .material-choice input:checked + span, .model-choice input:checked + span { background: #f8eadc; border-color: #af764c; color: #703b1d; }
.layout-choice input:focus-visible + span, .material-choice input:focus-visible + span, .model-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.layout-choice:hover > span, .material-choice:hover > span, .model-choice:hover > span { border-color: #af764c; }
.layout-icon { width: 29px; height: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--accent); }
.layout-icon i { display: block; border-radius: 2px; width: 25px; height: 2px; background: currentColor; }
.layout-icon i:not(:first-child) { width: 16px; opacity: .73; }
.five-icon { gap: 2px; }
.five-icon i, .five-icon i:not(:first-child) { width: 22px; }
.dedication-icon i:nth-child(2) { width: 23px; }
.line-editors { display: grid; gap: 10px; margin-top: 14px; }
.line-editor { min-width: 0; padding: 11px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fffcf8; }
.line-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.line-label { font-size: .93rem; font-weight: 680; }
.line-toggle { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; cursor: pointer; }
.line-toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.line-editor:has(.line-body:disabled) { background: #f7f3ed; }
.line-settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(74px, .39fr); gap: 9px; margin-top: 8px; }
.line-settings .field { margin-top: 0; min-width: 0; }
.line-settings label { font-size: .8rem; color: var(--muted); }
.line-settings input { padding-inline: 8px; }
.line-hint { margin-top: 10px; }
.symbols { margin-top: 16px; }
.symbol-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.symbol-buttons button { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid #e5d9cd; border-radius: 9px; background: #fffcf8; color: var(--accent); }
.symbol-buttons button:enabled:hover { border-color: #af764c; background: #f8eadc; }
.symbol-buttons button:disabled { opacity: .48; cursor: default; }
[data-engraving-input] { font-family: 'Engraving Symbols', var(--sans); font-variant-emoji: text; }
.symbol-buttons span { font: 1.23rem/1 'Engraving Symbols', var(--sans); font-variant-emoji: text; }
.notes { margin-top: 12px; border-top: 1px solid var(--line); }
summary { font-size: .85rem; font-weight: 650; color: var(--accent); min-height: 44px; padding: 13px 0 9px; }
.notes summary { margin-bottom: -7px; }
.notes[open] summary { margin-bottom: 0; }
.notes textarea { margin-top: 0; }
.mobile-jump { display: none; }

.project-output { display: grid; gap: 16px; min-width: 0; position: sticky; top: 16px; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live { display: inline-flex; gap: 6px; align-items: center; padding: 5px 9px; border-radius: 999px; background: #f0eee3; color: #4a5038; white-space: nowrap; font-size: .74rem; font-weight: 680; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #6d784e; }
.stage { position: relative; overflow: hidden; aspect-ratio: 1.38; margin-top: 17px; padding: clamp(18px, 3vw, 31px); border-radius: 13px; border: 1px solid #e9decd; background-color: #f3ebde; background-image: radial-gradient(circle at center, #bba18668 .65px, transparent .85px); background-size: 11px 11px; }
.surface {
  --engraving-ink: #492612;
  --surface-fill: #ebc49b url('wood.webp') center / cover;
  --surface-side: #97643d;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
}
.surface-shadow { position: absolute; inset: 0; filter: drop-shadow(0 3px 0 var(--surface-side)) drop-shadow(0 9px 10px #68472e38); }
.surface-shadow::before { content: ''; position: absolute; inset: 0; background: var(--surface-fill); mask: var(--bank-mask) center / 100% 100% no-repeat; }
.surface[data-material$='-hdf'] { --engraving-ink: #a26944; }
.surface[data-material='white-hdf'] { --surface-fill: #fffdfb; --surface-side: #c9bbaa; }
.surface[data-material='black-hdf'] { --surface-fill: #10100f; --engraving-ink: #c39067; --surface-side: #29231d; }
.engraving {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: max-content; color: var(--engraving-ink);
}
.engraving-line {
  --chosen-font: 'Venturio Plain', var(--sans);
  font-family: 'Engraving Symbols', var(--chosen-font);
  font-variant-emoji: text;
  font-weight: 400;
  line-height: 1.15;
  white-space: pre;
  text-align: center;
}
.engraving-line-disabled { visibility: hidden; }
.engraving-line[data-lettering='retro'] { --chosen-font: 'Venturio Retro Signature', var(--serif); }
.engraving-line[data-lettering='wedding'] { --chosen-font: 'Venturio Royal Wedding', var(--serif); }
.engraving-line[data-lettering='elegant-italic'] { --chosen-font: 'Venturio Elegant Italic', var(--serif); }
.engraving-line[data-lettering='sport'] { --chosen-font: 'Venturio Sport', 'Venturio Sport Fallback', 'Venturio Plain', var(--sans); }
.surface[data-material='wood'] .engraving { text-shadow: 0 1px #fff3d280; }
.preview-caption { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 12px; row-gap: 3px; margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
#preview-kind { color: #744526; font-weight: 650; }
.preview-hint { margin-top: 8px; }

.order { border-color: #e7d4be; background: #fbf3e8; }
.order-heading { display: flex; align-items: flex-start; gap: 13px; }
.order h2 { font-size: 1.59rem; }
.order-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: #f3e3d1; border-radius: 10px; color: var(--accent); }
.order-icon span { position: relative; width: 15px; height: 19px; border: 1.5px solid currentColor; border-radius: 3px; }
.order-icon span::before, .order-icon span::after { content: ''; position: absolute; left: 3px; right: 3px; border-top: 1.5px solid currentColor; }
.order-icon span::before { top: 5px; }
.order-icon span::after { top: 9px; }
.order-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; margin-top: 16px; }
.order button { display: inline-flex; min-height: 45px; justify-content: center; align-items: center; gap: 11px; border: 1px solid #82421e; border-radius: 8px; padding: 9px 15px; color: #fff9f3; background: #8d4a25; font-size: .91rem; font-weight: 650; }
.order .secondary-action { background: #fffaf3; color: var(--accent); border-color: #dfc5ae; }
.order .secondary-action:enabled:hover { background: #f3e5d7; }
.order .export-hint { flex-basis: 100%; margin: 0; font-size: .875rem; }
.order button:disabled { opacity: .58; cursor: default; }
.order button:enabled:hover { background: #703b1d; }
.copy-icon { position: relative; width: 12px; height: 13px; border: 1.35px solid currentColor; border-radius: 2px; }
.copy-icon::after { content: ''; position: absolute; inset: -4px 2px 2px -4px; border: solid currentColor; border-width: 1.35px 0 0 1.35px; border-radius: 2px; }
.order-status { color: #6a533e; font-size: .79rem; line-height: 1.4; }
.order-details { margin-top: 7px; }
.order-details textarea { margin-top: 0; font-size: .9rem; }
.footer { padding: 23px 0 26px; color: var(--muted); font-size: .79rem; }

@media (max-width: 900px) {
  .container { width: min(100% - 42px, 1112px); }
  .workspace { gap: 15px; }
  .card { padding: 20px; }
  .stage { padding: 22px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 30px, 520px); }
  .top-inner { min-height: 61px; }
  .top-caption { font-size: .75rem; text-align: right; }
  .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-name { font-size: 1rem; }
  .intro { padding: 28px 0 23px; }
  h1 { margin: 9px 0 10px; font-size: clamp(2.15rem, 8.1vw, 3rem); text-wrap: initial; }
  .intro > p:last-child { font-size: .98rem; line-height: 1.5; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 17px; border-radius: 14px; }
  .project-output { gap: 14px; position: static; }
  h2 { font-size: 1.56rem; }
  .mobile-jump { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 12px; border: 1px solid #e2ccb8; border-radius: 8px; padding: 5px 11px; text-decoration: none; font-size: .87rem; font-weight: 650; }
  .back-link { border-color: transparent; padding-left: 0; margin-top: 1px; margin-bottom: -9px; text-decoration: underline; text-underline-offset: .15em; }
  .notes { margin-top: 9px; }
  .stage { margin-top: 13px; padding: 16px; aspect-ratio: 1.06; }
  .preview-caption { margin-top: 10px; }
  .line-toggle { min-height: 44px; }
}

@media (max-width: 380px) {
  .top-caption { display: none; }
  .card { padding: 14px; }
  .order button { width: 100%; }
  .choice-content, .material-choice > span { font-size: .79rem; }
  .material-choice > span { gap: 4px; }
  .model-option { gap: 6px; padding-inline: 7px; font-size: .79rem; }
  .model-icon { flex-basis: 21px; width: 21px; }
}

.project-transfer { border-top: 1px solid var(--line); margin-top: 12px; }
.project-transfer label { display: block; font-size: .85rem; font-weight: 650; }
.project-transfer button { margin-top: 9px; }
.export-status:empty, .transfer-status:empty { display: none; }

/* Venturio shop header and footer shared by the standalone planner. */
.store-header {
  position: relative;
  z-index: 20;
  color: #382a32;
  background: #fffaf6;
  border-bottom: 1px solid #eee6e2;
  box-shadow: 0 2px 9px #3d1a2910;
}
.store-header-main {
  width: min(1260px, calc(100% - 48px));
  min-height: 112px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(230px, 280px) minmax(230px, 1fr);
  align-items: center;
  gap: 30px;
}
.store-logo { display: inline-flex; width: fit-content; align-items: center; }
.store-logo img { display: block; width: 176px; max-width: 100%; height: auto; object-fit: contain; }
.store-search {
  display: flex;
  width: 100%;
  min-height: 45px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4deda;
  border-radius: 999px;
  background: #fff;
}
.store-search input[type='search'] {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 999px 0 0 999px;
  outline: 0;
  background: transparent;
  color: #493944;
  font-size: .82rem;
}
.store-search input[type='hidden'] { display: none; }
.store-search button {
  display: grid;
  width: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 0;
  background: #641a35;
  color: #fff;
}
.store-search button:hover { background: #50132a; }
.store-search button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.store-quick-links {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 22px;
}
.store-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3d343a;
  font-size: .72rem;
  font-weight: 560;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.store-quick-links a:hover { color: #641a35; }
.store-quick-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store-nav { border-top: 0; }
.store-nav-list {
  width: min(1260px, calc(100% - 48px));
  min-height: 75px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  list-style: none;
}
.store-nav-list > li { position: relative; list-style: none; }
.store-nav-list a, .store-nav-list summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #352a31;
  font-size: .73rem;
  font-weight: 710;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.store-nav-list a:hover, .store-nav-list summary:hover { color: #8a1f46; }
.store-nav-list summary { cursor: pointer; list-style: none; }
.store-nav-list summary::-webkit-details-marker { display: none; }
.store-nav-dropdown > details > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.store-submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: -14px;
  z-index: 30;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid #eee3e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px #35142220;
}
.store-submenu li { list-style: none; }
.store-submenu a {
  display: flex;
  min-height: 39px;
  padding: 8px 11px;
  border-radius: 5px;
  font-size: .78rem;
  font-weight: 550;
  text-transform: none;
  white-space: normal;
}
.store-submenu a:hover { background: #fbf2f4; }
.store-nav-list .store-allegro {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  background: #641a35;
  color: #fff;
  text-transform: none;
}
.store-nav-list .store-allegro:hover { background: #50132a; color: #fff; }

.store-footer {
  margin-top: 48px;
  background: #641a35;
  color: #fff;
}
.store-footer-grid {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  padding: 32px 38px 28px;
  display: grid;
  grid-template-columns: 1.18fr .8fr 1fr .8fr 1fr;
  gap: clamp(20px, 2.5vw, 40px);
  align-items: start;
}
.store-footer a { color: inherit; text-decoration: none; }
.store-footer a:hover { color: #f1c48f; text-decoration: underline; text-underline-offset: 3px; }
.store-footer-brand { min-width: 0; }
.store-footer-logo { display: block; width: min(240px, 100%); height: auto; object-fit: contain; }
.store-footer-brand p { margin: 19px 0 14px; color: #f4eaf0; font-size: .82rem; line-height: 1.6; }
.store-footer-brand strong { color: #fff; }
.store-phone { display: inline-flex; align-items: center; gap: 9px; font-size: .96rem; font-weight: 720; }
.store-phone span { color: #f04e69; font-size: 1.1rem; }
.store-socials { display: flex; gap: 9px; margin-top: 18px; }
.store-socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d5adbf; border-radius: 50%; }
.store-socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store-socials a:first-child svg path { fill: currentColor; stroke: none; }
.store-socials .social-dot { fill: currentColor; stroke: none; }
.store-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.store-footer-links h2 { margin: 5px 0 4px; color: #f3cf9d; font: 750 .77rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.store-footer-links a { font-size: .79rem; line-height: 1.45; }
.store-footer-address { display: flex; flex-direction: column; align-items: center; text-align: center; color: #f3cf9d; }
.store-footer-address img { display: block; width: min(210px, 100%); height: 170px; object-fit: contain; }
.store-footer-address address { margin-top: 6px; font-size: .73rem; font-style: normal; line-height: 1.5; }
.store-footer-bottom {
  min-height: 45px;
  padding: 12px 20px;
  border-top: 1px solid #ffffff24;
  color: #f5e9ef;
  text-align: center;
  font-size: .7rem;
}

@media (max-width: 980px) {
  .store-header-main { grid-template-columns: minmax(150px, 1fr) minmax(220px, 300px) minmax(190px, 1fr); gap: 18px; }
  .store-logo img { width: 154px; }
  .store-quick-links { gap: 13px; }
  .store-footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .store-footer-address { grid-column: 2 / 4; flex-direction: row; justify-content: center; gap: 24px; }
  .store-footer-address img { width: 170px; height: 140px; }
}
@media (max-width: 700px) {
  .store-header-main { width: calc(100% - 28px); grid-template-columns: 1fr auto; min-height: auto; padding: 15px 0 11px; gap: 12px; }
  .store-logo img { width: 142px; }
  .store-quick-links { gap: 12px; }
  .store-quick-links a { gap: 4px; font-size: .61rem; }
  .store-quick-links svg { width: 15px; height: 15px; }
  .store-search { grid-column: 1 / -1; min-height: 41px; }
  .store-search input[type='search'] { height: 40px; font-size: .8rem; }
  .store-search button { width: 42px; flex-basis: 42px; }
  .store-nav { overflow: visible; }
  .store-nav-list { width: 100%; min-height: 48px; justify-content: flex-start; gap: 20px; overflow-x: auto; padding: 0 14px; scrollbar-width: none; }
  .store-nav-list::-webkit-scrollbar { display: none; }
  .store-nav-list a, .store-nav-list summary { min-height: 44px; font-size: .67rem; }
  .store-nav-list .store-allegro { min-height: 34px; padding-inline: 10px; }
  .store-submenu { position: fixed; top: auto; left: 12px; right: 12px; max-height: min(65vh, 420px); overflow: auto; }
  .store-footer { margin-top: 32px; }
  .store-footer-grid { width: calc(100% - 28px); padding: 25px 20px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 20px; }
  .store-footer-brand { grid-column: 1 / -1; }
  .store-footer-logo { width: min(220px, 80%); }
  .store-footer-brand p { margin-top: 13px; }
  .store-footer-links h2 { font-size: .72rem; }
  .store-footer-links a { font-size: .75rem; }
  .store-footer-address { grid-column: 1 / -1; flex-direction: column; gap: 2px; }
  .store-footer-address img { width: 190px; height: 150px; }
}
@media (max-width: 380px) {
  .store-header-main { width: calc(100% - 22px); }
  .store-logo img { width: 124px; }
  .store-quick-links a { font-size: .55rem; }
  .store-nav-list { gap: 16px; padding-inline: 11px; }
  .store-footer-grid { width: calc(100% - 22px); padding-inline: 14px; }
}
