:root {
  color-scheme: light;
  --ink: #2d1b13;
  --teal: #234f55;
  --brass: #b99a64;
  --porcelain: #fffdf9;
  --ivory: #f6f1e7;
  --stroke: #d9d6cb;
  --muted: #5f5b54;
  --display: Fraunces, Georgia, serif;
  --body: Archivo, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden], .print { display: none !important; }
html { scroll-padding-top: 82px; }
body { margin: 0; font: 16px/1.45 var(--body); color: var(--ink); background: var(--porcelain); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid #896531; outline-offset: 3px; }
.wrap { width: min(100%, 78rem); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3.2rem); }
.label { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.skip { position: fixed; z-index: 5; top: 10px; left: 10px; background: white; padding: .5rem .8rem; clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.topbar { position: sticky; z-index: 3; top: 0; padding-top: env(safe-area-inset-top); background: var(--porcelain); border-bottom: 1px solid var(--stroke); color: var(--teal); }
.bar-inner { min-height: 62px; display: flex; align-items: center; gap: clamp(.75rem, 3vw, 1.8rem); }
.logo { width: 55px; flex: none; }
.bar-inner nav { flex: 1; min-width: 0; display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: thin; }
.bar-inner nav a { flex: none; padding-block: .64rem; font-size: .88rem; text-decoration: none; }
.bar-inner nav a:hover, .contents a:hover, .website-nav-link:hover { text-decoration: underline; text-underline-offset: .18em; }
.bar-actions { display: flex; flex: none; align-items: center; gap: clamp(.65rem, 2vw, 1.25rem); white-space: nowrap; }
.bar-actions a { display: inline-flex; min-height: 44px; align-items: center; gap: .25rem; text-decoration: none; font-size: .88rem; }
.brief-link { border-bottom: 1px solid var(--brass); font-weight: 700; }
#brief-count { display: inline-grid; place-items: center; min-width: 1.55em; height: 1.55em; padding-inline: .15em; background: var(--teal); color: white; border-radius: 1em; font-size: .77em; }

.cover { padding-block: clamp(1.6rem, 4vw, 3.5rem) 1.65rem; background: var(--teal); color: var(--porcelain); }
.cover-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.2rem, 4vw, 3.2rem); align-items: center; }
.cover-logo { display: none; }
.cover .label { color: #e8dcc7; }
.cover h1 { font-size: clamp(2.4rem, 5.4vw, 5rem); letter-spacing: -.04em; line-height: .98; margin-top: .6rem; }
.cover-actions { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.website-link { display: inline-block; margin-top: .85rem; font-size: .9rem; color: #fffdf9; text-underline-offset: .2em; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem .9rem; border: 1px solid transparent; font-weight: 700; font-size: .91rem; cursor: pointer; }
.button.light { background: #e8dcc7; color: var(--teal); }
.button.outline { border-color: #c1d0cc; color: white; }
.button.primary { background: var(--teal); color: white; }
.button.border { color: var(--teal); border-color: var(--teal); }
.button:disabled { opacity: .55; cursor: default; }
.button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px currentColor; }
.stage { background: #1d3f44; overflow: hidden; }
.cover-photos { height: clamp(290px, 34vw, 470px); display: grid; grid-template: repeat(2, minmax(0, 1fr)) / 60% minmax(0, 1fr); gap: 4px; }
.cover-photos a { min-width: 0; min-height: 0; text-decoration: none; }
.cover-photos a:focus-visible { outline-offset: -5px; }
.cover-photos a:hover figcaption { text-decoration: underline; }
.cover-photos .cover-apple { grid-row: span 2; }
.cover-photos figure { position: relative; height: 100%; min-width: 0; }
.cover-photos img { width: 100%; height: 100%; object-fit: cover; }
.cover-stylo img { object-position: center 38%; }
.cover-photos figcaption { position: absolute; inset: auto 0 0; padding: 1.3rem .6rem .48rem; background: linear-gradient(transparent, #151d1cec); color: white; font-weight: 700; font-size: .8rem; }
.contents { margin-top: clamp(1.3rem, 3vw, 2.2rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.2rem; }
.contents a { display: flex; gap: .5rem; justify-content: space-between; border-top: 1px solid #72908f; padding: .55rem 0; text-decoration: none; font-size: .89rem; }
.page-number { display: none; }

.chapter { padding-block: clamp(1.9rem, 5vw, 4rem); border-bottom: 1px solid var(--stroke); }
.chapter:nth-of-type(odd) { background: var(--ivory); }
.section-head { margin-bottom: 1.15rem; }
.section-head h2, .section-head h3 { letter-spacing: -.025em; color: var(--teal); }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 3.1rem); }
.section-head h3 { font-size: clamp(1.4rem, 2.7vw, 2.2rem); }
.section-head p { margin-top: .4rem; font-size: .95rem; color: var(--muted); }
.product-page + .product-page { margin-top: clamp(.9rem, 2vw, 1.4rem); }
.products, .hamper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.4rem); }
.products[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product, .hamper { min-width: 0; background: var(--porcelain); border: 1px solid var(--stroke); }
.photo, .hamper-photo { border-bottom: 1px solid var(--stroke); }
.photo { position: relative; aspect-ratio: 1; }
.photo > img, .hamper-photo > img { height: 100%; width: 100%; object-fit: cover; }
.photo-controls { position: absolute; inset: auto .7rem .55rem; display: flex; justify-content: space-between; align-items: center; color: var(--teal); }
.photo-controls button, .quantity button { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0; border: 1px solid #bdbdb0; background: var(--porcelain); color: var(--teal); cursor: pointer; }
.photo-controls button { border-radius: 50%; }
.photo-controls output { background: var(--porcelain); padding: .15rem .48rem; font-size: .74rem; border-radius: 1rem; }
.product-info { padding: .8rem clamp(.75rem, 1.45vw, 1.1rem) .9rem; }
.product-title { display: flex; flex-wrap: wrap; gap: .32rem .7rem; justify-content: space-between; align-items: baseline; }
.product-info h3 { color: var(--teal); font-size: clamp(1.24rem, 2.1vw, 1.63rem); }
.spec { font-size: .82rem; color: var(--muted); }
.variants { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .65rem; }
.variants button { cursor: pointer; color: var(--teal); }
.finish-label { font-size: .78rem; color: var(--muted); }
.finish-label:empty { display: none; }
.swatch { width: 34px; height: 34px; padding: 5px; border: 1px solid var(--stroke); border-radius: 50%; background: var(--porcelain); }
.swatch::before { content: ''; display: block; height: 100%; border-radius: 50%; background: var(--finish); box-shadow: inset 0 0 0 1px #2d1b1326; }
.swatch[aria-pressed="true"] { border: 2px solid var(--teal); padding: 4px; }
.model { min-height: 38px; border: 1px solid var(--stroke); background: white; padding: .25rem .57rem; font-size: .82rem; }
.model[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: white; }
.order-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .52rem; margin-top: .72rem; }
.size-select { display: flex; flex-direction: column; max-width: 100%; font-size: .75rem; color: var(--muted); }
.size-select select { max-width: 100%; border: 1px solid var(--stroke); background: white; color: var(--ink); min-height: 42px; padding: .3rem; font-size: .86rem; }
.add-row { display: flex; gap: .5rem; flex: 1; align-items: center; }
.quantity { display: flex; align-items: stretch; }
.quantity button { min-width: 37px; font-size: 1.15rem; }
.quantity input { width: 3.55rem; appearance: textfield; -moz-appearance: textfield; border: solid #bdbdb0; border-width: 1px 0; text-align: center; background: white; color: var(--ink); }
.quantity input::-webkit-inner-spin-button, .quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.add { min-height: 42px; padding: .35rem .6rem; border: 1px solid var(--teal); background: var(--teal); color: white; font-size: .83rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.add:hover, .quantity button:hover, .photo-controls button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.card-status { flex-basis: 100%; font-size: .78rem; color: var(--teal); }
.card-status:empty { display: none; }
.hamper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hamper-photo { aspect-ratio: 1.42; }
.hamper-group + .hamper-group { margin-top: clamp(.9rem, 2vw, 1.4rem); }
.hamper .label { color: #725a38; margin-bottom: .25rem; }
.hamper-items { font-size: .92rem; color: var(--muted); margin-top: .35rem; }

.range-search { background: var(--porcelain); }
.range-finder { padding-block: clamp(.75rem, 2vw, 1.1rem); }
.search-field { display: flex; align-items: center; gap: .55rem; min-height: 52px; padding-inline: .85rem .25rem; border: 1px solid #a7b3ab; border-radius: .5rem; color: var(--teal); background: white; }
.search-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 2px #234f5526; }
.search-icon { flex: none; }
.search-field input { flex: 1; min-width: 0; min-height: 50px; border: 0; padding: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: .35rem; color: var(--teal); background: transparent; cursor: pointer; }
.search-field button:hover { background: var(--ivory); }
.range-finder [role="status"] { margin-top: .3rem; color: var(--muted); font-size: .85rem; }
.range-finder [role="status"]:empty { margin: 0; }
.faq-panel dt { color: var(--teal); font-weight: 700; }
.fabio-link { display: inline-block; margin-top: .5rem; color: var(--teal); font-size: .91rem; text-underline-offset: .16em; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.4rem); }
.faq-panel { border: 1px solid var(--stroke); background: var(--porcelain); }
.faq-photo { aspect-ratio: 1.6; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-panel dl { margin: 0; padding: .95rem clamp(.8rem, 2vw, 1.4rem); }
.faq-panel dd { margin: .25rem 0 .85rem; color: var(--muted); font-size: .92rem; }
.faq-panel dd:last-child { margin-bottom: 0; }

.order { padding-top: clamp(2rem, 4vw, 3rem); }
#brief-empty { margin-bottom: .9rem; color: var(--muted); }
#brief-items { display: grid; gap: .48rem; padding: 0; list-style: none; margin: 0 0 1rem; max-width: 50rem; }
#brief-items:empty { display: none; }
#brief-items li { display: flex; align-items: center; gap: .45rem .6rem; border-bottom: 1px solid var(--stroke); padding: .35rem 0 .5rem; }
.line-name { min-width: 0; flex: 1; color: var(--teal); font-weight: 700; overflow-wrap: anywhere; }
.line-name small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.brief-quantity { flex: none; width: 3.75rem; min-height: 40px; border: 1px solid var(--stroke); background: white; padding: .25rem; font-size: .9rem; }
.line-unit { color: var(--muted); font-size: .76rem; }
.line-remove { border: 0; background: none; color: var(--teal); padding: .35rem 0; cursor: pointer; text-decoration: underline; font-size: .84rem; }
.delivery-fields { display: flex; flex-wrap: wrap; gap: .8rem; }
.delivery-fields label { display: grid; min-width: 0; max-width: 15rem; gap: .3rem; flex: 1 1 9rem; color: var(--teal); font-size: .88rem; font-weight: 700; }
.delivery-fields input { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #a7b3ab; background: white; padding: .4rem; color: var(--ink); font-weight: 400; }
.send-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
#gift-result { color: var(--teal); margin-top: .55rem; }
#gift-result:empty { display: none; }
.range-footer { position: relative; margin-top: clamp(2.1rem, 5vw, 4rem); }
.range-footer picture img { width: 100%; height: auto; }
.range-credit { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: .6rem; padding: 1.65rem clamp(1rem, 4vw, 3rem) .65rem; color: white; background: linear-gradient(transparent, #162c2fef); font-size: .81rem; }
.order-example { border: 1px solid var(--stroke); background: var(--ivory); padding: 1rem; }
.order-example p { margin-top: .45rem; }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 102px; }
  html:has(.range-search[data-active]) { scroll-padding-top: calc(var(--gifting-header-height, 85px) + 6rem); }
  .range-search[data-active] { position: sticky; z-index: 2; top: var(--gifting-header-height, 85px); box-shadow: 0 1px 0 var(--stroke); }
  .bar-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; padding-top: .48rem; }
  .bar-inner nav { grid-column: 1 / -1; grid-row: 2; }
  .bar-actions { justify-self: end; }
  .cover-layout { grid-template-columns: minmax(0, 1fr); }
  .cover-photos { height: clamp(225px, 69vw, 410px); }
  .contents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products, .products[data-count="2"], .hamper-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .cover-photos figcaption { font-size: .72rem; }
  .delivery-fields label { max-width: none; }
}
@page {
  size: A4 portrait;
  margin: 10mm 10mm 12mm;
  @bottom-left { content: 'OTTO HOME PRODUCTS  /  CORPORATE GIFTING'; font: 8pt Arial; color: #45615e; }
  @bottom-right { content: counter(page); font: 9pt Arial; color: #45615e; }
}
@media print {
  *, *::before, *::after { print-color-adjust: exact; }
  .screen { display: none !important; }
  .print { display: revert !important; }
  body { font-size: 10.5pt; }
  .sheet { min-height: 274mm; break-after: page; padding-block: 10mm; }
  .sheet:last-child { break-after: auto; }
  .wrap { width: 100%; padding-inline: 9mm; }
  .cover { padding-top: 14mm; }
  .cover-layout { display: block; }
  .cover-logo { display: block; width: 24mm; margin-bottom: 8mm; filter: brightness(0) invert(1); }
  .cover h1 { font-size: 57pt; }
  .cover-photos { margin-top: 8mm; height: 112mm; }
  .cover-photos a { min-height: 0; }
  .contents { margin-top: 8mm; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-number { display: inline; color: #e8dcc7; }
  .section-head { margin-bottom: 4mm; }
  .section-head h2 { font-size: 28pt; }
  .section-head h3 { font-size: 19pt; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4mm; }
  .products[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page + .product-page { break-before: page; margin-top: 0; padding-top: 10mm; }
  .product, .hamper { break-inside: avoid; }
  .gift-card { display: block; min-height: 0; }
  .product-info { padding: 3mm; }
  .product-info h3 { font-size: 14pt; }
  .spec, .hamper-items { font-size: 9pt; }
  .model-list { margin-top: 1mm; color: var(--muted); line-height: 1.25; font-size: 8pt; }
  .photo, .hamper-photo { width: 100%; aspect-ratio: auto; }
  .photo { height: 50mm; min-height: 0; }
  #casseroles .photo { height: 83mm; }
  #cookware .photo { height: 54mm; }
  .faq-photo { height: 81mm; }
  .faq-panel { break-inside: avoid; }
  .hamper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; }
  .hamper-group + .hamper-group { break-before: page; margin-top: 0; padding-top: 10mm; }
  .hamper-photo { height: 60mm; min-height: 0; }
  .hamper .product-info { padding: 3mm; }
  .hamper .label { font-size: 8pt; letter-spacing: 0; }
  .order .button.print { display: inline-flex !important; margin-top: 6mm; }
  .contact-line { margin-top: 2mm; }
  .range-footer { margin: 10mm 9mm 0; break-inside: avoid; }
  .range-footer picture img { max-height: 105mm; object-fit: cover; }
}
