/*
 * Standards-mode fixes.
 * The prototype pages had no <!DOCTYPE>, so browsers drew them in quirks mode.
 * WordPress pages are in standards mode, where an image inside a grid/flex item can push the item
 * out to the photo's own width. These rules restore the prototype layout.
 */

/*
 * Photo frames with an aspect-ratio and an <img height:100%> inside: in standards mode the photo's own
 * height becomes the frame's minimum height, and the ratio then widens the frame (600px tall -> 960px wide).
 * min-height:0 lets the ratio follow the column width instead (Journal "Now" cards, Instagram row, etc.).
 */
.ph {
	min-width: 0;
	min-height: 0;
}

/* standards mode leaves a text-line gap under inline-block form controls; quirks mode did not */
textarea {
	vertical-align: top;
}

/* same line-gap effect under small inline-block labels (Menu / Gallery / Specials banners) */
.xl-tag {
	vertical-align: top;
}

/* a button that cannot be pressed (paid quotation, a form while it is sending) looks faded, like the calendar arrows */
.btn:disabled { opacity: .3; cursor: default; pointer-events: none; }

/* Journal articles written in the editor (article-page.php): editor blocks look like the prototype's article.
   One image = the large photo style; a gallery = .jp-two (two side by side, one column on phones); captions = .jp-figcap. */
.jp-edit figure { margin: 26px 0 0; }
.jp-edit .wp-block-image img { width: 100%; height: auto; display: block; border-radius: var(--radius); background: var(--hair); }
.jp-edit figcaption, .jp-edit .wp-element-caption { font-size: 11px; color: var(--ash); margin-top: 8px; text-align: left; }
.jp-edit .wp-block-gallery { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.jp-edit .wp-block-gallery > figure { margin: 0; width: auto !important; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--hair); }
.jp-edit .wp-block-gallery img { width: 100% !important; height: 100% !important; object-fit: cover; }
.jp-edit .wp-block-gallery > figcaption { grid-column: 1 / -1; margin-top: -6px; }
.jp-edit ul, .jp-edit ol { margin-top: 18px; padding-left: 1.4em; font-size: 15px; line-height: 2; color: var(--cocoa); }
.jp-edit blockquote p { font: inherit; color: inherit; line-height: inherit; letter-spacing: inherit; margin-top: 0; }   /* the editor puts the quote in a <p> */
.jp-edit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .jp-edit .wp-block-gallery { grid-template-columns: 1fr; } }

/* Header: WordPress wraps the header in a template-part <div> exactly as tall as the header, so position:sticky
   had no room to stick and the translucent bar scrolled away. Let the wrapper drop out of the layout. */
.wp-site-blocks > .wp-block-template-part:has(> .nav) { display: contents; }

/* Home hero, first slide: the osechi photo (assets/img/hero-osechi01.jpg, 2048x1529; same photo as the Media
   Library's osechi01.jpeg). The two boxes sit at 20-81% of the photo's width and 25-72% of its height.
   The photo is 143% of the box wide (at least 156% of its height) and pushed right so the food ends at 99% of
   the box: the whole food shows, it starts at about 12% of the box, and the photo always reaches the box's left
   edge, so the fade runs over one continuous photo with no seam. (#a37136 = the table's colour, in case.) */
:where(.gs-home) .hero-photo:has(> .pic4) { container-type: size; }
:where(.gs-home) .hero-photo .pic4 {
  background-image: url("../img/hero-osechi01.jpg") !important;
  background-color: #a37136 !important;
  background-size: max(143cqw, 156cqh) auto !important;
  background-position: calc(99cqw - 0.81 * max(143cqw, 156cqh)) 48% !important;
}

/* Logged in, the WordPress admin bar sits over the top of the page: keep the sticky header below it.
   (On phones under 600px the admin bar scrolls away, so the header goes back to the top.) */
.admin-bar .nav { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }

