:root {
  color-scheme: light;
  --ink: #203c5b;
  --text: #263c50;
  --muted: #596876;
  --ground: #fafbf9;
  --paper: #fff;
  --line: #dce2e4;
  --accent: #b84421;
  --accent-pale: #f9ece5;
  --blue-pale: #eaf0f5;
  --sage: #e7ece2;
  --shadow: 0 20px 70px #203c5b24;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: var(--ink); text-underline-offset: 5px; }
button { border: 0; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; left: 20px; top: -80px; background: var(--paper); z-index: 20; padding: 12px; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; background: var(--paper); z-index: 5; }
.header-inner { width: min(1320px, calc(100% - 96px)); margin: auto; min-height: 96px; display: flex; align-items: center; gap: 50px; }
.brand { display: inline-flex; align-items: baseline; color: var(--ink); text-decoration: none; font-size: 38px; font-weight: 600; letter-spacing: -1.8px; flex-shrink: 0; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; margin-left: 3px; background: var(--accent); }
.search-form { display: flex; align-items: center; gap: 12px; flex: 1; padding: 0 16px; height: 47px; border: 1px solid var(--line); border-radius: 6px; max-width: 580px; background: var(--ground); }
.search-form input { min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); }
.search-form:focus-within { border-color: var(--ink); outline: 2px solid var(--blue-pale); }
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
#clear-search { background: transparent; font-size: 25px; min-width: 40px; min-height: 44px; }
.preferences-button { display: flex; align-items: center; justify-content: center; gap: 9px; background: transparent; padding: 10px 0 10px 10px; margin-left: auto; min-height: 46px; white-space: nowrap; font-weight: 500; }
.count { font-size: 13px; background: var(--blue-pale); min-width: 25px; height: 25px; line-height: 25px; border-radius: 50%; text-align: center; }
.hero { min-height: 320px; display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; gap: 24px; padding: 30px 44px; background: #eef1ec; border-radius: 10px; overflow: hidden; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { color: var(--ink); font-size: clamp(38px, 3.6vw, 54px); line-height: 1.12; font-weight: 500; letter-spacing: -1.7px; margin: 14px 0 15px; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); margin: 0 0 23px; font-size: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; font-weight: 600; font-size: 14px; border-radius: 5px; transition: background 160ms, color 160ms, box-shadow 160ms; }
.primary { background: var(--ink); color: var(--paper); }
.primary:hover { background: #142c44; }
.secondary { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.secondary:hover { border-color: var(--ink); background: var(--blue-pale); }
.hero-collection { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; max-height: 260px; align-self: center; }
.hero-tile { min-height: 0; min-width: 0; padding: 0; border-radius: 7px; position: relative; overflow: hidden; text-align: left; color: var(--ink); box-shadow: 0 0 0 #203c5b00; transition: transform 500ms cubic-bezier(.25, .1, .25, 1), box-shadow 500ms cubic-bezier(.25, .1, .25, 1); }
.hero-tile span { position: absolute; left: 17px; top: 13px; font-size: 12px; font-weight: 500; z-index: 1; }
.hero-tile img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hero-tile:focus-visible { transition: none; }
.hero-tile:active:not(:disabled):not(:focus-visible) { transform: translateY(-1px) scale(.99); box-shadow: 0 4px 12px #203c5b14; transition-duration: 120ms; }
@media (hover: hover) and (pointer: fine) {
  .hero-tile:hover:not(:disabled):not(:active):not(:focus-visible) { transform: translateY(-4px) scale(1.015); box-shadow: 0 12px 24px #203c5b1c; z-index: 2; }
}
.tile-one { grid-row: 1 / 3; background: #d9e2e9; }
.tile-one img { padding: 35px 3px 0; }
.tile-two { background: #e9ddcc; }
.tile-two img { padding: 24px 8px 1px; }
.tile-three { background: #dce2d1; }
.tile-three img { padding: 26px 4px 0; }
.intro-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 17px; font-size: 12px; color: var(--muted); }
.demo-dot { background: #5a7257; width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }
.text-button { background: transparent; min-height: 44px; padding: 8px 0 8px 10px; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
h2 { font-size: 29px; color: var(--ink); font-weight: 500; line-height: 1.2; letter-spacing: -.75px; margin: 0; }
.section-heading p { font-size: 14px; color: var(--muted); margin: 9px 0 0; }
.catalog-section { padding-top: 24px; scroll-margin-top: 110px; }
.catalog-count { flex-shrink: 0; }
.catalog-toolbar { margin-bottom: 24px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-chip { min-height: 40px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); font-size: 13px; white-space: nowrap; transition: background 140ms; }
.category-chip[aria-pressed="true"] { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.category-chip:hover:not([aria-pressed="true"]) { background: var(--blue-pale); }
.sort-label { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 16px; }
.sort-control { position: relative; display: inline-flex; }
.sort-label select { appearance: none; font-size: 13px; line-height: 20px; min-height: 44px; min-width: 180px; padding: 11px 44px 11px 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.sort-control svg { position: absolute; width: 16px; height: 16px; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 27px 20px; }
.product-card { position: relative; min-width: 0; }
.product-open { padding: 0; width: 100%; text-align: left; background: transparent; display: block; }
.product-visual { background: #f0f2ee; border-radius: 7px; aspect-ratio: 1; display: block; overflow: hidden; }
.product-visual img { display: block; object-fit: contain; width: 100%; height: 100%; padding: 15px; transition: transform 220ms ease; }
.product-open:hover img { transform: scale(1.055); }
.product-card:nth-child(4n + 2) .product-visual { background: #f3eee8; }
.product-card:nth-child(4n + 3) .product-visual { background: #edf0f4; }
.product-card:nth-child(4n + 4) .product-visual { background: #f1f0ed; }
.product-category { display: block; color: var(--muted); font-size: 11px; margin: 13px 0 4px; }
.product-name { font-size: 14px; line-height: 1.4; color: var(--ink); font-weight: 500; margin: 0; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 7px; }
.like-button { position: absolute; right: 7px; top: 7px; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; background: #ffffffed; color: var(--ink); transition: background 140ms, color 140ms; }
.like-button:hover { background: var(--accent-pale); }
.like-button[aria-pressed="true"] { color: var(--accent); background: var(--accent-pale); }
.like-button[aria-pressed="true"] svg { fill: var(--accent); }
.rating-label { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 11px; color: var(--accent); }
.rating-label svg { width: 13px; height: 13px; fill: currentColor; }
.product-reason { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.45; color: #556c51; margin: 9px 0 0; }
.load-more { text-align: center; padding-block: 35px 10px; }
.load-more p { color: var(--muted); font-size: 12px; margin-top: 10px; }
.empty-state { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty-state h3 { font-weight: 500; color: var(--ink); }
.recommendation-section { background: var(--blue-pale); padding: 30px; border-radius: 8px; margin-top: 15px; margin-bottom: 30px; scroll-margin-top: 112px; }
.recommendation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommendation-grid .product-visual { background: #fff; }
.notice { padding: 14px 16px; background: #fff4db; border-radius: 5px; font-size: 14px; color: #5f4b1b; }
.error { color: #9c2929; background: #fff0ef; }
.closing-note { text-align: center; background: var(--sage); padding: 40px 20px; border-radius: 8px; margin-top: 35px; }
.closing-note p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 14px 0; }
.closing-note a { font-size: 12px; }
footer { min-height: 100px; padding: 30px 0; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 15px; }
dialog { border: 0; border-radius: 12px; background: var(--paper); padding: 0; width: min(780px, calc(100% - 32px)); max-height: calc(100dvh - 48px); color: var(--text); box-shadow: var(--shadow); } /* taste-skill-ignore: modal overlay */
dialog::backdrop { background: #142b4394; }
body:has(dialog[open]) { overflow: hidden; }
.close-button { position: absolute; right: 12px; top: 12px; border-radius: 50%; width: 44px; height: 44px; background: var(--paper); font-size: 27px; z-index: 2; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-photo { min-width: 0; background: #edf0e9; display: flex; align-items: center; justify-content: center; min-height: 440px; }
.detail-photo img { width: 100%; height: 360px; object-fit: contain; padding: 25px; }
.detail-copy { padding: 60px 28px 30px; }
.detail-copy h2 { font-size: 25px; }
.detail-category { font-size: 12px; color: var(--muted); margin: 0 0 9px; }
.detail-price { font-size: 24px; color: var(--ink); font-weight: 500; margin: 16px 0 0; }
.price-note { color: var(--muted); font-size: 11px; margin: 0 0 18px; }
.detail-description { font-size: 13px; line-height: 1.7; color: var(--muted); max-height: 120px; overflow: auto; }
.rating-field { border: 0; margin: 22px 0; padding: 0; }
.rating-field legend { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.stars { display: flex; gap: 3px; }
.star-button { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--muted); }
.star-button svg { width: 27px; height: 27px; }
.star-button.filled { color: var(--accent); }
.star-button.filled svg { fill: var(--accent); }
.rating-help { font-size: 11px; min-height: 18px; color: var(--muted); margin: 3px 0 0; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-actions .button { flex: 1; padding: 12px; white-space: nowrap; }
.dialog-copy { padding: 48px 36px 35px; }
.dialog-copy > p { color: var(--muted); font-size: 14px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.privacy-note { background: var(--blue-pale); padding: 16px; border-radius: 5px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.preference-row { display: flex; gap: 12px; align-items: center; padding: 15px 0; }
.preference-row img { width: 56px; height: 56px; object-fit: contain; background: var(--ground); border-radius: 5px; }
.preference-row div { flex: 1; min-width: 0; }
.preference-row strong { display: block; font-size: 13px; font-weight: 500; }
.preference-row span { font-size: 12px; color: var(--muted); }
.remove-preference { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ground); font-size: 20px; }
#preference-list { max-height: 340px; overflow-y: auto; }
.how-steps { padding: 0 0 0 25px; margin-block: 25px; }
.how-steps li { padding-left: 8px; margin-top: 19px; }
.how-steps strong { font-size: 15px; font-weight: 600; }
.how-steps p { font-size: 14px; color: var(--muted); margin: 5px 0 0; }
.toast { position: fixed; top: 110px; left: 50%; transform: translateX(-50%); z-index: 20; background: var(--ink); color: var(--paper); border-radius: 6px; box-shadow: var(--shadow); font-size: 14px; padding: 12px 20px; width: max-content; max-width: calc(100% - 32px); pointer-events: none; } /* taste-skill-ignore: transient overlay */
.toast:empty { display: none; }
.image-failed { object-fit: contain; opacity: .5; }
@media (min-width: 1550px) { .hero { min-height: 340px; } }
@media (max-width: 1100px) {
  .wrap, .header-inner { width: calc(100% - 56px); }
  .header-inner { gap: 25px; }
  .hero { padding: 30px; min-height: 340px; }
  .hero-collection { max-height: 278px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
  .recommendation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap, .header-inner { width: calc(100% - 36px); }
  .header-inner { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 14px 0; }
  .brand { font-size: 33px; letter-spacing: -1.3px; }
  .preferences-button { font-size: 12px; gap: 6px; padding: 0; }
  .preferences-button svg { width: 20px; }
  .search-form { grid-column: 1 / 3; grid-row: 2; max-width: none; width: 100%; margin-top: 12px; height: 44px; }
  .hero { grid-template-columns: 1.15fr 1fr; gap: 12px; padding: 25px; margin-top: 18px; min-height: 290px; }
  h1 { font-size: 37px; }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .hero-collection { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 220px; }
  .tile-one { grid-row: auto; }
  .tile-three { display: none; }
  .hero-tile span { font-size: 10px; left: 9px; top: 8px; }
  .tile-one img { padding-top: 22px; }
  .tile-two img { padding-top: 20px; }
  .hero .button { font-size: 12px; padding-inline: 14px; }
  .intro-line { align-items: flex-start; flex-direction: column; gap: 0; padding-block: 12px 0; font-size: 11px; }
  .text-button { padding-left: 0; font-size: 12px; }
  h2 { font-size: 25px; }
  .catalog-section { padding-top: 20px; scroll-margin-top: 145px; }
  .catalog-heading { align-items: flex-start; gap: 8px; flex-direction: column; margin-bottom: 18px; }
  .section-heading p { font-size: 12px; }
  .category-list { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 10px; margin: -4px; scrollbar-width: thin; }
  .category-chip { min-height: 44px; padding: 9px 15px; }
  .sort-label { margin-top: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-visual img { padding: 11px; }
  .product-category { font-size: 10px; margin-top: 9px; }
  .product-name { font-size: 13px; min-height: 37px; }
  .product-price { font-size: 14px; }
  .like-button { width: 44px; height: 44px; right: 3px; top: 3px; }
  .like-button svg { width: 21px; }
  .recommendation-section { padding: 22px 16px; scroll-margin-top: 145px; }
  .recommendation-section .section-heading { flex-direction: column; align-items: flex-start; }
  .recommendation-section .section-heading .button { min-height: 44px; }
  .product-reason { font-size: 11px; }
  .closing-note { padding: 30px 20px; }
  .closing-note h2 { font-size: 25px; }
  .closing-note p { font-size: 12px; }
  footer { font-size: 10px; padding-top: 25px; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .detail-photo { min-height: 0; height: 230px; }
  .detail-photo img { height: 230px; padding: 20px; }
  .detail-copy { padding: 23px; }
  .detail-copy h2 { font-size: 23px; }
  .detail-description { max-height: 90px; }
  .rating-field { margin-block: 16px; }
  .dialog-copy { padding: 50px 23px 25px; }
  .toast { top: 145px; font-size: 12px; }
}
@media (max-width: 390px) {
  .hero { padding: 20px 17px; gap: 8px; }
  h1 { font-size: 33px; }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; }
}
@media (max-width: 360px) {
  .preferences-button > span:not(.count) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero-tile { transform: none !important; }
}
