/* TrauMerch product catalog page (products.html). Builds on v2.css tokens and product cards. */
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nav-links a[aria-current=page]{color:#3f7d48}
.nav-links a[aria-current=page]::after{content:"";position:absolute;left:50%;bottom:0;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--dot)}
body.filters-open{overflow:hidden}

/* Intro */
.shop-hero{padding-top:28px}
.crumbs{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--muted)}
.crumbs a{transition:color .2s}
.crumbs a:hover{color:var(--forest)}
.crumbs [aria-current]{color:var(--ink)}
.shop-hero-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 48px;margin-top:22px}
.shop-hero h1{font-size:clamp(42px,5.4vw,72px);line-height:.98;letter-spacing:-.055em;font-weight:800}
.shop-lead{max-width:560px;margin-top:16px;font-size:17px;line-height:1.6;color:var(--muted-2)}
.shop-facts{display:flex;gap:10px;margin:0;padding:0;list-style:none}
.shop-facts li{display:flex;flex-direction:column;gap:2px;min-width:118px;padding:14px 16px;border-radius:18px;background:var(--mint)}
.shop-facts strong{font-size:22px;font-weight:800;letter-spacing:-.04em;color:var(--forest)}
.shop-facts li>span{font-size:12.5px;color:var(--muted)}
.shop-cats{display:flex;gap:10px;margin:30px -24px 0;padding:4px 24px 6px;overflow-x:auto;scrollbar-width:none}
.shop-cats::-webkit-scrollbar{display:none}
@media (min-width:901px){.shop-cats{flex-wrap:wrap;margin-inline:0;padding-inline:0;overflow:visible}}
.shop-cats button{display:flex;flex-shrink:0;align-items:center;gap:10px;min-height:60px;padding:6px 18px 6px 8px;border:1.5px solid var(--hair);border-radius:18px;background:#fffefb;font-size:14px;font-weight:700;color:var(--ink);transition:border-color .2s,background .2s,transform .15s}
.shop-cats button:hover{border-color:#bcc8c1}
.shop-cats button:active{transform:scale(.98)}
.shop-cats img{width:44px;height:44px;transition:transform .3s}
.shop-cats button:hover img{transform:rotate(-6deg) scale(1.06)}
.shop-cat-all{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--mint);font-size:12px;font-weight:800;color:var(--forest)}
.shop-cats button[aria-pressed=true]{border-color:var(--forest);background:var(--forest);color:var(--ivory)}
.shop-cats button[aria-pressed=true] .shop-cat-all{background:var(--lime)}

/* Layout */
.shop-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:40px;align-items:start;padding-top:28px;padding-bottom:40px}