/* Discount row (first order −10% / discount code) on the checkout and received pages */
.co-sum.co-disc { color: #7a2f3a; }
.co-code { margin-top: 14px; }
.co-codelink { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.co-coderow { display: flex; gap: 8px; margin-top: 10px; }
.co-coderow .co-in { flex: 1; text-transform: uppercase; }
.co-coderow .btn { flex: none; padding-left: 18px; padding-right: 18px; }

/* Pages without a prototype page of their own (generic-page.php): MailPoet's subscription pages, account page,
   search results. Their forms get the site's field and button style. */
.gs-generic input[type="text"], .gs-generic input[type="email"], .gs-generic input[type="password"], .gs-generic select, .gs-generic textarea {
  width: 100%; max-width: 420px; height: 44px; padding: 0 12px; border: 1px solid var(--hair); border-radius: var(--radius); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.gs-generic textarea { height: auto; min-height: 120px; padding: 10px 12px; }
.gs-generic label { display: block; font-size: 13px; color: var(--cocoa); margin-top: 18px; margin-bottom: 6px; }
.gs-generic input[type="submit"], .gs-generic button[type="submit"], .gs-generic .button {
  display: inline-block; margin-top: 22px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: inherit; font-size: 14px; cursor: pointer; }
.gs-generic input[type="checkbox"], .gs-generic input[type="radio"] { margin-right: 8px; }
.gs-generic form p { margin-top: 0; }

/* Logo images (header centre and footer) in place of the text wordmark */
.wm.wm-logo{display:block;line-height:0;letter-spacing:0;font-size:0}
.wm.wm-logo img{display:block;width:auto;max-width:100%;object-fit:contain}
.nav .wm.wm-logo img{height:36px}
.footer .wm.wm-logo{display:inline-block;margin-bottom:18px}
.footer .wm.wm-logo img{height:130px}
@media (max-width:600px){
  .nav .wm.wm-logo img{height:25px}   /* the long wordmark fits between the menu button and the flags */
  .footer .wm.wm-logo img{height:110px}
}

/* Footer link lists on phones: two equal columns that wrap, so a three-column list (Order) stays on screen */
@media (max-width:600px){
  .footer .ft-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
  .footer .ft-links a{overflow-wrap:anywhere}
  .footer .ft-links:has(a[href^="tel:"]){grid-template-columns:1fr}   /* phone · or · e-mail · Instagram · WhatsApp read top to bottom */
}

/* Footer in one row (owner, 2026-11-24): logo · Explore · Order · Company.
   Company is one group: the address and the contact list (phone to WhatsApp) sit side by side under one heading,
   close together, the contact list on the right edge. The two blocks start and end level.
   Tighter lines and less space below. */
.footer-in{
  padding:64px 0 24px;
  grid-template-columns:repeat(4,max-content);
  justify-content:space-between;
  column-gap:40px;
  row-gap:28px;
}
.footer h4{margin-bottom:10px}
.footer .footer-in a{padding:2px 0}
.footer h4 + .ft-links{padding-top:6px}   /* on the list, not its first link, so two-column lists on phones start level */
.footer h4 + .ft-links > a:first-child{padding-top:2px}
.footer .foot-pair{display:grid;grid-template-columns:max-content max-content;column-gap:40px;align-items:stretch;padding-top:8px}
.footer .foot-co{line-height:1.55;margin-bottom:0}
.footer .foot-pair > .foot-ct{display:flex;flex-direction:column;justify-content:space-between}   /* same height as the address */
.footer .foot-pair > .foot-ct > a{padding:0;line-height:20px}
.footer .wm.wm-logo{margin-bottom:0}
.footer .footer-bottom{margin-top:28px;padding:18px 0 22px}
@media (max-width:1100px){
  .footer-in{column-gap:28px}
}
/* Tablets: logo on its own row, then Explore · Order, then Company across */
@media (max-width:1000px){
  .footer-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);justify-content:stretch}
  .footer-in > div:first-child,.footer-in > div:last-child{grid-column:1 / -1}
}
/* Phones: one column; Company keeps the address and the contact list side by side */
@media (max-width:640px){
  .footer-in{grid-template-columns:minmax(0,1fr);row-gap:24px;padding:48px 0 20px}
  .footer .foot-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px}
}

/* Menu / Specials detail: a close button on the photo (closes the photo only), and on phones and tablets a smaller
   photo so the dish details, the quantity and "Add to order" fit on the first screen */
