/* Public storefront. The management screens keep their separate theme. */
.a-shop {
  --ink: #24231f;
  --mut: #67645e;
  --line: #e6e2da;
  --bg: #fffdf8;
  --brand: #302e29;
  --brand-d: #161512;
  --brand-l: #f4efe6;
  --tangerine: #ff663b;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--ui-font);
  overflow-wrap: anywhere;
}
.a-shop .wrap { max-width: 1328px; padding-inline: 32px; }
.a-shop .main { padding-block: 32px 76px; }
.a-shop :focus-visible { outline: 3px solid #a53616; outline-offset: 3px; }
.a-shop .shop-icon { display: inline-block; flex: none; vertical-align: middle; }
.a-shop .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: -1px; white-space: nowrap; }
.shop-skip { position: fixed; top: 6px; left: 12px; z-index: 20; transform: translateY(-150%); padding: 8px 16px; background: white; border-radius: 6px; }
.shop-skip:focus { transform: translateY(0); }

/* Masthead and category index */
.a-shop .top { position: relative; background: var(--bg); border-color: var(--line); z-index: 3; }
.a-shop .top-in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "search brand links"; align-items: center; gap: 24px; height: 80px; }
.a-shop .top-in .logo { grid-area: brand; justify-self: center; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 900 43px/.94 "Arial Black", "Segoe UI", Arial, sans-serif; letter-spacing: -.091em; }
.wordmark > span { padding-right: .075em; }
.wordmark-flower { flex: none; width: .76em; height: .76em; color: var(--tangerine); }
.wordmark-dot { color: inherit; }
.a-shop .search { grid-area: search; display: flex; align-items: center; gap: 6px; width: 100%; max-width: 276px; padding: 3px 4px 3px 16px; border: 1px solid #d8d2c7; border-radius: 999px; background: #faf7ef; overflow: visible; }
.a-shop .search:focus-within { border-color: #a53616; box-shadow: 0 0 0 2px #ffddc8; }
.a-shop .search input { width: 0; padding: 6px 0; font-size: 14px; font-weight: 580; letter-spacing: -.025em; background: transparent; outline: 0; line-height: 1.5; }
.a-shop .search input::placeholder { color: #615c53; opacity: 1; }
.a-shop .search button { display: grid; place-items: center; flex: none; padding: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fffdf8; }
.a-shop .search button .shop-icon { width: 17px; height: 17px; stroke-width: 2; }
.a-shop .top-links { grid-area: links; justify-self: end; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.a-shop .top-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; gap: 7px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; }
.a-shop .top-links .shop-icon { stroke-width: 1.9; }
.a-shop .top-links .utility-seller { border-color: #a9a393; padding-inline: 14px; background: #fffdf8; }
.a-shop .top-links .seller-label-short { display: none; }
.a-shop .top-links .utility-shop[aria-current] { background: #fae4d6; color: #742c15; }
.a-shop .foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.a-shop .cats { border-color: var(--line); }
.a-shop .cats-in { justify-content: safe center; align-items: center; gap: clamp(5px, 1vw, 15px); padding-block: 6px; }
.a-shop .cats a { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; min-height: 37px; padding: 6px 14px; border: 0; border-radius: 999px; color: #49443a; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.a-shop .cats a.on { background: #fbe4d3; color: #783519; font-weight: 800; }
.a-shop .cats a.on::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #b54118; }
.a-shop .cats a.on > .shop-icon { display: none; }
.a-shop .cats a:focus-visible { outline-offset: -2px; }
.a-shop :is(.top-links a, .search button, .cats a, .pager a, .pd-info .btn) { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
@media (hover: hover) {
  .a-shop .search button:hover { background: #ae3b1a; }
  .a-shop .top-links .utility-seller:hover { background: var(--ink); border-color: var(--ink); color: #fffdf8; }
  .a-shop .top-links .utility-shop:hover, .a-shop .cats a:not(.on):hover { background: #f1ecdf; color: var(--ink); }
}
.a-shop :is(.top-links a, .search button, .cats a, .pager a, .pd-info .btn):active { transform: translateY(1px); }

/* Catalog */
.a-shop .sec-h { align-items: center; margin-bottom: 20px; }
.a-shop .sec-h h1, .a-shop .sec-h h2, .a-shop .doc h1 { font-weight: 800; line-height: 1.25; letter-spacing: -.055em; }
.a-shop .sec-h h1, .a-shop .doc h1 { font-size: clamp(28px, 3.4vw, 46px); }
.a-shop .sec-h h2 { font-size: clamp(23px, 2.5vw, 32px); }
.a-shop .sec-h > a { color: var(--ink); font-size: 13px; font-weight: 650; white-space: nowrap; }
.a-shop .sec-h > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.a-shop .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.a-shop .card { min-width: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.a-shop .card:hover { transform: none; box-shadow: none; }
.card-media { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; background: #f2eee4; }
.a-shop .card-media .thumb { transition: transform .35s ease; }
.card-open { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 100%; background: #fffdf9; color: var(--ink); opacity: 0; transform: translateY(3px); transition: opacity .18s ease, transform .18s ease; }
.a-shop .card:focus-visible .card-open { opacity: 1; transform: none; }
@media (hover: hover) {
  .a-shop .card:hover .card-media .thumb { transform: scale(1.035); }
  .a-shop .card:hover .card-open { opacity: 1; transform: none; }
}
.a-shop .card-b { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 12px 1px 0; }
.a-shop .card-shop { color: var(--mut); font-size: 12px; }
.a-shop .card-name { min-height: 0; margin: 3px 0 6px; font-size: 16px; font-weight: 650; letter-spacing: -.035em; }
.a-shop .card-price { margin-top: auto; font-size: 13px; }
.a-shop .card-price b { margin-right: 2px; font: 750 21px/1.25 "Segoe UI", Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.a-shop .thumb.ph { position: relative; isolation: isolate; overflow: hidden; background: var(--art-bg); color: var(--art-ink); }
.a-shop .thumb.ph::before, .a-shop .thumb.ph::after { position: absolute; content: ""; z-index: -1; width: 72%; height: 145%; border: 1px solid currentColor; opacity: .17; border-radius: 50%; transform: rotate(38deg); }
.a-shop .thumb.ph::before { left: -33%; top: -50%; }
.a-shop .thumb.ph::after { right: -42%; bottom: -51%; }
.a-shop .thumb.ph > span { display: grid; width: 43%; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--art-disk); }
.a-shop .thumb.ph .shop-icon { width: 60%; height: 60%; stroke-width: 1.1; }
.a-shop .ph0 { --art-bg: #ecdfc2; --art-ink: #59513e; --art-disk: #f6ebd4; }
.a-shop .ph1 { --art-bg: #d6e0c5; --art-ink: #465740; --art-disk: #e9eedf; }
.a-shop .ph2 { --art-bg: #f0d8ce; --art-ink: #784f50; --art-disk: #f6e8de; }
.a-shop .ph3 { --art-bg: #c9d8dc; --art-ink: #39545c; --art-disk: #e2eaeb; }
.a-shop .ph4 { --art-bg: #dfd3dd; --art-ink: #5e4a60; --art-disk: #f0e5ec; }
.a-shop .ph5 { --art-bg: #f0dda2; --art-ink: #6d5430; --art-disk: #f7eac7; }
.a-shop .ph6 { --art-bg: #ddd9cf; --art-ink: #504e45; --art-disk: #eeeae1; }
.a-shop .pager { flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 36px; }
.a-shop .pager a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 6px 12px; border-radius: 999px; border-color: #d9d2c3; color: var(--ink); background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-shop .pager a.on { border-color: var(--ink); color: #fffdf8; background: var(--ink); }
@media (hover: hover) {
  .a-shop .pager a:not(.on):hover { border-color: #d8a086; background: #fbe4d3; }
}
.a-shop .empty { padding: clamp(44px, 10vw, 100px) 20px; border: 1px dashed #d8d2c6; border-radius: 14px; }

/* Shops and individual product pages */
.a-shop .shops { grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); gap: 12px; }
.a-shop .shop { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-content: center; justify-content: start; padding: 20px; border-radius: 12px; background: #faf7f0; }
.a-shop .shop > .shop-i { grid-row: 1 / span 2; align-self: center; margin: 0; }
.a-shop .shop > b, .a-shop .shop > small { grid-column: 2; }
.a-shop .shop > em { grid-column: 1 / -1; margin-top: 12px; }
.a-shop .shop:hover { background: #f6f0e5; border-color: #bdad92; }
.a-shop .shop-i { background: #f8ddae; color: #573f25; font-weight: 800; }
.a-shop .shop:nth-child(3n + 2) .shop-i { background: #e0e6ca; color: #46533a; }
.a-shop .shop:nth-child(3n) .shop-i { background: #efd7c9; color: #704a41; }
.a-shop .shop-head { padding: clamp(20px, 4vw, 45px); background: #f6f0e4; }
.a-shop .shop-head h1 { font-size: clamp(24px, 3vw, 38px); line-height: 1.3; letter-spacing: -.05em; }
.a-shop .shop-head .muted { margin-top: 8px; }
.a-shop .crumb { margin-bottom: 18px; }
.a-shop .crumb a:hover, .a-shop .pd-shop:hover { text-decoration: underline; text-underline-offset: 3px; }
.a-shop .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 88px); padding: 0; margin-bottom: 44px; background: transparent; border: 0; }
.a-shop .pd-img { border-radius: 18px; }
.a-shop .pd-shop { color: #9c3f26; }
.a-shop .pd-info h1 { margin-top: 9px; font-size: clamp(28px, 3vw, 43px); letter-spacing: -.055em; }
.a-shop .pd-price { margin: 18px 0; padding-bottom: 22px; }
.a-shop .pd-price b { margin-right: 3px; font-size: 36px; letter-spacing: -.05em; }
.a-shop .pd-meta, .a-shop .seller-box dl { gap: 8px 26px; }
.a-shop .pd-info .btn { position: relative; justify-content: flex-start; min-height: 53px; min-width: min(280px, 100%); max-width: 100%; padding: 12px 54px 12px 21px; border-radius: 999px; border-color: var(--ink); background: var(--ink); color: #fffdf8; font-size: 16px; font-weight: 750; line-height: 1.35; letter-spacing: -.025em; white-space: normal; text-align: left; }
.a-shop .pd-info .btn::after { content: ""; position: absolute; right: 7px; top: 50%; width: 35px; height: 35px; border-radius: 50%; transform: translateY(-50%); background: var(--tangerine); }
.a-shop .pd-info .btn::before { content: ""; position: absolute; z-index: 1; right: 22px; top: 50%; width: 7px; height: 7px; border: solid #261d14; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
@media (hover: hover) {
  .a-shop .pd-info .btn:hover { background: #403b32; border-color: #403b32; }
  .a-shop .pd-info .btn:hover::after { background: #ff885e; }
}
.a-shop .pd-desc, .a-shop .seller-box, .a-shop .doc { padding: clamp(22px, 4vw, 44px); background: #fcfaf5; }
.a-shop .pd-desc h2, .a-shop .seller-box h2 { margin-bottom: 18px; font-size: 21px; letter-spacing: -.04em; }
.a-shop .seller-box dl { margin-bottom: 0; }
.a-shop .doc .prose { max-width: 78ch; }

.a-shop .foot { padding: 32px 0 42px; background: #f6f3ea; color: var(--mut); }
.foot-brand { display: inline-flex; margin-bottom: 18px; }
.foot-brand .wordmark { font-size: 29px; gap: 6px; }
.a-shop .foot-links { gap: 10px 22px; padding-bottom: 18px; margin-bottom: 16px; }
.a-shop .foot-biz { font-size: 12px; line-height: 1.8; }
.a-shop .foot-note { max-width: 90ch; color: var(--mut); }

@media (max-width: 900px) {
  .a-shop .wrap { padding-inline: 24px; }
  .a-shop .top-in { padding-block: 0; }
  .a-shop .top-links { gap: 4px; }
  .a-shop .top-links a { gap: 5px; padding-inline: 8px; }
  .a-shop .top-links .utility-seller { padding-inline: 10px; }
  .a-shop .cats-in { gap: 4px; }
  .a-shop .cats a { padding-inline: 10px; }
  .a-shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
}
@media (max-width: 680px) {
  .a-shop .wrap { padding-inline: 18px; }
  .a-shop .main { padding-block: 20px 50px; }
  .a-shop .top-in { height: auto; padding-block: 10px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand links" "search search"; gap: 8px; }
  .a-shop .top-in .logo { justify-self: start; }
  .wordmark { font-size: 33px; gap: 6px; }
  .a-shop .search { max-width: none; }
  .a-shop .search input { font-size: 16px; padding-block: 5px; }
  .a-shop .top-links { gap: 4px; }
  .a-shop .top-links .utility-shop { width: 40px; min-height: 40px; padding: 0; }
  .a-shop .top-links .utility-shop span { display: none; }
  .a-shop .top-links .utility-seller { gap: 5px; padding: 0 11px; }
  .a-shop .cats-in { justify-content: flex-start; gap: 3px; padding-block: 4px; }
  .a-shop .cats a { min-height: 37px; padding-inline: 11px; }
  .a-shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .a-shop .card-media { border-radius: 10px; }
  .a-shop .card-name { font-size: 14px; }
  .a-shop .card-price b { font-size: 18px; }
  .a-shop .card-b { padding-top: 8px; }
  .a-shop .pd { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 28px; }
  .a-shop .pd-info .btn { width: 100%; }
  .a-shop .shop-i.big { width: 48px; height: 48px; font-size: 22px; }
  .a-shop .shop-head { gap: 12px; align-items: flex-start; }
}
@media (max-width: 360px) {
  .a-shop .top-links .seller-label { display: none; }
  .a-shop .top-links .seller-label-short { display: inline; }
  .a-shop .pd-info .btn { padding-left: 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .a-shop .card, .a-shop .card-media .thumb, .a-shop .card-open { transition: none; }
  .a-shop .card:hover .card-media .thumb { transform: none; }
  .a-shop :is(.top-links a, .search button, .cats a, .pager a, .pd-info .btn) { transition: none; }
  .a-shop :is(.top-links a, .search button, .cats a, .pager a, .pd-info .btn):active { transform: none; }
}
