/* ==========================================================================
   The Amadora - Commerce7 widgets, BASE brand styling only (2026-10-09, DECISIONS E23).
   Loaded after Commerce7's own stylesheet (cdn.commerce7.com/v2/commerce7.css), only while the
   "Commerce7 for WordPress" plugin is active (functions.php).

   This is NOT a page design. Kundia's shop / product / cart designs are not in yet. It only makes
   Commerce7's stock widgets use the site's fonts, colours, buttons and fields, through Commerce7's own
   --c7-* variables, so every value below is an Astra palette token (Customizer > Global > Colours):
     0 Black  4 Page cream  5 Paper  6 Sand  8 Dark Forrest Olive
   Why not an Elementor / Astra control: the widgets are rendered in the browser by Commerce7's script;
   neither Elementor nor Astra has controls for them. Their theming layer is these variables.
   ========================================================================== */

:root {
  --c7-page-width: 100%;                                  /* the page's own gutter (header logo edge) sets the width */
  --c7-page-width-checkout: 100%;
  --c7-font-family: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --c7-heading-font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --c7-heading-font-weight: 500;
  --c7-heading-text-color: var(--ast-global-color-0);
  --c7-body-text-color: var(--ast-global-color-0);
  --c7-alt-text-color: var(--ast-global-color-0);
  --c7-header-text-color: var(--ast-global-color-0);

  --c7-primary-color: var(--ast-global-color-0);
  --c7-primary-color-text: var(--ast-global-color-0);
  --c7-primary-color-dark: var(--ast-global-color-8);
  --c7-primary-color-focus: rgb(34 33 33 / 0.25);
  --c7-link-color: var(--ast-global-color-0);

  --c7-bg: var(--ast-global-color-5);
  --c7-bg-alt: var(--ast-global-color-4);
  --c7-border-color: var(--ast-global-color-6);
  --c7-border-radius: 0;
  --c7-block-border-radius: 0;
  --c7-modal-border-radius: 0;
  --c7-dropdown-border-radius: 0;
  --c7-dropdown-hover: var(--ast-global-color-4);
  --c7-loading-bg: rgb(250 241 222 / 0.5);
  --c7-pill-bg: var(--ast-global-color-4);
  --c7-pill-text-color: var(--ast-global-color-0);
  --c7-info-bg: var(--ast-global-color-4);

  --c7-field-bg: var(--ast-global-color-5);
  --c7-field-border-radius: 0;
  --c7-field-border-color: rgb(34 33 33 / 0.58);          /* the Kit's Hairline */
  --c7-field-focus-border-color: var(--ast-global-color-0);
  --c7-field-placeholder: rgb(34 33 33 / 0.58);

  /* buttons = the site's pill (header BOOK NOW, SIGN UP NOW): Black outline, fills Black on hover */
  --c7-button-border-radius: 999px;
  --c7-primary-button-bg: transparent;
  --c7-primary-button-bg-hover: var(--ast-global-color-0);
  --c7-primary-button-text-color: var(--ast-global-color-0);
  /* alt (secondary) button = an outlined pill in Sand, quieter than the house pill (Audrey 10-11 #2: in the slide-in cart
     "View Cart" was filled Sand and outranked "Proceed to Checkout"); it fills Sand on hover */
  --c7-alt-button-bg: transparent;
  --c7-alt-button-bg-hover: var(--ast-global-color-6);
  --c7-alt-button-text-color: var(--ast-global-color-0);

  --c7-cart-count-bg: var(--ast-global-color-0);
  --c7-cart-count-text-color: var(--ast-global-color-5);
}

