/* The storefront follows the desktop frame and the second mobile variant. */
.storefront {
  --editorial-width: 1360px;
  background: #f7f5f0;
}

.storefront .mobile-brand,
.storefront .mobile-headline {
  display: none;
}

.storefront .editorial {
  width: min(78.3%, var(--editorial-width));
}

.storefront .editorial h2,
.storefront .island-story h2 {
  font-size: clamp(30px, 2.45vw, 43px);
  font-weight: 500;
}

.storefront .editorial .section-title {
  margin-bottom: clamp(20px, 2.3vw, 40px);
}

.storefront .site-header { background: #f6f4ef; }
.storefront .primary-nav { gap: clamp(22px, 2.45vw, 43px); }
.storefront .primary .contact-button { min-height: 40px; padding-inline: clamp(15px, 2.45vw, 42px); }
.storefront .footer-grid,
.storefront .footer-bottom,
.storefront .callout .wrap { width: min(92%, 1510px); }

.storefront .hero { background: #f6f4ef; }
.storefront .hero::after {
  background: linear-gradient(90deg,#f6f4ef 0%,#f6f4ef 23%,#f6f4eff5 34%,#f6f4efbd 47%,#f6f4ef38 63%,transparent 79%);
}
.storefront .hero-inner {
  min-height: clamp(600px,55.82vw,969px);
  padding-top: clamp(44px,3.85vw,67px);
}
.storefront .hero-content { margin-bottom: 0; }
.storefront .hero h1 { font-size: clamp(47px,4.4vw,77px); font-weight: 450; }
.storefront .hero-description {
  max-width: min(55ch, 59%);
  margin: clamp(22px,2.25vw,39px) 0 clamp(27px,3.15vw,55px);
}
.storefront .hero-note { background: #fffef9ed; opacity: 1; }
.storefront .hero-note h2 { font-size: clamp(22px,1.45vw,25px); }
.storefront .hero-buttons { display: flex; flex-wrap: wrap; gap: clamp(10px,.85vw,15px); }
.storefront .hero-buttons .button {
  min-width: min(100%,clamp(200px,16.7vw,290px));
  padding-inline: 16px;
}
.storefront .hero-benefits { min-width: 0; width: min(100%, var(--editorial-width)); }
@media (min-width: 851px) {
  .storefront .hero-benefits { width: 83%; }
  .storefront .hero-note { top: clamp(44px,3.85vw,67px); width: clamp(230px,19.6vw,340px); }
}

.storefront .category-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}
.storefront .category-tile {
  min-height: clamp(155px,13.2vw,229px);
  border: 0;
  padding: clamp(14px,1.35vw,24px);
  background-color: #f7f5f0;
}
.storefront .category-tile:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.storefront .category-tile > span { align-self: end; }
.storefront .category-tile > div { display: block; }
.storefront .category-tile h3 { font-size: clamp(22px,1.5vw,27px); font-weight: 500; }
.storefront .category-tile p { max-width: 32ch; margin-top: 7px; font-size: .85rem; color: #524f46; }
.storefront .tile-islands {
  background-image: linear-gradient(90deg,#f7f5f0 7%,#f7f5f0ee 28%,#f7f5f030 62%,transparent 82%),url('/media/home-island.webp');
  background-position: right 58%;
}
.storefront .tile-tables {
  grid-column: auto;
  background-image: linear-gradient(90deg,#f7f5f0 3%,#f7f5f0dc 34%,transparent 90%),url('/media/table.webp');
}
.storefront .tile-decor {
  background-image: linear-gradient(90deg,#f7f5f0 4%,#f7f5f0de 32%,transparent 90%),url('/media/home-buddha.webp');
}
.storefront .tile-tables > span,
.storefront .tile-decor > span { color: #fff; }
.storefront .feature-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55em;
  min-height: 38px;
  margin-top: 12px;
  border: 1px solid #ac996b;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.storefront .feature-primary { background: var(--gold); color: #fff; border-color: transparent; }
.storefront .featured-grid { gap: clamp(12px,1.2vw,22px); }
.storefront .featured-grid .product-card img { aspect-ratio: 1.123; }
.storefront .featured-grid .card-copy h3 { font-size: clamp(21px,1.5vw,27px); }

.storefront .island-story { grid-template-columns: 1.05fr 1fr; }
.storefront .island-story > img { width: 100%; height: 100%; min-height: 420px; }
.storefront .island-story > div { padding: clamp(25px,6.9vw,128px); align-self: center; }
.storefront .story-list { list-style: none; padding: 0; margin: 20px 0 23px; color: #eee7da; }
.storefront .story-list li + li { margin-top: 6px; }
.storefront .story-list li::before { content: '✓'; color: #d6b56f; margin-right: 10px; }
.storefront .process-grid {
  display: grid;
  list-style: none;
  padding: 0;
  margin: clamp(25px,3.5vw,60px) 0 0;
  border: 1px solid var(--line);
}
.storefront .process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.storefront .process-grid li { border: solid var(--line); border-width: 0 1px 0 0; padding: clamp(13px,1.3vw,24px); }
.storefront .process-grid li { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.storefront .process-grid li:last-child { border-right: 0; }
.storefront .process-grid h3 { font-size: clamp(21px,1.5vw,27px); }
.storefront .process-grid p { margin-top: 9px; color: var(--muted); font-size: .9rem; }

.storefront .muted-section { background: #ebe9e3; }
.storefront .material-section { background: #dad6cc; }
.storefront .material-layout { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(20px,4vw,70px); }
.storefront .material-layout > div > p:not(.kicker) { margin-top: 20px; }
.storefront .material-layout > div > .button { margin-top: 20px; }
.storefront .swatches { align-items: start; }
.storefront .swatches figure:nth-child(2) { padding-top: 16px; }
.storefront .swatches figure:nth-child(3) { padding-top: 32px; }
.storefront .swatch { aspect-ratio: .74; border: 1px solid #24262225; }
.storefront .swatch.wood { background: #9b7954 url('/media/material-wood.webp') center/cover no-repeat; }
.storefront .swatch.ivory { background: linear-gradient(140deg,#f5f0e5,#d5cdbb); }
.storefront .swatch.graphite { background: linear-gradient(135deg,#3c3e34,#20221e); }
.storefront .swatches figcaption { margin-top: 10px; }
.storefront .swatches h3 { font-size: clamp(18px,1.25vw,24px); }
.storefront .swatches p { font-size: .84rem; margin-top: 5px; }
.storefront .detail-story { display: grid; align-items: center; grid-template-columns: 2fr 3fr; gap: clamp(22px,4.5vw,78px); }
.storefront .detail-story p:not(.kicker) { margin-top: 10px; }
.storefront .detail-photos { display: grid; align-items: end; grid-template-columns: 1.42fr 1fr; gap: 10px; }
.storefront .detail-photos img { width: 100%; height: auto; }
.storefront .delivery-band h2 { font-size: clamp(32px,2.5vw,44px); font-weight: 500; }
.storefront .delivery-band { padding-block: clamp(48px, 4.5vw, 72px); }
.storefront .delivery-band p:not(.kicker) { margin-top: 16px; }
.storefront .delivery-band .text-link { margin-top: 18px; }
.storefront #contact .split { align-items: start; grid-template-columns: 5fr 7fr; }
.storefront .lead-form { box-shadow: 0 12px 28px #22231e0a; }

.storefront .catalog-hero {
  --catalog-image: url('/media/catalog.webp');
  background-image: linear-gradient(90deg,#f7f5f0 8%,#f7f5f0ee 28%,#f7f5f06b 53%,transparent 74%),var(--catalog-image);
  min-height: clamp(248px,30.47vw,529px);
  padding-block: clamp(36px,4.25vw,74px);
}
.storefront .catalog-hero--islands { --catalog-image: url('/media/island-story.webp'); }
.storefront .catalog-hero--tables { --catalog-image: url('/media/hero.webp'); }
.storefront .catalog-hero h1,
.storefront .cart-page h1,
.storefront .checkout-page h1 { font-size: clamp(40px,4.6vw,80px); font-weight: 500; }
.storefront .catalog-hero p { max-width: 48ch; }
.storefront .catalog-filters { border: 0; padding-inline: 0; }
.storefront .catalog-filters form { gap: 12px; }
.storefront .filter-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border: 1px solid var(--line); background: #fff; font-weight: 800; }
.storefront .filter-toggle[aria-expanded="true"] span { transform: rotate(90deg); }
.storefront .catalog-filters .filter-group { padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.storefront .catalog-filters .filter-group legend { font-size: .79rem; text-transform: uppercase; }
.storefront .catalog-filters .filter-group .check + .check { margin-top: 5px; }
.storefront .catalog-filters .two { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.storefront .catalog-filters .two input { padding-inline: 6px; }
.storefront .catalog-count { font-size: .86rem; }
.storefront .product-card h3 { font-size: clamp(21px,1.56vw,27px); }
.storefront .product-detail { grid-template-columns: minmax(0,1.48fr) minmax(0,1fr); }
.storefront .product-detail h1 { font-size: clamp(37px,3.8vw,66px); font-weight: 500; }
.storefront .product-price { font-weight: 650; }
.storefront .related .product-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,200px), min(28%,305px))); }
.storefront .callout h2 { font-size: clamp(26px,2.2vw,38px); font-weight: 500; }

.storefront .cart-lines { border: 1px solid var(--line); padding-inline: clamp(10px,1.25vw,22px); }
.storefront .cart-page .summary .button + .button { margin-top: 8px; }
.storefront .cart-row .line-product img { width: clamp(64px,10vw,162px); }
.storefront .checkout { grid-template-columns: minmax(0,2.04fr) minmax(0,1fr); }
.storefront .checkout .summary .line-product img { width: clamp(60px,7vw,120px); }
.storefront .checkout .summary .line-product h3 { font-size: clamp(22px,1.65vw,29px); }
.storefront .carrier-mark { display: grid; place-items: center; }
.storefront .carrier-mark img,
.storefront .payment-preview img { object-fit: contain; }
.storefront .carrier { background: #f7f6f2; }
.storefront .carrier:has(input:checked) { background: #fbf7ee; }
.storefront .delivery-modes .choice { background: transparent; border-width: 0 0 1px; padding-inline: 4px; }
.storefront .delivery-modes .choice:has(input:checked) { color: var(--gold-dark); }
.storefront .payment-preview { flex-wrap: wrap; gap: 9px; }

.storefront .account-auth,
.storefront .account-page { width: min(calc(100% - var(--gutter) * 2), 1510px); }
.storefront .account-auth { min-height: 70vh; display: grid; place-items: center; }
.storefront .account-auth h1,
.storefront .account-page h1 { font-size: clamp(40px,3.2vw,58px); font-weight: 500; }
.storefront .account-checkout-note a { color: var(--gold-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.storefront .account-form { width: min(100%, 480px); display: grid; gap: 17px; padding: clamp(24px,3vw,44px); border: 1px solid var(--line); background: #fff; }
.storefront .account-form h1 { margin-bottom: 0; font-size: clamp(35px,2.5vw,45px); }
.storefront .account-form > p { color: var(--muted); font-size: .84rem; line-height: 1.55; }
.storefront .account-form .check { font-size: .82rem; }
.storefront .account-form-link { justify-self: center; color: var(--gold-dark); font-size: .88rem; font-weight: 700; }
.storefront .account-form-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.storefront .account-checkout-note { margin: 0 0 24px; color: var(--muted); }
.storefront .account-page .crumb { margin-bottom: clamp(24px,3vw,42px); }
.storefront .account-page-heading { margin-bottom: clamp(24px,3vw,42px); }
.storefront .account-page-heading h1 { margin-bottom: 10px; }
.storefront .account-page-heading > p:last-child { color: var(--muted); font-size: .9rem; }
.storefront .account-profile { display: flex; align-items: center; gap: 22px; padding: clamp(18px,2vw,30px); border: 1px solid var(--line); background: #fff; }
.storefront .account-avatar { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #ece6d8; color: var(--gold-dark); font: 600 25px/1 var(--serif); }
.storefront .account-profile-details { display: grid; gap: 2px; min-width: 0; }
.storefront .account-profile-details strong { font-size: 1.02rem; }
.storefront .account-profile-details span { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.storefront .account-profile > a { margin-left: auto; display: inline-flex; align-items: center; gap: 22px; color: var(--gold-dark); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.storefront .account-profile > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.storefront .account-current { margin-top: clamp(36px,4vw,64px); }
.storefront .account-section-title { margin-bottom: 20px; }
.storefront .account-section-title h2,
.storefront .account-history h2 { font-size: clamp(30px,2.6vw,43px); font-weight: 500; }
.storefront .account-current-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.storefront .account-current-card { min-width: 0; padding: clamp(16px,1.6vw,26px); border: 1px solid var(--line); background: #fff; }
.storefront .account-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .78rem; }
.storefront .account-card-product { display: grid; grid-template-columns: clamp(105px,11vw,158px) 1fr; align-items: center; gap: clamp(15px,2vw,30px); margin: 18px 0; }
.storefront .account-card-product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.storefront .account-card-product h3 { font-size: clamp(22px,2vw,31px); font-weight: 500; }
.storefront .account-card-product p { margin: 8px 0 16px; color: var(--muted); font-size: .78rem; }
.storefront .account-card-product strong { font-size: 1.1rem; }
.storefront .account-card-actions { display: flex; justify-content: flex-end; gap: 10px; }
.storefront .account-card-actions .button { min-width: 126px; min-height: 38px; padding-inline: 12px; font-size: .76rem; }
.storefront .account-status { display: inline-block; padding: 6px 10px; background: #eee5d2; color: #634b22; font-size: .78rem; font-weight: 800; }
.storefront .account-history { margin-top: clamp(40px,4vw,66px); }
.storefront .account-history h2 { margin-bottom: 18px; }
.storefront .account-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.storefront .account-history table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.storefront .account-history th { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 700; }
.storefront .account-history td { padding: 17px 20px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.storefront .account-history tr:last-child td { border-bottom: 0; }
.storefront .account-history tbody tr:hover { background: #faf8f3; }
.storefront .account-history td:first-child a { font-weight: 800; }
.storefront .account-table-arrow { color: var(--gold-dark); font-size: 1.2rem; }
.storefront .account-history-empty { padding: 25px; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.storefront .account-pages { display: flex; justify-content: space-between; margin-top: 20px; }
.storefront .account-pages a { font-weight: 800; }
.storefront .account-empty { padding: clamp(26px,3vw,46px); border: 1px solid var(--line); background: #fff; }
.storefront .account-empty p { margin: 12px 0 22px; color: var(--muted); }
.storefront .account-profile-page > h1 { margin-bottom: 28px; }
.storefront .account-profile-page .account-form { margin-bottom: 24px; }
.storefront .account-logout button { border: 0; padding: 0; background: none; color: var(--gold-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.storefront .account-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: clamp(30px,4vw,58px); border-bottom: 1px solid var(--line); }
.storefront .account-heading .muted { margin-top: 14px; }
.storefront .account-detail { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.8fr); align-items: start; gap: 22px; margin-top: clamp(28px,3vw,46px); }
.storefront .account-detail .panel h2 { font-size: clamp(28px,2.3vw,38px); font-weight: 500; }
.storefront .account-line { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.storefront .account-line h3 { font-size: clamp(22px,1.8vw,30px); }
.storefront .account-line ul { margin: 9px 0; padding-left: 18px; color: var(--muted); font-size: .85rem; }
.storefront .account-line strong { white-space: nowrap; }
.storefront .account-order-summary p { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.storefront .account-order-summary h3 { margin-top: 24px; font-size: 25px; }
.storefront .account-order-summary .text-link { margin-top: 24px; }

@media (max-width: 850px) {
  .storefront .account-detail { grid-template-columns: 1fr; }
  .storefront .account-current-grid { grid-template-columns: 1fr; }
  .storefront .editorial { width: min(90%,var(--editorial-width)); }
  .storefront .checkout { grid-template-columns: 1fr; }
  .storefront .related .product-grid { grid-template-columns: repeat(2,minmax(0,300px)); }
  .storefront .material-layout { grid-template-columns: 1fr; }
  .storefront .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .storefront .process-grid li { gap: 22px; border-bottom-width: 1px; }
}
@media (max-width: 600px) {
  .storefront .account-auth { padding-block: 28px 50px; }
  .storefront .account-form { padding: 22px; }
  .storefront .account-profile { flex-wrap: wrap; gap: 12px; }
  .storefront .account-avatar { width: 52px; height: 52px; }
  .storefront .account-profile > a { width: 100%; margin: 7px 0 0; }
  .storefront .account-card-product { grid-template-columns: 96px 1fr; gap: 13px; }
  .storefront .account-card-actions { justify-content: stretch; }
  .storefront .account-card-actions .button { flex: 1; min-width: 0; }
  .storefront .account-heading { align-items: start; flex-direction: column; }
  .storefront .account-table-wrap { overflow: visible; border: 0; background: transparent; }
  .storefront .account-history table,
  .storefront .account-history tbody,
  .storefront .account-history tr { display: block; width: 100%; }
  .storefront .account-history thead { display: none; }
  .storefront .account-history tr { position: relative; margin-bottom: 12px; padding: 12px 16px; border: 1px solid var(--line); background: #fff; }
  .storefront .account-history td { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border: 0; text-align: right; white-space: normal; }
  .storefront .account-history td::before { content: attr(data-label); color: var(--muted); text-align: left; }
  .storefront .account-history td:last-child { position: absolute; top: 8px; right: 16px; padding: 0; }
  .storefront .account-history td:last-child::before { content: none; }
  .storefront .account-history td:first-child { padding-right: 30px; }
  .storefront .editorial { width: calc(100% - var(--gutter) * 2); }
  .storefront .primary { min-height: 53px; gap: 8px; }
  .storefront .primary .brand img,
  .storefront .category-nav,
  .storefront .desktop-headline { display: none; }
  .storefront .mobile-brand { display: flex; gap: 7px; align-items: center; font: 600 21px/1 var(--serif); white-space: nowrap; }
  .storefront .mobile-brand b { color: var(--gold-dark); font: 600 18px/1 var(--sans); }
  .storefront .actions { gap: 4px; }
  .storefront .actions .icon { width: 32px; }
  .storefront .actions .icon svg { width: 17px; height: 17px; }
  .storefront .primary .contact-button { display: inline-flex; min-height: 29px; padding: 5px 9px; font-size: .72rem; }
  .storefront .mobile-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); padding-top: 8px; }
  .storefront .hero .mobile-headline { display: inline; }
  .storefront .hero::before {
    background: url('/media/hero-mobile.webp') center clamp(-95px,-11vw,-32px)/100% auto no-repeat;
  }
  .storefront .hero::after { content: none; }
  .storefront .hero-inner { min-height: 0; padding-block: 24px 48px; }
  .storefront .hero-content { min-height: clamp(350px,105vw,445px); }
  .storefront .hero h1 { max-width: 100%; font-size: clamp(28px,7.9vw,40px); line-height: 1.08; }
  .storefront .hero-description { max-width: 100%; margin: 11px 0 0; font-size: 12px; line-height: 1.7; }
  .storefront .hero-note { display: block; position: static; width: 82%; padding: 8px 13px; box-shadow: none; line-height: 1.3; }
  .storefront .hero-note .kicker { margin-bottom: 3px; font-size: 9px; }
  .storefront .hero-note h2 { font-size: 17px; margin-bottom: 3px; }
  .storefront .hero-note p:not(.kicker) { font-size: .67rem; line-height: 1.28; }
  .storefront .hero-note a { margin-top: 2px; font-size: .72rem; }
  .storefront .hero-buttons { display: grid; gap: 12px; margin-block: 16px 22px; }
  .storefront .hero-buttons .button { width: 100%; min-height: 40px; }
  .storefront .hero-benefits { opacity: 1; min-height: 0; padding: 6px 16px; box-shadow: none; }
  .storefront .hero-benefits li { padding: 14px 6px; grid-template-columns: 30px 1fr; align-items: center; min-height: 85px; }
  .storefront .hero-benefits li .kicker { margin-bottom: 0; }
  .storefront .hero-benefits p { margin-top: 3px; }
  .storefront .delivery-band { padding-block: 48px; }
  .storefront .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .storefront .category-tile { min-height: 144px; }
  .storefront .tile-islands { grid-column: span 2; min-height: 195px; }
  .storefront .category-tile p { font-size: .77rem; }
  .storefront .island-story,
  .storefront .detail-story,
  .storefront .product-detail { grid-template-columns: 1fr; }
  .storefront .island-story > img { min-height: 0; height: auto; aspect-ratio: 1.25; }
  .storefront .swatches { gap: 6px; }
  .storefront .swatches p { font-size: .76rem; }
  .storefront .catalog-hero {
    background-position: 55% center;
    background-image: linear-gradient(90deg,#f7f5f0 3%,#f7f5f0eb 29%,#f7f5f050 85%),var(--catalog-image);
  }
  .storefront .catalog-hero p { max-width: 27ch; }
  .storefront .catalog-filters form { padding: 14px; border: 1px solid var(--line); }
  .storefront .catalog-filters form:not([hidden]) { border-top: 0; }
  .storefront .related .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .storefront .carrier { gap: 7px; padding: 8px; }
  .storefront .carrier-mark { flex-basis: 34px; }
  .storefront .carrier-mark img { width: 34px; }
  .storefront .carrier-price { white-space: normal; text-align: right; }
}
@media (max-width: 360px) {
  .storefront .primary .contact-button { display: none; }
}
