.tea-shop, .tea-product {
  --shop-gap: clamp(1rem, 2vw, 2rem);
  width: min(100%, 89rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 3rem) clamp(1rem, 4.2vw, 5rem) clamp(4rem, 7vw, 8rem);
  color: var(--ink, #21231f);
}
.tea-shop *, .tea-product *, .tea-panel *, .tea-card * { box-sizing: border-box; }
.tea-shop :where(a), .tea-product :where(a), .tea-panel :where(a), .tea-card :where(a) { color: inherit; text-decoration: none; }
.tea-shop :where(h1,h2,h3,p), .tea-product :where(h1,h2,h3,p), .tea-panel :where(h2,h3,p), .tea-card :where(h3,p) { margin: 0; }
.tea-shop :where(button,select), .tea-product :where(button,select), .tea-panel :where(button,input), .tea-card button { color: inherit; font: inherit; }
.tea-shop button, .tea-product button, .tea-panel button, .tea-card button { cursor: pointer; }
.tea-product button:disabled, .tea-panel button:disabled { cursor: default; }
.tea-shop :is(h1,h2), .tea-product :is(h1,h2), .tea-panel :is(h2,h3) {
  font-family: inherit; font-weight: 500; line-height: 1; letter-spacing: -.055em;
}
.tea-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; font-size: .875rem; line-height: 1.5; }
.tea-crumb a { text-underline-offset: .25em; }
.tea-crumb a:hover { text-decoration: underline; }
.tea-crumb > span[aria-hidden] { opacity: .45; }
.tea-shop-title { text-align: center; margin: clamp(2rem,5vw,4rem) auto; }
.tea-shop-title h1 { font-size: clamp(2.45rem, 3.6vw, 3.3rem); }
.collection-note { max-width: 73ch; margin: 1.25rem auto 0; line-height: 1.6; }
.collection-note p + p { margin-top: .85rem; }
.collection-note a { text-decoration: underline; text-underline-offset: .2em; }
.collection-feature { display:flex; align-items:center; gap:.9rem; padding:.65rem 0; margin-top:clamp(2rem,4vw,3.5rem); border-block:1px solid var(--line); font-size:1rem; font-weight:500; }
.collection-feature img { width:66px; height:46px; border-radius:4px; object-fit:cover; }
.collection-feature .feature-link { margin-left:auto; font-size:.94rem; text-decoration:underline; text-underline-offset:.22em; }
.collection-feature:hover .feature-link { color:var(--accent); }

.collection-count { margin-right: auto !important; font-size: 1rem; color: #555b52; }
.tea-shop-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem 0; border-block: 1px solid var(--line, #c8c7bc); margin-bottom: 1.5rem; }
.tea-sort { display: flex; align-items: center; gap: .625rem; font-size: .875rem; }
.tea-sort > span { opacity: .78; }
.tea-sort select, .tea-variant-label select {
  appearance: none; border: 1px solid var(--line, #c8c7bc); border-radius: .125rem;
  min-height: 2.75rem; padding: .5rem 2.25rem .5rem .75rem; color: inherit;
  background-color: transparent; background-image: linear-gradient(45deg, transparent 49%, currentColor 50%, currentColor 65%, transparent 66%), linear-gradient(-45deg, transparent 49%, currentColor 50%, currentColor 65%, transparent 66%);
  background-position: right 1.07rem center, right .85rem center; background-size: .28rem .28rem; background-repeat: no-repeat; cursor: pointer;
}
.tea-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(2rem, 4vw, 4.75rem) var(--shop-gap, 1.25rem); }
.tea-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; gap: .7rem; color: var(--ink); }
.tea-card-image { display: block; flex: 1; border-radius: .65rem; cursor: pointer; }
.tea-collection-select { display: flex; align-items:center; gap:.6rem; font-size:.88rem; }
.tea-collection-select select { min-height:44px; border:1px solid var(--line); border-radius:5px; background:var(--paper); padding:0 .6rem; font:inherit; }
.plan-note{font-size:.82rem;line-height:1.5;color:var(--pdp-soft);margin-top:.45rem!important}
.search-reading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.search-reading small{color:var(--accent)}
.serving-note{display:flex;flex-wrap:wrap;gap:1.5rem 6vw;padding-top:clamp(24px,4vw,52px);align-items:start}
.serving-note>div,.serving-note figure{flex:1 1 16rem;margin:0}
.serving-note h2{font-size:1.35rem}
.serving-note p,.serving-note blockquote{margin:.6rem 0;line-height:1.55;max-width:49ch}
.serving-note figcaption{font-size:.82rem;color:var(--pdp-soft)}
.cart-page .tea-bag-foot>.tea-primary,.cart-page .tea-empty .tea-primary{color:white}
.tea-card-photo, .tea-gallery-main, .tea-mini-photo { overflow: hidden; background-color: #efeee8; }
.tea-card-photo { position: relative; aspect-ratio: 1 / 1.05; border-radius: .65rem; }
.tea-card-photo img { display: block; width: 100%; height: 100%; }
.tea-card-image img, .tea-gallery-main img, .tea-mini-photo img { object-fit: cover; object-position: center; }
.tea-card-photo.pack-card img { object-fit: contain; padding: 7%; object-view-box: var(--pack-frame); }
.tea-card-image img { transition: transform .4s ease; mix-blend-mode: multiply; }
.tea-card-stock { font-size: .8125rem; }
.tea-card-meta { display: grid; align-items: baseline; gap: .22rem; padding-top: .85rem; }
.tea-card h3 { font-family: inherit; font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.25; overflow-wrap: break-word; }
.tea-card-image:focus-visible h3, .tea-row-name:hover { text-decoration: underline; text-underline-offset: .22em; }
.tea-card-price, .tea-line-total, .tea-mini-price { font-size: .875rem; font-variant-numeric: tabular-nums; }
.tea-card-kind { grid-row: 2; font-size: .8125rem; opacity: .74; }
.home-shelf .tea-card-meta { grid-template-columns: minmax(0,1fr); }
.home-shelf .tea-card-kind { grid-column: 1; font-size: .9375rem; line-height: 1.4; }
.home-shelf .tea-card-price { grid-column: 1; grid-row: 3; text-align: left; }
@media (hover:hover) { .tea-card-image:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.22em; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tea-card-image:hover img { transform: scale(1.025); }
}
.tea-text-link, .tea-details a { text-decoration: underline; text-underline-offset: .25em; }
.tea-product, .tea-shop {
  padding-inline: clamp(1.5rem, 3.9vw, 3.5rem);
}
.tea-product {
  --pdp-rule: #dfdfd8;
  --pdp-soft: #67685e;
  padding-top: clamp(1.5rem, 3vw, 3.3rem);
}
.tea-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 0 clamp(2.2rem, 4.5vw, 4rem);
  grid-template-rows: max-content 1fr;
}
.pdp-heading { grid-area: 1 / 2; }
.pdp-body { grid-area: 2 / 2; }
.tea-gallery { grid-area: 1 / 1 / span 2; position: sticky; top: calc(var(--masthead-height) + 1rem); min-width: 0; }
.tea-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1.23;
  max-height: min(67vh, 40rem);
  border-radius: 10px;
  background: color-mix(in srgb, var(--blend-colour) 15%, #f5f4ef);
}
.photo-enlarge {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in !important;
}
.photo-enlarge:focus-visible { outline-offset: -5px; }
[data-swipe-gallery] { touch-action: pan-y pinch-zoom; }
.photo-enlarge > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fbfbf8ed;
  color: var(--ink);
}
.tea-gallery img { display: block; width: 100%; height: 100%; }
.tea-gallery .scene-photo { object-fit: cover; }
.tea-gallery .studio-photo { object-fit: contain; mix-blend-mode: multiply; }
.tea-gallery .photo-enlarge > .studio-photo { padding: 3.5%; object-view-box: var(--pack-frame); }
.gallery-footer {
  display: flex;
  min-height: 52px;
  flex-wrap: wrap;
  padding-top: .75rem;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--pdp-soft);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.gallery-thumbs { display:flex; flex-wrap:wrap; gap:.4rem; }