/* Buttons: the variables carry fill + text; the outline, the hover text colour and the label style have no variable. */
.c7-btn { font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.c7-btn--primary { box-shadow: inset 0 0 0 1px var(--ast-global-color-0); }
.c7-btn--primary:hover, .c7-btn--primary:focus-visible { color: var(--ast-global-color-5); }
.c7-btn--alt { box-shadow: inset 0 0 0 1px var(--ast-global-color-6); }
/* Pills are never underlined (QA 10-11 D5, Audrey #1). Astra underlines every link inside page content
   (.ast-single-post .entry-content a), which reached the <a> pills: START SHOPPING, PROCEED TO CHECKOUT. */
a.c7-btn, a.c7-btn:hover, a.c7-btn:focus-visible,
.ast-single-post .entry-content a.c7-btn, .ast-single-post .entry-content a.c7-btn:hover,
.ast-single-post .entry-content a.c7-btn:focus-visible { text-decoration: none; }
/* Product names in the lists (Audrey #6): no underline at rest (the same Astra rule put one there); the footer links'
   underline on hover and keyboard focus. Interim until Kundia's shop design. */
.c7-product__title a, .ast-single-post .entry-content .c7-product__title a { text-decoration: none; }
.c7-product__title a:hover, .c7-product__title a:focus-visible,
.ast-single-post .entry-content .c7-product__title a:hover,
.ast-single-post .entry-content .c7-product__title a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Keyboard focus = the site's ring (2px solid Black, offset 3) */
.c7-btn:focus-visible, .c7-link:focus-visible, .c7-content a:focus-visible, .c7-product-collection a:focus-visible,
.c7-side-cart a:focus-visible, .c7-side-cart button:focus-visible { outline: 2px solid var(--ast-global-color-0); outline-offset: 3px; }

/* Layout: Commerce7 centres a 1300 px column with its own 20 px side padding; here the page column is set by the
   site (amadora.css, INNER PAGES + GRID PAGES: the Home page's boxed column), so the widget fills that box. */
#primary .c7-wrapper { padding-left: 0; padding-right: 0; }

/* Route pages (Cart, Checkout, Profile, Product, Collection, Club, Reservation): the WordPress page title is switched
   off on these pages (Astra "Disable Title") because Commerce7 prints the real heading. Same title treatment as the
   other inner pages (amadora.css, INNER PAGES): 64 px under the bar (the empty title block keeps that offset, so
   Commerce7's own 20 px top padding goes), and the inner pages' title size / weight (Commerce7 sets 36 / 500). */
#primary .entry-content > .wp-block-c7wp-default .c7-content { padding-top: 0; }
/* Page titles (h1.c7-h1, the product title): amadora.css § GRID PAGES, one H1 system with the legal pages (Audrey #4). */

/* Load reserve (QA 10-11 D1). Commerce7 draws these pages in the browser, and its own loading steps set min-height
   50vh -> 100vh -> 0 on #c7-content, so the footer started high, dropped, came back and landed (CLS 0.14-0.58; on phones
   the black band filled the bottom of the screen for about 400 ms). The block wrapper now keeps the first screen: the
   footer starts just below the fold and only ever moves out of sight. Header height + the title offset (64 px) come
   off, so the footer of a short page (empty cart, login) sits right under the first screen. Placement only. */
body.amd-grid .entry-content > .wp-block-c7wp-default,
body.amd-grid .entry-content > .wp-block-c7wp-collection { min-height: calc(100vh - var(--amd-header-h) - 63px); }
@supports (height: 100svh) {
  body.amd-grid .entry-content > .wp-block-c7wp-default,
  body.amd-grid .entry-content > .wp-block-c7wp-collection { min-height: calc(100svh - var(--amd-header-h) - 63px); }
}
/* Page-bottom step (QA 10-11 D9): last content to the footer = the Home / Taste / About section step on every page.
   Commerce7 leaves its own trailing space (40 px under its route section, 60 under a product list, a paragraph margin);
   those go, the wrapper carries the step. Privacy / Terms: their Elementor Container carries the same value. */
body.amd-grid .entry-content > .wp-block-c7wp-default,
body.amd-grid .entry-content > .wp-block-c7wp-collection { padding-bottom: clamp(56px, 6.25vw, 100px); }
body.amd-grid #c7-content .c7-content { padding-bottom: 0; }
body.amd-grid .c7-product-collection__product-list:last-child,
body.amd-grid .c7-product__add-to-cart__form:last-child, body.amd-grid .c7-product__spec:last-child { margin-bottom: 0; }
/* D1, second pass. Lists on phones: Commerce7 stacks the bottle above the text at <= 768 px with the photo up to 250 px
   tall, but the box had no height until the lazy photo arrived (26 px, then 250), so the text under it dropped
   (CLS 0.29 on /wine/ at 390). The box keeps the 250 from the start. Loading: Commerce7's grey loading blocks (125 px
   each) sat above its first content and were then removed (club: the text jumped up 125 px); they now sit on top of
   each other at the top of the slot, out of the flow. */
@media screen and (max-width: 768px) {
  .c7-product-collection .c7-product__image:has(img) { min-height: 250px; }
}
body.amd-grid #c7-content { position: relative; }
body.amd-grid #c7-content > .c7-loading--block { position: absolute; top: 0; left: 0; right: 0; }

/* Astra's default form colour (#475569) reaches Commerce7's inputs; text typed in a field is the site's Black. */
#c7-content input, #c7-content select, #c7-content textarea,
.c7-product-collection input, .c7-product-collection select,
.c7-side-cart input, .c7-side-cart select, .c7-modal input, .c7-modal select, .c7-modal textarea { color: var(--ast-global-color-0); }

/* Bottle shots (2026-10-09): the product photos are JPGs on a white ground and showed as white boxes on the cream
   page. Multiply drops the white into the page colour and leaves the bottle as it is. Collection lists and the
   product page use the same image box. */
.c7-product__image img { mix-blend-mode: multiply; }
/* Lists (QA 10-11 D10): Commerce7's "featured" first row pads each product 20 px on the left, so the first two bottles
   sat 20 px right of the rest (ragged left edge on Reds / Whites). One left edge. */
.c7-product-collection__products--featured .c7-product { padding-left: 0; }

/* The Commerce7 cart widget is mounted once in the footer for its live count and its slide-in cart (functions.php).
   Its own "Cart" button is replaced by the header's cart link. */
.amd-c7-mount > #c7-cart > .c7-user-nav__cart > .c7-link { display: none; }
.amd-c7-mount { position: absolute; top: 0; left: 0; width: 0; height: 0; }   /* no box in the page flow (the slide-in cart is position: fixed) */

/* ==========================================================================
   RESERVATION SEARCH (2026-10-11, Eric: "search dates right from this page"). Commerce7's all-experiences search
   (.c7-reservations = its reservation route): on /reservation/ (Commerce7's own route
   page; Taste moved to Tock 2026-10-15, tock.css). Drawn as the Stay page's booking bar so the two booking bars read as one
   system: Paper box, Hairline outline, radius 0.5em, label over value (Sofia 600 / 400), thin dividers, the dark
   Search button (hover Dark Forrest Olive), the same em scale (clamp(12px, 1.3vw, 16px)). Layout follows the bar's
   own width (container query), so the same rules serve the 1200 px Taste column, the 500 px phone column and the
   grid column on /reservation/:  >= 1190 px one row  ·  480-1189 two by two + a full-width button  ·  < 480 one column.
   (One row needs the full 1200 px Taste column at 16 px type: the 1122 px column on /reservation/ clipped the date.)
   Results (every experience with its open times) open under the bar as cards in the Taste / Stay card style.
   No Elementor / Astra control reaches markup Commerce7 renders in the browser; every colour is an Astra palette
   token, the type sizes are the Kit's (with fallbacks: the Kit's variables are not printed on non-Elementor pages).
   ========================================================================== */
.c7-reservations { padding: 0; }
.c7-reservations .c7-reservation-widget { container: amdres / inline-size; }
.c7-reservations .c7-reservation__search {
  --amd-res-divider: rgb(34 33 33 / 0.16);                 /* Stay's bar divider */
  max-width: none; margin: 0;
  font-size: clamp(12px, 1.3vw, 16px);                     /* Stay's bar scale: everything below is in em of this */
  text-align: left;
}
.c7-reservations .c7-reservation__search .c7-form { margin: 0; }
.c7-reservations .c7-reservation__search .c7-form__group {
  /* Date / Time / No of Guests sized to their longest value + chevron at the one-row size (16 px): "May 28, 2026" (the widest date) + the
     calendar button, "12:00 pm" 14 px clear of its chevron (QA 10-11 D11: it was 1.4-3 px), the Guests label; the
     experience name takes the rest ("Estate Tasting duplicate", the tenant's leftover, ends in an ellipsis). */
  display: grid; grid-template-columns: minmax(0, 1fr) 15.8em 12.5em 9.5em auto;
  align-items: stretch; justify-content: stretch;
  min-height: 6.29em; margin: 0; padding: 0 1.25em 0 0;
  background: var(--ast-global-color-5);
  border: 1px solid rgb(34 33 33 / 0.58); border-radius: 0.5em;   /* the Kit's Hairline */
}
.c7-reservations .c7-reservation__search .c7-form__field {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; align-content: center;
  width: auto; max-width: none; min-width: 0; margin: 0; padding: 0.5em 0 0.4em 1.6em;
}
.c7-reservations .c7-reservation__search .c7-form__field:first-child { padding-left: 1.94em; }
/* every part in the one column (the chevron below shares the control's cell; without this the control is pushed into
   an implicit second column) */
.c7-reservations .c7-reservation__search .c7-form__field > * { grid-column: 1; }
.c7-reservations .c7-reservation__search .c7-form__field + .c7-form__field::before {     /* divider */
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 2.6em; translate: 0 -50%;
  background: var(--amd-res-divider);
}
/* Field labels: ALL CAPS at the Taste card label's size (Kundia 10-12, DECISIONS R25: "Can the smaller text (like
   'reservation type') be in all caps"). Size = the Kit Global Font amdcardmetalabel (Taste TIME / COST labels: 17.12 px at
   1600, 15.4 from 899 down); /reservation/ has no Elementor Kit CSS, so the same values are the fallback. Weight 600 kept. */
.c7-reservations .c7-reservation__search .c7-form__field > label {
  grid-row: 2; margin: 0 0 0.25em; padding: 0;
  font-family: var(--c7-font-family); font-weight: 600; line-height: 1.15;
  font-size: var(--e-global-typography-amdcardmetalabel-font-size, clamp(0.856rem, 1.4267vw, 1.07rem));
  letter-spacing: 0; text-transform: uppercase; white-space: nowrap;
  color: var(--ast-global-color-0);
}
@media (max-width: 899px) {
  .c7-reservations .c7-reservation__search .c7-form__field > label { font-size: var(--e-global-typography-amdcardmetalabel-font-size, 15.4px); }
}
/* All four fields are required (aria-required on each control); the bar shows no asterisk, as Stay's. */
.c7-reservations .c7-reservation__search .c7-required::after { content: none; }
.c7-reservations .c7-reservation__search select,
.c7-reservations .c7-reservation__search .c7-date-picker-input input {
  grid-row: 3; appearance: none; -webkit-appearance: none;
  width: 100%; height: auto; min-height: 1.4em; margin: 0; padding: 0 1.5em 0 0;    /* em of the value (28.64 px at 1600): clears the chevron */
  font: 400 1.79em/1.15 var(--c7-font-family); letter-spacing: 0; color: var(--ast-global-color-0);
  text-overflow: ellipsis;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
}
.c7-reservations .c7-reservation__search .c7-date-picker-input input { cursor: text; padding-right: calc(0.9rem + 46px); }   /* clears the 44 px calendar button */
.c7-reservations .c7-reservation__search select:focus,
.c7-reservations .c7-reservation__search .c7-date-picker-input input:focus { background: transparent; border: 0; box-shadow: none; }
/* Keyboard focus on a list or the date: the site's 2 px ring round the whole field, inside the bar (a ring on the control
   itself ran past the bar's edge in the right-hand column) */
.c7-reservations .c7-reservation__search select:focus-visible,
.c7-reservations .c7-reservation__search .c7-date-picker-input input:focus-visible { outline: none; }
.c7-reservations .c7-reservation__search .c7-form__field:has(> select:focus-visible),
.c7-reservations .c7-reservation__search .c7-form__field:has(.c7-date-picker-input input:focus-visible) {
  outline: 2px solid var(--ast-global-color-0); outline-offset: -6px; border-radius: 0.6em;
}
/* Chevron on the three lists (Stay's): a grid item on the control's row, so an error line under it never moves it */
.c7-reservations .c7-reservation__search .c7-form__field:has(> select)::after {
  content: ""; grid-row: 3; grid-column: 1; justify-self: end; align-self: center;
  width: 0.62em; height: 0.62em; margin-right: 1.95em; pointer-events: none;
  border: solid var(--ast-global-color-0); border-width: 0 1.6px 1.6px 0; transform: translateY(-30%) rotate(45deg);
}
.c7-reservations .c7-reservation__search .c7-date-picker-input { grid-row: 3; display: block; position: relative; }
/* Calendar button: Commerce7 prints an emoji (WordPress swaps it for an image); a thin-line calendar in its place.
   44 px square hit area at the field's right edge. */
.c7-reservations .c7-reservation__search .c7-date-picker-toggle {
  position: absolute; top: 50%; right: 0.9em; translate: 0 -50%;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0;
  color: var(--ast-global-color-0); background: transparent; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer;
}
.c7-reservations .c7-reservation__search .c7-date-picker-toggle > span { display: none; }
.c7-reservations .c7-reservation__search .c7-date-picker-toggle::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3.75' y='5.25' width='16.5' height='15' rx='1.5'/%3E%3Cpath d='M3.75 9.75h16.5M8.25 3v4.5M15.75 3v4.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3.75' y='5.25' width='16.5' height='15' rx='1.5'/%3E%3Cpath d='M3.75 9.75h16.5M8.25 3v4.5M15.75 3v4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.c7-reservations .c7-reservation__search .c7-date-picker-toggle:hover { background: var(--ast-global-color-4); }
.c7-reservations .c7-reservation__search .c7-date-picker-toggle:focus { box-shadow: none; }
.c7-reservations .c7-reservation__search .c7-date-picker-toggle:focus-visible { outline: 2px solid var(--ast-global-color-0); outline-offset: -2px; }
/* Error line under a value (e.g. Time left empty): Burnished Copper on the Paper bar (4.8:1) */
.c7-reservations .c7-reservation__search .c7-form__error {
  grid-row: 4; align-self: start; margin: 0; padding: 0.35em 1em 0 0;
  font: 400 max(14px, 0.875em)/1.3 var(--c7-font-family); color: var(--ast-global-color-12);   /* never under 14 px (QA D14) */
}
/* Search button = Stay's (dark, hover Dark Forrest Olive); Commerce7's label kept, in sentence case like "Search".
   Label size = Stay's Search at every width (QA 10-11 D3): 1.75 x Stay's bar scale, 24.5 px below 900 (ata.css), set on
   the window width as Stay's is (the bar's own scale here follows its column). Icon: Eric's call (QC), none here. */
.c7-reservations .c7-reservation__search .c7-form__group > .c7-btn {
  align-self: center; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 2.536em; margin: 0 0 0 0.5em; padding: 0 0.6em;
  font: 500 calc(1.75 * clamp(12px, 1.3vw, 16px))/1 var(--c7-font-family); letter-spacing: 0; text-transform: none; white-space: nowrap;
  color: var(--ast-global-color-5); background: var(--ast-global-color-0);
  border: 0; border-radius: 0.27em; box-shadow: none; cursor: pointer;
  transition: background-color 0.2s ease;
}
@media (max-width: 899.98px) {
  .c7-reservations .c7-reservation__search .c7-form__group > .c7-btn { font-size: 24.5px; }
}
.c7-reservations .c7-reservation__search .c7-form__group > .c7-btn:hover,
.c7-reservations .c7-reservation__search .c7-form__group > .c7-btn:focus-visible {
  color: var(--ast-global-color-5); background: var(--ast-global-color-8);
}
/* Date picker (Commerce7's React Day Picker, placed by Popper inside the Date field): the Stay picker's look */
.c7-reservations .c7-date-picker-dropdown { z-index: 30; }
.c7-reservations .rdp-root {
  --rdp-day-height: clamp(36px, 11.2vw, 44px); --rdp-day-width: clamp(36px, 11.2vw, 44px);
  --rdp-day_button-height: clamp(36px, 11.2vw, 44px); --rdp-day_button-width: clamp(36px, 11.2vw, 44px);
  --rdp-day_button-border: 0; --rdp-nav_button-height: 44px; --rdp-nav_button-width: 44px;
  padding: 12px 16px 16px; font-size: 16px; color: var(--ast-global-color-0);
  background: var(--ast-global-color-5); border: 1px solid rgb(34 33 33 / 0.58); border-radius: 8px;
  box-shadow: 0 6px 14px -4px rgb(60 42 24 / 0.1), 0 18px 36px -12px rgb(60 42 24 / 0.18);
}
.c7-reservations .rdp-month_caption { height: 44px; margin: 0; justify-content: center; }
.c7-reservations .rdp-caption_label { padding: 0; font: 500 1.0625rem/44px var(--c7-font-family); color: var(--ast-global-color-0); }
.c7-reservations .rdp-nav { top: 12px; left: 16px; right: 16px; justify-content: space-between; pointer-events: none; }
/* Commerce7 styles these with !important (border, background on focus / active); !important here is the only way past it */
.c7-reservations .rdp-button_previous, .c7-reservations .rdp-button_next {
  pointer-events: auto; color: var(--ast-global-color-0); border: 0 !important; border-radius: 50%;
}
.c7-reservations .rdp-button_previous:hover, .c7-reservations .rdp-button_next:hover,
.c7-reservations .rdp-button_previous:focus, .c7-reservations .rdp-button_next:focus,
.c7-reservations .rdp-button_previous:active, .c7-reservations .rdp-button_next:active {
  opacity: 1; color: var(--ast-global-color-0) !important; background: var(--ast-global-color-4) !important; border: 0 !important;
}
.c7-reservations .rdp-button_previous:focus-visible, .c7-reservations .rdp-button_next:focus-visible { outline: 2px solid var(--ast-global-color-0); outline-offset: -2px; }
.c7-reservations .rdp-chevron { width: 18px; height: 18px; fill: currentColor; }
.c7-reservations .rdp-weekday { height: 28px; padding: 0; font: 500 0.75rem/28px var(--c7-font-family); letter-spacing: 0.05em; opacity: 1; color: var(--ast-global-color-0); }
.c7-reservations .rdp-day { padding: 0; }
.c7-reservations .rdp-root table, .c7-reservations .rdp-root th, .c7-reservations .rdp-root td { margin: 0; border: 0; background: transparent; }   /* the theme's table grid lines */
.c7-reservations .rdp-day_button {
  margin: 0; padding: 0; font: 400 1rem/1 var(--c7-font-family); font-variant-numeric: tabular-nums;
  color: var(--ast-global-color-0); border: 0 !important; border-radius: 50%;
}
.c7-reservations .rdp-day_button:hover:not([disabled]), .c7-reservations .rdp-day_button:focus { background: var(--ast-global-color-4); font-weight: 400; }
.c7-reservations .rdp-day_button:focus-visible { outline: 2px solid var(--ast-global-color-0); outline-offset: -2px; }
.c7-reservations .rdp-today:not(.rdp-selected) .rdp-day_button { font-weight: 600; background: transparent; color: var(--ast-global-color-0); border: 0 !important; }
.c7-reservations .rdp-selected .rdp-day_button,
.c7-reservations .rdp-selected .rdp-day_button:hover, .c7-reservations .rdp-selected .rdp-day_button:focus {
  color: var(--ast-global-color-5) !important; background: var(--ast-global-color-0) !important; border: 0 !important; font-weight: 500;
}
.c7-reservations .rdp-disabled .rdp-day_button { opacity: 1; color: rgb(34 33 33 / 0.5); text-decoration: line-through; }
@media (max-width: 479.98px) {
  .c7-reservations .rdp-root { padding: 8px 10px 10px; }   /* the picker hangs from the Date field: stays inside a 320 px window */
}

/* Results: one card per experience (Taste / Stay card style: Hairline outline, radius 9, photo + text) */
.c7-reservations .c7-reservation__availability {
  display: grid; gap: 24px; margin: clamp(24px, 3vw, 48px) 0 0;
  font-size: var(--e-global-typography-amdcardbody-font-size, clamp(1rem, 1.6667vw, 1.25rem));   /* the card text size (20 at 1600) */
}
.c7-reservations .c7-reservation__availability[aria-busy="true"] { min-height: 6em; }
.c7-reservations .c7-reservation-type {
  display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  max-width: none; margin: 0; overflow: hidden;
  border: 1px solid rgb(34 33 33 / 0.58); border-radius: 9px;
}
.c7-reservations .c7-reservation-type__image { position: relative; min-height: 14em; margin: 0; }
.c7-reservations .c7-reservation-type__image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.c7-reservations .c7-reservation-type__details { padding: 0.9em 1.3em 1.5em; min-width: 0; }
.c7-reservations .c7-reservation-type__details > .c7-h2 {
  margin: 0 0 0.65em;
  font: 300 var(--e-global-typography-amdcardname-font-size, clamp(1.4rem, 2.3333vw, 1.75rem))/1.2 var(--c7-font-family);
  letter-spacing: 0; text-transform: none; color: var(--ast-global-color-0);
}
.c7-reservations .c7-reservation-type__content { max-width: 32em; font-weight: 300; line-height: 1.3; color: var(--ast-global-color-0); }   /* measure cap, about 72 characters (D2) */
.c7-reservations .c7-reservation-type__content > * { margin: 0 0 0.6em; }
.c7-reservations .c7-reservation-type__content h2,
.c7-reservations .c7-reservation-type__content h3 { font: 400 1.1em/1.25 var(--c7-font-family); letter-spacing: 0; color: var(--ast-global-color-0); }
.c7-reservations .c7-reservation-type__content strong { font-weight: 500; }
.c7-reservations .c7-reservation-type__options { margin-top: 1em; }
.c7-reservations .c7-reservation-type .c7-product__add-to-cart__price {
  margin: 0; font: italic 300 var(--e-global-typography-amdcardmeta-font-size, clamp(1.1rem, 1.8333vw, 1.375rem))/1.2 var(--c7-font-family);
  color: var(--ast-global-color-0);
}
.c7-reservations .c7-reservation-type .c7-product__add-to-cart__price__variant { font-size: 0.82em; }
.c7-reservations .c7-reservation-type__next-availability:empty { display: none; }
.c7-reservations .c7-reservation-type__next-availability { margin-top: 0.8em; }
.c7-reservations .c7-reservation-type__next-availability a { color: var(--ast-global-color-0); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.c7-reservations .c7-reservation-type__booking { margin-top: 1.1em; }
.c7-reservations .c7-reservation-type__booking .c7-label {
  margin: 0 0 0.6em; font: 500 0.8em/1.2 var(--c7-font-family); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ast-global-color-0);
}
.c7-reservations .c7-reservation-type__booking .c7-form__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.c7-reservations .c7-reservation-type__booking .c7-form__buttons li { margin: 0; }
/* RESERVE <time> = the site's outlined pill, the Taste card pill's size (Sofia 500, +0.05em) */
.c7-reservations .c7-reservation-type__booking .c7-btn {
  min-height: 2.2em; margin: 0; padding: 0.3em 1.1em;
  font: 500 var(--e-global-typography-amdcardpill-font-size, clamp(0.856rem, 1.4267vw, 1.07rem))/1 var(--c7-font-family);
}
@media (pointer: coarse) {
  .c7-reservations .c7-reservation-type__booking .c7-btn { min-height: 44px; }
}
.c7-reservations .c7-notice--no-availability { margin: 0; padding: 0; font-weight: 300; color: var(--ast-global-color-0); background: transparent; border: 0; }
.c7-reservations .c7-notice--no-availability a { color: var(--ast-global-color-0); text-decoration: underline; text-underline-offset: 3px; }

@container amdres (max-width: 1189.98px) {
  .c7-reservations .c7-reservation__search { font-size: 14px; }       /* Stay's narrow bar */
  .c7-reservations .c7-reservation__search .c7-form__group { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 0 0.8em; }
  .c7-reservations .c7-reservation__search .c7-form__field,
  .c7-reservations .c7-reservation__search .c7-form__field:first-child { padding: 0.95em 0 0.95em 1.4em; }
  .c7-reservations .c7-reservation__search .c7-form__field + .c7-form__field::before { display: none; }
  .c7-reservations .c7-reservation__search .c7-form__field:nth-child(2n)::before {            /* column divider */
    content: ""; display: block; position: absolute; left: 0; top: 50%; width: 1px; height: 2.6em; translate: 0 -50%;
    background: var(--amd-res-divider);
  }
  .c7-reservations .c7-reservation__search .c7-form__field:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--amd-res-divider); }   /* row divider */
  .c7-reservations .c7-reservation__search .c7-form__group > .c7-btn {
    grid-column: 1 / -1; justify-self: stretch; min-height: 48px; margin: 0.35em 0.8em 0;
  }
}
/* Result cards stay side by side (photo 40 %) down to a 700 px column (QA 10-11 D2: stacked at 820-1122 px the photo ran
   818-1120 px wide from a 743 px file and the text 113-123 characters a line). Below 700 the photo goes on top, capped. */
