/* Larger type and controls, shared by desktop and mobile. */
body { font-size: 17px; }
.announcement { font-size: 14px; letter-spacing: .8px; padding: 12px 20px; }
.announcement a { opacity: 1; }
.header { min-height: 128px; height: auto; padding-top: 16px; padding-bottom: 16px; }
.brand { align-items: center; flex-shrink: 0; }
.brand img { width: 160px; height: 76px; }
.brand > span { font-size: 12px; letter-spacing: 1.5px; }
.header nav { font-size: 17px; gap: 28px; }
.header nav a { display: flex; align-items: center; min-height: 48px; }
.selection-toggle { min-height: 52px; padding: 12px 18px; font-size: 16px; font-weight: 600; }
.selection-toggle span { width: 28px; height: 28px; font-size: 14px; margin-left: 10px; }
.eyebrow, .hero .eyebrow, .section-heading .eyebrow, .detail-info .eyebrow {
  font-size: 13px; letter-spacing: 1.5px;
}
.hero-description { font-size: 18px; max-width: 420px; line-height: 1.75; }
.button, .hero .button { min-height: 52px; font-size: 16px; padding: 14px 22px; gap: 20px; }
.hero-small { font-size: 14px; }
.hero-label { width: 245px; }
.hero-label > span:first-child { font-size: 12px; letter-spacing: .8px; }
.hero-label strong { font-size: 23px; }
.hero-label > span:last-child { font-size: 15px; }
.hero-foot { font-size: 12px; letter-spacing: .7px; }
.brand-band { flex-wrap: wrap; }
.brand-band > span { font-size: 12px; max-width: 100px; letter-spacing: 1px; }
.section-heading { align-items: center; }
.section-heading > p { font-size: 17px; line-height: 1.7; max-width: 370px; }
.catalog-tools { gap: 16px; align-items: stretch; }
.search { min-height: 66px; min-width: 0; }
.search input { min-height: 62px; font-size: 17px; }
.budget, .sort { font-size: 13px; padding: 10px 14px; letter-spacing: .2px; }
.budget select, .sort select { font-size: 16px; min-height: 30px; min-width: 170px; max-width: 100%; }
.category-row { gap: 10px; }
.chip { min-height: 50px; padding: 11px 19px; font-size: 16px; }
.results-bar { font-size: 15px; gap: 16px; }
.vat-label { min-height: 44px; gap: 10px; }
.vat-label input { width: 44px; height: 28px; }
.switch { flex-shrink: 0; width: 40px; height: 24px; border-radius: 20px; }
.switch:after { width: 18px; height: 18px; }
.vat-label input:checked + .switch:after { transform: translateX(16px); }
.product-flag { font-size: 12px; letter-spacing: .5px; padding: 5px 9px; }
.product-category { font-size: 13px; letter-spacing: .8px; }
.product-card h3 { font-size: 27px; line-height: 1.3; }
.product-description { font-size: 16px; line-height: 1.65; min-height: 54px; }
.price-row { flex-wrap: wrap; align-items: center; }
.price { font-size: 29px; letter-spacing: -.5px; }
.price small { font-size: 14px; }
.price-pending { font-size: 18px; }
.details-link { min-height: 44px; font-size: 16px; white-space: normal; text-align: left; }
.product-actions { flex-wrap: wrap; gap: 10px 16px; }
.add-selection { flex-basis: 100%; min-height: 50px; padding: 12px; font-size: 16px; }
.compare-check { min-height: 44px; gap: 9px; font-size: 15px; }
.compare-check input { width: 20px; height: 20px; margin: 0; }
.catalog-note { font-size: 14px; line-height: 1.75; }
.choose-grid button > span { font-size: 13px; letter-spacing: 1px; }
.choose-grid p { font-size: 17px; line-height: 1.7; min-height: 100px; max-width: 340px; }
.choose-grid b { min-height: 44px; align-items: center; font-size: 16px; max-width: 340px; }
.service > div > p:not(.eyebrow) { font-size: 17px; line-height: 1.75; max-width: 460px; }
.service dt { font-size: 18px; }
.service dd { font-size: 16px; line-height: 1.75; }
.footer { font-size: 16px; line-height: 1.8; }
.footer span { font-size: 14px; }
.footer a { min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.compare-bar { font-size: 15px; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.compare-bar > button:not(.button) { min-height: 44px; font-size: 15px; }
.compare-bar .button { min-height: 48px; font-size: 16px; }
dialog { max-width: calc(100vw - 24px); }
.dialog-close { width: 46px; height: 46px; font-size: 32px; }
.detail-picture p { font-size: 14px; }
.detail-intro { font-size: 17px; }
.detail-info h3 { font-size: 18px; }
.contents-list { font-size: 16px; line-height: 1.75; padding-left: 22px; }
.contents-list li { padding: 7px 0; }
.original-link { min-height: 44px; font-size: 16px; }
.notice { font-size: 16px; line-height: 1.75; padding: 16px; }
.compare-product ul { font-size: 16px; line-height: 1.7; }
.compare-product .button { font-size: 16px; min-height: 50px; }
.compare-product .label { font-size: 13px; }
.selection-dialog { width: 800px; }
.selection-line { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; }
.selection-line > img { width: 96px; height: 110px; padding: 7px; }
.selection-line h3 { font-size: 24px; line-height: 1.35; overflow-wrap: anywhere; }
.selection-line p { font-size: 16px; line-height: 1.6; margin: 8px 0; }
.quantity { flex-wrap: wrap; font-size: 16px; gap: 10px; }
.quantity input { width: 88px; min-height: 48px; font-size: 18px; padding: 9px 12px; }
.remove-line { min-height: 48px; padding: 10px 8px; font-size: 16px; }
.selection-total { font-size: 17px; gap: 12px; }
.selection-total strong { font-size: 32px; }
.selection-total small { font-size: 15px; }
.selection-disclaimer, .form-help { font-size: 15px; line-height: 1.7; }
form > label, .form-row > label { font-size: 16px; gap: 8px; margin-bottom: 20px; }
form input, form textarea { min-height: 50px; font-size: 17px; padding: 13px; }
#email-fallback { font-size: 16px; }
.selection-empty { font-size: 17px; }
.toast { font-size: 16px; }

.floating-actions {
  position: fixed;
  z-index: 12;
  inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.floating-actions > button, .floating-actions > .compare-bar { pointer-events: auto; }
.floating-actions > [hidden] { display: none; }
.floating-actions .compare-bar {
  position: static;
  transform: none;
  max-width: 100%;
}
.floating-selection.button {
  margin-inline-start: auto;
  gap: 10px;
  padding: 10px 14px;
  box-shadow: 0 8px 30px #0003;
}
.floating-selection svg { flex: none; }
#floating-selection-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  padding-inline: 5px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--wine);
  font-weight: 700;
}
.floating-actions .toast {
  position: absolute;
  bottom: calc(100% + 8px);
  width: max-content;
}
body:has(.floating-actions > :is(.compare-bar, .floating-selection):not([hidden])) {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
@media (max-width: 640px) {
  .floating-actions { flex-direction: column; align-items: flex-end; }
  .floating-actions .compare-bar {
    align-self: center;
    gap: 4px 10px;
    padding: 5px 8px;
  }
  body:has(.compare-bar:not([hidden]) + .floating-selection:not([hidden])) {
    padding-bottom: calc(140px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 1100px) {
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-heading > p { max-width: 640px; }
  .section-heading > p br { display: none; }
  .catalog-tools { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .budget, .sort { flex: 1; min-width: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-label { width: 220px; bottom: 10px; }
  .hero-description { font-size: 17px; }
  .brand-band { justify-content: center; }
}

@media (max-width: 760px) {
  .announcement { font-size: 13px; line-height: 1.6; padding: 10px 12px; letter-spacing: .3px; }
  .announcement span { padding: 0 5px; }
  .announcement a { display: none; }
  .header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 14px 5% 8px; }
  .brand { align-items: flex-start; width: 140px; }
  .brand img { width: 140px; height: 66px; }
  .brand > span { font-size: 11px; letter-spacing: 1px; }
  .selection-toggle { grid-column: 2; grid-row: 1; font-size: 16px; padding: 10px 12px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
  .header nav a { min-height: 48px; }
  .hero-foot { font-size: 12px; }
  .hero-label { width: 210px; }
  .hero-label strong { font-size: 21px; }
  .hero-label > span:first-child { font-size: 11px; }
  .hero-label > span:last-child { font-size: 15px; }
  .hero-small { font-size: 14px; }
  .brand-band > span { max-width: none; font-size: 12px; }
  .section-heading > p { font-size: 17px; margin-top: 0; }
  .budget, .sort { font-size: 13px; padding: 10px; }
  .budget select, .sort select { font-size: 16px; min-width: 0; width: 100%; }
  .category-row { flex-wrap: wrap; overflow: visible; margin-right: 0; padding: 0; gap: 9px; }
  .chip { font-size: 15px; padding: 10px 15px; min-height: 48px; white-space: normal; }
  .results-bar { font-size: 14px; flex-wrap: wrap; margin: 18px 0; gap: 4px 16px; }
  .product-card h3 { font-size: 25px; min-height: 0; }
  .product-description { min-height: 0; font-size: 16px; }
  .product-category { font-size: 12px; }
  .product-flag { font-size: 11px; }
  .price { font-size: 29px; }
  .price small { font-size: 14px; }
  .details-link { font-size: 16px; }
  .add-selection { font-size: 16px; padding: 12px; }
  .compare-check { font-size: 15px; }
  .catalog-note { font-size: 14px; }
  .choose-grid { grid-template-columns: 1fr; }
  .choose-grid button { display: block; padding: 26px 0; }
  .choose-grid h3 { font-size: 32px; margin: 14px 0; }
  .choose-grid p { font-size: 17px; max-width: none; min-height: 0; }
  .choose-grid b { font-size: 16px; max-width: none; }
  .service { grid-template-columns: 1fr; }
  .service > div > p:not(.eyebrow) { font-size: 17px; }
  .footer { grid-template-columns: 1fr; }
  .compare-bar { font-size: 14px; white-space: normal; width: max-content; }
  .compare-bar .button { font-size: 15px; gap: 10px; padding: 10px 14px; }
  .detail-info { padding: 30px 22px; }
  .wide-dialog, .selection-dialog { padding: 28px 20px; }
  .selection-dialog h2, .wide-dialog h2 { font-size: 32px; padding-right: 34px; }
  .selection-line { grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; align-items: start; }
  .selection-line > img { width: 76px; height: 92px; }
  .selection-line h3 { font-size: 22px; }
  .selection-line p { font-size: 16px; }
  .remove-line { grid-column: 2; justify-self: start; padding: 8px 0; font-size: 16px; }
  .selection-total strong { font-size: 30px; }
  .selection-total small { text-align: left; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 540px) {
  .budget, .sort { flex-basis: 100%; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-visual { aspect-ratio: 1.25; }
  .product-image-button { padding: 22px; }
  .product-card h3 { font-size: 28px; }
  .price-row { flex-direction: row; align-items: center; gap: 8px 16px; }
  .product-actions { margin-top: 12px; }
  .product-flag { left: 12px; top: 12px; }
}

@media (max-width: 380px) {
  .brand, .brand img { width: 118px; }
  .brand > span { font-size: 10px; }
  .selection-toggle { font-size: 15px; padding: 9px 10px; }
  .selection-toggle span { width: 24px; height: 24px; margin-left: 6px; }
  .header nav { font-size: 15px; gap: 8px; }
  .selection-line { grid-template-columns: 64px minmax(0, 1fr); gap: 6px 12px; }
  .selection-line > img { width: 64px; height: 80px; }
}