.gallery-thumbs button { display:grid; place-items:center; width: clamp(44px,4.7vw,60px); height:clamp(44px,4.7vw,60px); padding: 2px; background:#efeee8; border:1px solid transparent; border-radius:4px; }
.gallery-thumbs button[aria-pressed="true"] { border:2px solid var(--ink); }
.gallery-thumbs button:hover { border-color:var(--ink); }
.gallery-thumbs img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.tea-product-info { min-width: 0; }
.tea-product-info .tea-crumb { color: var(--pdp-soft); font-size: .81rem; margin: 0 0 1.55rem; gap: .55rem; }
.tea-product-info .tea-crumb a:first-child { color: var(--ink); }
.tea-product-info h1 { max-width:18ch; font-size: clamp(2.05rem, 3.9vw, 3.5rem); line-height: 1.06; font-weight: 500; letter-spacing: -.055em; }
.tea-product-copy { max-width: 40ch; font-size: 1.05rem; line-height: 1.5; color: #575b53; margin-top: .7rem !important; }
.pdp-pack { font-size: .875rem; line-height: 1.5; margin: 1.3rem 0 .65rem !important; }
.pdp-body { container-type: inline-size; }
.pack-label { margin: clamp(1.65rem, 3vw, 2.35rem) 0 .85rem; font-size: 1rem; font-weight: 600; }
.pdp-formats { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: .75rem; }
.pdp-formats a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: center;
  gap: .45rem;
  min-height: 80px;
  padding: .85rem 1rem;
  border: 1px solid #bfc3b8;
  border-radius: .5rem;
  line-height: 1.3;
}
.pdp-formats strong { grid-column: 1 / -1; font-size: 1rem; font-weight: 550; }
.pdp-formats small { color: #555b52; font-size: .94rem; font-variant-numeric: tabular-nums; }
.pdp-formats a::after {
  content: '';
  width: 14px; height: 14px;
  border: 1px solid #797f73;
  border-radius: 50%;
}
.pdp-formats a:hover { border-color: var(--ink); }
.pdp-formats a[aria-current] { border-color: #434e3f; background: #edf0e9; box-shadow: inset 0 0 0 1px #434e3f; }
.pdp-formats a[aria-current]::after { border-color: #434e3f; background: #434e3f; box-shadow: inset 0 0 0 3px #edf0e9; }
.pdp-formats + .pdp-pack { margin: .9rem 0 0 !important; color: #555b52; }
.tea-product-info .tea-purchase { margin: 1.65rem 0 .75rem; gap: .85rem; min-height: 52px; }
@container (max-width: 25rem) {
  .pdp-formats { grid-auto-flow: row; gap: .5rem; }
  .pdp-formats a { grid-template-columns: 16px 1fr auto; gap: .8rem; min-height: 50px; padding: .7rem .9rem; }
  .pdp-formats strong { grid-column: 2; }
  .pdp-formats a::after { grid-area: 1 / 1; }
}
.pdp-price-line { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:.35rem .75rem; margin-top:1rem; line-height:1.25; }
.pdp-price-line strong { font-size:1.125rem; font-weight:550; font-variant-numeric:tabular-nums; }
.pdp-price-line .pdp-stock { margin:0; }
.tea-product-info .tea-primary { display: flex; justify-content: center; align-items: center; padding-inline: 1.35rem; font-weight: 550; }
.tea-product-info .tea-counter button { width:44px; }
.tea-product-info .tea-counter output { min-width: 20px; }
.pdp-blend { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(28px,6vw,90px); padding-block:clamp(30px,4vw,60px); border-block:1px solid var(--pdp-rule); margin-top:clamp(32px,4.5vw,70px); }
.pdp-profile h3 { margin:0; font-size:.95rem; font-weight:600; letter-spacing:-.02em; }
.pdp-story h2 { font-size:clamp(1.65rem,2.5vw,2.3rem); line-height:1.12; font-weight:500; letter-spacing:-.045em; }
.pdp-profile dl { margin: .7rem 0 0; }
.pdp-notes { display: flex; list-style: none; margin: .65rem 0 .9rem; padding: 0; gap: 5px; }
.pdp-notes li { flex: 1; min-width: 0; color: #474a43; font-size: .82rem; line-height: 1.35; }
.pdp-notes li::before { content: ''; display: block; height: 4px; margin-bottom: .5rem; border-radius: 2px; background: color-mix(in srgb,var(--blend-colour),#332f29 50%); }
.pdp-notes li:nth-child(2)::before { background: var(--blend-colour); }
.pdp-notes li:nth-child(3)::before { background: color-mix(in srgb,var(--blend-colour),#f1e8dd 65%); }
.pdp-profile dl > div { display: grid; grid-template-columns: minmax(90px, .75fr) 1.8fr; gap: .8rem; align-items: baseline; border-bottom: 1px solid var(--pdp-rule); padding: .65rem 0; }
.pdp-profile dt { color: var(--pdp-soft); font-size: .82rem; }
.pdp-profile dd { margin: 0; line-height: 1.35; font-size: .91rem; }
.pdp-story { max-width:60ch; }
.pdp-story p, .tea-details > div { font-size: .94rem; line-height: 1.6; color: #555b52; }
.pdp-story p { margin-top: .85rem; font-size:1rem; }
.tea-details > div p + p { margin-top: .6rem; }
.pdp-brewing {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  overflow: hidden; border-radius: 14px; margin-top: clamp(3rem, 5.8vw, 6rem);
  background: color-mix(in srgb,var(--blend-colour) 14%,#f8f7f2);
}
.pdp-brew-image { min-height: 280px; position: relative; }
.pdp-brew-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-brew-studio { background: #e8e7de; }
.pdp-brew-studio img { object-fit: contain; mix-blend-mode: multiply; padding: 1.5rem; }
.pdp-brew-copy { padding: clamp(2rem, 4.5vw, 4.4rem); align-self: center; }
.pdp-brew-copy h2 { font-size: clamp(1.75rem, 2.5vw, 2.4rem); }
.pdp-brew-copy > p { margin: 1rem 0 1.3rem; font-size: 1rem; line-height: 1.6; max-width: 43ch; }
.pdp-brew-facts { display: flex; flex-wrap: wrap; gap: 13px 0; border-block: 1px solid #26282030; padding-block: 1rem; margin: 0 0 1.1rem; }
.pdp-brew-facts div { flex: 1 0 auto; padding-right: 10px; }
.pdp-brew-facts dt { color: #55594e; font-size: .78rem; }
.pdp-brew-facts dd { font-size: 1.08rem; font-weight: 550; margin: .25rem 0 0; }
.pdp-brew-copy a { font-size: .89rem; }
.pdp-contents { margin: 0 0 1.4rem; padding-left: 1.2rem; columns: 2; font-size: .9rem; line-height: 1.6; }
.tea-related .tea-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tea-related .tea-text-link { font-size: .9rem; }
.photo-dialog { position: fixed; width: min(90vw, 64rem); padding: 0; border: 0; border-radius: 15px; color: var(--ink); background: #eeeee7; max-height: 94dvh; }
.photo-dialog::backdrop { background: #161811b8; }
.photo-large { height: min(72dvh, 52rem); }
.tea-gallery .photo-large img { object-fit: contain; }
.photo-close, .photo-nav button { border: 1px solid #d5d7cd; background: #fbfbf8; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; }
.photo-close { position: absolute; right: 12px; top: 12px; z-index: 1; }
.photo-nav { padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: .85rem; }
@media (max-width: 46rem) {
  .tea-product { padding-top: .85rem; }
  .tea-product-layout { display: flex; flex-direction: column; gap: 1.25rem; }
  .tea-gallery, .tea-product-info { width: 100%; }
  .tea-gallery { position: static; }
  .gallery-footer { gap:.5rem; padding-block:.5rem; }
  .gallery-footer [data-photo-count] { font-size:.8rem; }
  .tea-gallery-main { aspect-ratio: 1.35; max-height: 54dvh; }
  .pdp-blend { grid-template-columns:1fr; gap:24px; margin-top:0; padding-bottom:0; border-bottom:0; }
  .tea-product-info .tea-crumb { margin-bottom: .7rem; }
  .tea-product-info h1 { font-size: 2rem; }
  .pdp-brewing { grid-template-columns:1fr; margin-top:1rem; }
  .pdp-brew-image { min-height: 0; aspect-ratio: 1.7; }
  .pdp-brew-copy { padding: 1.5rem; }
  .tea-related .tea-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.tea-variant-label { display: grid; gap: .5rem; margin-top: 1.4rem; font-size: .875rem; }
.tea-variant-label select { width: 100%; min-height: 3rem; }
.tea-purchase { display: flex; gap: .625rem; margin: 1.6rem 0; }
.tea-counter { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--line, #c8c7bc); border-radius: 99rem; }
.tea-counter button { display: grid; place-content: center; border: 0; border-radius: 99rem; background-color: transparent; padding: 0; width: 2.75rem; min-height: 2.75rem; line-height: 1; }
.tea-counter button:disabled { opacity: .4; }
.tea-counter output { display: block; min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.tea-primary { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 3.25rem; padding: .7rem 1.3rem; border: 1px solid transparent; border-radius: 99rem; background-color: var(--ink, #21231f); color: var(--paper, #fff) !important; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; }
.tea-primary:hover { filter: brightness(1.15); }
.tea-primary:disabled { opacity: .55; }
.tea-purchase .tea-primary { flex: 1; }
.tea-details { margin-top:.65rem; border:1px solid var(--line, #c8c7bc); border-radius:.55rem; }
.tea-details summary { position:relative; padding:.85rem 2.75rem .85rem 1rem; border-radius:inherit; background:#edf0e8; color:var(--ink); font-size:1.125rem; font-weight:650; line-height:1.35; cursor:pointer; list-style:none; }
.tea-details summary::-webkit-details-marker { display: none; }
.tea-details summary::after { content:''; position:absolute; right:1.1rem; top:50%; width:.49rem; height:.49rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-70%) rotate(45deg); }
.tea-details[open] summary { border-radius:.55rem .55rem 0 0; }
.tea-details[open] summary::after { transform:translateY(-25%) rotate(225deg); }
.tea-details > div { padding:1rem; }
.selection-contents { container-type:inline-size; }
.selection-pack { margin:0; line-height:1.5; }
.selection-contents section { margin-top:1.2rem; }
.selection-contents section h3,.delivery-details h3 { font-family:inherit; font-size:1.05rem; font-weight:600; line-height:1.4; color:var(--ink); letter-spacing:-.02em; }
.selection-contents dl { margin:.4rem 0 0; }
.selection-contents dl > div { display:grid; gap:.15rem .8rem; border-top:1px solid var(--line); padding:.65rem 0; }
.selection-contents dt { color:var(--ink); font-weight:550; }
.selection-contents dd { margin:0; line-height:1.5; }
.selection-advice { margin-top:1rem; }
.individual-contents section > p,.individual-contents ul { margin:.45rem 0 0; }
.individual-contents ul { padding-left:1.2em; line-height:1.45; }
.individual-contents li + li { margin-top:.32rem; }
.individual-contents li::marker { color:#626d59; }
.selection-contents .selection-advice { border-left:3px solid #9ca790; padding:.15rem 0 .15rem .85rem; }
.selection-advice p,.delivery-details h3 + p { margin:.25rem 0; }
.delivery-details dl { margin:.6rem 0 .35rem; }
.delivery-details dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; border-top:1px solid var(--line); padding:.45rem 0; }
.delivery-details dd { margin:0; white-space:nowrap; color:var(--ink); font-weight:550; }
.delivery-details a + h3 { margin-top:1.1rem; }
@container (min-width:28rem) {
  .individual-contents ul:has(li:nth-child(5)) { columns:2; column-gap:2rem; }
  .individual-contents li { break-inside:avoid; }
}
@container (min-width:24rem) {
  .selection-contents dl > div { grid-template-columns:minmax(7rem,29%) 1fr; }
}
.tea-details a { display: block; width: fit-content; padding: .25rem 0; }
.tea-related { margin-top: clamp(4rem, 8vw, 9rem); }
.tea-related > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.tea-related h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); }

.tea-panel-open { overflow: hidden; }
.tea-panel {
  position: fixed; inset: 0 0 0 auto; box-sizing: border-box; width: min(100%, 32rem); height: 100vh; height: 100dvh;
  max-height: none; max-width: none; margin: 0; border: 0; padding: clamp(1rem, 3vw, 2rem);
  background: var(--paper, #faf9f4); color: var(--ink, #21231f); overflow-y: auto; overscroll-behavior: contain;
}
.tea-panel[open] { display: flex; flex-direction: column; }
.tea-panel::backdrop { background: rgb(18 21 18 / 42%); }
.tea-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line, #c8c7bc); }
.tea-panel h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.tea-close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line, #c8c7bc); border-radius: 100%; background: transparent; padding: 0; line-height: 1; }
.tea-close span { font-size: 1.55rem; }
.tea-search-label { margin: .5rem 0; font-size: .875rem; }
#tea-search-box { flex: 0 0 auto; box-sizing: border-box; width: 100%; min-height: 3rem; background: transparent; padding: .625rem .9rem; border: 1px solid var(--ink, #21231f); border-radius: .125rem; }
.tea-search-results { margin-top: 1.5rem; }
.tea-panel-caption { font-size: .9rem; margin: 0 0 .5rem; }
.tea-search-row, .tea-bag-row { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; border-bottom: 1px solid var(--line, #c8c7bc); padding: .75rem 0; }
.tea-mini-photo { display: block; aspect-ratio: 1; }
.tea-mini-photo img { width: 100%; height: 100%; display: block; }
.tea-search-row strong, .tea-row-name { font-weight: 500; letter-spacing: -.02em; }
.tea-search-row:hover strong { text-decoration: underline; }
.tea-panel small { display: block; font-size: .8125rem; line-height: 1.35; margin-top: .2rem; opacity: .76; }
.tea-bag-body { flex: 1; display: flex; flex-direction: column; }
.tea-panel[data-mode="bag"] .tea-panel-head { padding-bottom:.85rem; margin-bottom:.25rem; }
.tea-bag-list { container:bag-lines / inline-size; }
.tea-bag-row {
  grid-template-columns:2.75rem minmax(0,1fr) auto;
  grid-template-areas:"photo info price" "photo actions actions";
  gap:.1rem .65rem; padding:.35rem 0; align-items:baseline;
}
.tea-bag-row .tea-mini-photo { grid-area:photo; align-self:center; border-radius:.35rem; }
.tea-bag-row .tea-card-photo { aspect-ratio:1; border-radius:inherit; }
.bag-item-info { grid-area:info; line-height:1.3; }
.tea-bag-row .tea-line-total { grid-area:price; white-space:nowrap; }
.tea-bag-actions { grid-area:actions; display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; }
.tea-bag-actions .tea-counter button { width:2rem; min-height:2rem; }
.tea-bag-actions .tea-counter output { min-width:1.1rem; }
.tea-bag-actions .tea-counter { font-size: .875rem; }
.tea-panel .tea-bag-row {
  grid-template-columns:clamp(2.75rem,12vw,3.25rem) minmax(0,1fr) auto;
  gap:.35rem clamp(.65rem,2.8vw,.95rem); padding-block:.7rem;
}
.tea-panel .tea-bag-actions { gap:.85rem; }
.tea-panel .tea-bag-actions .tea-counter button { width:2.25rem; min-height:2.25rem; }
.tea-remove { background: transparent; border:0; padding:0 .25rem; min-height:2rem; text-decoration:underline; text-underline-offset:.2em; font-size:.8125rem; }
@container bag-lines (min-width:34rem) {
  .tea-bag-row { grid-template-columns:2.75rem minmax(0,1fr) auto 4.2rem; grid-template-areas:"photo info actions price"; align-items:center; }
  .tea-line-total { text-align:right; }
}
.tea-bag-foot { margin-top: auto; padding-top: 2rem; }
.tea-bag-foot p { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .5rem; font-size: 1.2rem; }
.tea-bag-foot strong { font-weight: 500; }
.tea-bag-foot > span { display: block; font-size: .875rem; }
.tea-bag-foot .tea-primary { width: 100%; margin-top: 1rem; }
.bag-costs { margin:0 0 .8rem; border-bottom:1px solid var(--line); padding-bottom:.6rem; font-size:.9rem; }
.bag-costs div { display:flex; justify-content:space-between; gap:1rem; padding-block:.15rem; }
.bag-costs dd { margin:0; font-variant-numeric:tabular-nums; }
.tea-panel .tea-bag-foot { margin-top:0; padding-top:1.45rem; }
.tea-panel .bag-costs div { padding-block:.3rem; }
.home-offer { display:block; padding:9px var(--gutter); background:#e8eddf; text-align:center; font-size:clamp(.75rem,1.2vw,.88rem); line-height:1.45; color:#384331; }
.home-offer:hover,.pdp-offers a:hover { text-decoration:underline; text-underline-offset:3px; }
.tea-product-info .pdp-offers { margin:0 0 1.8rem; color:#4e5b47; font-size:.94rem; line-height:1.45; }
.bag-offer { background:#eef0e7; border-radius:8px; margin:1.2rem 0 .2rem; padding:1rem; }
.bag-continue { display:inline-flex; align-items:center; white-space:nowrap; min-height:44px; font-size:.875rem; }
.tea-panel .bag-offer h3 { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:1.12rem; font-weight:600; letter-spacing:-.025em; }
.tea-panel .bag-offer h3 small { margin:0; color:#555e50; font-size:.75rem; font-weight:500; letter-spacing:0; }
.bag-offer p { margin:.75rem 0 .5rem; font-size:.95rem; line-height:1.45; }
.bag-offer progress { appearance:none; display:block; width:100%; height:5px; margin:.7rem 0; overflow:hidden; border:0; border-radius:4px; background:#d6dccc; color:#566b4f; }
.bag-offer progress::-webkit-progress-bar { background:#d6dccc; }
.bag-offer progress::-webkit-progress-value { background:#566b4f; }
.bag-offer progress::-moz-progress-bar { background:#566b4f; }
.bag-offer-item { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:9px; margin-top:.9rem; padding-top:.8rem; border-top:1px solid #c9d1c1; }
.bag-offer-item img { width:42px; height:48px; object-fit:contain; background:var(--paper); }
.bag-offer-item strong,.bag-offer-item a { font-size:.9rem; font-weight:550; }
.bag-offer-item a:hover { text-decoration:underline; }
.bag-offer-item button { min-width:44px; min-height:44px; padding:.4rem .75rem; border:1px solid #b4beab; border-radius:5px; background:var(--paper); font-size:.85rem; }
.tea-panel .bag-offer { margin-top:1.35rem; padding:clamp(1rem,3.8vw,1.3rem); }
.tea-empty { margin: auto 0; padding: 3rem 0 5rem; }
.tea-empty h3 { font-size: clamp(1.65rem, 2.6vw, 2.1rem); margin-bottom: 1.5rem; }
.tea-empty-copy { padding: 1rem 0; font-size: 1rem; }
.tea-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pdp-origin-photo { margin:1.5rem 0 0; }
.pdp-origin-photo img { width:100%; height:auto; border-radius:.4rem; }
.pdp-origin-photo figcaption,.serving-note figcaption { margin-top:.5rem; font-size:.95rem; color:var(--pdp-soft); }
.pack-details { padding: clamp(28px, 4vw, 56px) 0; }
.pack-details h2 { margin: 0 0 1.5rem; font-size: clamp(1.65rem, 2.3vw, 2.2rem); font-weight: 500; letter-spacing: -.045em; }
.pack-details ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 1.75rem 1.1rem; list-style: none; padding: 0; margin: 0; }
.pack-details li { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
.pack-details li > span:last-child { max-width: 23ch; font-size: 1rem; line-height: 1.45; text-wrap: balance; }
.pack-details li img, .matcha-mark { display: block; width: clamp(88px, 9vw, 128px); aspect-ratio: 1; height: auto; object-fit: contain; }
.matcha-mark { background: url("assets/pack-marks-matcha.webp") no-repeat left bottom / 316% auto; }
.mark-packaging { background-position: center bottom; }
.mark-provenance { background-position: right bottom; }
.pack-details + .pdp-blend { margin-top: 0; }
@media (max-width: 40rem) {
  .pack-details ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pdp-brew-diagram { display:block; width:min(100%,23rem); height:auto; margin-bottom:1.2rem; mix-blend-mode:multiply; }
.pdp-brew-diagram + .pdp-brew-facts { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); padding:0; margin:0; border:0; }
.serving-note { align-items:start; }
.pdp-customers { flex:1 1 18rem; min-width:0; padding-block:.2rem; }
.pdp-customers summary { cursor:pointer; font-size:1.1rem; font-weight:550; min-height:44px; }
.pdp-customers p { max-width:58ch; }
.pdp-customers figure { border-inline-start:2px solid var(--line); padding-inline-start:1rem; margin:1.3rem 0; }
.pdp-customers blockquote { margin:0; }
.pdp-story .tea-text-link { display:inline-flex; margin-top:.9rem; }
.tea-search-row > span:nth-child(2), .tea-bag-row > div { min-width:0; }
.tea-search-row small,.tea-bag-row small,.bag-offer small { display:block; color:#596253; }
.tea-search-row small,.tea-bag-row small { margin-top:.2rem; }
.ed-page.cart-page { max-width:76rem; }
.cart-page .ed-intro { margin-bottom:.65rem; }
.cart-page .ed-intro h1 { font-size:clamp(1.9rem,3vw,2.65rem); }
.ed-page.shop-search-page { max-width:59rem; }
.shop-search-page .ed-reading,.cart-page .ed-reading { max-width:none; margin-inline:0; }
.shop-search-page .tea-search-results,.shop-search-page [data-search-results] { margin-top:1.5rem; }
.shop-search-page .tea-search-row { gap:1rem; }
.shop-search-page .tea-search-row strong { display:block; }
@media (min-width: 46.01rem) {
  .tea-shop,.tea-product,.tea-panel { font-size:1.125rem; }
  .tea-shop-title { margin-block:clamp(2rem,4vw,3.5rem); }
  .tea-shop-title h1 { font-size:clamp(2.6rem,3.85vw,3.5rem); }
  .tea-shop-controls { gap:clamp(1.2rem,2.5vw,2.25rem); }
  .tea-collection-select,.tea-sort { font-size:1rem; }
  .tea-card h3 { font-size:clamp(1.15rem,1.6vw,1.5rem); text-decoration-thickness:1px; }
  .tea-card-kind,.tea-mini-price,.tea-line-total,.tea-search-label,.tea-panel-caption,.tea-panel small,.bag-costs,.tea-bag-foot > span,.tea-bag-actions .tea-counter,.tea-remove,.bag-offer-item button,.tea-sort select { font-size:.98rem; }
  .tea-card-price { font-size:1.06rem; font-weight:550; }
  .tea-card-meta { grid-template-columns:minmax(0,1fr) auto; gap:.35rem .65rem; }
  .tea-card-meta h3 { grid-column:1/-1; }
  .tea-card-price { grid-column:2; grid-row:2; text-align:right; }
  .tea-product-info .tea-crumb,.gallery-footer,.pack-label,.pdp-pack,.tea-variant-label,.pdp-formats strong,.pdp-formats small,.pdp-profile dt,.pdp-profile dd,.pdp-notes li,.pdp-brew-copy a,.tea-product-info .pdp-offers,.plan-note,.pdp-brew-facts dt,.tea-related .tea-text-link { font-size:.98rem; }
  .tea-product-info .pdp-stock { font-size:.95rem; }
  .tea-product-copy,.pdp-story p,.tea-details > div,.pdp-brew-copy > p,.serving-note p,.shop-search-page label { font-size:1.125rem; line-height:1.6; }
  .tea-product-copy { max-width:50ch; }
  .pdp-price-line { justify-content:flex-start; gap:1.35rem; margin-block:.7rem .55rem; }
  .pdp-price-line strong { font-size:1.55rem; }
  .tea-product-info .tea-crumb { margin-bottom:1rem; }
  .pdp-pack { margin-block:1rem .6rem !important; }
  .tea-details summary { font-size:1.23rem; }
  .tea-product .tea-primary { font-size:1.1rem; }
  .pdp-profile h3,.serving-note h2 { font-size:1.35rem; }
  .tea-panel { width:min(100%,35rem); }
  .cart-page:has(.tea-bag-list) .ed-reading { display:grid; width:100%; grid-template-columns:minmax(0,1.16fr) minmax(17rem,.84fr); gap:1.4rem clamp(2rem,5vw,5rem); }
  .cart-page .tea-bag-list { grid-row:span 2; }
  .cart-page .bag-offer,.cart-page .tea-bag-foot { margin:0; }
  .cart-page .tea-bag-foot { padding-top:0; }
}
@media (min-width: 64rem) { .tea-grid[data-collection] { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width: 62rem) {
  .tea-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  
  .tea-card-meta { gap: .25rem .5rem; }
  .tea-card-kind { grid-row: 2; }
}
@media (max-width: 46rem) {
  .tea-shop, .tea-product { padding-inline: 1rem; }
  .pdp-price-line { justify-content:flex-start; gap:1rem; margin-top:.4rem; }
  .collection-feature { gap:.55rem; font-size:.92rem; }
  .collection-feature img { width:46px; height:36px; }
  .collection-feature .feature-link { font-size:.85rem; }
  .tea-shop-title { margin-block: 2.5rem 1.5rem; }
  .tea-shop-title h1 { font-size: clamp(2.1rem, 6.5vw, 2.65rem); }
  .collection-count { grid-column:1 / -1; }
  .tea-shop-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: .8rem 0; }
  .tea-sort, .tea-collection-select { display: grid; gap: 5px; min-width: 0; color: var(--ink); font-size: .8rem; }
  .tea-sort select, .tea-collection-select select { appearance: auto; width: 100%; min-width: 0; height: 44px; background: var(--paper); color: var(--ink); border: 1px solid #c6c9be; border-radius: 4px; padding: 0 4px; font-family: inherit; font-size: 14px; }
  .tea-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.8rem .75rem; }
  
  
  
  
  .tea-card-photo { aspect-ratio: 1; border-radius: 5px; }
  .tea-card-meta { padding-top: .6rem; }
  .tea-card-kind { font-size: .85rem; }

  .tea-product-layout { align-items: stretch; gap: 0; }
  .pdp-heading { padding-bottom: 16px; }
  .pdp-body { padding-top: 8px; }
  .pdp-body { container-type:normal; }
  .pdp-body .tea-details { container-type:inline-size; }
  .tea-product-info .tea-purchase {
    position:fixed;
    z-index:8;
    inset:auto 0 0;
    margin:0;
    padding:.55rem max(var(--gutter),env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(var(--gutter),env(safe-area-inset-left));
    background:var(--paper);
    border-top:1px solid var(--pdp-rule);
  }
  html:has(.tea-purchase) { scroll-padding-bottom:calc(5rem + env(safe-area-inset-bottom)); }
  body:has(.tea-purchase) { padding-bottom:calc(5rem + env(safe-area-inset-bottom)); }
  .pdp-formats + .pdp-stock, .tea-variant-label + .pdp-stock { display: flex; margin: 12px 0 0; }
  .tea-product-info .tea-counter button { width: 44px; min-height: 44px; }
  .tea-product-info .tea-primary { padding-inline: 12px; }
  .tea-panel { padding-bottom: max(18px,env(safe-area-inset-bottom)); }
  .tea-related > div:first-child { align-items: baseline; flex-wrap: wrap; }
}
@media (max-width: 24rem) {
  .tea-bag-row { column-gap:.5rem; }
  .tea-bag-actions { gap: .4rem; }
  .tea-search-row { grid-template-columns: 3rem minmax(0,1fr) auto; gap: .55rem; }
}

.bag-product-link > span:last-child { font-size:1.5rem; }
.bag-product-link:hover strong { text-decoration:underline; text-underline-offset:.2em; }

.pack-summary { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.3rem .7rem; margin:1.1rem 0 .55rem; }
.pack-summary strong, .pack-choice strong { font-size:1rem; font-weight:600; }
.pack-summary span, .pack-choice span { font-size:.9rem; color:#465440; }
.pack-choices { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) max-content; gap:.4rem .65rem; }
.pack-choice { display:grid; grid-column:1/-1; grid-template-columns:subgrid; align-items:center; min-height:44px; padding:.55rem .75rem; border:1px solid #c1c7b8; border-radius:.4rem; line-height:1.35; }
.pack-sizes { grid-column:1/-1; display:grid; grid-template-columns:subgrid; row-gap:.4rem; }
.pack-group-label { grid-column:1/-1; margin-top:.2rem; font-size:.88rem; font-weight:600; }
@media (max-width:46rem) {
  .pack-choices { grid-template-columns:minmax(0,1fr) max-content; }
  .pack-choice { row-gap:.1rem; }
  .pack-choice strong,.pack-choice span { grid-column:1; }
  .pack-choice span,.pack-choice b { grid-row:2; align-self:baseline; }
  .pack-choice b { grid-column:2; white-space:nowrap; }
}
.pack-choice b { text-align:right; font-size:.96rem; font-weight:550; font-variant-numeric:tabular-nums; }
.pack-choice.chosen { background:#edf1e8; border-color:#485b40; box-shadow:inset 0 0 0 1px #485b40; }
a.pack-choice:hover { border-color:#485b40; }
.buy-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr)); gap:0 1.25rem; }
.quick-card { display:grid; grid-template-columns:3.65rem minmax(0,1fr); align-content:start; align-items:center; gap:.45rem .7rem; padding:.75rem 0; border-top:1px solid var(--line); }
.quick-card .tea-mini-photo { border-radius:.35rem; }
.quick-card .tea-mini-photo img { object-fit:contain; mix-blend-mode:multiply; }
.quick-info strong { font-size:1.05rem; font-weight:600; line-height:1.2; }
.quick-info a:hover, .quick-feedback a { text-decoration:underline; }
.quick-info p, .quick-size, .quick-feedback { margin:0; font-size:.9rem; line-height:1.35; color:#495144; }
.quick-controls { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.45rem; align-items:center; }
.quick-controls select { width:100%; min-width:0; height:44px; border:1px solid #a9b1a1; border-radius:.35rem; padding:0 .4rem; font:inherit; font-size:.88rem; background:var(--paper); color:var(--ink); }
.quick-controls button, .bag-offer-item button[data-quick-add] { padding:.55rem .8rem; min-height:44px; border:0; border-radius:.35rem; background:#303d2d; color:white; font-size:.9rem; font-weight:600; }
.quick-controls button:disabled { opacity:.55; }
#tea-search-box:focus, #page-search-box:focus, select[data-quick-pack]:focus {
  border-color:var(--focus-ring);
  outline:2px solid var(--focus-ring);
  outline-offset:-2px;
}
@media (forced-colors:active) {
  #tea-search-box:focus, #page-search-box:focus, select[data-quick-pack]:focus { outline-color:Highlight; }
}
.quick-size { font-variant-numeric:tabular-nums; }
.quick-feedback { grid-column:1/-1; display:flex; gap:.75rem; }
.quick-feedback:empty { display:none; }
.search-group h3, .search-other { font-size:1.08rem; margin:1rem 0 .4rem; }
.tea-panel .buy-grid { grid-template-columns:1fr; }
.tea-panel .tea-search-results, .shop-search-page [data-search-results] { margin-top:.85rem; }
.shop-search-page .ed-intro { margin-bottom:1rem; }
.tea-related { margin-top:clamp(3rem,6vw,6rem); }
.tea-related > div:first-child { align-items:baseline; margin-bottom:clamp(1.5rem,3vw,2.75rem); }
.related-shelf { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(2rem,5vw,5rem); }
.related-shelf .tea-card-image {
  display:grid; grid-template-columns:clamp(5.25rem,10vw,9rem) minmax(0,1fr); align-items:center;
  gap:clamp(1rem,2vw,2rem); padding:clamp(1rem,1.6vw,1.6rem) 0; border-top:1px solid var(--line);
}
.related-shelf .tea-card-photo { aspect-ratio:1; border-radius:.45rem; }
.related-shelf .tea-card-meta { display:flex; flex-direction:column; align-items:flex-start; gap:.35rem; padding:0; }
.related-shelf .tea-card-kind { font-size:.94rem; line-height:1.4; }
.related-shelf .tea-card-price { font-size:1rem; font-weight:500; }
@media(max-width:44rem) {
  .related-shelf { grid-template-columns:1fr; }
  .tea-related > div:first-child { flex-direction:column; gap:.55rem; }
}
.bag-empty-state { container:empty-bag / inline-size; }
.bag-empty-state .bag-empty-message { margin:.6rem 0 1.65rem; font-size:1rem; color:#505b4b; }
.bag-recs-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.4rem 1rem; margin-bottom:.65rem; }
.bag-recs-head h3 { margin:0; font-size:1.2rem; font-weight:500; letter-spacing:-.035em; }
.bag-recs-head .tea-text-link { font-size:.875rem; white-space:nowrap; }
.bag-recs-grid { display:grid; gap:.75rem; }
.bag-recs-grid .quick-card {
  grid-template-columns:4.5rem minmax(0,1fr) auto;
  grid-template-areas:"photo info price" "controls controls controls";
  padding:1rem; border:0; border-radius:.75rem; background:#f1f2eb; gap:.8rem .75rem;
}
.bag-recs-grid .tea-mini-photo { grid-area:photo; border-radius:.4rem; }
.bag-recs-grid .tea-card-photo { aspect-ratio:1; border-radius:inherit; }
.bag-recs-grid .quick-info { grid-area:info; }
.bag-recs-grid .quick-info p { margin:.22rem 0 0; color:#535e4e; font-size:.855rem; line-height:1.4; }
.bag-recs-grid [data-quick-price] { grid-area:price; align-self:start; font-weight:600; font-size:.95rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.bag-recs-grid .quick-controls { grid-area:controls; gap:.65rem; }
.bag-recs-grid .quick-controls select { padding-inline:.5rem; border-color:#b9c2b0; }
.bag-recs-grid .quick-controls button { border-radius:1.5rem; padding-inline:1rem; }
.bag-recs-grid .quick-controls button:hover { background:#424f3c; }
@container empty-bag (max-width:22rem) {
  .bag-recs-grid .quick-card { grid-template-columns:3.7rem minmax(0,1fr); grid-template-areas:"photo info" "photo price" "controls controls"; gap:.3rem .75rem; }
  .bag-recs-grid .quick-controls { margin-top:.4rem; }
}
@container empty-bag (max-width:19rem) {
  .bag-recs-grid .quick-controls { grid-template-columns:1fr; }
}
@container empty-bag (min-width:46rem) {
  .bag-recs-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
}

.collection-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,32%);gap:12px clamp(24px,4vw,64px);align-items:end;margin:clamp(24px,3vw,42px) 0}
.collection-intro h1{font-size:clamp(2.25rem,4vw,3.85rem);font-weight:500;line-height:1.04;letter-spacing:-.055em}
.collection-intro>div:first-child p{max-width:56ch;margin-top:.7rem;font-size:clamp(1rem,1.35vw,1.18rem);line-height:1.5}
.collection-intro .collection-note{align-self:start;grid-column:1;margin:0;max-width:65ch;color:#41493e;line-height:1.55}
.collection-intro img{grid-area:1 / 2;place-self:center end;width:100%;max-width:19rem;height:auto;object-fit:contain;border-radius:7px}
.blend-collection .collection-intro { align-items:center; margin-block:1.25rem; }
.blend-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:1rem; padding-block:1rem; border-block:1px solid var(--line); }
.blend-filters { display:flex; flex-wrap:wrap; gap:.8rem 1rem; }
.blend-toolbar label { display:grid; min-width:0; gap:.3rem; font-size:.85rem; color:#495345; }
.blend-toolbar :is(input,select) { min-height:44px; width:100%; min-width:0; padding:.55rem .7rem; border:1px solid #b9c1b3; border-radius:.4rem; font:inherit; font-size:.94rem; color:var(--ink); background:var(--paper); }
.blend-select { position:relative; display:grid; min-width:0; }
.blend-select select { appearance:none; padding-right:2.25rem; cursor:pointer; }
.blend-select::after,.blend-toggle::after { content:""; width:.44rem; height:.44rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-70%) rotate(45deg); }
.blend-select::after { position:absolute; top:50%; right:.9rem; pointer-events:none; }
.blend-filters input { max-width:15rem; }
.blend-status { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; margin:.85rem 0 1rem; font-size:.875rem; }
.blend-status p { margin-right:.4rem; }
.blend-status button { min-height:32px; border:0; padding:.3rem .7rem; border-radius:2rem; background:#e8ede3; font-size:.84rem; }
.blend-status [data-clear-field="all"] { background:transparent; text-decoration:underline; text-underline-offset:.2em; }
.blend-toggle,.blend-done { display:none; }
.blend-collection .tea-card-kind,.blend-pack,.blend-collection .tea-card-meta small { font-size:.88rem; line-height:1.35; color:#525c4c; }
.blend-collection .tea-grid { row-gap:.32rem; }
.blend-collection .tea-card {
  --card-rows:4;
  --detail-rows:3;
  margin-bottom:clamp(1.4rem,3vw,3rem);
}
.blend-collection .tea-card:has(.tea-card-meta small) { --card-rows:5; --detail-rows:4; }
.blend-collection .tea-card,.blend-collection .tea-card-image,.blend-collection .tea-card-meta {
  display:grid;
  grid-template-rows:subgrid;
  row-gap:inherit;
}
.blend-collection .tea-card,.blend-collection .tea-card-image { grid-row:span var(--card-rows); }
.blend-collection .tea-card-meta {
  grid-row:span var(--detail-rows);
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:.5rem;
  padding-top:.45rem;
}
.blend-collection .tea-card-meta > :is(h3,.tea-card-kind,small) { grid-column:1/-1; }
.blend-collection .tea-card-meta small { grid-row:3; }
.blend-collection .blend-pack,.blend-collection .tea-card-price { grid-row:-2; margin:.25rem 0 0; }
.blend-collection .blend-pack { grid-column:1; }
.blend-collection .tea-card-price { grid-column:2; text-align:right; font-weight:600; white-space:nowrap; }
.blend-extras { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin-top:2rem; }
.blend-extras a { text-decoration:underline; text-underline-offset:.2em; }
.selection-feature { padding:clamp(1rem,3vw,2.5rem); background:#edf0e7; border-radius:.75rem; }
.selection-feature h2 { font-size:clamp(1.5rem,2.6vw,2.25rem); }
.selection-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr)); gap:.85rem; margin-block:1rem; }
.selection-links a { display:grid; grid-template-columns:clamp(3.5rem,7vw,5.75rem) minmax(0,1fr) auto; align-items:center; gap:.9rem; background:var(--paper); padding:.85rem; border-radius:.5rem; }
.selection-links .tea-card-photo { aspect-ratio:1; }
.selection-links strong,.selection-links small { display:block; }
.selection-links small { margin-top:.2rem; }
.selection-links a:hover strong { text-decoration:underline; }
.selection-feature .collection-note { margin:0; font-size:1rem; }
@media(max-width:46rem) {
  .blend-collection .tea-card { --card-rows:5; --detail-rows:4; }
  .blend-collection .tea-card:has(.tea-card-meta small) { --card-rows:6; --detail-rows:5; }
  .blend-collection .tea-card-meta { grid-template-columns:minmax(0,1fr); }
  .blend-collection .blend-pack { grid-row:-3; }
  .blend-collection .tea-card-price { grid-column:1; grid-row:-2; text-align:left; margin-top:0; }
  [data-blend-collection="caffeine-free"] .collection-intro > div { display:contents; }
  [data-blend-collection="caffeine-free"] .collection-intro .collection-note { grid-area:2 / 1 / auto / -1; }
}
.blend-collection > .collection-note { margin:2rem 0 0; font-size:.98rem; }
@media(max-width:46rem) {
  .blend-toggle,.blend-done { display:inline-block; min-height:44px; padding:.55rem 1rem; border-radius:2rem; border:1px solid #acb5a5; background:var(--paper); }
  .blend-done { grid-column:1/-1; background:#34432e; border-color:transparent; color:white; }
  .blend-collection .blend-done { color:white; }
  .blend-toolbar { grid-template-columns:auto minmax(0,1fr); grid-template-areas:"toggle sort" "panel panel"; gap:0 .85rem; }
  .blend-toolbar > .blend-field { grid-area:sort; }
  .blend-toolbar .blend-toggle { grid-area:toggle; display:flex; align-items:center; justify-content:space-between; gap:1.25rem; height:44px; border-radius:.4rem; }
  .blend-toggle::after { transform:translateY(-20%) rotate(45deg); }
  .blend-toggle[aria-expanded="true"]::after { transform:translateY(20%) rotate(225deg); }
  .blend-filters { grid-area:panel; display:grid; grid-template-columns:minmax(0,1fr); gap:.8rem; margin-top:.9rem; padding:1rem; background:#eef0e8; border-radius:.5rem; }
  .blend-filters input { max-width:none; }
  .blend-toggle[aria-expanded="false"] + .blend-filters { display:none; }
  .blend-status { margin-block:.65rem .85rem; }
}
@media(max-width:730px){
  .collection-intro{grid-template-columns:minmax(0,1fr) 26%;align-items:center;gap:12px}
  .collection-intro .collection-note{grid-column:1/-1}
  .collection-intro h1{font-size:clamp(1.9rem,7.7vw,2.6rem)}
}
