/* Shared surfaces and the responsive compositions in the approved references. */
:root { --wrap: 1540px; }
body { background: radial-gradient(ellipse at 48% 35%,#fff9f1 0,#faeee4 68%,#f2dece); }
body[data-mode="store"] main { min-width: 0; }
.topbar { min-height: 48px; gap: 18px; padding: 2px 22px; }
.brand { font-weight: 700; font-size: clamp(24px,2vw,33px); letter-spacing: -.01em; }
.brand-mark { width: 72px; height: 37px; }
.brand-tag { padding-left: 16px; }
.site-nav a { min-height: 38px; }
.top-actions { gap: 9px; }
.top-actions .icon-btn { min-width: 34px; min-height: 34px; }
.hero {
  margin-top: -48px;
  padding-top: 48px;
}
.hero-home { min-height: clamp(315px,24vw,400px); }
.hero picture img { object-position: center 55%; }
.hero-inner { margin: 0 0 14px; }
.hero-lockup { display: grid; justify-items: center; line-height: 1; }
.hero-home .hero-mark { width: clamp(200px,20.5vw,310px); height: clamp(77px,7.2vw,106px); }
.hero-word {
  margin: 0;
  font-family: Georgia, var(--display), serif;
  font-size: clamp(50px,5.35vw,91px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.055em;
  padding: 5px 0;
}
.hero-tagline { letter-spacing: .16em; line-height: 1.22; }
.hero-intro { font-size: clamp(15px,1.44vw,21px); margin: 7px 0 9px; }
.hero-quick { margin-top: 8px; }
.hero-shop, .hero-product { min-height: 278px; }
.hero-shop .hero-mark, .hero-product .hero-mark { height: 63px; width: 168px; }
.hero-shop .hero-word, .hero-product .hero-word { font-size: clamp(45px,4.2vw,61px); }
.hero-shop .hero-tagline, .hero-product .hero-tagline { font-size: 9px; }
.hero-shop .mini-title, .hero-product .mini-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero-shop .hero-inner, .hero-product .hero-inner { margin: 4px 0 12px; }
.hero-shop .hero-quick, .hero-product .hero-quick { font-size: 10px; }
.hero-shop .hero-quick svg, .hero-product .hero-quick svg { width: 16px; }

.cat-band { margin-top: -5px; }
.category-tile { border-radius: 15px; min-height: unset; }
.cat-band .category-tile { height: clamp(80px,7vw,112px); }
.cat-band .category-image { height: 100%; width: 62%; aspect-ratio: auto; }
.cat-label { min-width: 0; font-size: clamp(10px,.88vw,13px); }
.shelf { grid-template-columns: 168px minmax(0,1fr); gap: 11px; margin-top: 11px; margin-bottom: 9px; }
.shelf-track { grid-auto-columns: minmax(110px,1fr); }
.shelf-track .card-info { padding: 5px 7px 7px; }
.shelf-track .card-info h3 { font-size: 11px; }
.shelf-track .product-price { font-size: 13px; line-height: 1.18; }
.shelf-track .card-art { aspect-ratio: 1.55; }
.shelf-track .product-image { height: 100%; aspect-ratio: 1.55; }
.shelf-next { right: -11px; width: 32px; height: 32px; }
.actions-band { position: relative; isolation: isolate; min-height: 76px; background: linear-gradient(90deg,#f6d9bc,#fff4e8 35%,#faf0e6 68%); }
.actions-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 29%; height: 100%; object-fit: cover; object-position: 50% 52%; mask-image: linear-gradient(90deg,transparent,#000 62%); }
.actions-band h2 { max-width: none; padding-inline: 24px 12px; font-size: clamp(23px,2.24vw,33px); }
.wa-band { min-height: 52px; }
.industry-band { margin-bottom: 12px; }
.industries .category-image { height: 76px; }
.editorial-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 130px; display: flex; align-items: center; border-radius: var(--radius); padding: 16px 22px; margin-block: 10px; background: #f8e4d4; border: 1px solid var(--line); }
.banner-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 62%; height: 100%; mask-image: linear-gradient(90deg,transparent,#000 45%); }
.editorial-banner div { max-width: 64%; }
.editorial-banner p { margin: 5px 0 10px; }
.footer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(103deg,#6c301d,#84472d 66%,#a76446); }
.footer-art { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 34%; height: 100%; mask-image: linear-gradient(90deg,transparent,#000 65%); object-position: center 62%; }
.footer-inner { position: relative; gap: clamp(14px,3vw,44px); }
.footer .brand-mark, .rail-brand .brand-mark { filter: brightness(1.44) saturate(.75); }

.shop-shell, .shop-grid, .shop-results, .shop-heading > div, .chips { min-width: 0; }
.shop-grid { grid-template-columns: 208px minmax(0,1fr); }
.shop-results .chips { margin-block: 8px; }
.shop-heading { margin-top: 1px; }
.shop-tiles .category-image { height: 103px; }
.shop-tiles .cat-label { min-height: 34px; }
.shop-results .product-card .card-art { aspect-ratio: 1.95; }
.shop-results .product-image { aspect-ratio: 1.95; }
.shop-results .card-info { padding: 7px 9px 9px; }
.shop-results .card-info h3 { min-height: 1.15em; }
.shop-results .card-actions { flex-wrap: wrap; }
.shop-results .card-actions .btn { min-height: 33px; white-space: nowrap; }
.card-actions .wa-card { flex: 0 0 34px; color: #fff; border-color: #27844c; background: linear-gradient(#328d50,var(--green)); }
.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }

.detail { border-radius: 18px; margin-top: -5px; padding: 0 16px 19px; }
.detail-grid { grid-template-columns: minmax(0,1.03fr) minmax(0,1fr); gap: 20px; }
.main-photo img { aspect-ratio: 1.53; }
.detail-copy h1 { max-width: 18ch; }
.detail-actions .btn { min-height: 43px; }
.detail .crumb { min-height: 37px; }
.steps { margin-top: 12px; }
.steps h2 { max-width: 15ch; }
.checkout-page { width: min(1050px,calc(100% - 40px)); padding: 20px 0 24px; }
.checkout-lead { margin-bottom: 11px; }
.back-to-cart { color: var(--mute); font-weight: 700; font-size: 13px; }
.back-to-cart::before { content: '‹'; font-size: 19px; vertical-align: -1px; margin-right: 5px; }
.checkout-title { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.checkout-title > svg { color: #fff; background: var(--green); border-radius: 50%; padding: 6px; width: 43px; height: 43px; box-shadow: 0 2px 8px #27663f3d; }
.checkout-title h1 { font-size: clamp(25px,4vw,36px); }
.checkout-title p { margin: 4px 0 0; color: var(--mute); }
.checkout .form-card { border: 1px solid #e9d7ca; background: linear-gradient(137deg,#fffcf7,#f9efe7); }
.checkout .form-card h2 { font-size: 18px; margin-bottom: 7px; }
.checkout .field { margin-block: 4px 7px; }
.checkout .field textarea { min-height: 67px; }
.optional-details summary { color: var(--mute); font-size: 12px; font-weight: 650; }
.checkout-right { gap: 6px; }
.checkout-right .privacy-copy { margin: 0 0 4px; }
.checkout .submit-foot .btn { min-height: 46px; font-weight: 750; }
.checkout .submit-foot > .form-help { color: #624234; border-radius: 9px; background: #f7eadd; padding: 7px 9px; margin-top: 7px; }
.checkout .cart-totals strong { color: var(--accent); }

body[data-mode="admin"] { background: #f5e9df; }
.admin-top { min-height: 72px; padding-inline: 20px; background-position: center 59%; }
.admin-frame { grid-template-columns: 204px minmax(0,1fr); min-height: calc(100vh - 72px); }
.admin-rail { position: relative; isolation: isolate; background: linear-gradient(150deg,#5e2c1b,#713723 66%,#63331f); }
.admin-rail nav { gap: 2px; }
.admin-rail nav a { min-height: 34px; }
.admin-rail nav a[aria-current] { background: linear-gradient(#bb6945,#a65231); }
.admin-rail-art { position: absolute; z-index: -1; bottom: 0; left: 0; width: 100%; height: 240px; opacity: .5; mask-image: linear-gradient(transparent,#000 43%); }
.admin-columns.has-editor { grid-template-columns: minmax(0,1.55fr) minmax(350px,1fr); }
.admin-editor { background: #fffcf8; border-color: #dec5b3; }
.admin-editor header { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.edit-actions { position: sticky; bottom: 0; z-index: 2; background: #fffcf8; border-top: 1px solid var(--line); padding: 7px 0; }
.editor-gallery img { width: 82px; height: 66px; }
.admin-editor .field-grid { gap: 0 7px; }
.admin-editor .field textarea { min-height: 60px; }
.copy-group { padding: 6px 9px; }
.admin-heading .btn { min-height: 38px; }
.admin-card .table-wrap { scrollbar-width: thin; }
.admin-card .table-wrap th { color: #6c3c27; }
.category-meters { display: grid; gap: 5px; margin-top: 7px; }
.category-meters li { display: grid; grid-template-columns: minmax(110px,1fr) 1fr 24px; align-items: center; gap: 6px; font-size: 11px; }
.category-meters meter { width: 100%; block-size: 10px; accent-color: var(--accent); }

@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: 178px minmax(0,1fr); }
  .admin-columns.has-editor { grid-template-columns: minmax(0,1fr) minmax(315px,1fr); }
  .admin-frame { grid-template-columns: 162px minmax(0,1fr); }
}
@media (max-width: 900px) {
  .topbar { padding-inline: 12px; }
  .mobile-menu { display: inline-grid; }
  .site-nav { display: none; position: absolute; z-index: 5; top: 100%; left: 7px; right: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 39px; padding: 3px 10px; }
  .top-actions { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-columns.has-editor { grid-template-columns: minmax(0,1fr); }
  .admin-columns.has-editor .admin-editor { position: static; grid-row: 1; }
}
@media (max-width: 750px) {
  .topbar { justify-content: space-between; min-height: 54px; padding: 4px 10px; gap: 4px; }
  .topbar .brand { font-size: clamp(18px,5.55vw,25px); gap: 2px; }
  .brand-mark { width: 48px; height: 31px; }
  .top-actions { margin-left: 0; gap: 0; }
  .top-actions .top-search { display: none; }
  .top-actions .icon-btn, .top-actions .account, .mobile-menu { min-height: 42px; min-width: 34px; }
  .top-actions .account { justify-content: center; }
  .top-actions .wish { display: inline-grid; }
  .hero { margin-top: 0; padding-top: 0; padding-inline: 12px; }
  .hero-home { min-height: 263px; }
  .hero-home .hero-mark { width: 150px; height: 61px; }
  .hero-home .hero-word { font-size: clamp(37px,12vw,65px); }
  .hero-home .hero-tagline { letter-spacing: .1em; }
  .hero-quick { margin-top: 6px; flex-wrap: wrap; }
  .hero-quick span { padding-inline: 5px; font-size: 9px; }
  .hero-shop, .hero-product { min-height: 0; padding-top: 8px; }
  .hero-shop .hero-inner, .hero-product .hero-inner { margin: 3px 0 9px; }
  .hero-shop .hero-lockup, .hero-product .hero-lockup { display: none; }
  .hero-shop .mini-title { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 27px; }
  .hero-shop .hero-intro { max-width: 230px; margin: 3px 0 8px; }
  .hero-shop .hero-quick, .hero-product { display: none; }
  .search-bar .btn { min-height: 37px; }
  .category-tile { overflow: hidden; }
  .categories { grid-template-columns: none; grid-auto-columns: minmax(104px,30%); grid-auto-flow: column; min-width: 0; }
  .cat-band .category-tile { height: 84px; }
  .cat-band .category-image { width: 58%; }
  .cat-label { font-size: 10px; }
  .shelf { grid-template-columns: minmax(0,1fr); }
  .shelf-track { grid-auto-columns: minmax(108px,34vw); }
  .shelf-track .card-actions .btn { min-height: 35px; }
  .shelf-next { right: 0; }
  .actions-band h2 { max-width: none; }
  .actions-band a { min-height: 57px; }
  .shop-grid { grid-template-columns: minmax(0,1fr); }
  .shop-heading { display: flex; gap: 8px; }
  .shop-heading .flow-tabs { order: -1; }
  .shop-tiles .category-image { height: 73px; }
  .shop-tiles .cat-label { min-height: 35px; padding: 5px 3px; }
  .shop-filters summary { min-height: 34px; align-content: center; }
  .shop-search { flex-wrap: wrap; }
  .shop-search > label:first-of-type { min-width: 130px; }
  .shop-search .btn { min-height: 38px; }
  .shop-results .product-grid { grid-template-columns: minmax(0,1fr); }
  .shop-results .product-card { display: grid; grid-template-columns: 32% minmax(0,1fr); }
  .shop-results .product-card .card-art { height: 100%; min-height: 120px; aspect-ratio: auto; }
  .shop-results .product-image { width: 100%; height: 100%; min-height: 120px; aspect-ratio: auto; }
  .shop-results .card-art > a { display: block; height: 100%; }
  .shop-results .card-actions .btn { flex: 0 1 auto; min-height: 36px; padding-inline: 8px; }
  .shop-results .card-info h3 { margin-top: 3px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .detail { margin-top: 8px; }
  .steps h2 { max-width: none; }
  .checkout-page { width: calc(100% - 22px); padding-top: 10px; }
  .checkout-title { gap: 9px; }
  .checkout-title p { font-size: 12px; }
  .checkout .form-card { padding: 11px; }
  .checkout .field label, .checkout .field input, .checkout .field select, .checkout .field textarea { font-size: 16px; }
  .checkout .field > span { display: none; }
  .checkout .field-grid { grid-template-columns: minmax(0,1fr); }
  .checkout-left .form-card:nth-child(2) .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-top { min-height: 60px; padding-inline: 9px; }
  .admin-frame { grid-template-columns: minmax(0,1fr); }
  .admin-rail-art { display: none; }
  .admin-rail nav a { min-height: 37px; }
  .admin-rail details:not([open]) { height: 35px; }
  .admin-editor .field input, .admin-editor .field select { font-size: 16px; min-height: 40px; }
  .admin-editor .field textarea { font-size: 16px; }
  .editorial-banner div { max-width: 76%; }
}
@media (max-width: 370px) {
  .topbar .brand-mark { width: 40px; }
  .topbar .brand { font-size: 19px; }
  .topbar .top-actions .account { display: none; }
  .topbar .top-actions .icon-btn { min-width: 36px; }
}