/* Filters sidebar: scrolls vertically only, never sideways */
.shop-filters{position:sticky;top:100px;max-height:calc(100vh - 116px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:4px 6px 16px 2px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.sf-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.sf-head h2{font-size:18px;font-weight:800;letter-spacing:-.02em}
.sf-close{display:none}
.sf-group{margin:0;padding:18px 0;border:0;border-top:1px solid var(--line);min-width:0}
.sf-group legend{float:left;width:100%;margin-bottom:12px;padding:0;font-size:13px;font-weight:800;letter-spacing:.02em}
.sf-options{clear:both;display:flex;flex-direction:column;gap:2px}
.sf-check{position:relative;display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:10px;padding:7px 8px;margin:0 -8px;border-radius:10px;font-size:14.5px;font-weight:600;cursor:pointer;transition:background .15s}
.sf-check:hover{background:var(--surface)}
.sf-check input,.sf-pills input,.sf-switch input{position:absolute;opacity:0;width:1px;height:1px}
.sf-box{display:grid;place-items:center;width:20px;height:20px;border:1.5px solid #a2b0a8;border-radius:6px;background:#fffefb;transition:background .15s,border-color .15s}
.sf-check input:checked+.sf-box{border-color:var(--forest);background:var(--forest)}
.sf-check input:checked+.sf-box::after{content:"";width:9px;height:5px;margin-top:-2px;border:solid var(--lime);border-width:0 0 2.2px 2.2px;rotate:-45deg}
.sf-check input:focus-visible+.sf-box{outline:3px solid #658c75;outline-offset:2px}
.sf-check input:disabled~*{opacity:.4}
.sf-check:has(input:disabled){cursor:default}
.sf-check:has(input:disabled):hover{background:none}
.sf-n{min-width:24px;padding:1px 7px;border-radius:99px;background:var(--surface);text-align:center;font-size:11.5px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.sf-pills{flex-direction:row;flex-wrap:wrap;gap:6px}
.sf-pills label{cursor:pointer}
.sf-pills span{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border:1.5px solid var(--line);border-radius:99px;font-size:13.5px;font-weight:700;transition:background .15s,border-color .15s,color .15s}
.sf-pills label:hover span{border-color:#93a79b}
.sf-pills input:checked+span{border-color:var(--forest);background:var(--forest);color:var(--ivory)}
.sf-pills input:focus-visible+span{outline:3px solid #658c75;outline-offset:2px}
.sf-switches{gap:6px}
.sf-switch{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:36px;font-size:14.5px;font-weight:600;cursor:pointer}
.sf-switch-text{flex:1;min-width:0;line-height:1.3;hyphens:manual;-webkit-hyphens:manual;overflow-wrap:break-word}
.sf-switch-track{position:relative;flex-shrink:0;width:42px;height:24px;border-radius:99px;background:#cdd8c8;transition:background .2s}
.sf-switch-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#ffffff;box-shadow:0 1px 3px #110d0d40;transition:transform .2s}
.sf-switch input:checked+.sf-switch-track{background:var(--forest)}
.sf-switch input:checked+.sf-switch-track::after{transform:translateX(18px);background:var(--lime)}
.sf-switch input:focus-visible+.sf-switch-track{outline:3px solid #658c75;outline-offset:2px}
.sf-foot{display:none}
.sf-backdrop{display:none}

/* Toolbar, count, chips */
.shop-toolbar{display:flex;align-items:center;gap:10px}
.shop-search{position:relative;flex:1;min-width:0}
.shop-search svg{position:absolute;left:16px;top:50%;width:19px;height:19px;translate:0 -50%;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.shop-search input{width:100%;height:50px;padding:0 16px 0 46px;border:1.5px solid var(--hair);border-radius:99px;background:#fffefb;font-size:15px;color:var(--ink);transition:border-color .2s,box-shadow .2s}
.shop-search input::placeholder{color:#808e86}
.shop-search input:hover{border-color:#bcc8c1}
.shop-search input:focus{outline:none;border-color:var(--forest);box-shadow:0 0 0 4px #8bb43666}
.shop-filter-btn{display:none;align-items:center;gap:8px;flex-shrink:0;height:50px;padding:0 16px;border:1.5px solid var(--forest);border-radius:99px;font-size:14px;font-weight:700;color:var(--forest)}
.shop-filter-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.shop-filter-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:var(--forest);color:var(--lime);font-size:12px}
.shop-filter-count[hidden]{display:none}
.shop-sort{display:flex;flex-shrink:0;align-items:center;gap:8px;height:50px;padding:0 6px 0 18px;border:1.5px solid var(--hair);border-radius:99px;background:#fffefb;font-size:13px;font-weight:700;color:var(--muted)}
.shop-sort select{height:100%;padding:0 30px 0 4px;border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230f2a1f' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center/16px;-webkit-appearance:none;appearance:none;font-size:14px;font-weight:700;color:var(--ink);cursor:pointer}
.shop-sort select:focus{outline:none}
.shop-sort:focus-within{border-color:var(--forest)}
.shop-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;min-height:40px;margin:16px 0 18px}
.shop-count{font-size:14px;color:var(--muted)}
.shop-count strong{font-size:16px;color:var(--ink)}
.shop-chips{display:flex;flex-wrap:wrap;gap:6px}
.shop-chip{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 10px 0 13px;border-radius:99px;background:var(--mint);font-size:13px;font-weight:700;color:var(--forest);transition:background .15s}
.shop-chip span{font-size:17px;line-height:1;color:#466854}
.shop-chip:hover{background:#d9e8d0}
.shop-chip-clear{min-height:32px;padding:0 8px;font-size:13px;font-weight:700;color:#3f7d48}
.shop-chip-clear:hover{color:var(--forest)}

/* Grid and cards */
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shop-card .product-art{position:relative;width:100%;cursor:pointer}
.shop-card .product-art img{width:52%}
.shop-title{font:inherit;text-align:left;color:inherit;transition:color .2s}
.shop-title:hover{color:#3f7d48}
.shop-title::after{content:"";position:absolute;inset:0;border-radius:inherit}
.shop-card{position:relative}
.shop-card .product-add,.shop-card .shop-swatches{position:relative;z-index:1}
.product-badge-new{background:var(--lime);color:var(--forest)}
.shop-eco{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fffefb;box-shadow:0 4px 10px -4px #110d0d40}
.shop-eco svg{width:16px;height:16px;fill:none;stroke:#2e7d3a;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.shop-eco svg path:first-child{fill:#e1f0d6}
.shop-swatches{display:flex;align-items:center;gap:5px;margin-top:10px}
.shop-swatches i{width:14px;height:14px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px #110d0d26}
.shop-swatches small{margin-left:2px;font-size:11.5px;font-weight:700;color:var(--muted)}

/* Empty state and sourcing CTA */
.shop-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:48px 24px;border:1.5px dashed var(--line);border-radius:var(--radius-md);text-align:center}
.shop-empty img{width:84px;height:84px}
.shop-empty h3{font-size:22px;font-weight:800;letter-spacing:-.03em}
.shop-empty p{max-width:420px;font-size:15px;line-height:1.6;color:var(--muted)}
.shop-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:8px}
.shop-results .catalog-note{margin-top:18px}
.shop-source{display:flex;align-items:center;gap:24px;margin-top:28px;padding:24px 28px 24px 20px;border-radius:var(--radius-lg);background:var(--forest);color:var(--ivory)}
.shop-source>img{flex-shrink:0;width:96px;height:96px;rotate:-8deg}
.shop-source>div{flex:1;min-width:0}
.shop-source h3{font-size:24px;font-weight:800;letter-spacing:-.035em}
.shop-source p{margin-top:6px;max-width:520px;font-size:15px;line-height:1.6;color:var(--on-dark-muted)}
.shop-source .pill{flex-shrink:0}

/* Product details dialog */
.pd{width:min(980px,calc(100% - 32px));padding:0;overflow:hidden}
.pd .dialog-close{z-index:2}
.pd-content{max-height:calc(100dvh - 40px);overflow:auto}
.pd-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.pd-art{position:relative;display:grid;place-items:center;min-height:100%;padding:40px;background:radial-gradient(60% 50% at 50% 55%,#ffffff8c,transparent 70%),var(--surface)}
.pd-art.product-art-cream{background:radial-gradient(60% 50% at 50% 55%,#fffefbb3,transparent 70%),#eef2e6}
.pd-art.product-art-sage{background:radial-gradient(60% 50% at 50% 55%,#ffffff8c,transparent 70%),#e9eee3}
.pd-art>img{width:min(78%,320px);filter:drop-shadow(0 18px 24px #110d0d26)}
.pd-art .product-badge{left:18px;top:18px}
.pd-art .shop-eco{top:16px;right:auto;left:auto;inset:auto 18px 18px auto}
.pd-info{padding:40px 40px 32px}
.pd-cat{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#466854}
.pd-info h2{margin-top:8px;padding-right:32px;font-size:34px;line-height:1.05;letter-spacing:-.045em;font-weight:800}
.pd-spec{margin-top:6px;font-size:15px;font-weight:600;color:var(--muted-2)}
.pd-desc{margin-top:14px;font-size:15.5px;line-height:1.6;color:var(--muted)}
.pd-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 0}
.pd-facts>div{padding:12px 14px;border-radius:14px;background:var(--surface)}
.pd-facts dt{font-size:12px;color:var(--muted)}
.pd-facts dd{margin-top:3px;font-size:14.5px;font-weight:700}
.pd-colors{margin-top:18px}
.pd-colors p{font-size:13px;font-weight:700}
.pd-colors small{font-weight:600;color:var(--muted)}
.pd-colors .shop-swatches{margin-top:8px;gap:7px}
.pd-colors .shop-swatches i{width:22px;height:22px}
.pd-tiers-wrap{margin-top:20px;overflow-x:auto}
.pd-tiers{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.pd-tiers caption{margin-bottom:8px;text-align:left;font-size:13px;font-weight:700}
.pd-tiers th,.pd-tiers td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:center;font-size:14px;white-space:nowrap}
.pd-tiers th[scope=row]{padding-left:0;text-align:left;font-size:12px;font-weight:600;color:var(--muted)}
.pd-tiers thead th[scope=col]{font-size:12.5px;font-weight:700;color:var(--muted)}
.pd-tiers td{font-weight:800}
.pd-tiers .is-base{background:var(--mint);color:var(--forest)}
.pd-tiers thead .is-base{border-radius:10px 10px 0 0}
.pd-tiers tbody .is-base{border-radius:0 0 10px 10px;border-bottom-color:transparent}
.pd-tiers tbody tr:last-child>*{border-bottom:0}
.pd-note{margin-top:10px;font-size:12px;line-height:1.5;color:var(--muted)}
.pd-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.pd-actions .product-add{flex:1 1 200px;min-height:52px;margin:0;font-size:15px}
.pd-actions .pd-ask{flex:1 1 200px;min-height:52px}

/* Tablet */
@media (max-width:1180px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
  .shop-layout{grid-template-columns:1fr;gap:0;padding-top:20px}
  .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop-filter-btn{display:inline-flex}
  .shop-filters{position:fixed;inset:0 auto 0 0;z-index:40;display:flex;flex-direction:column;width:min(380px,90vw);max-height:none;padding:0;overflow:hidden;background:var(--ivory);box-shadow:20px 0 60px #110d0d40;transform:translateX(-102%);visibility:hidden;transition:transform .3s ease,visibility 0s .3s}
  .shop-filters.is-open{transform:none;visibility:visible;transition:transform .3s ease}
  .sf-head{padding:18px 20px 12px;margin:0;border-bottom:1px solid var(--line)}
  .sf-close{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface)}
  .sf-close .icon{width:20px;height:20px}
  .sf-form{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 20px}
  .sf-form .sf-group:first-child{border-top:0}
  .sf-foot{display:flex;align-items:center;gap:12px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--ivory)}
  .sf-clear{padding:0 6px;font-size:14px;font-weight:700;color:#3f7d48}
  .sf-apply{flex:1}
  .sf-backdrop{display:block;position:fixed;inset:0;z-index:39;background:#09161099}
  .sf-backdrop[hidden]{display:none}
  .shop-source{flex-wrap:wrap}
  .pd-grid{grid-template-columns:minmax(0,1fr)}
  .pd-art{min-height:240px;padding:28px}
  .pd-art>img{width:180px}
}

/* Phone */
@media (max-width:600px){
  .shop-hero{padding-top:18px}
  .shop-hero-row{margin-top:16px}
  .shop-lead{font-size:15.5px}
  .shop-facts{width:100%}
  .shop-facts li{flex:1;min-width:0;padding:11px 12px;border-radius:14px}
  .shop-facts strong{font-size:17px}
  .shop-facts li>span{font-size:11.5px}
  .shop-cats{gap:8px;margin:22px -20px 0;padding:4px 20px 6px}
  .shop-cats button{min-height:52px;padding:4px 14px 4px 6px;border-radius:15px;font-size:13px}
  .shop-cats img,.shop-cat-all{width:38px;height:38px}
  .shop-toolbar{flex-wrap:wrap}
  .shop-search{flex-basis:100%}
  .shop-search input,.shop-filter-btn,.shop-sort{height:46px}
  .shop-filter-btn{flex:1;justify-content:center}
  .shop-sort{flex:1;justify-content:space-between;padding-left:14px}
  .shop-sort select{font-size:13.5px}
  .shop-status{margin:12px 0 14px}
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .shop-swatches{gap:4px;margin-top:8px}
  .shop-swatches i{width:12px;height:12px}
  .shop-eco{top:7px;right:7px;width:26px;height:26px}
  .shop-eco svg{width:14px;height:14px}
  .shop-source{flex-direction:column;align-items:flex-start;gap:12px;padding:22px 20px}
  .shop-source>img{width:64px;height:64px}
  .shop-source h3{font-size:21px}
  .shop-source .pill{width:100%}
  .pd{width:100%;max-width:100%;max-height:94dvh;margin:auto 0 0;border-radius:24px 24px 0 0}
  .pd-content{max-height:94dvh}
  .pd-art{min-height:200px}
  .pd-art>img{width:150px}
  .pd-info{padding:24px 20px calc(24px + env(safe-area-inset-bottom))}
  .pd-info h2{font-size:28px}
  .pd-facts>div{padding:10px 12px}
  .pd-tiers th,.pd-tiers td{padding:8px 6px;font-size:13px}
  .pd-actions{position:sticky;bottom:0;margin:18px -20px -24px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:var(--ivory);border-top:1px solid var(--line)}
}
@media (prefers-reduced-motion:reduce){.shop-filters,.shop-filters.is-open{transition:none}}

/* ---------- Airtable catalog: photo cards, paging and detail gallery ---------- */
.shop-card .product-art.shop-photo{display:block;aspect-ratio:1;padding:0;overflow:hidden;background:#f5f3ef}
.shop-card .shop-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.shop-card:hover .shop-photo img{transform:scale(1.04)}
.shop-card .product-art .product-badge{z-index:1}
.shop-card .product-art .shop-eco{z-index:1}
.shop-card .product-badge+.product-badge{top:40px}
.product-badge.shop-oos{background:#5a1f1f;color:#ffd9d2}
.shop-card.is-oos .shop-photo img{opacity:.55;filter:grayscale(.6)}
.shop-card-cat{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#466854}
.shop-card h3{margin-top:4px;font-size:16.5px;line-height:1.25}
.shop-onrequest{font-size:15px}
.shop-days{margin-top:8px;font-size:12px;color:var(--muted)}
.shop-card .product-meta{padding-top:12px}
.shop-more{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:28px}
.shop-more[hidden]{display:none}
.shop-more-note{font-size:13px;color:var(--muted)}

.pd-media{display:flex;flex-direction:column;gap:10px;padding:16px;background:#f5f3ef}
.pd-main{position:relative;aspect-ratio:1;overflow:hidden;border-radius:16px;background:#f5f3ef}
.pd-main>img{width:100%;height:100%;object-fit:contain}
.pd-main .product-badge{left:12px;top:12px;z-index:1}
.pd-main .shop-eco{top:12px;right:12px;z-index:1}
.pd-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}
.pd-thumb{aspect-ratio:1;overflow:hidden;border:2px solid transparent;border-radius:10px;background:#ffffff;transition:border-color .15s}
.pd-thumb img{width:100%;height:100%;object-fit:cover}
.pd-thumb:hover{border-color:#bcc8c1}
.pd-thumb[aria-pressed=true]{border-color:var(--forest)}
.pd-oos{margin-top:10px;padding:8px 12px;border-radius:10px;background:#fbe9e5;font-size:13.5px;font-weight:600;color:#7a2a20}
.pd-facts .pd-sub{margin-top:2px;font-size:12px;font-weight:500;color:var(--muted)}
.pd-sizes{margin-top:14px;font-size:13.5px;line-height:1.5;color:var(--muted-2)}
.pd-more{margin-top:18px;border-top:1px solid var(--line)}
.pd-more summary{display:flex;justify-content:space-between;align-items:center;padding:14px 0 4px;font-size:15px;font-weight:800;cursor:pointer;list-style:none}
.pd-more summary::-webkit-details-marker{display:none}
.pd-more summary::after{content:"+";font-size:20px;font-weight:600;color:#466854}
.pd-more[open] summary::after{content:"–"}
.pd-spec{display:grid;gap:8px;margin:10px 0 0}
.pd-spec>div{display:grid;grid-template-columns:minmax(90px,.4fr) 1fr;gap:12px;font-size:13.5px;line-height:1.5}
.pd-spec dt{font-weight:700;color:var(--muted)}
.pd-spec-line{grid-template-columns:1fr!important}
.pd-custom{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:12px;font-size:13.5px;line-height:1.5}
.pd-custom strong{display:block;font-weight:700}
.pd-custom ul{margin:4px 0 0;padding-left:18px;color:var(--muted-2)}
@media (max-width:900px){.pd-media{padding:12px}.pd-main{max-height:60vh;aspect-ratio:auto;height:min(60vh,520px)}}
@media (max-width:600px){
  .shop-card h3{font-size:14.5px}
  .shop-card-cat{font-size:10px}
  .shop-days{display:none}
  .pd-main{height:min(48vh,380px)}
  .pd-thumbs{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px}
  .pd-spec>div{grid-template-columns:1fr;gap:0}
}

/* Info tooltips (sample terms): hover, keyboard focus or tap */
.info-tip{position:relative;display:inline-flex;vertical-align:middle;margin-left:2px}
.info-btn{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;color:var(--muted);transition:color .15s,background .15s}
.info-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.info-btn:hover,.info-btn:focus-visible{color:var(--ink);background:#0000000d}
.info-pop{position:absolute;left:50%;bottom:calc(100% + 10px);z-index:20;width:min(270px,80vw);padding:12px 14px;border-radius:12px;background:var(--ink);color:var(--ivory);font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;text-align:left;text-transform:none;white-space:normal;box-shadow:0 12px 30px #0807074d;translate:-50% 4px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s,translate .15s,visibility .15s}
.info-pop::after{content:"";position:absolute;left:50%;top:100%;border:6px solid transparent;border-top-color:var(--ink);translate:-50% 0}
.info-tip:hover .info-pop,.info-tip:focus-within .info-pop{opacity:1;visibility:visible;translate:-50% 0}
@media (max-width:600px){.info-pop{left:auto;right:-12px;translate:0 4px}.info-tip:hover .info-pop,.info-tip:focus-within .info-pop{translate:0 0}.info-pop::after{left:auto;right:16px;translate:none}}

/* Price tiers: each range is clickable and sets the quantity */
.pd-tiers th button{padding:4px 8px;margin:-4px -8px;border-radius:8px;font:inherit;color:inherit;text-decoration:underline dotted #0000004d;text-underline-offset:4px;cursor:pointer;transition:background .15s,color .15s}
.pd-tiers th button:hover,.pd-tiers th button:focus-visible{background:var(--mint);color:var(--ink);text-decoration-color:currentColor}
.pd-tiers td[data-tier-pick]{cursor:pointer;transition:background .15s}
.pd-tiers td[data-tier-pick]:hover{background:#0000000a}