@container amdres (max-width: 699.98px) {
  .c7-reservations .c7-reservation-type { grid-template-columns: minmax(0, 1fr); }
  .c7-reservations .c7-reservation-type__image { min-height: 0; aspect-ratio: 3 / 2; max-height: 420px; }
}
@container amdres (max-width: 479.98px) {
  .c7-reservations .c7-reservation__search .c7-form__group { grid-template-columns: minmax(0, 1fr); padding: 0.3em 0 1.3em; }
  .c7-reservations .c7-date-picker-dropdown .rdp-root { margin-left: -19.6px; }   /* back to the bar's edge (the field's 1.4em inset): inside a 320 px window */
  .c7-reservations .c7-reservation__search .c7-form__field:nth-child(2n)::before { display: none; }
  .c7-reservations .c7-reservation__search .c7-form__field:nth-child(n+3) { box-shadow: none; }
  .c7-reservations .c7-reservation__search .c7-form__field + .c7-form__field::before {         /* row divider, inset (Stay's) */
    content: ""; display: block; position: absolute; left: 1.4em; right: 1.4em; top: 0; width: auto; height: 1px; translate: none;
    background: var(--amd-res-divider);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c7-reservations .c7-reservation__search .c7-form__group > .c7-btn { transition: none; }
}


/* ==========================================================================
   STORE CARDS (2026-10-12; DECISIONS E33, Kundia 10-12 PM: "Wine pages" = her SHOP package): Kundia's SHOP layout card
   (AMA26-WebLayouts-SHOP, page 1) on every Commerce7 product list of the store: /shop/ and /wine/ (their Container carries
   the class amd-shop-grid, Elementor > Advanced > CSS Classes) and the collection pages /collection/<slug>/ (Reds,
   Whites, Sparkling: functions.php puts amd-shop-grid on <body> there; the page is Commerce7's, not Elementor's). Every
   rule is anchored on .c7-product-collection, so the slide-in cart and the product page never pick it up.
   Commerce7 draws the cards in the browser, so no Elementor control reaches them: type = the Kit's Global Fonts
   (amdshoplabel / amdshopname / amdshopsize / amdshopprice, Site Settings; functions.php loads the Kit's CSS on the
   collection pages), colours = Kit globals. Her card at 1600: image box 383 x 490 (Paper, 1 px outline, radius 9) /
   label (caps) / product name / size line / price / quantity box 60 x 60 + ADD TO CART 203 x 60 (Terracotta, Paper text,
   radius 10). Commerce7 fields: label = the product's subtitle, size line = the variant title, price = its price; its
   teaser is not in her card (it stays on the product page).
   ========================================================================== */
.amd-shop-grid .c7-product-collection { width: 100%; }
/* Commerce7 prints the collection's name as an H2 over the list; her layout has no heading there (the page H1 says SHOP /
   WINE / the collection's name): kept for screen readers, not shown. */
.amd-shop-grid .c7-product-collection .c7-h2 {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* ONE grid for the whole list: Commerce7 prints a collection page as a "featured" row (2 products) + a second list, so
   both wrappers step aside (display: contents) and every card sits in the same grid. Three across in her 1200 row
   (Taste / Stay cards' row and gap), two from 1099 down (a card keeps room for the 60 px quantity box + the button), one
   from 699 down (Taste's one-column card width). Row gap = her intro -> grid step. */
.amd-shop-grid .c7-product-collection .c7-product-collection__products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(48px, 5.4375vw, 87px); margin: 0;
}
.amd-shop-grid .c7-product-collection .c7-product-collection__products > .c7-sr-only { position: absolute; }   /* "Product List" (screen readers) takes no cell */
.amd-shop-grid .c7-product-collection .c7-product-collection__products--featured,
.amd-shop-grid .c7-product-collection .c7-product-collection__product-list { display: contents; }
@media (max-width: 1099px) { .amd-shop-grid .c7-product-collection .c7-product-collection__products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .amd-shop-grid .c7-product-collection .c7-product-collection__products { grid-template-columns: minmax(0, min(500px, 100%)); justify-content: center; }
}
.amd-shop-grid .c7-product-collection .c7-pagination { margin-top: clamp(32px, 3vw, 48px); }
/* A card fills its grid row; the quantity box + ADD TO CART sit at the card's foot, so the controls of one row line up
   when a name runs to two lines (Quincy S1). Name, size and price follow the name; at least her 43 px (34 + the price
   line's descent) above the controls. */
.amd-shop-grid .c7-product-collection .c7-product { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 0; }
/* Image box: the shape is reserved before the photo arrives (aspect ratio), so nothing under it moves while it loads */
.amd-shop-grid .c7-product-collection .c7-product__image,
.amd-shop-grid .c7-product-collection .c7-product__image:has(img) {
  flex: none; box-sizing: border-box; width: 100%; min-height: 0; margin: 0; padding: 7%;
  aspect-ratio: 383.3 / 490.1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: none; border: 0; border-radius: 0;   /* client 10-14 meeting (Tracy, Krystal): no white box, the bottle sits on the page */
}
.amd-shop-grid .c7-product-collection .c7-product__image a, .amd-shop-grid .c7-product-collection .c7-product__image picture { display: block; width: 100%; height: 100%; }
.amd-shop-grid .c7-product-collection .c7-product__image img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }   /* Commerce7 caps it at 300 */
/* Text under the box: label (Commerce7 prints the subtitle after the name; her label sits above it), name, size, price */
.amd-shop-grid .c7-product-collection .c7-product__details {
  display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; width: 100%;
  margin: calc(var(--e-global-typography-amdshoplabel-font-size) * 1.12) 0 0; padding: 0;
}
.amd-shop-grid .c7-product-collection .c7-product__subtitle,
.amd-shop-grid .c7-product-collection .c7-product__details:not(:has(.c7-product__subtitle))::before {
  order: -1; margin: 0 0 calc(var(--e-global-typography-amdshoplabel-font-size) * 0.2);
  font-family: var(--e-global-typography-amdshoplabel-font-family), sans-serif; font-weight: var(--e-global-typography-amdshoplabel-font-weight);
  font-size: var(--e-global-typography-amdshoplabel-font-size); line-height: var(--e-global-typography-amdshoplabel-line-height);
  text-transform: uppercase; color: var(--e-global-color-primary);
}
/* no subtitle: the label line stays as space, so the names in a row start level */
.amd-shop-grid .c7-product-collection .c7-product__details:not(:has(.c7-product__subtitle))::before { content: ""; display: block; height: calc(var(--e-global-typography-amdshoplabel-font-size) * 1.2); }
/* Quincy D4, 10-30: no one-word last line on the smaller type ("OIL", "Cugina"). */
.amd-shop-grid .c7-product-collection .c7-product__subtitle, .amd-shop-grid .c7-product-collection .c7-product__title { text-wrap: balance; }
.amd-shop-grid .c7-product-collection .c7-product__title {
  margin: 0; font-family: var(--e-global-typography-amdshopname-font-family), sans-serif; font-weight: var(--e-global-typography-amdshopname-font-weight);
  font-size: var(--e-global-typography-amdshopname-font-size); line-height: var(--e-global-typography-amdshopname-line-height); color: var(--e-global-color-primary);
}
.amd-shop-grid .c7-product-collection .c7-product__title a { color: inherit; }
.amd-shop-grid .c7-product-collection .c7-product__teaser { display: none; }
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; max-width: none; margin: 0; }
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__price {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.35em; margin: calc(var(--e-global-typography-amdshopsize-font-size) * 0.22) 0 0;
  font-family: var(--e-global-typography-amdshopprice-font-family), sans-serif; font-weight: var(--e-global-typography-amdshopprice-font-weight);
  font-size: var(--e-global-typography-amdshopprice-font-size); line-height: var(--e-global-typography-amdshopprice-line-height); color: var(--e-global-color-primary);
}
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__price__variant {
  order: -1; flex-basis: 100%; margin: 0 0 calc(var(--e-global-typography-amdshopsize-font-size) * 0.125);
  font-family: var(--e-global-typography-amdshopsize-font-family), sans-serif; font-weight: var(--e-global-typography-amdshopsize-font-weight);
  font-size: var(--e-global-typography-amdshopsize-font-size); line-height: var(--e-global-typography-amdshopsize-line-height);
}
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__price__variant::before { content: none; }
.amd-shop-grid .c7-product-collection .c7-product__variant__price__title { font: inherit; }
/* Quantity box + ADD TO CART: 20 px type in a 48 px box at every width (Eric 10-30: 20% down from 24 / 60). The Paper
   label on Terracotta is 3.4:1: AA large at 24 px, under AA at 20 (with Eric); hover / focus = Burnished Copper (4.8:1). The 34 px above
   the controls is padding, so margin-top: auto can push them to the card's foot without losing it. */
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__form {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin: auto 0 0; padding: 34px 0 0; font-size: 20px;   /* price ink -> box = her 43 at 1600 */
}
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__form__quantity { flex: none; width: auto; max-width: none; margin: 0; }
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__form__quantity .c7-form__field { margin: 0; }
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__form__quantity input {
  box-sizing: border-box; width: 48px; height: 48px; max-width: none; margin: 0; padding: 0;
  font-family: var(--e-global-typography-amdpill-font-family), sans-serif; font-weight: 300; font-size: 20px; line-height: 1; text-align: center;
  color: var(--e-global-color-primary); background: transparent; border: 1px solid var(--e-global-color-primary); border-radius: 10px; box-shadow: none;
}
.amd-shop-grid .c7-product-collection .c7-product__add-to-cart__form__quantity input:focus-visible { outline: 2px solid var(--e-global-color-primary); outline-offset: 3px; }
.amd-shop-grid .c7-product-collection .c7-product .c7-btn--primary {
  box-sizing: border-box; min-height: 48px; height: 48px; margin: 0; padding: 0 0.85em;
  font-family: var(--e-global-typography-amdpill-font-family), sans-serif; font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: 0.05em;
  color: var(--e-global-color-amdpaper); background: var(--e-global-color-secondary); border: 0; border-radius: 10px; box-shadow: none;
  transition: background-color .2s ease;
}
.amd-shop-grid .c7-product-collection .c7-product .c7-btn--primary:hover, .amd-shop-grid .c7-product-collection .c7-product .c7-btn--primary:focus-visible {
  color: var(--e-global-color-amdpaper); background: var(--e-global-color-amdcopper);
}
/* Collection pages (Reds / Whites / Sparkling): the page title one title step under the bar and the grid one Shop step
   under the title, as on /shop/ and /wine/ (58.4 and 87 at 1600). Commerce7 left them at 0 and 20 px. */
body.amd-shop-grid #primary .entry-content > .wp-block-c7wp-default .c7-content { padding-top: clamp(36px, 3.65vw, 58.4px); }
body.amd-shop-grid .c7-product-collection .c7-product-collection__products { margin-top: clamp(40px, 5.4375vw, 87px); }
/* Collection pages: the footer starts below the first screen and only ever moves out of sight while Commerce7 draws the
   list (Quincy S4: /collection/sparkling/ moved it 0.02-0.03 CLS; Reds / Whites 0.11 at 390). The block wrapper keeps the
   whole first screen under the bar (the grid pages' "- 63px" left the footer's top 63 px in view). Placement only. */
body.amd-shop-grid.amd-grid .entry-content > .wp-block-c7wp-default { min-height: calc(100vh - var(--amd-header-h)); }
@supports (height: 100svh) {
  body.amd-shop-grid.amd-grid .entry-content > .wp-block-c7wp-default { min-height: calc(100svh - var(--amd-header-h)); }
}

/* ==========================================================================
   PRODUCT PAGE (2026-10-12, Kundia 10-12 PM): her SHOP page 2 (AMA26-WebLayouts-SHOP, page 2; preview
   assets-from-designer/previews/shop-layout-1600-2.jpg) on Commerce7's product page /product/<slug>/ (functions.php puts
   amd-product on <body> there and loads the Kit's CSS). At 1600 in her 200-1400 row: image box 486 x 691 (Paper, 1 px
   outline, radius 9) at the left, 24 px gap, then the name (Cormorant SemiBold 70), price (Sofia Light 49.5) + size (36)
   on one baseline, quantity box 81 x 81 + ADD TO CART 273 x 81 (Sofia Medium 34.66, Terracotta), the description (Sofia
   Light 30 / 1.2, paragraph space 15.09). Type = Kit Global Fonts amdprodname / amdprodprice / amdprodsize /
   amdaboutbody, colours = Kit globals. Commerce7's specs (vintage, varietal, appellation) are not in her page; they
   stay, small, under the description. Phones (<= 699): the box above the text.
   ========================================================================== */
body.amd-product .c7-product-detail { padding-top: clamp(24px, 3.25vw, 52px); }
body.amd-product .c7-product-detail > .c7-product {
  display: grid; grid-template-columns: minmax(0, 486fr) minmax(0, 690fr); column-gap: 24px; align-items: start; margin: 0; padding: 0;
}
body.amd-product .c7-product-detail .c7-product__image {
  box-sizing: border-box; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 7%;
  aspect-ratio: 486 / 691; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: none; border: 0; border-radius: 0;   /* client 10-14 meeting (Tracy, Krystal): no white box, the bottle sits on the page */
}
body.amd-product .c7-product-detail .c7-product__image a, body.amd-product .c7-product-detail .c7-product__image picture { display: block; width: 100%; height: 100%; }
body.amd-product .c7-product-detail .c7-product__image img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
body.amd-product .c7-product-detail .c7-product__details { display: flex; flex-direction: column; align-items: flex-start; width: auto; max-width: none; margin: 0; padding: 0; }
body.amd-product #primary .c7-product-detail h1.c7-product__title {
  margin: calc(var(--e-global-typography-amdprodname-font-size) * 0.036) 0 0; padding: 0;
  font-family: var(--e-global-typography-amdprodname-font-family), Georgia, serif; font-weight: var(--e-global-typography-amdprodname-font-weight);
  font-size: var(--e-global-typography-amdprodname-font-size); line-height: var(--e-global-typography-amdprodname-line-height);
  letter-spacing: 0; text-transform: none; text-align: left; text-wrap: balance; color: var(--e-global-color-primary);
}
/* the product's subtitle (e.g. an appellation) = the card's label, above the name */
body.amd-product .c7-product-detail .c7-product__subtitle {
  order: -1; margin: 0 0 calc(var(--e-global-typography-amdshoplabel-font-size) * 0.5);
  font-family: var(--e-global-typography-amdshoplabel-font-family), sans-serif; font-weight: var(--e-global-typography-amdshoplabel-font-weight);
  font-size: var(--e-global-typography-amdshoplabel-font-size); line-height: var(--e-global-typography-amdshoplabel-line-height);
  text-transform: uppercase; color: var(--e-global-color-primary);
}
body.amd-product .c7-product-detail .c7-product__add-to-cart { width: 100%; max-width: none; margin: 0; }
body.amd-product .c7-product-detail .c7-product__add-to-cart__price {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.45em; margin: calc(var(--e-global-typography-amdprodprice-font-size) * 0.496) 0 0;
  font-family: var(--e-global-typography-amdprodprice-font-family), sans-serif; font-weight: var(--e-global-typography-amdprodprice-font-weight);
  font-size: var(--e-global-typography-amdprodprice-font-size); line-height: var(--e-global-typography-amdprodprice-line-height); color: var(--e-global-color-primary);
}
body.amd-product .c7-product-detail .c7-product__add-to-cart__price__variant {
  font-family: var(--e-global-typography-amdprodsize-font-family), sans-serif; font-weight: var(--e-global-typography-amdprodsize-font-weight);
  font-size: var(--e-global-typography-amdprodsize-font-size); line-height: var(--e-global-typography-amdprodsize-line-height);
}
body.amd-product .c7-product-detail .c7-product__add-to-cart__price__variant::before { content: none; }
body.amd-product .c7-product-detail .c7-product__variant__price__title { font: inherit; }
/* Quantity + ADD TO CART: 28 at 1600, never under 20 px (Eric 10-30: 20% down from her 34.66 / 24; Paper on Terracotta under AA at 20, with Eric) */
body.amd-product .c7-product-detail .c7-product__add-to-cart__form {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.55em; margin: 1.27em 0 0; font-size: clamp(19px, 1.4vw, 22px);   /* Eric 10-30: 28 -> 22; floor 19 = bold large text for ADD TO CART's 3.35:1 */
}
body.amd-product .c7-product-detail .c7-product__add-to-cart__form__quantity { flex: none; width: auto; max-width: none; margin: 0; }
body.amd-product .c7-product-detail .c7-product__add-to-cart__form__quantity .c7-form__field { margin: 0; }
body.amd-product .c7-product-detail .c7-product__add-to-cart__form__quantity input {
  box-sizing: border-box; width: 44px; height: 44px; max-width: none; margin: 0; padding: 0;
  font-family: var(--e-global-typography-amdpill-font-family), sans-serif; font-weight: 300; font-size: 1em; line-height: 1; text-align: center;
  color: var(--e-global-color-primary); background: transparent; border: 1px solid var(--e-global-color-primary); border-radius: 10px; box-shadow: none;
}
body.amd-product .c7-product-detail .c7-product__add-to-cart__form__quantity input:focus-visible { outline: 2px solid var(--e-global-color-primary); outline-offset: 3px; }
body.amd-product .c7-product-detail .c7-product .c7-btn--primary {
  box-sizing: border-box; min-height: 44px; height: 44px; margin: 0; padding: 0 0.7em;
  font-family: var(--e-global-typography-amdpill-font-family), sans-serif; font-weight: 700; font-size: 1em; line-height: 1; letter-spacing: 0.05em;
  color: var(--e-global-color-amdpaper); background: var(--e-global-color-secondary); border: 0; border-radius: 10px; box-shadow: none;
  transition: background-color .2s ease;
}
body.amd-product .c7-product-detail .c7-product .c7-btn--primary:hover, body.amd-product .c7-product-detail .c7-product .c7-btn--primary:focus-visible {
  color: var(--e-global-color-amdpaper); background: var(--e-global-color-amdcopper);
}
/* Description (her body), then Commerce7's specs, small, under it */
body.amd-product .c7-product-detail .c7-product__info { display: block; width: 100%; margin: calc(var(--e-global-typography-amdaboutbody-font-size) * 2.853) 0 0; }
body.amd-product .c7-product-detail .c7-product__content {
  width: 100%; max-width: none; margin: 0;
  font-family: var(--e-global-typography-amdaboutbody-font-family), sans-serif; font-weight: var(--e-global-typography-amdaboutbody-font-weight);
  font-size: var(--e-global-typography-amdaboutbody-font-size); line-height: var(--e-global-typography-amdaboutbody-line-height); color: var(--e-global-color-primary);
}
body.amd-product .c7-product-detail .c7-product__content p { margin: 0 0 calc(var(--e-global-typography-amdaboutbody-font-size) * 0.503); font: inherit; color: inherit; }
body.amd-product .c7-product-detail .c7-product__content p:last-child { margin-bottom: 0; }
body.amd-product .c7-product-detail .c7-product__specs {
  display: flex; flex-wrap: wrap; gap: 0.6em 2.4em; width: auto; max-width: none; margin: calc(var(--e-global-typography-amdaboutbody-font-size) * 1.2) 0 0; padding: 0;
  font-family: var(--e-global-typography-amdaboutbody-font-family), sans-serif; font-size: calc(var(--e-global-typography-amdaboutbody-font-size) * 0.75); line-height: 1.3;
  color: var(--e-global-color-primary);
}
body.amd-product .c7-product-detail .c7-product__spec { margin: 0; padding: 0; }
body.amd-product .c7-product-detail .c7-product__spec > :first-child { font-weight: 500; font-size: 0.8em; letter-spacing: 0.05em; text-transform: uppercase; }
body.amd-product .c7-product-detail .c7-product__spec > :last-child { font-weight: 300; }
@media (max-width: 699px) {
  body.amd-product .c7-product-detail > .c7-product { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  body.amd-product .c7-product-detail .c7-product__image { width: min(100%, 420px); justify-self: center; }
}
/* Product page: the same first-screen reserve as the collection pages (the footer only ever moves out of sight). */
body.amd-product.amd-grid .entry-content > .wp-block-c7wp-default { min-height: calc(100vh - var(--amd-header-h)); }
@supports (height: 100svh) {
  body.amd-product.amd-grid .entry-content > .wp-block-c7wp-default { min-height: calc(100svh - var(--amd-header-h)); }
}

/* ==========================================================================
   WINE CARDS (2026-10-12, Kundia's WINE layout, DECISIONS R28): her wine card (AMA26-WebLayouts-WINE, page 1; preview
   assets-from-designer/previews/wine-layout-1600-1.jpg) on /wine/ and the collection pages (Reds, Whites, Sparkling):
   functions.php puts amd-wine-grid on <body> there. Built on STORE CARDS above; only what her WINE file changes:
   - three columns of 281.4 in the 1200 row (gaps 177.9 at 1600) and a tall photo box 281.4 x 639.3 (ratio 0.44) with the
     bottle filling it: her photo frame holds the photo at 106.4 % of the box height, centred, its top 4.86 % above the box
     (the same 3300 x 4200 bottle shots Commerce7 serves), so the bottle stands 27 px from the box top and bottom;
   - the caps label line above the name in Sofia Medium 33 (Kit Global Font amdwinelabel; her vintage line and her
     "FOUNDERS RESERVE" line). Commerce7's list prints the product's SUBTITLE but not its vintage (the vintage sits in its
     wine properties, which the list markup does not carry), so the line shows the subtitle; no subtitle = the line stays
     as space, so the names in a row start level;
   - price and size on one line: "$36.00 / 750ml" (price Sofia Light 33, the "/" at the price size, size 24), her
     baselines at 1600: label +61.8, name +112.1, price +162.3, controls +203.4 below the box.
   /shop/ keeps her SHOP card: Commerce7's list markup has no product type, so a page cannot tell a wine card from the
   olive oil card by card. Type = Kit Global Fonts (amdwinelabel, amdshopname, amdshopprice, amdshopsize), colours = Kit.
   ========================================================================== */
body.amd-wine-grid .c7-product-collection .c7-product-collection__products {
  --amd-wine-col: clamp(276px, 23.452%, 281.42px);              /* 281.4 in the 1200 row; never under 276 (the design's column; quantity 48 + 16 + button 154 = 218 fits) */
  grid-template-columns: repeat(3, var(--amd-wine-col)); justify-content: space-between; column-gap: 0;
  row-gap: clamp(64px, 12.76vw, 204px);                          /* her row 1 controls -> row 2 box: 204 at 1600 */
}
@media (max-width: 1099px) {
  body.amd-wine-grid .c7-product-collection .c7-product-collection__products { grid-template-columns: repeat(2, var(--amd-wine-col)); justify-content: space-evenly; }
}
@media (max-width: 699px) {
  body.amd-wine-grid .c7-product-collection .c7-product-collection__products { --amd-wine-col: min(281.42px, 100%); grid-template-columns: var(--amd-wine-col); justify-content: center; }
}
body.amd-wine-grid .c7-product-collection .c7-product__image,
body.amd-wine-grid .c7-product-collection .c7-product__image:has(img) { position: relative; display: block; padding: 0; aspect-ratio: 281.42 / 639.32; }
body.amd-wine-grid .c7-product-collection .c7-product__image a,
body.amd-wine-grid .c7-product-collection .c7-product__image picture { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 10-14: the client's own shots (300 x 1000, cut tight to the bottle) replaced the white-space sample shots, so her
   106.4 % / -4.86 % frame cut the capsule off; the bottle now stands her 27 px (of 639) clear of the top and bottom. */
body.amd-wine-grid .c7-product-collection .c7-product__image img {
  position: absolute; left: 50%; top: 50%; width: auto; height: 91.5%; max-width: 92%; max-height: none; translate: -50% -50%; object-fit: contain;
}
body.amd-wine-grid .c7-product-collection .c7-product__details { margin-top: calc(var(--e-global-typography-amdwinelabel-font-size) * 0.993); }
body.amd-wine-grid .c7-product-collection .c7-product__subtitle,
body.amd-wine-grid .c7-product-collection .c7-product__details:not(:has(.c7-product__subtitle))::before {
  margin: 0 0 calc(var(--e-global-typography-amdwinelabel-font-size) * 0.113);
  font-family: var(--e-global-typography-amdwinelabel-font-family), sans-serif; font-weight: var(--e-global-typography-amdwinelabel-font-weight);
  font-size: var(--e-global-typography-amdwinelabel-font-size); line-height: var(--e-global-typography-amdwinelabel-line-height);
}
body.amd-wine-grid .c7-product-collection .c7-product__details:not(:has(.c7-product__subtitle))::before { height: calc(var(--e-global-typography-amdwinelabel-font-size) * 1.2); }
/* price + size on one line (the size no longer a line of its own above the price) */
body.amd-wine-grid .c7-product-collection .c7-product__add-to-cart__price { column-gap: 0.07em; margin-top: calc(var(--e-global-typography-amdshopprice-font-size) * 0.277); }
body.amd-wine-grid .c7-product-collection .c7-product__add-to-cart__price__variant { order: 0; flex-basis: auto; margin: 0; }
body.amd-wine-grid .c7-product-collection .c7-product__add-to-cart__price__variant::before {
  content: "/" / ""; margin-right: 0.19em;                       /* her " / " at the price size (gaps 11 / 10 px at 1600); silent for screen readers */
  font-family: var(--e-global-typography-amdshopprice-font-family), sans-serif; font-weight: var(--e-global-typography-amdshopprice-font-weight);
  font-size: var(--e-global-typography-amdshopprice-font-size);
}
body.amd-wine-grid .c7-product-collection .c7-product__add-to-cart__form { padding-top: 30.5px; }   /* price baseline -> controls = her 41 at 1600 */
/* her "Estate Grenache" is set -10 (-0.01 em) to fit the 281 column; the same on every wine name (284.7 -> 279.1 px) */
body.amd-wine-grid .c7-product-collection .c7-product__title { letter-spacing: -0.01em; }

/* ==========================================================================
   WINE PRODUCT PAGE (2026-10-12, Kundia's WINE layout page 2; preview wine-layout-1600-2.jpg): a product page whose
   Commerce7 markup carries the wine specs block (.c7-product__specs: Vintage / Varietal / Appellation; Commerce7 prints it
   for wines only, the olive oil has none) takes her wine page 2; any other product keeps PRODUCT PAGE above (her SHOP
   page 2). At 1600 in the 200-1400 row: photo box 383 x 1167 (her frame holds the bottle at 111.6 % of the box height,
   centred, top 8.54 % above the box), the text column at x 709 (126 px gap); name, price / size, controls and the
   description as on the SHOP page 2 (same sizes); then her VINTAGE / VARIETAL / APPELLATION block under the description:
   caps label Sofia Medium 30 over its value Sofia Light 30, line 36, one empty line between the three, the first label
   107.7 px (baseline to baseline) under the description's last line.
   ========================================================================== */
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) {
  grid-template-columns: minmax(0, 383fr) minmax(0, 691fr); column-gap: 10.5%;
}
/* Eric 10-14: box at 2/3 of her 1167 height (840 at 1600) and the whole bottle centred in it at 92.5 % (about 2/3 of the
   old bottle). Her 111.6 % / -8.54 % frame was for the 3300 x 4200 sample shots with white space round the bottle; the
   client's own shots (300 x 1000, cut tight to the bottle) lost the capsule above the box with it. */
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__image { position: relative; display: block; padding: 0; aspect-ratio: 383.02 / 840; }
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__image picture { position: absolute; inset: 0; width: 100%; height: 100%; }
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__image img {
  position: absolute; left: 50%; top: 50%; width: auto; height: 92.5%; max-width: 92%; max-height: none; translate: -50% -50%; object-fit: contain;
}
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__add-to-cart__price { column-gap: 0.21em; }
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__add-to-cart__price__variant::before {
  content: "/" / ""; margin-right: 0.21em;                       /* her "$xxx.xx / 750 mL": the "/" at the price size */
  font-family: var(--e-global-typography-amdprodprice-font-family), sans-serif; font-weight: var(--e-global-typography-amdprodprice-font-weight);
  font-size: var(--e-global-typography-amdprodprice-font-size);
}
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__specs {
  display: block; margin: calc(var(--e-global-typography-amdaboutbody-font-size) * 2.39) 0 0;
  font-family: var(--e-global-typography-amdaboutbody-font-family), sans-serif; font-weight: var(--e-global-typography-amdaboutbody-font-weight);
  font-size: var(--e-global-typography-amdaboutbody-font-size); line-height: var(--e-global-typography-amdaboutbody-line-height);
}
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__spec + .c7-product__spec { margin-top: calc(var(--e-global-typography-amdaboutbody-font-size) * 1.2); }
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__spec > * { margin: 0; line-height: var(--e-global-typography-amdaboutbody-line-height); }   /* Commerce7 sets 1.6 */
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__spec > :first-child { font-weight: 500; font-size: 1em; letter-spacing: 0; text-transform: uppercase; }
body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__spec > :last-child { font-weight: var(--e-global-typography-amdaboutbody-font-weight); }
@media (max-width: 699px) {
  body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) { grid-template-columns: minmax(0, 1fr); }
  body.amd-product .c7-product-detail > .c7-product:has(.c7-product__specs) .c7-product__image { width: min(100%, 240px); }
}