:where(.gs-products,.gs-specials) .pnl-media .ph-x{position:absolute;top:10px;right:10px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;
  background:rgba(0,0,0,.5);color:#fff;font-size:22px;line-height:36px;text-align:center;padding:0;cursor:pointer}
:where(.gs-products,.gs-specials) .pnl-media .ph-x:hover{background:rgba(0,0,0,.7)}
:where(.gs-products,.gs-specials) .pnl-media.off{display:none !important}
@media (max-width:860px){
  :where(.gs-products,.gs-specials) .pnl-media{aspect-ratio:1/1;height:auto;width:calc(100% + 56px);max-width:none;margin:-28px -28px 18px;position:relative;inset:auto;border-radius:0;overflow:hidden}   /* square, edge to edge across the screen: the photo is the detail people want to see */
  /* one close button on phones: the one on the photo closes the whole panel; the panel's own × is hidden while a dish is open */
  :where(.gs-products,.gs-specials) .pnl:has(.pnl-media.on) .pnl-close{display:none}
  :where(.gs-products,.gs-specials) .pnl-media .ph-x{top:12px;right:12px;width:40px;height:40px;line-height:40px;font-size:24px}
  :where(.gs-products,.gs-specials) .pnl-media .ph-arw{width:56px;height:56px}
  :where(.gs-products,.gs-specials) .pnl-media .ph-arw svg{width:28px;height:36px}
}

/* Home hero on phones (plan A): the whole landscape photo first, full width and not cropped,
   with the heading and buttons below it on the dark ground. */
@media (max-width:860px){
  :where(.gs-home) .hero-photo:has(> .pic4){aspect-ratio:2048/1529;margin-bottom:0;container-type:normal}
  :where(.gs-home) .hero-photo::after{display:none}
  /* zoomed so the two osechi boxes (20-81% of the photo wide) fill most of the width; the cloth edges are cropped */
  :where(.gs-home) .hero-photo .pic4{background-size:150% auto !important;background-position:50% 50% !important}
  :where(.gs-home) .hero-pane .hero-photo,:where(.gs-home) .hero-pane .hero-photo>*{transition-delay:0s !important}
  :where(.gs-home) .hero-pane{grid-template-columns:1fr;min-height:0}
  :where(.gs-home) .hero-photo:has(> .pic4){position:relative;inset:auto;order:-1;width:100%}
  :where(.gs-home) .hero-photo:has(> .pic4){aspect-ratio:4/3}
  /* text block on white (plan A), heading always inside the screen */
  :where(.gs-home) .hero,:where(.gs-home) .hero-pane{background:var(--paper);color:var(--ink)}
  :where(.gs-home) .hero-copy .eyebrow{color:#8a8178}
  :where(.gs-home) .hero-copy h1{color:var(--ink);font-size:min(34px,9cqi);overflow-wrap:anywhere}
  html[lang="ja"] :where(.gs-home) .hero-copy h1{font-size:min(28px,7.4cqi)}
  :where(.gs-home) .hero-copy .body{color:#5a524b}
  :where(.gs-home) .hero-actions .btn{color:var(--ink);border-color:var(--ink)}
  :where(.gs-home) .hero-actions .btn.on{background:var(--ink);color:var(--paper)}
  :where(.gs-home) .hero-dot{background:rgba(0,0,0,.2)}:where(.gs-home) .hero-dot.on{background:var(--ink)}
  :where(.gs-home) .hero-copy{padding-top:28px}
}

/* Value cards (Home / About) on phones: inside the page gutter instead of full-bleed 100vw (which ran off the
   right edge on iPhone), body text wraps to the screen width,
   headings break only at punctuation (h3 keep-all). */
@media (max-width:600px){
  :where(.gs-about,.gs-home) .cards{width:auto;max-width:100%;margin-left:0;margin-right:0;padding-inline:0}
  :where(.gs-about,.gs-home) .card{min-width:0;padding:28px 22px}
  :where(.gs-about,.gs-home) .card h3{font-size:min(22px,6.2vw);line-break:strict}
}

/* Home on phones: the About section is left out (it made the page long); desktop keeps it */
@media (max-width:600px){
  :where(.gs-home) #about{display:none}
}

/* Gallery on phones: one large photo per row (two on wider phones / small tablets) with readable names and tags */
@media (max-width:860px){
  :where(.gs-gallery) .gl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
}
@media (max-width:520px){
  :where(.gs-gallery) .gl-grid{grid-template-columns:1fr;gap:40px}
  :where(.gs-gallery) .gl-name{font-size:20px;min-height:0 !important}
  :where(.gs-gallery) .gl-tags .tag{font-size:12px}
}

/* Phones: nothing may run past the screen edge.
   Headings keep word-break:keep-all, so they break at punctuation and spaces first; a run with no break point at
   all (Japanese without 、。 or a long katakana word) now wraps at the edge instead of pushing the page wider.
   Images, video and embeds never get wider than their column. */
@media (max-width:860px){
  h1,h2,h3,h4,h5,.disp,.eyebrow,p,li,dt,dd,th,td,figcaption,blockquote,label,a{overflow-wrap:anywhere}
  img,video,iframe,svg,canvas,table{max-width:100%}
  img,video{height:auto}
  .wrap,.wrap>*,main,section,article{min-width:0;max-width:100%}
  /* journal article title: smaller on phones so the line breaks at the 、 */
  .jp-h1{font-size:min(28px,7.4vw) !important;line-height:1.35 !important;letter-spacing:.01em !important}
}

/* Phones: the nav language switcher shows only the current flag (it overlapped the logo). A tap opens all three
   (they slide out to the left over the header); choosing one folds them back to one and goes to that language.
   Tablets and desktop keep the three flags. The footer switcher is unchanged. */
@media (max-width:600px){
  .nav .lang{position:relative;z-index:5;box-shadow:0 0 0 rgba(0,0,0,0);transition:box-shadow .35s ease}
  .nav .lang.ready button{transition:width .35s cubic-bezier(.4,0,.2,1),opacity .3s ease,border-color .35s}
  .nav .lang:not(.open) button:not([aria-pressed="true"]){width:0;opacity:0;border-left-width:0 !important;pointer-events:none}
  .nav .lang.open{box-shadow:0 4px 14px rgba(0,0,0,.14)}
}

/* Home hero: the Dutch and English headings are one long sentence — set smaller than the short Japanese one */
html:not([lang="ja"]) :where(.gs-home) .hero-pane:not(.news) .hero-copy h1{font-size:min(44px,7.4cqi);line-height:1.12}
@media (max-width:860px){
  html:not([lang="ja"]) :where(.gs-home) .hero-pane:not(.news) .hero-copy h1{font-size:min(28px,7.6cqi);line-height:1.2}
}

/* Home · The team: one black-and-white photo on the left half, the introduction runs on the right */
:where(.gs-home) .cf-in:has(.cf-photo){grid-template-areas:"people . head";grid-template-rows:auto}
:where(.gs-home) .cf-photo{display:block}
:where(.gs-home) .cf-mono{margin:0;aspect-ratio:4/5}
:where(.gs-home) .cf-mono .photo{position:absolute;inset:0;background-size:cover;background-position:center;filter:grayscale(1) contrast(1.05)}
:where(.gs-home) .cf-head .cf-lede{max-width:520px}
:where(.gs-home) .cf-head .cf-lede+.cf-lede{margin-top:14px}
@media (max-width:860px){
  :where(.gs-home) .cf-in:has(.cf-photo){grid-template-areas:"head" "people"}
}

/* The team (Home + About): names under the introduction — role above, two side by side; Read more centred lower */
:where(.gs-about) .cf-in:has(.cf-photo){grid-template:"people . head" auto / 6fr 1fr 5fr}
:where(.gs-about) .cf-photo{display:block}
:where(.gs-about) .cf-mono{margin:0;aspect-ratio:4/5}
:where(.gs-about) .cf-mono .photo{position:absolute;inset:0;background-size:cover;background-position:center;filter:grayscale(1) contrast(1.05)}
:where(.gs-about) .cf-head .cf-lede{max-width:520px}
:where(.gs-about) .cf-head .cf-lede+.cf-lede{margin-top:14px}
:where(.gs-about,.gs-home) .cf-names{display:flex;flex-wrap:wrap;gap:16px 56px;margin-top:32px;padding-top:22px;border-top:1px solid var(--ash)}
:where(.gs-about,.gs-home) .cf-names .cf-role{margin:0 0 6px}
:where(.gs-about,.gs-home) .cf-names .h26{margin:0;white-space:nowrap}
:where(.gs-home) .cf-more{margin-top:72px}
@media (max-width:860px){
  :where(.gs-about) .cf-in:has(.cf-photo){grid-template:"head" "people" / 1fr}
  :where(.gs-home) .cf-more{margin-top:48px}
}

/* The team: the photo starts level with the first line of the introduction (the eyebrow and heading sit above it) */
:where(.gs-about,.gs-home) .cf-in:has(.cf-body){grid-template:". . head" auto "people . body" auto / 6fr 1fr 5fr}
:where(.gs-about,.gs-home) .cf-body{grid-area:body}
:where(.gs-about,.gs-home) .cf-body>.cf-lede:first-child{margin-top:0}
:where(.gs-about,.gs-home) .cf-head:has(+.cf-body){padding-bottom:16px}
:where(.gs-about,.gs-home) .cf-body .cf-lede{max-width:520px}
:where(.gs-about,.gs-home) .cf-body .cf-lede+.cf-lede{margin-top:14px}
@media (max-width:860px){
  :where(.gs-about,.gs-home) .cf-in:has(.cf-body){grid-template:"head" "body" "people" / 1fr}
}
@media (min-width:861px){
  /* the first line's half-leading ((28.8px line − 16px type) / 2): photo top = top of the characters 「私たちは」 */
  :where(.gs-about,.gs-home) .cf-in:has(.cf-body) .cf-photo{margin-top:6px}
}

/* Journal · Instagram: the plugin's feed shown as the site's own square grid — 8 newest on desktop (4×2),
   4 on phones (2×2); the plugin's header, Load more and Follow buttons are hidden (the band has its own). */
.jp-igfeed #sb_instagram{padding:0 !important;width:100% !important}
.jp-igfeed #sb_instagram .sb_instagram_header,.jp-igfeed #sbi_load,.jp-igfeed .sbi_follow_btn{display:none !important}
.jp-igfeed #sbi_images{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important;padding:0 !important;width:100% !important}
.jp-igfeed #sbi_images>.sbi_item{width:auto !important;max-width:none !important;padding:0 !important;margin:0 !important;aspect-ratio:1/1;overflow:hidden;border-radius:var(--radius)}
.jp-igfeed #sbi_images>.sbi_item:nth-child(n+9){display:none !important}
.jp-igfeed .sbi_photo_wrap,.jp-igfeed .sbi_photo{height:100% !important;width:100% !important;display:block}
.jp-igfeed .sbi_photo{background-size:cover !important;background-position:center !important}
.jp-igfeed .sbi_photo img{width:100% !important;height:100% !important;object-fit:cover;opacity:1 !important;display:block}
.jp-igfeed .sbi_item:hover .sbi_photo img{transform:scale(1.03);transition:transform .6s ease}
@media (max-width:600px){
  .jp-igfeed #sbi_images{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
  .jp-igfeed #sbi_images>.sbi_item:nth-child(n+5){display:none !important}
}
.jp-igfeed{margin-top:24px}

/* Journal article (editor): a group block given its own font size (e.g. the order details of a News post) keeps it */
:where(.gs-journal-post-ja) .jp-prose .wp-block-group[style*="font-size"] p,
:where(.gs-journal-post-ja) .jp-prose .wp-block-group[style*="font-size"] li{font-size:18px}

/* Specials: the order deadline ("11月30日締め切り") at the visual size of the event heading */
:where(.gs-specials) .sp-close{font-size:16px;letter-spacing:.1em;padding:4px 10px}

/* Menu page: the note pointing to the seasonal menus (same look as the Specials page note) */
:where(.gs-products) .pr-note{border-top:1px solid var(--hair);border-right:1px solid var(--hair);border-bottom:1px solid var(--hair);border-left:2px solid var(--cocoa);background:var(--paper);border-radius:var(--radius);padding:15px 18px;margin-top:26px;font-size:13px;line-height:1.6;color:var(--stone)}
:where(.gs-products) .pr-note b{color:var(--ink);font-weight:500}
:where(.gs-products) .pr-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;margin-left:4px}

/* Order panel: the dietary note is required when "yes" is chosen (label, red field and message) */
:where(.gs-products,.gs-specials) .pnl .pr-note-lab{margin:14px 0 6px;text-align:left;font-size:13px;font-weight:600;line-height:1.5;color:var(--ink)}
:where(.gs-products,.gs-specials) .pnl .pr-note-lab i{font-style:normal;font-weight:500;font-size:12px;margin-left:6px;color:rgb(122,47,58)}
:where(.gs-products,.gs-specials) .pnl textarea.err{border-color:rgb(122,47,58);background:#fbf1ee}
:where(.gs-products,.gs-specials) .pnl .pr-note-err{color:rgb(122,47,58);font-size:12px;line-height:1.5;margin-top:6px;text-align:left}

/* Plant Based tag (replaces vegan / vegetarian) */
:where(.gs-gallery) .tag.t-plant,:where(.gs-gallery) .t-plant{background:#5b7350}
:where(.gs-home) .tag.t-plant{background:#5b7350}

/* The private chef on hold (inc/chef-pause.php): a red note after its headings, a grey card button, the quotation stops. */
.gs-soon { display: none; }
.gs-chef-paused .gs-soon {
	display: inline-block;
	margin-left: 22px;
	color: #7a2f3a;
	font-family: "Inter", "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.4;
	text-transform: none;
	vertical-align: middle;
	white-space: nowrap;
}
.gs-chef-paused .h40 .gs-soon { font-size: 15px; }
@media (max-width: 600px) {
	.gs-chef-paused .gs-soon { display: block; margin: 8px 0 0; }
}
.gs-chef-paused .pr-card .btn.gs-off { background: #e7e5e1; border-color: #e7e5e1; color: #8b8783; cursor: default; }
.gs-chef-paused .gs-chefhide { display: none !important; }
.gs-chef-paused [data-view="1"] [data-go="2"]:disabled { background: #e7e5e1; border-color: #e7e5e1; color: #8b8783; cursor: default; }

/* Home hero, a news notice whose title is set on two lines (page-home.js heroTitle): larger type. */
.hero-pane.news .hero-copy h1.brk { font-size: min(60px, 10cqi); white-space: nowrap; }

/* Home / About value cards: three equal columns that a long line cannot push wider (the text wraps inside). */
@media (min-width: 861px) { :where(.gs-about,.gs-home) .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Temari-Sushi cards (inc/temari.php, patterns/products.php) ───────────── */

/* common facts at the top of the section, as tags */
:where(.gs-products) .tm-facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -6px 0 18px;
}
:where(.gs-products) .tm-facts li {
	font-size: 12px;
	letter-spacing: .04em;
	background: var(--paper);
	border: 1px solid var(--hair);
	border-radius: 2px;
	padding: 5px 12px;
}

/* small labels: 貫数 / 今季のネタ */
:where(.gs-products) .tm-lab {
	font-size: 11px;
	letter-spacing: .08em;
	color: var(--ash);
	margin-bottom: -4px;
}

/* size buttons */
:where(.gs-products) .tm-size {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
:where(.gs-products) .tm-size button {
	font: inherit;
	font-size: 13px;
	padding: 9px 0;
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--hair);
	margin-left: -1px;
	cursor: pointer;
}
:where(.gs-products) .tm-size button:first-child {
	margin-left: 0;
}
:where(.gs-products) .tm-size button[aria-pressed="true"] {
	background: var(--ink);
	color: var(--paper);
	border-color: var(--ink);
	position: relative;
}

/* neta tags and allergens */
:where(.gs-products) .tm-neta {
	border: 1px dashed var(--ash);
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
:where(.gs-products) .tm-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
:where(.gs-products) .tm-tags span {
	font-size: 12px;
	border: 1px solid var(--hair);
	border-radius: 20px;
	padding: 2px 10px;
	background: var(--bone);
}