/* ==========================================================================
   STORE FIX ROUND 1 (2026-10-12, Quincy QA_REPORT-2026-10-12-wine W3 / W4). The product page reached from a collection
   page (W1) and the photo sizes (W2 / W5) are functions.php's store script; nothing here.
   ========================================================================== */
/* W3: the collection page titles (Reds, Whites, Sparkling) in the designed page title of SHOP and WINE: the Kit's Global
   Font amdpagetitle (Sofia Sans 200, +0.025em, line 1; 48 px at 1600, 33 at 1100, 32 from 1067 down, as SHOP /
   WINE). The title is the collection's name in Commerce7 ("Reds"); it stays in capitals (SHOP / WINE are typed in
   capitals). The Kit's CSS is loaded on the collection pages (functions.php); the fallbacks are the same values. */
body.amd-shop-grid #primary h1.c7-h1:not(.c7-product__title) {
  font-family: var(--e-global-typography-amdpagetitle-font-family, "Sofia Sans"), "Helvetica Neue", Arial, sans-serif;
  font-size: var(--e-global-typography-amdpagetitle-font-size, clamp(32px, 3vw, 48px));
  font-weight: var(--e-global-typography-amdpagetitle-font-weight, 200);
  line-height: var(--e-global-typography-amdpagetitle-line-height, 1);
  letter-spacing: var(--e-global-typography-amdpagetitle-letter-spacing, 0.025em);
}
/* W4: Commerce7's "Showing 1 to N of N" line under a store list says nothing when everything is on one page; it shows
   only when Commerce7 adds page links to it (more than one page). */
.amd-shop-grid .c7-pagination:not(:has(a, button)) { display: none; }

/* ==========================================================================
   CART (2026-10-12). The Taste tastings cards that lived in this section (Commerce7's tastings, [amd_c7_tastings])
   and the Taste search rules above it were removed 2026-10-15: Taste books through Tock (tock.css).
   ========================================================================== */
/* /cart/ (2026-10-12): the first-screen reserve of the collection and product pages. With the grid pages' "- 63px" the
   footer's top 63 px sat in the first screen, and Commerce7's loading step (min-height 100vh on its mount, then 0) pushed
   it out of view and back (CLS 0.016-0.047). The wrapper now keeps the whole first screen under the header, so the footer
   only ever moves out of sight. Placement only. */
body.amd-cart.amd-grid .entry-content > .wp-block-c7wp-default { min-height: calc(100vh - var(--amd-header-h)); }
@supports (height: 100svh) {
  body.amd-cart.amd-grid .entry-content > .wp-block-c7wp-default { min-height: calc(100svh - var(--amd-header-h)); }
}
