@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Jost:wght@300;400;500&display=swap');

/* ==========================================================================
   Grand Teton Organics 2026 - site header
   Figma frame 225:221. Colours sampled from the approved frame.
   Scoped to .site-header so nothing here can reach the rest of the theme.
   ========================================================================== */

/* Brand tokens live at the root, not on a section. They were originally on
   .site-header, and the hero then referenced --gto-serif and got nothing, so
   its title rendered in Times New Roman rather than Cormorant Garamond. It
   looked serif enough to pass a glance, which is exactly why this is declared
   once, here, for every section to inherit. */
:root {
    --gto-bar-top: #353b26;
    --gto-bar-main: #5e5439;
    --gto-cream: #f3e3c0;
    --gto-white: #ffffff;
    --gto-pill-ink: #64694c;
    --gto-serif: 'Cormorant Garamond', 'Times New Roman', Times, serif;
    --gto-sans: 'Jost', Arial, Helvetica, sans-serif;
}

.site-header {
    position: relative;
    z-index: 20;
    font-family: var(--gto-sans);
}

.site-header *,
.site-header *::before,
.site-header *::after { box-sizing: border-box; }

/* colour must be stated, not left to inherit by luck: an anchor with no href
   is not a link and escapes the browser's default blue, so the phone line only
   turned blue once its tel: href was derived from the snippet. */
.site-header a { color: inherit; text-decoration: none; }

.site-shell {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 28px;
}

/* ---------- announcement strip (hidden by the server when empty) ---------- */

.site-announce {
    background: var(--gto-cream);
    color: #4a4326;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    text-align: center;
    padding: 8px 0;
}

.site-announce .site-shell { justify-content: center; }
.site-announce p { margin: 0; padding: 0; }
.site-announce a { color: #6b4a1f; text-decoration: underline; }

/* ---------- utility bar ---------- */

.site-utility {
    background: var(--gto-bar-top);
    color: var(--gto-cream);
    min-height: 38px;
    display: flex;
    align-items: center;
}

.site-utility .site-shell { gap: 34px; }

.site-utility-phone {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
}

.site-utility-phone p,
.site-utility-place p { margin: 0; padding: 0; }

.site-utility-phone .site-icon { width: 15px; height: 15px; flex: none; }

.site-utility-place { font-size: 12.5px; color: #ddd0ab; }

.site-utility-account {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 12.5px;
}

.site-utility-account a { color: var(--gto-cream); }
.site-utility-account a:hover { text-decoration: underline; }

/* ---------- main bar ---------- */

.site-bar {
    background: var(--gto-bar-main);
    color: var(--gto-white);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.site-mark {
    display: block;
    line-height: 1;
    padding: 4px 0;
    color: var(--gto-white);
}

.site-mark .site-mark-1 {
    display: block;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-mark .site-mark-2 {
    display: block;
    font-family: var(--gto-serif);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.06em;
    text-align: center;
    margin-top: 3px;
    white-space: nowrap;
}

/* an uploaded logo replaces the two text lines */
.site-mark-logo { display: block; }
.site-mark img { display: block; max-height: 52px; width: auto; }

/* nav comes from a Menu snippet, so it arrives as ul / li / a */

.site-nav { margin-left: auto; }

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 56px;
}

.site-nav li { margin: 0; padding: 0; display: block; }

.site-nav a {
    display: inline-block;
    white-space: nowrap;
    color: var(--gto-white);
    font-size: 14.5px;
    font-weight: 300;
    letter-spacing: 0.02em;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--gto-cream); }

/* Shop Now button - the link itself comes from the snippet */

.site-cta a {
    display: inline-block;
    font-family: var(--gto-serif);
    /* 700, not 600: 600 is as heavy as Cormorant Garamond was loaded, so asking
       for more without adding the weight to the @import above would have got a
       browser-synthesised fake bold. 700 is a real cut. */
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gto-pill-ink);
    background: var(--gto-cream);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 999px;
    padding: 11px 26px;
    white-space: nowrap;
}

.site-cta a:hover { background: #fbefd4; }

/* 24px, not the original 20px: the edit pencil that sits between Shop Now
   and the cart is 23px wide since 2026-09-09, and 20px was exactly what the
   old 18px chip needed. Four pixels on one gap in the header row, and the
   row has slack now that the menu moves into the button at 1060. */
.site-cart { display: flex; align-items: center; margin-left: 4px; }

.site-cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gto-white);
    padding: 6px;
}

.site-icon-cart { width: 23px; height: 23px; }

.site-cart-count { font-size: 12.5px; font-weight: 400; }

/* the cart shows even when empty, so drop the count and its gap when there
   is nothing to show */
.site-cart-count:empty { display: none; }
.site-cart-link:has(.site-cart-count:empty) { gap: 0; }

/* ---------- menu button and drawer, narrow screens only ---------- */

.site-burger { display: none; }

/* The button's own appearance lives here rather than inside a media query.
   It is hidden above 1000 either way, and two breakpoints now switch it on -
   1000 for the menu and 900 for the rest of the header - so a rule buried in
   one of them left the button visible with invisible bars in the other. */
.site-burger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.site-burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gto-white);
}

.site-drawer[hidden] { display: none; }

.site-drawer {
    background: var(--gto-bar-top);
    padding: 6px 20px 18px;
}

.site-drawer ul { list-style: none; margin: 0; padding: 0; }

.site-drawer a {
    display: block;
    color: var(--gto-cream);
    font-size: 15px;
    font-weight: 300;
    padding: 11px 0;
    border-bottom: 1px solid rgba(243, 227, 192, 0.14);
}

.site-drawer .site-utility-account {
    margin-left: 0;
    display: block;
}

.site-drawer .site-cta { margin-top: 14px; }
.site-drawer .site-cta a { display: block; text-align: center; }

/* between roughly 860 and 1180 the row is tight but still a desktop layout,
   so tighten the nav rather than let anything wrap */
@media (max-width: 1180px) {
    .site-shell { padding: 0 28px; gap: 20px; }
    /* 26px between items and 6px of clearance after the last one, rather
       than 28 and nothing. The menu's edit pencil sits 2px to the right of
       the menu, and at 20px wide it was clipping the left edge of the Shop
       Now pill in this band. Two pixels off each of the three gaps pays for
       the six, so the row is exactly as wide as it was and the menu still
       moves into the button menu at the same 1060. */
    .site-nav ul { gap: 26px; }
    .site-bar .site-nav { margin-right: 6px; }
    .site-nav a { font-size: 14px; }
    .site-mark .site-mark-1 { font-size: 21px; }
    .site-mark .site-mark-2 { font-size: 12.5px; }
    .site-cta a { padding: 10px 20px; font-size: 13px; letter-spacing: 0.1em; }
}

/* The menu moves into the button at 1060 rather than 900, because the fourth
   item (Fruit & Vegetable Seeds, added 2026-09-09) makes the desktop row too
   long below about 1050. Measured with four items and the 28px gap above:
   1060 clears it, 1024 was 6px over, 1001 was 29px over and 901 was 141px
   over. Tightening the gap further would buy 1024 and cost the row its
   breathing space, so the button takes over instead.

   Only the menu and the Shop Now button move here. Everything else in the
   header keeps its desktop sizing down to 900, which is where the block below
   takes over. If the menu is ever shortened back to three items, this whole
   block can go and 900 does the job again. */
@media (max-width: 1060px) {
    .site-bar .site-nav { display: none; }
    .site-bar .site-cta { display: none; }
    .site-cart { margin-left: auto; }

    .site-burger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 8px 2px;
        background: none;
        border: 0;
        cursor: pointer;
    }
}

@media (max-width: 900px) {
    .site-shell { padding: 0 20px; gap: 16px; }
    .site-utility { min-height: 34px; }
    .site-utility .site-shell { gap: 16px; }
    .site-utility-phone { font-size: 13.5px; }
    .site-utility-account { display: none; }

    .site-mark .site-mark-1 { font-size: 18px; letter-spacing: 0.09em; }
    .site-mark .site-mark-2 { font-size: 11px; }
    .site-mark img { max-height: 40px; }
    .site-announce { font-size: 12.5px; padding: 7px 0; }

    .site-cart { margin-left: auto; }

}

/* ---------- the edit-pencil switch, administrators only ----------
   A fixed button in the bottom left corner that hides and shows the whole
   overlay. Rendered by MasterHeader.ascx and gated on the Administrators
   role, so a visitor never receives the markup.

   position: fixed, so like the shortcuts it contributes nothing to the
   document's layout and the removal test still passes. It is deliberately
   NOT inside .site-edit-layer: the layer is pointer-events: none, and
   hiding the layer would take the button with it. */
.site-edit-toggle {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    background: #21250f;
    color: var(--gto-cream);
    border: 1px solid rgba(243, 227, 192, 0.55);
    border-radius: 999px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    cursor: pointer;
    /* the chip's own two rings, for the same reason: this lands on paper,
       white cards, photographs and the dark footer depending where the page
       is scrolled to */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.site-edit-toggle svg { width: 15px; height: 15px; flex: none; }

.site-edit-toggle:hover { background: #3c421f; border-color: #ffffff; }

.site-edit-toggle:focus-visible {
    outline: 2px solid var(--gto-cream);
    outline-offset: 2px;
}

/* switched off: the button dims and its icon gets a line through it, so the
   state is legible without reading the label */
.gto-edit-off .site-edit-toggle {
    background: #4a4a3a;
    color: rgba(243, 227, 192, 0.75);
}

.gto-edit-off .site-edit-toggle svg { opacity: 0.55; }

/* One declaration hides every overlay on the page, whichever band rendered
   it, including any band added later. */
.gto-edit-off .site-edit-layer { display: none; }

@media (max-width: 600px) {
    /* the label goes on a phone; the icon and the 44px target stay */
    .site-edit-toggle-text { display: none; }
    .site-edit-toggle { padding: 12px; left: 12px; bottom: 12px; }
}

/* ---------- in-context edit links, administrators only ----------
   Rendered as siblings of each region by MasterHeader.ascx, so a signed-out
   visitor never sees this markup at all. */

.site-edit-layer {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
}

.site-edit {
    position: absolute;
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
    /* 20px overall: a 14px icon plus 2px of padding and the 1px border,
       enlarged from 18px on 2026-09-09.

       20 is the ceiling, and it was measured rather than chosen. The header
       row is the tightest place on the site: between 1061 and 1180 the nav
       gap is 28px and the wordmark's two lines sit close together, and at
       23px the pencils there collided with each other, with Shop Now and
       with the cart. At 20px, with the 4px added to the cart's gap below,
       nothing on any page overlaps at any width. Going bigger means either
       shrinking the header's pencils on their own - inconsistent - or
       widening the header row, which would push the menu into the button
       menu even earlier than 1060. */
    padding: 2px;
    /* The shortcut carries its own solid chip and its own ring, so its contrast
       does not depend on what it happens to sit over. It can land on the dark
       utility bar, the mid-brown main bar, the cream announcement strip or a
       pale uploaded logo. With a translucent chip and opacity 0.55 it measured
       1.27:1 on the cream strip and 1.11:1 over a white logo, which is
       invisible. Icon on chip is now 12.4:1, and the ring keeps the chip's
       edge readable on the dark bars, where chip against bar is only 1.4:1. */
    background: #21250f;
    border: 1px solid rgba(243, 227, 192, 0.55);
    border-radius: 3px;
    font-family: var(--gto-sans);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
    /* Two rings, not one: a cream inner edge so the chip separates from the
       dark bars, and a dark outer edge so it separates from cream, paper,
       white cards and pale photographs. One ring cannot do both. */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
    /* No opacity. It used to be 0.75, which composited the whole chip against
       whatever was behind it: on the dark bands the chip and the icon both
       washed towards the background and the shortcuts read as plain dark
       squares. Full opacity holds the icon at 12.4:1 against its own chip
       everywhere. */
    opacity: 1;
}

/* The icon colour, and the rule that has to win.
   It stroke="currentColor", so this one declaration is the icon.
   It was scoped to .site-header, which was right when the header was the only
   band with shortcuts. Every band has them now, and each band styles its own
   links - .project-list a, .story-cta a, .site-footer a - all of which are at
   least as specific as a bare a.site-edit and all of which come later in this
   file, so the icon quietly computed to the band's link colour. In the Potato
   Project band that is near-black on near-black.
   !important rather than a specificity race, deliberately: this is an
   administrator-only overlay whose entire job is to stay visible over a design
   it knows nothing about, and the next band added would restart the race. */
.site-edit,
a.site-edit,
.site-header a.site-edit { color: var(--gto-cream) !important; }

.site-edit:hover,
.site-edit-open {
    background: #3c421f;
    border-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.site-edit svg { width: 14px; height: 14px; flex: none; }

/* Icon only, no visible label: labels made the shortcuts wide enough to cover
   the phone number and the location line. The name is on aria-label, and this
   span is the hover tooltip.
   It used to be a ::after on the anchor drawing attr(data-label). A pseudo
   element cannot be measured, so there was no way to tell that it had run off
   the side of the window - and the parked shortcuts, which sit 6px from the
   left edge, always did. A real element can be measured, so the script nudges
   it back inside; everything else about it is unchanged.
   display:none rather than opacity:0, because an always-laid-out tooltip on
   the right-hand shortcuts pushed the document's scroll width out by 82px
   while invisible. It is position:absolute, so it is out of the chip's flex
   flow and the chip stays 18px whether the tooltip exists or not. */
.site-edit span {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    display: none;
    padding: 4px 8px;
    border-radius: 3px;
    background: #21250f;
    color: var(--gto-cream) !important;
    font-size: 11px;
    letter-spacing: 0.02em;
    line-height: 1.3;
    /* wraps rather than running off a phone screen; short labels stay on one
       line because the box is only as wide as it needs to be */
    max-width: min(240px, calc(100vw - 16px));
    width: max-content;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.site-edit:hover span,
.site-edit:focus-visible span { display: block; }

/* Set by the script when the tooltip would have gone off the bottom of the
   window: it sits above the chip instead. */
.site-edit.site-edit-tip-up span {
    top: auto;
    bottom: calc(100% + 7px);
}

/* And the region itself is outlined, so there is no doubt which one a
   shortcut belongs to. Set by script, which adds this class to the element
   named in the shortcut's data-target. */
/* Solid, and double, for the same reason the chip is. A single dashed cream
   line disappeared twice over: dashes leave more gap than line at 2px, and
   cream on the paper band, the cream strip or a white card is cream on cream.
   This is a dark line with a cream halo outside it, so one of the two always
   has contrast whatever is behind it.
   The halo is a box-shadow, which means the highlighted element loses its own
   shadow while it is highlighted. That only happens under the pointer, and a
   product card briefly flattening is a fair price for being able to see which
   region is being edited. */
.site-edit-target {
    outline: 2px solid #21250f;
    outline-offset: 3px;
    border-radius: 2px;
    box-shadow: 0 0 0 5px rgba(243, 227, 192, 0.92);
}

/* A shortcut whose region is not on the page right now. Marked by a dashed
   ring rather than by fading it out, which would put us back under 3:1. */
.site-edit-empty { border-style: dashed; border-color: var(--gto-cream); }
.site-edit-empty:hover { border-style: solid; border-color: #ffffff; }

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid var(--gto-cream);
    outline-offset: 2px;
}

@media (max-width: 400px) {
    .site-mark .site-mark-1 { font-size: 16px; letter-spacing: 0.07em; }
    .site-mark .site-mark-2 { font-size: 10.5px; }
}

/* 320px, the narrowest phone still worth supporting */
@media (max-width: 360px) {
    .site-shell { padding: 0 14px; gap: 10px; }
    .site-utility .site-shell { gap: 10px; }
    .site-mark .site-mark-1 { font-size: 14px; letter-spacing: 0.05em; }
    .site-mark .site-mark-2 { font-size: 9.5px; }
    .site-utility-phone { font-size: 12.5px; }
    .site-utility-place { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header * { transition: none !important; }
}

/* ==========================================================================
   Home page hero
   Figma frame 225:221, the band directly under the header.

   Since 2026-10-09 the hero is a finished banner (1536x1024 hero-banner.webp
   since 2026-10-23; before that 2000x768, and 2000x1125) with the title and
   potatoes painted into it. So the band takes the picture's own shape at every
   width and never crops it: cropping would cut the words. The live title is
   kept as the page's h1 for search engines and screen readers but hidden on
   screen, because showing it would print the name twice. Badge and corner
   image still work if the client fills them, but are empty by default.
   ========================================================================== */

/* The theme's reset is scoped to .site-header, so every new section needs its
   own. Without this .hero-inner computed to 1806px on a 1440 viewport - width
   100% plus padding under content-box - and pushed the title under the corner
   image at every width below 1600. */
.hero,
.hero *,
.hero *::before,
.hero *::after { box-sizing: border-box; }

.hero {
    /* one source of truth for the corner image's width: the copy reserves the
       same amount on the right, otherwise the centred title runs into the
       potatoes at every width below about 1600 */
    --hero-corner-w: clamp(150px, 21vw, 310px);

    /* how far the potatoes hang below the hero and onto the cream band under
       it: a third of the image's own height. The picture is 1.048 times as tall
       as it is wide, so a third of its height is 0.349 of --hero-corner-w, and
       expressing it that way keeps the proportion identical at every width.
       (A percentage on `bottom` would not work - it resolves against the
       containing block's height, not the image's.) */
    --hero-corner-drop: calc(var(--hero-corner-w) * 0.349);

    position: relative;
    /* NOT overflow: hidden - the corner image deliberately breaks out of the
       bottom of this band. The photograph is clipped by .hero-media instead. */
    overflow: visible;
    /* .story is a later sibling and also positioned, so without this it would
       paint its cream background straight over the overhang. */
    z-index: 1;
    /* no fixed height: the banner sets it, so it is never cropped */
    background: #6f8b4e;
    isolation: isolate;
}

/* In the flow, so the picture's own shape sets the band's height. Without a
   picture the band falls back to a plain strip for the badge and words. */
.hero-media {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Width follows the page, height follows the picture's own proportions, so the
   band is always the image's exact shape: nothing cropped, nothing letterboxed. */
.hero-media img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: fill;
    display: block;
}

.hero:not(:has(.hero-media)) { min-height: 280px; }

.hero-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    /* no max-width: the banner scales with the page, so the badge has to
       track the page edge too. Centred in a 1440 box it drifted onto the
       painted title on wide screens. */
    /* 4vw on the left sets the badge in from the edge and scales with the
       banner. It was 8vw for the 2000x768 banner; the 1536x1024 one paints
       its title further left, and at 8vw the badge touched the gold bar
       beside "SEED POTATOES" (Alejandro, 2026-10-23). The 900px and 560px
       breakpoints below set their own. */
    padding: 0 40px 0 4vw;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Top right of the banner, over the trees (Alejandro, 2026-10-23). Taken out
   of .hero-inner's flex row, so that row's padding no longer moves it. The
   painted title's top right ("Teton") starts about 25% down and ends about
   87% across. At 13vw with a 2vw inset the badge ends about 23% down and
   starts about 85% across, so it stays clear at every width; 15vw reached
   26% down and 83% across, onto the top of the "n". */
.hero-badge {
    position: absolute;
    top: 2vw;
    right: 2vw;
    width: clamp(110px, 13vw, 250px);
}

.hero-badge img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.hero-copy {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.hero-title {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    line-height: 1.08;
    /* the type is live text now, not the old baked-in bitmap, so it stays
       crisp at any size and the client can edit it */
    text-shadow: 0 2px 14px rgba(20, 28, 12, 0.55);
}

.hero-title .hero-title-1 {
    display: block;
    font-size: clamp(30px, 4.2vw, 62px);
    letter-spacing: 0.01em;
}

.hero-title .hero-title-2 {
    display: block;
    font-size: clamp(24px, 3.4vw, 50px);
    letter-spacing: 0.01em;
}

/* The banner carries the words, so the h1 stays for search engines and
   screen readers only. Only while there is a picture: if the client empties
   the banner, the words come back on screen. */
.hero:has(.hero-media) .hero-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.hero-corner {
    position: absolute;
    /* 50px in from the right edge. .hero-inner reserves --hero-corner-w plus
       24px on its right, so the copy still clears the picture. */
    right: 50px;
    bottom: calc(-1 * var(--hero-corner-drop));
    z-index: 2;
    width: var(--hero-corner-w);
    pointer-events: none;
}

.hero-corner img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .hero {
        --hero-corner-w: clamp(120px, 26vw, 200px);
    }
    .hero-inner {
        padding: 0 20px;
        padding-right: calc(var(--hero-corner-w) + 16px);
        gap: 18px;
    }
    /* same 13vw as above, with a lower floor and ceiling for tablets */
    .hero-badge { width: clamp(70px, 13vw, 150px); }
}

@media (max-width: 560px) {
    /* On a phone there is not enough width for badge, words and potatoes at a
       readable size. The potatoes are ornament, so they go and the words get
       the room. The client's shortcut for them parks in the gutter, so the
       image is still reachable from the page. */
    .hero-inner {
        justify-content: flex-start;
        padding: 0 10px;
    }
    /* 13vw, not a fixed 48px: at 320 a 48px badge reached the painted "n" */
    .hero-badge { width: 13vw; }
    .hero-corner { display: none; }
    .hero-title .hero-title-1 { font-size: 27px; }
    .hero-title .hero-title-2 { font-size: 21px; }
}

/* ==========================================================================
   Home page crop notice
   One line between the hero banner and the Our Story band, for the seasonal
   "which crop is shipping" message. Same dark olive as the utility bar with
   the header's cream, so it reads as part of the site's own furniture rather
   than a pasted-in alert. Cream #F3E3C0 on #353B26 measures about 10:1.
   ========================================================================== */

.crop-notice,
.crop-notice *,
.crop-notice *::before,
.crop-notice *::after { box-sizing: border-box; }

.crop-notice {
    position: relative;
    background: var(--gto-bar-top);
    padding: clamp(12px, 1.3vw, 18px) 20px;
}

.crop-notice-text {
    margin: 0 auto;
    max-width: 1440px;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(18px, 1.6vw, 26px);
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--gto-cream);
    text-wrap: balance;
}

/* a link typed into the snippet must stay readable on the dark ground */
.crop-notice-text a { color: var(--gto-cream); text-decoration: underline; }
.crop-notice-text a:hover { color: var(--gto-white); }

/* ==========================================================================
   Home page "Rooted in Tradition" band
   Figma frame 225:221, the cream band under the hero. Colours sampled from the
   design: ground #F5F0E7, eyebrow #D2932A, heading #64694E, body #353B27,
   button #D93B2F with a #5F1413 edge and a #F4E3C2 label.
   ========================================================================== */

.story,
.story *,
.story *::before,
.story *::after { box-sizing: border-box; }

.story {
    position: relative;
    background: #f5f0e7;
    padding: clamp(44px, 5.5vw, 86px) 0;
}

.story-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 88px);
}

.story-copy { flex: 1 1 55%; min-width: 0; }

.story-eyebrow {
    margin: 0 0 10px;
    font-family: var(--gto-serif);
    font-style: italic;
    font-size: clamp(19px, 1.5vw, 26px);
    letter-spacing: 0.01em;
    color: #d2932a;
}

.story-heading {
    margin: 0 0 22px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.14;
    letter-spacing: 0.005em;
    color: #64694e;
    /* the design breaks this after the comma; a measure this wide does it
       without hard coding the break, so the client can retitle it freely */
    max-width: 22ch;
    text-wrap: balance;
}

.story-body {
    color: #353b27;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.66;
    max-width: 56ch;
}

.story-body p { margin: 0 0 14px; }
.story-body p:last-child { margin-bottom: 0; }

.story-cta { margin-top: clamp(22px, 2.4vw, 34px); }

.story-cta a {
    display: block;
    max-width: 460px;
    padding: 15px 28px;
    border: 1px solid #5f1413;
    border-radius: 6px;
    background: #d93b2f;
    color: #f4e3c2;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(15px, 1.2vw, 19px);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-align: center;
    /* the legacy theme underlines every anchor; a button must not be */
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(74, 14, 15, 0.28);
    transition: background-color 0.14s ease-out;
}

.story-cta a:hover { background: #c53025; text-decoration: none; }

.story-figure {
    flex: 0 0 39%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #e6e0d2;
}

.story-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .story { padding: 44px 0; }
    .story-inner { padding: 0 20px; gap: 28px; }
    .story-figure { flex-basis: 42%; }
}

@media (max-width: 860px) {
    /* side by side stops working once the circle is smaller than the words
       need: stack, and put the photograph first so the band opens on an image.
       860px, not 700px: at 720-820 the two columns measured 358-416px of text
       beside a 279-321px circle, which is too cramped to read comfortably */
    .story-inner { flex-direction: column; align-items: stretch; gap: 26px; }
    .story-figure { order: -1; flex: 0 0 auto; width: min(320px, 72vw); max-width: none; margin: 0 auto; }
    .story-heading { max-width: none; }
    /* full width on a phone, but capped so it does not become a 600px slab
       on a narrow tablet where the layout has already stacked */
    .story-cta a { max-width: 460px; margin: 0 auto; }
}

/* ==========================================================================
   Home page video
   Directly under the Our Story band, on the same cream ground so it reads as
   the end of that band rather than a new one. The gap above the player is
   the story's own bottom padding plus this band's top padding; the top
   padding was added on 2026-11-16 because the story padding alone read as
   too tight. The player keeps 16:9 at every width.
   ========================================================================== */

.home-video,
.home-video *,
.home-video *::before,
.home-video *::after { box-sizing: border-box; }

.home-video {
    position: relative;
    background: #f5f0e7;
    padding: clamp(24px, 3vw, 48px) 0 clamp(44px, 5.5vw, 86px);
}

.home-video-inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #21250f;
    box-shadow: 0 2px 10px rgba(53, 59, 38, 0.18);
}

.home-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .home-video { padding-top: 24px; padding-bottom: 44px; }
    .home-video-inner { padding: 0 20px; }
}

/* ==========================================================================
   Home page "Pure Seed for a Healthy Harvest" band
   Figma node 225:290, the white band under the cream one. Values read off the
   design's own colour styles rather than sampled from an export: heading and
   filled button "dirt-on-pants" #64694C, body "army pants" #353B26, small
   heading "Yellow sun-beam" #CF9313, button label "cream" #F3E3C0, outlined
   button fill #FBF8F0. The design frame is 1920 wide; sizes here are that
   frame at 0.75, which is the 1440 container the other bands already use.
   ========================================================================== */

.harvest,
.harvest *,
.harvest *::before,
.harvest *::after { box-sizing: border-box; }

.harvest {
    position: relative;
    background: #ffffff;
    padding: clamp(44px, 5vw, 72px) 0;
}

.harvest-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: clamp(32px, 4.2vw, 60px);
}

.harvest-figure {
    flex: 0 0 43%;
    max-width: 560px;
    aspect-ratio: 700 / 587;
    border-radius: clamp(18px, 2vw, 28px);
    overflow: hidden;
    background: #e6e0d2;
}

.harvest-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.harvest-copy { flex: 1 1 57%; min-width: 0; }

.harvest-eyebrow {
    margin: 0 0 8px;
    font-family: var(--gto-serif);
    font-style: italic;
    font-size: clamp(18px, 1.5vw, 22px);
    letter-spacing: 0.01em;
    color: #cf9313;
}

.harvest-heading {
    margin: 0 0 20px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(32px, 3.75vw, 54px);
    line-height: 1.1;
    letter-spacing: 0.005em;
    color: #64694c;
}

/* one snippet per line, so each line is its own block and the client never
   has to type a line break */
.harvest-heading-1,
.harvest-heading-2 { display: block; }

.harvest-heading-2 { font-style: italic; font-weight: 600; }

.harvest-body {
    color: #353b26;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15px, 1.3vw, 19px);
    /* the design sets 32/25; 1.4 keeps that tightness without crowding at 15px */
    line-height: 1.4;
    max-width: 34em;
}

.harvest-body p { margin: 0 0 14px; }
.harvest-body p:last-child { margin-bottom: 0; }

.harvest-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 16px clamp(16px, 2vw, 40px);
    margin-top: clamp(22px, 2.5vw, 34px);
}

.harvest-cta a,
.harvest-cta-alt a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    /* 88px in the 1920 frame, so 66 at this scale */
    min-height: 64px;
    padding: 16px 30px;
    border: 1px solid #64694c;
    border-radius: 8px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.2;
    text-align: center;
    /* the legacy theme underlines every anchor; a button must not be */
    text-decoration: none;
    transition: background-color 0.14s ease-out, color 0.14s ease-out;
}

.harvest-cta a {
    background: #64694c;
    color: #f3e3c0;
}

.harvest-cta a:hover { background: #535740; color: #f3e3c0; text-decoration: none; }

.harvest-cta-alt a {
    background: #fbf8f0;
    color: #64694c;
}

.harvest-cta-alt a:hover { background: #f3e3c0; color: #64694c; text-decoration: none; }

.harvest-arrow {
    flex: 0 0 auto;
    width: 1.1em;
    height: 1.1em;
}

.harvest-note {
    margin: 14px 0 0;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.4;
    color: #d93b2f;
}

@media (max-width: 900px) {
    .harvest { padding: 44px 0; }
    .harvest-inner { padding: 0 20px; gap: 28px; }
}

@media (max-width: 860px) {
    /* stack at the same width as the cream band above, so the two bands
       change shape together rather than one after the other */
    .harvest-inner { flex-direction: column; align-items: stretch; gap: 26px; }
    .harvest-figure { flex: 0 0 auto; width: 100%; max-width: 560px; margin: 0 auto; }
    .harvest-body { max-width: none; }
}

@media (max-width: 560px) {
    /* the two buttons no longer fit side by side; stack them full width,
       capped so they do not become slabs on a small tablet */
    .harvest-actions { flex-direction: column; align-items: stretch; }
    .harvest-cta a,
    .harvest-cta-alt a { display: flex; width: 100%; max-width: 460px; margin: 0 auto; }
}

/* ==========================================================================
   Shared bits for the lower bands
   ========================================================================== */

/* keeps text for screen readers only (the card button says which product) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   "Free Shipping on All Orders!" strip
   Figma group 229:2163, 1920 x 270: a photograph under a 70% #353826 tint,
   Mrs Eaves 70 in white, Avenir Heavy 24 with 2% tracking in cream.
   ========================================================================== */

.shipping,
.shipping *,
.shipping *::before,
.shipping *::after { box-sizing: border-box; }

.shipping {
    position: relative;
    overflow: hidden;
    background: #353826;
    color: #ffffff;
    padding: clamp(36px, 3.6vw, 56px) 20px;
    text-align: center;
}

.shipping-media {
    position: absolute;
    /* exactly the strip, no bleed: the tint hides the blur's soft rim, and
       anything past the edge reads as overflow in the sweep */
    inset: 0;
    z-index: 0;
}

.shipping-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* the design softens and desaturates the photograph so the words carry */
    filter: saturate(0.6) blur(1px);
}

/* the tint is its own layer, so a missing photo still gives a green strip */
.shipping-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(53, 56, 38, 0.78);
}

.shipping-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.shipping-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 500;
    font-size: clamp(28px, 3.65vw, 52px);
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-wrap: balance;
}

.shipping-sub {
    margin: 8px 0 0;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #f3e3c0;
}

/* ==========================================================================
   Featured Collections
   Figma frame 225:239. Paper ground #F5F0E7, heading Mrs Eaves 56, line
   Avenir 24; cards 500 x 746 white, 15px radius, 2px #4E4833 hairline,
   soft shadow; card title Mrs Eaves Bold 35 at -5% tracking in #64694C,
   blurb Avenir 18/24, price Avenir 34, button #64694C with a cream label.
   ========================================================================== */

.featured,
.featured *,
.featured *::before,
.featured *::after { box-sizing: border-box; }

.featured {
    position: relative;
    /* Paper texture over the vintage-paper ground. The colour stays declared so
       the band is right before the image arrives, and stays right if it 404s. */
    background-color: #f5f0e7;
    background-image: url("../images/featured-paper.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: clamp(48px, 5vw, 80px) 0 clamp(56px, 6vw, 96px);
}

.featured-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.featured-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 500;
    font-size: clamp(30px, 2.9vw, 42px);
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #353b26;
}

.featured-sub {
    margin: 8px 0 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.45;
    color: #353b26;
}

/* the seasonal ordering notice above the cards. This is the notice
   component from claude/design-direction.md - a gold left bar on the palest
   paper, no icon - and its first use outside the checkout. Left aligned
   inside a centred band, because it is real information to read rather than
   a display line. */
/* the shell is shared with the product list's notice, so the two cannot
   drift apart - only the placement differs, below */
.featured-notice,
.catalog-notice {
    max-width: 760px;
    padding: 14px 20px;
    background: #fbf8f0;
    border-left: 3px solid #cf9313;
    border-radius: 0 10px 10px 0;
    text-align: left;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.55;
    color: #353b26;
}

/* centred as a block in a centred band, its own text still left aligned */
.featured-notice { margin: clamp(24px, 2.4vw, 34px) auto 0; }

/* the catalog band is left aligned, so this sits under the heading */
.catalog-notice { margin: clamp(16px, 1.6vw, 22px) 0 0; }

/* the bulk pricing line under it. A quiet standing fact rather than a
   promotion, so no bar and no panel - one step down in size from the notice,
   with the gold reserved for the words that carry the offer. The box hugs its
   words (width: max-content) so the admin edit chip sits beside the line
   instead of being treated as full bleed and dropped on top of it. */
.catalog-bulk {
    margin: 10px 0 0;
    width: max-content;
    max-width: 68ch;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #4b4f38;
}

.catalog-bulk a { color: #4b0d0d; text-underline-offset: 3px; }
.catalog-bulk a:hover { color: #dd3e2e; }

.featured-notice p,
.catalog-notice p { margin: 0 0 8px; }
.featured-notice p:last-child,
.catalog-notice p:last-child { margin-bottom: 0; }
.featured-notice a,
.catalog-notice a { color: #4b0d0d; text-underline-offset: 3px; }
.featured-notice a:hover,
.catalog-notice a:hover { color: #dd3e2e; }

.featured-grid {
    list-style: none;
    margin: clamp(28px, 3vw, 44px) auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.6vw, 38px);
    max-width: 1220px;
    text-align: left;
}

.featured-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 2px solid #4e4833;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.12);
    overflow: hidden;
}

.featured-card-media {
    display: block;
    margin: 10px 10px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #e6e0d2;
    aspect-ratio: 490 / 380;
}

.featured-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 22px 24px;
}

.featured-card-title {
    margin: 0 0 10px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #64694c;
}

.featured-card-title a {
    color: inherit;
    text-decoration: none;
}

.featured-card-title a:hover { text-decoration: underline; }

.featured-card-blurb {
    color: #64694c;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(14px, 1vw, 15px);
    line-height: 1.45;
    /* the short description is John's, and can run long; three lines keep
       the cards level */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-blurb p { margin: 0; }

.featured-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
}

.featured-card-price {
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1;
    color: #64694c;
}

.featured-card-cta {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 6px;
    background: #64694c;
    color: #f3e3c0;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.14s ease-out;
}

.featured-card-cta:hover { background: #535740; color: #f3e3c0; text-decoration: none; }

@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
}

@media (max-width: 900px) {
    .featured-inner { padding: 0 20px; }
}

@media (max-width: 600px) {
    .featured-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
}

/* ==========================================================================
   John's Potato Project band
   Figma frame 225:277, 1920 x 1167, white. Eyebrow Mrs Eaves italic in
   #CF9313, heading Avenir caps in #353B26, photo ~780 square with a large
   radius, a cream box with a gold rule on its left, a serif italic quote,
   and a red (#DD3E2E) button with an italic cream label.
   ========================================================================== */

.project,
.project *,
.project *::before,
.project *::after { box-sizing: border-box; }

.project {
    position: relative;
    background: #ffffff;
    padding: clamp(48px, 5vw, 80px) 0;
}

.project-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-head { text-align: center; }

.project-eyebrow {
    margin: 0;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 50px);
    line-height: 1.1;
    color: #cf9313;
    text-wrap: balance;
}

.project-heading {
    margin: 6px 0 0;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: clamp(22px, 2.6vw, 37px);
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #353b26;
}

.project-row {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3vw, 44px);
    max-width: 1220px;
    margin: clamp(28px, 3vw, 44px) auto 0;
}

.project-figure {
    flex: 0 0 48%;
    max-width: 585px;
    aspect-ratio: 780 / 760;
    border-radius: clamp(28px, 3.6vw, 52px);
    overflow: hidden;
    background: #e6e0d2;
}

.project-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-copy { flex: 1 1 52%; min-width: 0; }

.project-card {
    background: #f9efd9;
    border-left: 5px solid #cf9313;
    padding: clamp(16px, 1.6vw, 24px) clamp(18px, 1.8vw, 26px);
}

.project-card-heading {
    margin: 0 0 8px;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.3;
    color: #353b26;
}

.project-list {
    color: #353b26;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.5;
}

.project-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-list li {
    position: relative;
    padding-left: 28px;
    margin: 0 0 8px;
}

.project-list li:last-child { margin-bottom: 0; }

/* the gold arrow bullet from the design, drawn so the editor's plain list
   picks it up automatically */
.project-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    border-color: transparent transparent transparent #cf9313;
}

.project-quote {
    margin: clamp(16px, 1.6vw, 22px) 0 0;
    padding: 0;
    border: 0;
}

.project-quote-text {
    margin: 0;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.35;
    color: #64694c;
}

.project-quote-by {
    margin: 2px 0 0;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.35;
    color: #64694c;
}

/* the dash before the name, so the client types only the name */
.project-quote-by::before { content: "\2013 "; }

.project-cta { margin-top: clamp(16px, 1.6vw, 22px); }

.project-cta a {
    display: inline-block;
    min-width: 218px;
    padding: 12px 32px;
    border-radius: 6px;
    background: #dd3e2e;
    color: #f3e3c0;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.14s ease-out;
}

.project-cta a:hover { background: #c53025; color: #f3e3c0; text-decoration: none; }

@media (max-width: 900px) {
    .project-inner { padding: 0 20px; }
    .project-row { gap: 24px; }
}

@media (max-width: 860px) {
    .project-row { flex-direction: column; align-items: stretch; gap: 26px; }
    .project-figure { flex: 0 0 auto; width: 100%; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 480px) {
    .project-cta a { display: block; width: 100%; min-width: 0; }
}

/* ==========================================================================
   Home content band (John's existing home copy, kept for now)
   Plain typographic band so the client's text reads well until a content
   decision is recorded. Not in the Figma frame.
   ========================================================================== */

.home-content,
.home-content *,
.home-content *::before,
.home-content *::after { box-sizing: border-box; }

.home-content {
    position: relative;
    background: #f5f0e7;
    padding: clamp(40px, 4vw, 64px) 0;
    color: #353b26;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.6;
}

.home-content-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-content h1,
.home-content h2,
.home-content h3 {
    font-family: var(--gto-serif);
    font-weight: 600;
    line-height: 1.15;
    color: #64694c;
    margin: 0 0 14px;
}

.home-content h1 { font-size: clamp(28px, 2.6vw, 38px); }
.home-content h2 { font-size: clamp(22px, 2vw, 28px); }
.home-content h3 { font-size: clamp(19px, 1.5vw, 22px); }
.home-content p { margin: 0 0 14px; }
.home-content a { color: #64694c; }
.home-content img { max-width: 100%; height: auto; }
.home-content-top + .home-content-bottom { margin-top: 24px; }

@media (max-width: 900px) {
    .home-content-inner { padding: 0 20px; }
}

/* ==========================================================================
   Footer
   Figma component "Frame 27", 1920 x 426, #353B26. Badge ~260, wordmark in
   spaced serif caps, tagline small sans; Quick Links with a gold rule under
   the heading and a newsletter block; Contact Us with icons. A copyright
   row is added under it (not in the frame): the live site has one, and it
   is the client's own snippet.
   ========================================================================== */

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }

.site-footer {
    position: relative;
    background: #353b26;
    color: #f3e3c0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    padding: clamp(40px, 4.2vw, 64px) 0 0;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-footer > .site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
}

.site-footer-badge {
    flex: 0 0 auto;
    width: clamp(120px, 12.5vw, 200px);
}

.site-footer-badge img {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer-brand-text { min-width: 0; }

.site-footer-name {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 500;
    color: #f3e3c0;
}

.site-footer-name-1 {
    display: block;
    font-size: clamp(20px, 1.6vw, 25px);
    line-height: 1.15;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* one line beside the badge on desktop, as in the design; it may wrap once
   the footer has stacked */
@media (min-width: 1025px) {
    .site-footer-name-1 { white-space: nowrap; }
}

.site-footer-name-2 {
    display: block;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.site-footer-tagline {
    margin-top: 12px;
    max-width: 30em;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.site-footer-tagline p { margin: 0; }

.site-footer-title {
    display: inline-block;
    margin: 0 0 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid #cf9313;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #f3e3c0;
}

.site-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-nav li { margin: 0 0 8px; }

.site-footer-nav a {
    font-size: 16px;
    line-height: 1.4;
}

.site-footer-newsletter { margin-top: 28px; }

.site-footer-newsletter-title {
    margin: 0 0 10px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cf9313;
}

.site-footer-newsletter-cta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 9px 18px 9px 20px;
    border-radius: 6px;
    background: #cf9313;
    color: #2b2a20;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.14s ease-out;
}

.site-footer-newsletter-cta a:hover { background: #dda42a; text-decoration: none; }

.site-footer-arrow { width: 18px; height: 18px; }

.site-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
}

.site-footer-contact-list svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: #f3e3c0;
}

.site-footer-legal {
    margin-top: clamp(32px, 3.4vw, 52px);
    padding: 16px 0;
    border-top: 1px solid rgba(243, 227, 192, 0.18);
    font-size: 13px;
    color: rgba(243, 227, 192, 0.8);
}

.site-footer-copyright { margin: 0; }

@media (max-width: 1024px) {
    .site-footer > .site-footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .site-footer-inner { padding: 0 20px; }
}

@media (max-width: 600px) {
    .site-footer > .site-footer-inner { grid-template-columns: minmax(0, 1fr); }
    .site-footer-brand { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Interior pages: masthead band
   Figma frame 72:336 (About Us). The artwork is Rectangle 2, 1920 x 1038,
   sitting under the 144px header; the visible part is 1920 x 896, which is
   what images/about-banner.jpg holds. The wording is painted into the
   artwork, so the band is decorative and the page's own h1 carries meaning.
   ========================================================================== */

.page-banner,
.page-banner *,
.page-banner *::before,
.page-banner *::after { box-sizing: border-box; }

.page-banner {
    position: relative;
    overflow: hidden;
    /* the field's own green, so a slow image never flashes white. It was the
       painting's paper tone until 2026-09-04, when the banner became the home
       page's photograph */
    background: #6f8b4e;
    /* Since 2026-10-23 this is the home page's finished banner, lettering
       and all, so it gets the hero's rule: no fixed height, the picture's own
       shape sets the band, and nothing is ever cropped. A crop would cut the
       painted words. */
}

/* in the flow, so the picture sets the band's height */
.page-banner-media {
    position: relative;
    z-index: 0;
}

.page-banner-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
}

/* no picture: a plain strip for any typed heading */
.page-banner:not(:has(.page-banner-media)) { min-height: 190px; }

.page-banner-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    text-align: center;
}

.page-banner-title {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 600;
    color: #4e5238;
    /* the painting is pale and busy; a soft light halo keeps any typed
       heading legible over it without a slab of colour */
    text-shadow: 0 1px 3px rgba(255, 253, 245, 0.55);
}

.page-banner-title-1 {
    display: block;
    font-size: clamp(26px, 4.4vw, 62px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.page-banner-title-2 {
    display: block;
    font-size: clamp(20px, 3.2vw, 46px);
    line-height: 1.2;
}

/* ==========================================================================
   Interior pages: content band
   Replaces the 2011 shell (1200px #wrapper, left sidebar, decorative
   potatoes). .ContentHeader and .Content are the shared platform's own
   wrappers around the page title and the page body, so styling them here
   covers every content page without touching IdealCart's markup.

   Type from the About Us frame: heading Mrs Eaves Bold 92/79 in
   dirt-on-pants #64694C, body Avenir 25/34 in army pants #353B26, on
   vintage-paper #F5F0E7.
   ========================================================================== */

.page,
.page *,
.page *::before,
.page *::after { box-sizing: border-box; }

.page {
    position: relative;
    background: #f5f0e7;
    padding: clamp(36px, 4vw, 64px) 0 clamp(48px, 5.5vw, 88px);
    color: #353b26;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    /* the design sets 34/25, which is 1.36. Loosened to 1.62 because this is
       where the site's longest passages live - About Us alone is 5,500
       characters - and a tight measure over that length is tiring */
    line-height: 1.62;
}

.page-inner {
    /* The interior bands render their admin edit overlay as a child of this
       element, and .site-edit-layer is position:absolute with inset:0 - which
       resolves against the nearest POSITIONED ancestor, not against its
       parent. Without this the layer sized itself to the form element and the
       About Us shortcuts sat 232px left and 64px above their regions, which is
       how they had been rendering since that page was built. */
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* IdealCartDefaults puts a dotted green rule, italics and a 24px green on
   .ContentHeader, and font-style inherits down into the h1. All of it is
   cleared here rather than edited in the shared default stylesheet. */
.page .ContentHeader {
    margin: 0 0 clamp(18px, 2vw, 30px);
    padding-bottom: 0;
    border-bottom: 0;
    font-style: normal;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.page .ContentHeader h1 {
    margin: 0;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    letter-spacing: 0.005em;
    color: #64694c;
    max-width: 20ch;
    text-wrap: balance;
}

/* The measure is capped on the reading elements rather than on .Content
   itself, so product grids, galleries and tables keep the full width. */
.page .Content p,
.page .Content ul,
.page .Content ol,
.page .Content blockquote,
.page .Content h2,
.page .Content h3,
.page .Content h4 { max-width: 68ch; }

.page .Content { color: #353b26; }

.page .Content p { margin: 0 0 1.15em; }
.page .Content p:last-child { margin-bottom: 0; }

.page .Content h2,
.page .Content h3,
.page .Content h4 {
    font-family: var(--gto-serif);
    font-weight: 600;
    line-height: 1.15;
    color: #64694c;
    margin: 1.6em 0 0.5em;
}

.page .Content h2 { font-size: clamp(24px, 2.4vw, 34px); }
.page .Content h3 { font-size: clamp(20px, 1.9vw, 26px); }
.page .Content h4 { font-size: clamp(18px, 1.6vw, 22px); }

.page .Content a {
    color: #64694c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page .Content a:hover { color: #4a4e37; }

.page .Content ul,
.page .Content ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.page .Content ul { list-style: disc; }
.page .Content li { margin: 0 0 0.4em; }

.page .Content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.page .Content table { max-width: 100%; }

/* The page's own picture gallery (IdealCart's galleriffic slideshow, nine
   images on About Us). galleriffic.css hard codes 650px widths and a 502px
   stage, which pushed the document 365px sideways at a 320px viewport.
   Contained here rather than by editing the shared plugin stylesheet, which
   every theme uses. The design shows two chosen photographs rather than a
   slideshow, which is still an open question. */
.page .Content div.gallery_content {
    width: 100%;
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
}

.page .Content div.slideshow-container {
    height: auto;
    aspect-ratio: 650 / 502;
}

.page .Content div.loader { width: 100%; height: 100%; }

.page .Content div.gallery_slideshow span.image-wrapper {
    top: 0; right: 0; bottom: 0; left: 0;
}

.page .Content div.gallery_slideshow a.advance-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.page .Content div.gallery_slideshow img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
}

.page .Content span.image-caption { max-width: 100%; }
.page .Content div.caption-container { width: 100%; }

.page .Content #thumbs ul.thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.page .Content #thumbs ul.thumbs li { margin: 0; float: none; }

@media (max-width: 900px) {
    .page-inner { padding: 0 20px; }
    .page-banner-inner { padding: 0 20px; }

    /* Safety net for the interior pages that have not been redesigned yet.
       Their 2011 markup carries fixed pixel widths - a 350px sign-in panel, a
       365px product detail column, floated product tiles - which used to
       overflow the viewport inside the old 1200px wrapper and did the same
       once it was removed. Anything still too wide now scrolls inside the
       content area instead of dragging the whole page sideways. Nothing is
       clipped. Drop this once those pages are rebuilt. */
    .page-inner { overflow-x: auto; }
}

/* ==========================================================================
   About Us page, from Figma frame 72:336
   The frame is two real columns, not one flowing text: the left starts with
   the heading, the right with the portrait, so each column's words begin at a
   different height. about.ascx.cs splits the page's story at a paragraph
   boundary and places the halves here, which is the only way to get that
   without a screen of white under the heading.

   Design geometry, 1920 frame, built at 0.75 like every other band:
   eyebrow Mrs Eaves Italic 50/79 #CF9313 at (204,1161); heading Mrs Eaves
   Bold 92/79 #64694C, 794 wide, at (192,1244); portrait 634 square at
   (1127,1146); left text 715 wide at x197, right text 777 wide at x1003, a
   91 gutter between them; photograph 780 x 720 at (165,2360).
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* 91 design px between the columns */
    column-gap: clamp(28px, 4.7vw, 68px);
    align-items: start;
    margin-bottom: clamp(28px, 3vw, 44px);
}

.about-col { min-width: 0; }

/* 47 design px from the heading down to the first line of the left column */
.about-headings { margin-bottom: clamp(18px, 1.9vw, 35px); }

.about-eyebrow {
    margin: 0 0 4px;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.1;
    color: #cf9313;
}

.about-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(32px, 4.8vw, 69px);
    /* the frame sets 79 on 92, which is 0.86. Kept tight because the heading
       is two short lines, but not quite that tight */
    line-height: 0.92;
    letter-spacing: 0.005em;
    color: #64694c;
    text-wrap: balance;
}

.about-portrait {
    /* 634 of the right column's 777, and hard against its right edge, as the
       frame has it */
    width: 82%;
    max-width: 475px;
    margin-left: auto;
    /* 86 design px from the portrait down to the first line beside it */
    margin-bottom: clamp(20px, 2.2vw, 40px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #e6e0d2;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-story p { margin: 0 0 1.15em; }
.about-story p:last-child { margin-bottom: 0; }

.about-photo {
    margin-top: clamp(24px, 2.6vw, 40px);
    max-width: min(585px, 100%);
    border-radius: 26px;
    overflow: hidden;
    background: #e6e0d2;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* the platform's own page title is emptied on this page in
   Interior.master.cs; this removes the space it would still occupy. What is
   left in .Content is the picture gallery, which sits full width below. */
.page-about .ContentHeader { display: none; }

@media (max-width: 860px) {
    /* One column. The grid's own source order is left column then right
       column, which would put the photograph before the portrait, so the
       columns dissolve and the five pieces are ordered directly. */
    .about-grid { display: flex; flex-direction: column; }
    .about-col { display: contents; }

    .about-headings { order: 1; }
    .about-portrait { order: 2; }
    .about-story-a { order: 3; }
    .about-story-b { order: 4; }
    .about-photo { order: 5; }

    .about-portrait {
        width: min(320px, 72vw);
        margin-left: 0;
    }

    .about-story-a { margin-bottom: 1.15em; }

    /* one column means the measure needs capping again, the way every other
       content page does it */
    .about-story p { max-width: 68ch; }
}

/* ==========================================================================
   Product list, from Figma frame 72:397 (Products)
   Frame 1920 x 5134 on vintage-paper. Card 500 x 746 white at (181,1481),
   photograph 469 x 355 with a 22 radius inset 16 from the card's edge, name
   in serif caps, then the description, then the weight and price, then a
   181 x 50 button at radius 10 in dirt-on-pants. Built at 0.75 like every
   other band.

   The cards are the platform's own: IdealCart's shared ProductThumb renders
   them, and it carries the weight picker, the add to cart postback, the sort
   order and the pager. So this restyles that markup rather than replacing
   it, and nothing about the store's behaviour changes. Its markup is a table
   with inline styles, which is why a few rules here need !important.
   ========================================================================== */

.catalog-head { margin: 0 0 clamp(20px, 2.2vw, 34px); }

.catalog-eyebrow {
    margin: 0 0 4px;
    /* The box hugs the words rather than spanning the container. Visually
       identical, but it gives the admin edit shortcut something narrow to sit
       beside: the placement script treats a region wider than 70% of the band
       as full bleed and drops the chip into its top left corner, which put it
       on top of the eyebrow text. */
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    color: #cf9313;
}

.catalog-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: 0.005em;
    color: #64694c;
    max-width: 22ch;
    text-wrap: balance;
}

/* ---------- the variety finder ---------- */

/* A search box over the products in the category, with a dropdown of all of
   them. It replaces the 2011 sidebar's A to Z list of every variety.

   Two states matter and they are NOT the same rules. Before the script runs
   (or if it never does) the server's plain list of links is what shows, so
   the fallback has to be presentable on its own. `.is-enhanced`, set by the
   script, is what hides the list and turns it into a dropdown. Styling the
   dropdown state only would leave a no-script visitor with a search box that
   cannot search above a list with no styling at all. */

.finder,
.finder *,
.finder *::before,
.finder *::after { box-sizing: border-box; }

.finder {
    position: relative;
    margin: 0 0 clamp(20px, 2.2vw, 30px);
}

/* The width lives on the inner box, not on .finder itself, and that is not
   cosmetic. `.site-edit-layer` is `position: absolute; inset: 0` against
   .finder, and the placement script clamps every chip inside it - so with the
   420px cap on .finder, the "search box hint" pencil had nowhere to go but
   inside the field, where it landed on top of the dropdown chevron. Full
   width outside, capped inside, and the chip sits beside the field. */
.finder-inner {
    position: relative;
    max-width: 420px;
}

/* the same gold caps label the fields and the weight picker use, so the page
   has one voice - #8f5f0a rather than the brand gold, because at 12px the
   brand gold measures 2.36:1 on paper (open item 23f) */
.finder-label {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 0 5px;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.finder-field { position: relative; display: block; }

/* the field component from claude/design-direction.md: 48px, 10px radius on
   light grounds, #fbf8f0 fill, #b9b19a hairline, Jost 300 at 16px */
.finder-input {
    width: 100%;
    height: 48px;
    padding: 10px 46px 10px 14px;
    background: #fbf8f0;
    border: 1px solid #b9b19a;
    border-radius: 10px;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;
    color: #353b26;
    -webkit-appearance: none;
    appearance: none;
}

.finder-input::placeholder { color: #7d7a66; opacity: 1; }

.finder-input:focus-visible,
.finder-input:focus {
    outline: none;
    border-color: #64694c;
    box-shadow: 0 0 0 3px rgba(100, 105, 76, 0.28);
}

/* the chevron that opens the whole list. 44px of target inside the 48px
   field, per WCAG 2.2, and tabindex="-1" in the markup because the input's
   own arrow keys already open the list - a second tab stop that does the
   same thing is noise for a keyboard user. */
.finder-toggle {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0 8px 8px 0;
    color: #64694c;
    cursor: pointer;
}

.finder-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.15s ease;
}

.finder.is-open .finder-toggle svg { transform: rotate(180deg); }

.finder-toggle:hover { color: #353b26; }

/* ----- the fallback: no script, so the server's list of links is the page ----- */

.finder-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-family: var(--gto-sans);
    font-size: 15px;
    line-height: 1.5;
    /* a plain three-column index, which is what the old sidebar was */
    columns: 3 160px;
    column-gap: 24px;
}

.finder-list a { color: #4b0d0d; text-underline-offset: 3px; }
.finder-list a:hover { color: #dd3e2e; }

/* ----- the enhanced state: the list becomes a dropdown ----- */

.finder.is-enhanced .finder-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    columns: auto;
    margin: 0;
    max-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    border: 1px solid #ddd5c2;
    border-radius: 12px;
    /* the panel component's shadow, so the dropdown belongs to the same
       family as the cards it sits above */
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.14);
}

.finder.is-enhanced.is-open .finder-list { display: block; }

/* display: block, NOT flex. A flex container turns the row's text node and
   the <span> around the matched run into separate flex items and trims the
   whitespace between them, so "Teton Russet" rendered as "TetonRusset". The
   padding carries the 44px minimum target size instead of a flex centre. */
.finder-option {
    display: block;
    padding: 11px 14px;
    min-height: 44px;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.35;
    color: #353b26;
    cursor: pointer;
}

.finder-option + .finder-option { border-top: 1px solid #f0ebdf; }

/* hover is a light wash; the keyboard's own highlight has to be stronger
   than that, because it is the only thing telling somebody not using a mouse
   which row Enter will open */
.finder-option:hover {
    background: #f5f0e7;
    color: #2b2a20;
}

.finder-option.is-active {
    background: #efe8d7;
    color: #2b2a20;
    box-shadow: inset 3px 0 0 #cf9313;
}

/* the run of characters that matched what was typed */
.finder-mark {
    font-weight: 500;
    color: #4b0d0d;
}

.finder-option.is-active .finder-mark { color: #4b0d0d; }

/* the last resort row: nothing in this category matched, so offer the
   platform's own search, which covers every product on the site */
.finder-option-search {
    font-size: 14px;
    color: #4b4f38;
}

/* the count, announced to a screen reader on every keystroke and never seen */
.finder-live {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    /* Full width below 600, which means the field is as wide as its edit
       layer's host and an administrator's "search box hint" pencil lands
       inside the field over the chevron - the 70% rule in place() again, with
       no room left to give it. Cosmetic, admin only, and only on a phone. */
    .finder-inner { max-width: none; }
    .page-catalog .catalog-toolbar .finder-inner { max-width: none; }
    .finder-list { columns: 2 130px; }
    .finder.is-enhanced .finder-list { max-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    .finder-toggle svg { transition: none; }
}

/* ---------- the grid ---------- */

.page-catalog .ProductGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 30px);
    max-width: 1220px;
    /* Space on both sides, because the platform renders the pager twice - once
       above the grid and once below it (Pager and its MirrorPager) - and the
       lower one sat flush against the bottom row of cards. The pager's own
       5px bottom margin collapses into this, so this value is the gap. */
    margin: clamp(24px, 2.6vw, 38px) 0;
}

/* Site.css carries a two-up flex listing from the 2011 layout -
   .ProductGrid > .ProductCard at calc(50% - 8px), a 170px first cell and an
   img pinned to 160 x 160 with !important. Those are unpicked here rather
   than edited out of Site.css, which the un-redesigned pages still use. */
.page-catalog .ProductGrid > .ProductCard {
    width: auto;
    display: flex;
    background: #ffffff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.10);
    overflow: hidden;
}

/* ---------- the card, which arrives as a table ---------- */

.page-catalog .ProductCard table {
    display: block;
    width: 100% !important;
    border: 0 !important;
    border-bottom: 0 !important;
    margin: 0 !important;
    padding: 12px;
    box-sizing: border-box;
}

.page-catalog .ProductCard tbody,
.page-catalog .ProductCard tr { display: block; }

.page-catalog .ProductCard td {
    display: block;
    width: auto !important;
    padding: 0;
    vertical-align: top;
}

/* the photograph, 469 x 355 in the frame */
.page-catalog .ProductGrid > .ProductCard td:first-child {
    width: auto;
    margin: 0 0 14px;
}

.page-catalog .ProductCard td:first-child a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #e6e0d2;
    aspect-ratio: 469 / 355;
}

.page-catalog .ProductGrid > .ProductCard img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: none;
    border: 0 !important;
}

/* the second cell holds everything else, bottom aligned so the buttons on
   every card in a row line up however long the names run */
.page-catalog .ProductCard td:last-child {
    display: flex;
    flex-direction: column;
    padding: 0 6px 6px;
}

/* the product name, which is a link */
.page-catalog .ProductCard td:last-child > a {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #64694c;
    text-decoration: none;
}

.page-catalog .ProductCard td:last-child > a:hover { text-decoration: underline; }

/* the short description, when the product has one */
.page-catalog .ProductCard td:last-child > div:not([id*="Regular"]) {
    color: #64694c;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(14px, 1vw, 15px);
    line-height: 1.45;
}

/* ---------- the weight picker ----------
   Every product in this catalog is priced by weight, eight tiers of it, with
   the price inside each option's label. The design shows a single weight and
   price instead, which no product actually has, so the picker stays and is
   given a proper control. This also settles a WCAG 2.2 item: the platform's
   select was 18px tall against a 24px minimum target, and is 44 here. */

.page-catalog .ProductCard .catalog-option-label,
.page-catalog .ProductCard .ProductOptionTitle {
    display: block;
    margin: 14px 0 6px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7c7a63;
}

.page-catalog .ProductCard select {
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 38px 10px 12px;
    box-sizing: border-box;
    border: 1px solid #b9b19a;
    border-radius: 8px;
    background-color: #fbf8f0;
    color: #353b26;
    font-family: var(--gto-sans);
    font-size: 15px;
    line-height: 1.3;
    /* a chevron of our own, because the platform default is a 12px Arial
       control with a hard black hairline */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364694c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

.page-catalog .ProductCard select:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 2px;
}

/* ---------- the buy button ---------- */

.page-catalog .ProductCard .catalog-buy {
    margin-top: auto;
    align-self: flex-start;
    min-height: 44px;
    padding: 10px 26px;
    border: 0;
    border-radius: 8px;
    background: #64694c;
    color: #f3e3c0;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.14s ease-out;
}

.page-catalog .ProductCard .catalog-buy:hover { background: #535740; }

.page-catalog .ProductCard .catalog-buy:focus-visible {
    outline: 2px solid #353b26;
    outline-offset: 2px;
}

/* the weight picker and the button want a gap between them */
.page-catalog .ProductCard select + .catalog-buy,
.page-catalog .ProductCard select ~ .catalog-buy { margin-top: 16px; }

/* the platform pads the card with line breaks; the layout does its own
   spacing now */
.page-catalog .ProductCard td br { display: none; }

/* the skin file gives every button and select a class of its own; anything
   in a card that is not the one promoted button is not wanted */
.page-catalog .ProductCard input[type="submit"]:not(.catalog-buy) { display: none; }

/* out of stock, when it applies */
.page-catalog .ProductCard td:last-child > span[id*="OutOfStock"] {
    margin-top: 12px;
    font-family: var(--gto-sans);
    font-size: 14px;
}

/* ---------- sort order and pager ---------- */

.page-catalog #SortOrderDivContainer {
    display: flex;
    justify-content: flex-end;
    max-width: 1220px;
    margin: 0 0 6px;
    font-family: var(--gto-sans);
    font-size: 15px;
    color: #64694c;
}

.page-catalog #SortOrderDiv { float: none !important; }

/* ---------- the one inline toolbar row ---------- */

/* The search box, the sort control and the top pager on one line. The three
   nodes are moved into this wrapper by variety-finder.js - see the comment on
   toolbar() there for why it cannot be done in CSS alone. With no JavaScript
   the wrapper is never built and the three stack as the platform emits them,
   which is the same fallback the finder itself has. */
.page-catalog .catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    /* the finder carries a label above its field, so the row lines up on the
       bottom of the controls rather than their tops */
    align-items: flex-end;
    gap: 12px 16px;
    max-width: 1220px;
    margin: 0 0 clamp(18px, 2vw, 28px);
}

/* The box is 620 and the field inside it is 420, and that 200px of slack is
   load bearing rather than sloppy. `place()` in MasterHeader.ascx treats a
   region wider than 70% of its own edit layer's host as full bleed and drops
   the pencil INSIDE it, at the top right - which on a 420px field in a 420px
   host is on top of the dropdown chevron. 420/620 is 0.68, just under the
   threshold, so the chip sits beside the field instead. Nothing shows in the
   gap: the sort control carries margin-left: auto and groups with the pager
   at the right of the row either way. */
.page-catalog .catalog-toolbar .finder {
    margin: 0;
    /* grows into whatever the sort control and the pager leave, and gives up
       room before either of them wraps - the search box is the one item on
       this row that reads fine at any width */
    flex: 1 1 360px;
    min-width: 0;
}

.page-catalog .catalog-toolbar .finder-inner { max-width: 420px; }

/* sort and pager group at the right, search stays left */
.page-catalog .catalog-toolbar #SortOrderDivContainer {
    margin: 0;
    flex: 0 0 auto;
    margin-left: auto;
    align-items: center;
}

.page-catalog .catalog-toolbar > div[id*="Pager"] {
    margin: 0 !important;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    min-height: 40px;
}

.page-catalog .catalog-toolbar > div[id*="Pager"] a { margin: 0 !important; }

/* Below 900 the three do not fit on one line: the search box takes the row
   and sort and pager share the next one. Wrapping without this put the pager
   alone on a line of its own with the sort stranded beside the search. */
/* Below about 940 the three no longer fit: the search box takes the whole
   row and the sort control and the pager share the next one. Wrapping without
   this left the pager alone on a third line with the sort stranded beside the
   search box. */
@media (max-width: 940px) {
    .page-catalog .catalog-toolbar .finder { flex: 1 1 100%; }
    .page-catalog .catalog-toolbar .finder-inner { max-width: 420px; }
    .page-catalog .catalog-toolbar #SortOrderDivContainer { margin-left: 0; }
    .page-catalog .catalog-toolbar > div[id*="Pager"] { margin-left: auto !important; }
}

@media (max-width: 600px) {
    /* The pager is "Page:" plus six 40px pills, about 300px of content, and
       `flex: 0 0 auto` kept it at that width inside a 280px column at 320 -
       2px of real overflow. Letting it take the row and shrink is what wraps
       the pills. */
    .page-catalog .catalog-toolbar > div[id*="Pager"] {
        margin-left: 0 !important;
        flex: 1 1 100%;
        min-width: 0;
    }
}

.page-catalog #SortOrderDiv select {
    min-height: 40px;
    margin-left: 8px;
    padding: 8px 12px;
    border: 1px solid #b9b19a;
    border-radius: 8px;
    background: #fbf8f0;
    color: #353b26;
    font-family: var(--gto-sans);
    font-size: 15px;
}

.page-catalog .Pager,
.page-catalog #SortOrderDivContainer + div {
    font-family: var(--gto-sans);
}

/* the pager is "Page: 1 2 3" of links; give them real targets */
.page-catalog .Content a[href^="javascript:__doPostBack"] {
    display: inline-block;
    min-width: 40px;
    min-height: 40px;
    padding: 9px 10px;
    margin: 0 2px;
    border: 1px solid #ddd5c2;
    border-radius: 8px;
    background: #fbf8f0;
    color: #64694c;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.page-catalog .Content a[href^="javascript:__doPostBack"]:hover {
    background: #f3e3c0;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .page-catalog .ProductGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
}

@media (max-width: 600px) {
    .page-catalog .ProductGrid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
    .page-catalog #SortOrderDivContainer { justify-content: flex-start; }
}

/* =========================================================================
   FAQ page
   -------------------------------------------------------------------------
   No Figma frame exists for this page. Built to the "editorial page"
   archetype in claude/design-direction.md: masthead, gold eyebrow, the
   platform's serif h1, content, then a closing card.

   The accordion is the PAGE CONTENT's own markup and script - a jQuery
   single-open accordion over .faq > .faq-item > h3.faq-q > a plus .faq-a -
   and it ships its own <style> inside the content. That style block sits in
   the body, AFTER this file, so equal-specificity rules there would win:
   everything below is scoped under .page-faq to outrank it. Nothing here
   touches display on .faq-a, because jQuery's slideToggle owns that.
   ========================================================================= */

/* The band renders before the platform's heading and content, so the four
   pieces are ordered here instead. */
.page-faq .page-inner {
    display: flex;
    flex-direction: column;
}

.page-faq .faq-head { order: 0; }
.page-faq .ContentHeader { order: 1; }
.page-faq .faq-intro { order: 2; }
/* the rebuilt accordion, which the band renders; .Content is emptied when
   that succeeds and keeps its slot for the fallback case */
.page-faq .faq { order: 3; }
.page-faq .Content { order: 4; }
.page-faq .faq-more { order: 5; }
/* the edit overlay is absolute; keep it out of the flex flow entirely */
.page-faq .site-edit-layer { order: 0; position: absolute; }

.page-faq .faq-eyebrow {
    margin: 0 0 2px;
    /* hugs its words so the admin edit shortcut has something narrow to sit
       beside, the same reason .catalog-eyebrow does */
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    color: #cf9313;
}

/* the heading loses its margins: the eyebrow sits straight on it the way it
   does on About Us and the catalog, and the introduction's own top margin
   sets the gap underneath rather than the two adding up */
.page-faq .ContentHeader { margin-top: 0; margin-bottom: 0; }

.page-faq .faq-intro {
    max-width: 62ch;
    margin: clamp(12px, 1.4vw, 18px) 0 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.62;
    color: #353b26;
}

.page-faq .faq-intro p { margin: 0 0 0.6em; }
.page-faq .faq-intro p:last-child { margin-bottom: 0; }

/* ---------- the accordion ---------- */

.page-faq .Content { padding: 0; }

.page-faq .faq {
    max-width: 860px;
    margin: clamp(22px, 2.6vw, 38px) 0 0;
    /* a hairline above the first question closes the list as a block */
    border-top: 1px solid #ddd5c2;
}

.page-faq .faq .faq-item {
    border-bottom: 1px solid #ddd5c2;
}

/* The question is a <summary>. The default triangle goes, and the row itself
   is the target - 56px tall, well past the 24px minimum in WCAG 2.2.

   Both selectors are listed throughout: summary.faq-q is what the band
   renders, and .faq-q a is the page content's own hand-built accordion, which
   still renders if the rebuild ever finds no headings. */
.page-faq .faq summary.faq-q {
    list-style: none;
    cursor: pointer;
}

.page-faq .faq summary.faq-q::-webkit-details-marker { display: none; }

.page-faq .faq .faq-q {
    margin: 0;
    font-weight: 400;
}

.page-faq .faq summary.faq-q,
.page-faq .faq .faq-q a {
    position: relative;
    display: block;
    padding: 17px 52px 17px 0;
    font-family: var(--gto-serif);
    font-weight: 500;
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.28;
    color: #64694c;
    text-decoration: none;
    transition: color 0.12s ease;
}

.page-faq .faq summary.faq-q:hover,
.page-faq .faq .faq-q a:hover,
.page-faq .faq summary.faq-q:focus-visible,
.page-faq .faq .faq-q a:focus-visible { color: #353b26; }

.page-faq .faq summary.faq-q:focus-visible,
.page-faq .faq .faq-q a:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
    border-radius: 3px;
}

/* The open and closed marker. A ring with a rule across it, and a second
   rule that turns it into a plus when the answer is closed - so the shape
   animates between the two states rather than swapping a glyph. */
.page-faq .faq summary.faq-q::before,
.page-faq .faq summary.faq-q::after,
.page-faq .faq .faq-q a::before,
.page-faq .faq .faq-q a::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 13px;
    height: 2px;
    background: #cf9313;
    transition: transform 0.18s ease;
}

.page-faq .faq summary.faq-q::before,
.page-faq .faq .faq-q a::before { transform: translateY(-1px); }
.page-faq .faq summary.faq-q::after,
.page-faq .faq .faq-q a::after { transform: translateY(-1px) rotate(90deg); }

/* open: the upright half of the plus lies down, leaving a minus */
.page-faq .faq .faq-item[open] > summary.faq-q::after,
.page-faq .faq .faq-item.is-open .faq-q a::after {
    transform: translateY(-1px) rotate(0deg);
}

/* Cormorant at 600 rather than the browser's bold, which is what the page
   content's own style block asks for */
.page-faq .faq .faq-item[open] > summary.faq-q,
.page-faq .faq .faq-item.is-open .faq-q a {
    color: #353b26;
    font-weight: 600;
}

/* The page carries a hand-written `.faq-a { display: none }` in its own head
   content - not in the page body, in the CMS page's head field - which is how
   its jQuery accordion hid the answers. That rule outranked everything here
   and left every rebuilt answer invisible while its text was in the markup:
   the details element was open and 0px tall.
   Only the rebuilt markup is forced back on, matched through `details`, so the
   fallback path keeps the client's own show and hide behaviour. */
.page-faq .faq details.faq-item > .faq-a {
    display: block;
}

.page-faq .faq .faq-a {
    max-width: 68ch;
    margin: 0;
    padding: 0 52px 22px 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15.5px, 1.15vw, 17.5px);
    line-height: 1.72;
    color: #353b26;
}

.page-faq .faq .faq-a > :first-child { margin-top: 0; }
.page-faq .faq .faq-a > :last-child { margin-bottom: 0; }
.page-faq .faq .faq-a p { margin: 0 0 0.85em; }

.page-faq .faq .faq-a a {
    color: #64694c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-faq .faq .faq-a a:hover { color: #dd3e2e; }

.page-faq .faq .faq-a ul,
.page-faq .faq .faq-a ol { margin: 0 0 0.85em; padding-left: 1.25em; }
.page-faq .faq .faq-a li { margin: 0 0 0.35em; }

/* ---------- the closing card ---------- */

.page-faq .faq-more {
    max-width: 860px;
    margin: clamp(28px, 3vw, 46px) 0 clamp(8px, 1vw, 16px);
}

.page-faq .faq-more-inner {
    padding: clamp(20px, 2.4vw, 32px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

.page-faq .faq-more-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(21px, 2vw, 29px);
    line-height: 1.15;
    color: #64694c;
}

.page-faq .faq-more-body {
    max-width: 60ch;
    margin: 8px 0 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15.5px, 1.15vw, 17.5px);
    line-height: 1.62;
    color: #353b26;
}

.page-faq .faq-more-body p { margin: 0 0 0.6em; }
.page-faq .faq-more-body p:last-child { margin-bottom: 0; }

.page-faq .faq-more-cta { margin: clamp(14px, 1.6vw, 20px) 0 0; }

/* the quiet button from the design direction: paper fill, green hairline,
   green italic label. The primary red is not used on this page - there is
   nothing here to buy. */
.page-faq .faq-more-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 24px;
    background: #fbf8f0;
    border: 1px solid #64694c;
    border-radius: 8px;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.2;
    color: #64694c;
    text-decoration: none;
    transition: background 0.14s ease, color 0.14s ease;
}

.page-faq .faq-more-cta a:hover {
    background: #64694c;
    color: #f3e3c0;
}

.page-faq .faq-more-cta a:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .page-faq .faq summary.faq-q,
    .page-faq .faq .faq-q a { padding-right: 44px; }
    .page-faq .faq .faq-a { padding-right: 0; }
}

/* =========================================================================
   Long-form content pages: Helpful Hints, the Privacy Policy, and the next
   one after them
   -------------------------------------------------------------------------
   No Figma frame for any of them. Editorial archetype: masthead, gold
   eyebrow, serif h1, then the prose. One band renders them all; which pages
   it serves is a table at the top of article.ascx.cs.

   The one structural addition is a contents rail built from those headings,
   because a page this long with no way to skip is hard to use. The rail and
   the article sit in a grid on .page-inner; the band's pieces are top level
   siblings of the platform's heading and content, so grid placement is what
   puts them where they belong.
   ========================================================================= */

.page-article .page-inner {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    column-gap: clamp(28px, 3.4vw, 56px);
    align-items: start;
}

/* The eyebrow and the heading span both columns; the rail and the article sit
   side by side under them; the card goes under the article in its column.

   `order` is doing real work here, not tidying: the band renders all of its
   pieces BEFORE the platform's heading and content, so in source order the
   closing card comes second and grid auto-placement put it in the first row
   of the right hand column - the card appeared above the heading, beside the
   contents rail. Ordering the five items is what puts them back. */
.page-article .article-head { grid-column: 1 / -1; order: 0; }
.page-article .ContentHeader { grid-column: 1 / -1; order: 1; margin-top: 0; }
.page-article .article-contents { grid-column: 1; order: 2; }
.page-article .Content { grid-column: 2; order: 3; padding: 0; }
.page-article .article-more { grid-column: 2; order: 4; }
/* absolute, so it takes no grid slot */
.page-article .site-edit-layer { position: absolute; }

.page-article .article-eyebrow {
    margin: 0 0 2px;
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    color: #cf9313;
}

/* ---------- the contents rail ---------- */

.page-article .article-contents {
    position: sticky;
    top: 24px;
    margin: clamp(22px, 2.6vw, 38px) 0 0;
    padding: 0 0 0 14px;
    border-left: 2px solid #ddd5c2;
}

.page-article .article-contents-heading {
    margin: 0 0 10px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-article .article-contents-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hint;
}

.page-article .article-contents-list li {
    margin: 0 0 2px;
    counter-increment: hint;
}

.page-article .article-contents-list a {
    display: block;
    padding: 6px 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.35;
    color: #353b26;
    text-decoration: none;
    transition: color 0.12s ease;
}

.page-article .article-contents-list a::before {
    content: counter(hint) ". ";
    color: #cf9313;
}

.page-article .article-contents-list a:hover { color: #64694c; text-decoration: underline; }

.page-article .article-contents-list a:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 2px;
    border-radius: 3px;
}

/* ---------- the article ---------- */

.page-article .Content {
    margin: clamp(22px, 2.6vw, 38px) 0 0;
}

.page-article .Content p {
    max-width: 68ch;
    margin: 0 0 1.05em;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.72;
    color: #353b26;
}

/* the opening paragraph carries the page, so it is set a step up. The band
   removes the typed blank paragraphs first, which is what makes
   first-of-type land on the real opening line rather than on an empty one. */
.page-article .Content > div > p:first-of-type {
    max-width: 64ch;
    font-size: clamp(17.5px, 1.35vw, 21px);
    line-height: 1.6;
    color: #2b2a20;
}

.page-article .Content h2 {
    position: relative;
    max-width: 34ch;
    margin: clamp(34px, 3.6vw, 54px) 0 clamp(12px, 1.2vw, 18px);
    padding-top: 18px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(23px, 2.4vw, 34px);
    line-height: 1.14;
    color: #64694c;
    /* so a jump link does not land with the heading against the very top */
    scroll-margin-top: 24px;
}

/* a short gold rule over each heading, the same gold as the eyebrow, which
   is what ties the sections back to the top of the page */
.page-article .Content h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 2px;
    background: #cf9313;
}

.page-article .Content h2:first-child { margin-top: 0; }

.page-article .Content ul,
.page-article .Content ol {
    max-width: 66ch;
    margin: 0 0 1.05em;
    padding-left: 1.2em;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.66;
    color: #353b26;
}

.page-article .Content li { margin: 0 0 0.4em; }

.page-article .Content a {
    color: #64694c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-article .Content a:hover { color: #dd3e2e; }

.page-article .Content strong { font-weight: 500; color: #2b2a20; }

/* the blank paragraphs are stripped server side, but a stray one typed after
   this build should still not open a hole */
.page-article .Content p:empty { display: none; }

/* ---------- the closing card ---------- */

.page-article .article-more {
    max-width: 68ch;
    margin: clamp(30px, 3.2vw, 50px) 0 clamp(8px, 1vw, 16px);
}

.page-article .article-more-inner {
    padding: clamp(20px, 2.4vw, 32px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

.page-article .article-more-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(21px, 2vw, 29px);
    line-height: 1.15;
    color: #64694c;
}

.page-article .article-more-body {
    max-width: 58ch;
    margin: 8px 0 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15.5px, 1.15vw, 17.5px);
    line-height: 1.62;
    color: #353b26;
}

.page-article .article-more-body p { margin: 0 0 0.6em; }
.page-article .article-more-body p:last-child { margin-bottom: 0; }

.page-article .article-more-cta { margin: clamp(14px, 1.6vw, 20px) 0 0; }

/* the secondary variant here rather than the quiet one: this button leads to
   the catalog, which is the one thing on the page worth doing next */
.page-article .article-more-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 26px;
    background: #64694c;
    border: 1px solid #64694c;
    border-radius: 8px;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.2;
    color: #f3e3c0;
    text-decoration: none;
    transition: background 0.14s ease;
}

.page-article .article-more-cta a:hover { background: #4d5139; }

.page-article .article-more-cta a:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
}

/* One column below 1000: the rail becomes a plain card above the article
   rather than a sticky column, because a sticky rail on a phone is just
   something in the way. */
@media (max-width: 1000px) {
    .page-article .page-inner {
        display: block;
    }

    .page-article .article-contents {
        position: static;
        max-width: 68ch;
        margin: clamp(18px, 2.2vw, 28px) 0 0;
        padding: 16px 18px;
        background: #fbf8f0;
        border: 1px solid #ddd5c2;
        border-left-width: 1px;
        border-radius: 12px;
    }

    .page-article .article-contents-list { columns: 2; column-gap: 24px; }
}

@media (max-width: 560px) {
    .page-article .article-contents-list { columns: 1; }
}

/* =========================================================================
   Form controls, shared across every interior page
   -------------------------------------------------------------------------
   The design direction has one designed input in the whole Figma file - the
   footer's newsletter field - and this is it translated to a light ground.
   It is written against the platform's own classes rather than a page's,
   because SkinFile.skin puts class="TextBox" on every asp:TextBox and
   class="Buttons" on every asp:Button: so the cart, the checkout, sign in
   and the account pages all inherit this the moment they are looked at.

   Sizes: 48px tall against the platform's 20px, which is what takes these
   past the 24px minimum target size in WCAG 2.2. The widths are inline on
   the controls (style="width: 150px" in the markup), so overriding them
   needs !important - inline styles cannot be outranked any other way.
   ========================================================================= */

/* .DropDownList is the platform's class on every asp:DropDownList, and it
   was missing from this list until the product page was built: the weight
   picker on a product page was still 18px tall, which is under half the 24px
   minimum target size in WCAG 2.2. Adding it here fixes the selects on the
   cart and the checkout at the same time. */
.page .TextBox,
.page .DropDownList,
.page input[type="text"].TextBox,
.page input[type="password"].TextBox,
.page textarea.TextBox {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 420px;
    min-height: 48px;
    padding: 11px 14px;
    background: #fbf8f0;
    border: 1px solid #b9b19a;
    border-radius: 10px;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: #353b26;
    transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.page textarea.TextBox {
    max-width: 560px;
    min-height: 148px;
    padding: 13px 14px;
    line-height: 1.6;
    resize: vertical;
}

.page .TextBox:hover,
.page .DropDownList:hover { border-color: #8d846c; }

.page .TextBox:focus,
.page .DropDownList:focus {
    outline: none;
    border-color: #64694c;
    box-shadow: 0 0 0 3px rgba(100, 105, 76, 0.22);
}

.page .TextBox::placeholder { color: #8d846c; }

.page .DropDownList {
    max-width: 420px;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2364694c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

/* The platform's forms have no label elements: the field name is a bare text
   node in the paragraph above the input. So the paragraph is styled as the
   label and the input restates its own type - which needs no markup change
   on pages this theme is not allowed to edit. */
.page #contactUsPage p,
.page .Content form p > label {
    margin: 0 0 18px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page #contactUsPage p br { display: none; }

.page #contactUsPage .TextBox { display: block; margin-top: 7px; }

/* ASP.NET validators, which render as spans beside the field they guard.
   burnt-red is the palette's only state colour and this is the job the
   design direction gives it. */
.page .Content span[id*="Validator"],
.page .Content span[id*="valid"] {
    display: inline-block;
    margin-top: 6px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    color: #4b0d0d;
}

/* The platform's buttons. The catalog's Buy Now rules are more specific and
   keep their own treatment. */
.page .Buttons {
    box-sizing: border-box;
    min-height: 44px;
    padding: 11px 26px;
    background: #64694c;
    border: 1px solid #64694c;
    border-radius: 8px;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #f3e3c0;
    cursor: pointer;
    transition: background 0.14s ease;
}

.page .Buttons:hover { background: #4d5139; }

.page .Buttons:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
}

/* =========================================================================
   Contact
   -------------------------------------------------------------------------
   No Figma frame. Two columns: the details on the left, whatever the page
   itself holds on the right - copy on /contact-us, the message form on
   /contact-us.aspx.
   ========================================================================= */

.page-contact .page-inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: clamp(28px, 3.6vw, 64px);
    align-items: start;
}

.page-contact .contact-head { grid-column: 1 / -1; order: 0; }
.page-contact .ContentHeader { grid-column: 1 / -1; order: 1; margin-top: 0; }
.page-contact .contact-heading { grid-column: 1 / -1; order: 1; }
.page-contact .contact-details { grid-column: 1; order: 2; }
.page-contact .Content { grid-column: 2; order: 3; padding: 0; }
.page-contact .site-edit-layer { position: absolute; }

.page-contact .contact-eyebrow {
    margin: 0 0 2px;
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    color: #cf9313;
}

/* the form page prints its title into a plain div, so the band supplies the
   h1 and it has to look like every other page's */
.page-contact .contact-heading {
    margin: 0;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
    max-width: 26ch;
}

/* On the message form page the platform's title is a plain div, not a
   heading, and the band's h1 says the same thing - so that div is hidden
   rather than printing it twice. The CMS page's own h1 is left alone. */
.page-contact-form .ContentHeader { display: none; }

/* ---------- the details ---------- */

.page-contact .contact-details {
    margin: clamp(22px, 2.6vw, 38px) 0 0;
    padding: clamp(18px, 2vw, 26px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

.page-contact .contact-details-heading {
    margin: 0 0 14px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-contact .contact-line {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #eee7d8;
}

.page-contact .contact-line:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.page-contact .contact-line-label {
    display: block;
    margin: 0 0 3px;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: #6d6a58;
}

.page-contact .contact-line-value,
.page-contact .contact-line p {
    margin: 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.5;
    color: #353b26;
}

/* the phone number is the thing most people came for */
.page-contact .contact-phone .contact-line-value {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(22px, 2vw, 27px);
    line-height: 1.1;
    color: #64694c;
}

.page-contact a.contact-line-value {
    text-decoration: none;
    border-bottom: 1px solid rgba(100, 105, 76, 0.35);
}

.page-contact a.contact-line-value:hover { color: #dd3e2e; border-bottom-color: #dd3e2e; }

.page-contact a.contact-line-value:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
    border-radius: 3px;
}

.page-contact .contact-cta { margin: clamp(16px, 1.8vw, 22px) 0 0; }

.page-contact .contact-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 24px;
    background: #dd3e2e;
    border: 1px solid #dd3e2e;
    border-radius: 8px;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.2;
    color: #f3e3c0;
    text-decoration: none;
    transition: background 0.14s ease, border-color 0.14s ease;
}

/* burnt-red for the pressed and hovered state, per the design direction */
.page-contact .contact-cta a:hover { background: #4b0d0d; border-color: #4b0d0d; }

.page-contact .contact-cta a:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
}

/* ---------- the page's own content, either side of the divide ---------- */

.page-contact .Content {
    margin: clamp(22px, 2.6vw, 38px) 0 0;
}

.page-contact .Content > div > p {
    max-width: 62ch;
    margin: 0 0 1em;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.66;
    color: #353b26;
}

.page-contact .Content a { color: #64694c; text-decoration: underline; text-underline-offset: 2px; }
.page-contact .Content a:hover { color: #dd3e2e; }
.page-contact .Content p:empty { display: none; }

/* the form's own success panel */
.page-contact .Content .bold {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(21px, 2vw, 27px);
    color: #64694c;
}

@media (max-width: 900px) {
    .page-contact .page-inner { display: block; }

    .page-contact .contact-details { max-width: 560px; }

    /* the details come first on a phone: the phone number is the point */
    .page-contact .Content { margin-top: clamp(20px, 2.4vw, 30px); }
}

/* =========================================================================
   Sign up: the mailing list page and the account registration page
   -------------------------------------------------------------------------
   No Figma frame. TASK archetype: no masthead (suppressed in
   pagebanner.ascx.cs), one narrow column, the form is the page.

   Two pages, one set of rules. /sign-up holds a mailing list form pasted in
   from a third party service - a plain table with UNCLASSED inputs, so the
   shared .TextBox rules do not reach it and it needs element selectors.
   /SignUp.aspx is the platform's own registration form and already inherits
   the shared field and button styling.
   ========================================================================= */

.page-signup .page-inner {
    display: flex;
    flex-direction: column;
}

.page-signup .signup-head { order: 0; }
.page-signup .ContentHeader { order: 1; margin-top: 0; margin-bottom: 0; }
.page-signup .signup-heading { order: 1; }
.page-signup .signup-intro { order: 2; }
.page-signup .Content { order: 3; padding: 0; }
.page-signup .site-edit-layer { order: 0; position: absolute; }

/* the account page prints its title as a plain div and the band supplies the
   h1, so that div is not printed twice */
.page-signup-account .ContentHeader { display: none; }

.page-signup .signup-eyebrow {
    margin: 0 0 2px;
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    color: #cf9313;
}

.page-signup .signup-heading {
    margin: 0;
    max-width: 26ch;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
}

.page-signup .signup-intro {
    max-width: 58ch;
    margin: clamp(12px, 1.4vw, 18px) 0 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.62;
    color: #353b26;
}

.page-signup .signup-intro p { margin: 0 0 0.6em; }
.page-signup .signup-intro p:last-child { margin-bottom: 0; }

/* ---------- the form, whichever of the two it is ---------- */

.page-signup .Content {
    max-width: 560px;
    margin: clamp(22px, 2.6vw, 34px) 0 clamp(10px, 1.2vw, 18px);
    padding: clamp(20px, 2.4vw, 30px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

/* Both forms are laid out in a table from 2011. Turned into stacked rows:
   the label cell becomes the label, the field cell the field. Row per line,
   full width, which is what a form on a phone needs anyway. */
.page-signup .Content table,
.page-signup .Content tbody,
.page-signup .Content tr,
.page-signup .Content td {
    display: block;
    width: auto !important;
    border: 0 !important;
    padding: 0;
    margin: 0;
}

.page-signup .Content tr { margin: 0 0 16px; }
.page-signup .Content tr:last-child { margin-bottom: 0; }

/* The 2011 markup right-aligns its label cells with an align attribute, which
   stacked a right-aligned label over a left-aligned field. An attribute
   cannot be outranked by specificity, only by an explicit declaration. */
.page-signup .Content td[align],
.page-signup .Content td { text-align: left; }

/* the label cell: any cell that is not the one holding the control */
.page-signup .Content td {
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
    line-height: 1.4;
}

/* the field cell goes back to normal type, so a checkbox's own wording and
   the notes under it read as prose rather than as a label */
.page-signup .Content td:has(input:not([type="submit"])),
.page-signup .Content td:has(select),
.page-signup .Content td:has(textarea) {
    margin-top: 6px;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: #353b26;
}

/* The mailing list form's inputs carry no class at all - it was pasted in
   from a third party service - so they are matched on the element. The
   platform's own fields keep the shared .TextBox rules. */
.page-signup .Content input[type="text"],
.page-signup .Content input[type="email"],
.page-signup .Content input[type="password"],
.page-signup .Content textarea,
.page-signup .Content select {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 420px;
    min-height: 48px;
    padding: 11px 14px;
    background: #fbf8f0;
    border: 1px solid #b9b19a;
    border-radius: 10px;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: #353b26;
}

.page-signup .Content input[type="text"]:focus,
.page-signup .Content input[type="email"]:focus,
.page-signup .Content input[type="password"]:focus,
.page-signup .Content textarea:focus,
.page-signup .Content select:focus {
    outline: none;
    border-color: #64694c;
    box-shadow: 0 0 0 3px rgba(100, 105, 76, 0.22);
}

/* the checkbox stays its own size and sits with its wording */
.page-signup .Content input[type="checkbox"] {
    width: 20px !important;
    height: 20px;
    min-height: 0;
    margin: 0 8px 0 0;
    accent-color: #64694c;
    vertical-align: -3px;
}

/* the submit, whether it is the platform's .Buttons or the pasted form's
   unclassed one */
.page-signup .Content input[type="submit"] {
    box-sizing: border-box;
    width: auto !important;
    min-height: 44px;
    margin-top: 4px;
    padding: 11px 28px;
    background: #64694c;
    border: 1px solid #64694c;
    border-radius: 8px;
    font-family: var(--gto-sans);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #f3e3c0;
    cursor: pointer;
    transition: background 0.14s ease;
}

.page-signup .Content input[type="submit"]:hover { background: #4d5139; }

.page-signup .Content input[type="submit"]:focus-visible {
    outline: 2px solid #64694c;
    outline-offset: 3px;
}

/* the security code picture, and the small print under the checkbox */
.page-signup .Content img {
    display: block;
    margin: 0 0 8px;
    border-radius: 6px;
}

.page-signup .Content span[id*="Note"],
.page-signup .Content span[style*="font-size"] {
    display: block;
    margin-top: 6px;
    font-size: 13px !important;
    letter-spacing: 0;
    text-transform: none;
    color: #6d6a58;
}

/* validators, in the palette's state colour */
.page-signup .Content span[id*="Validator"],
.page-signup .Content td[style*="red"] {
    color: #4b0d0d !important;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.page-signup .Content a {
    color: #64694c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-signup .Content a:hover { color: #dd3e2e; }

/* =========================================================================
   A product's own page
   -------------------------------------------------------------------------
   No Figma frame. HYBRID archetype: a task page whose one editorial element
   is the photograph. No masthead (suppressed in pagebanner.ascx.cs), because
   a 415px band pushed the product itself below the fold on 52 pages.

   live/Product.aspx belongs to the platform and this theme cannot edit it,
   so the two 2011 floated columns - #mainProductImage at 200px and
   #mainProductDetails at 365px - are relaid here as a grid.
   ========================================================================= */

.page-product .page-inner {
    display: flex;
    flex-direction: column;
}

.page-product .product-head { order: 0; }
.page-product .ContentHeader { order: 1; }
.page-product .Content { order: 2; padding: 0; }
.page-product .product-note { order: 3; }
.page-product .site-edit-layer { order: 0; position: absolute; }

/* the platform prints the product name into .ContentHeader as well as into
   the h2 in the page body; the band's h1 is the one that stays */
.page-product .ContentHeader { display: none; }

.page-product .product-eyebrow {
    margin: 0 0 2px;
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.1;
    color: #cf9313;
}

.page-product .product-heading {
    margin: 0;
    max-width: 24ch;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(32px, 4.2vw, 58px);
    line-height: 1.04;
    color: #64694c;
}

/* ---------- the two columns ---------- */

.page-product .Content {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    column-gap: clamp(28px, 3.6vw, 64px);
    align-items: start;
    max-width: 1120px;
    margin: clamp(22px, 2.6vw, 36px) 0 0;
}

/* the floats and the fixed widths from 2011 come off; everything else in
   .Content (the clearfloat div, the bottom description) spans both */
.page-product .Content > * { grid-column: 1 / -1; float: none !important; }
/* display: block matters as much as the float here. The 2011 stylesheet
   leaves both of these computing to `inline`, and the float was what made
   them behave like blocks. Inside the grid that goes unnoticed - a grid
   container blockifies its items - but below 860 the container is
   `display: block` again and they were laid out as INLINE boxes, which put
   the buy panel 20px on top of the bottom of the photograph on every product
   page. Found on the Watermelon page 2026-09-09; it predates the
   single-column work and affected the potato pages too. */
.page-product #mainProductImage { grid-column: 1; width: auto !important; display: block; }
.page-product #mainProductDetails { grid-column: 2; width: auto !important; display: block; }
.page-product .clearfloat { display: none; }

/* ---------- one column, when there is nothing to choose ---------- */

/* The two columns were designed around a seed potato: eight weight tiers in
   the buy column earn it half the page. The fruit and vegetable seeds have a
   single fixed price, so that column held a description, a price and two
   buttons beside a tall photograph and the page read as two unrelated halves.
   product.ascx.cs adds this class when the platform renders no option
   dropdown. Alejandro's call, 2026-09-09.

   The measure is capped at 620 rather than the two-column 1120: at full width
   the photograph's 469/355 frame would be 848px tall, and the description
   under it would run to an unreadable line length. */
.page-product-simple .Content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(18px, 2vw, 28px);
    max-width: 620px;
}

/* the two-column rules above put the buy panel in column 2; with one column
   that would silently create a second implicit column and put it back
   alongside */
.page-product-simple #mainProductImage,
.page-product-simple #mainProductDetails { grid-column: 1; }

/* ---------- images inside the description ---------- */

/* The description is the client's own HTML, and on every seed product it
   embeds the packet photograph AGAIN, floated left, at 350px - so the price
   flowed up beside it and that is what "the image and price on the same
   line" was. The float comes off and the picture becomes a block, which is
   the actual fix; whether the duplicate belongs in the description at all is
   a content question for John.

   Scoped to images inside a paragraph, because that is where a rich-text
   editor puts them - the Grown in Idaho badge and the platform's own
   thumbnails sit outside one and keep their own sizing. */
.page-product #mainProductDetails p img {
    float: none !important;
    display: block;
    width: auto !important;
    height: auto !important;
    /* Capped well under the column: on the seed products this picture is a
       duplicate of the product photograph above it, and at full width the
       page showed the same packet twice, hero-sized, one after the other. As
       an illustration beside the price it costs little; as a second hero it
       was the whole page. */
    max-width: min(100%, 320px);
    margin: 0 0 14px;
    border-radius: 10px;
}

/* ---------- the photograph ---------- */

/* The frame goes on #mainImageDimensions, not on the link inside it: Site.css
   pins that wrapper to 200 x 200 from the 2011 layout, so a frame on the link
   was boxed into a 200px square whatever it asked for. */
.page-product #mainImageDimensions {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    overflow: hidden;
    background: #e6e0d2;
    border: 1px solid #ddd5c2;
    border-radius: 16px;
    /* the same frame the catalog cards use, so a product looks like its own
       card enlarged rather than a different design */
    aspect-ratio: 469 / 355;
}

.page-product #mainImageDimensions a {
    display: block;
    width: 100%;
    height: 100%;
}

/* the platform's own script writes width and height onto this image inline,
   so filling the frame needs !important rather than specificity */
.page-product #mainImageDimensions img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    border: 0 !important;
    background: none;
}

/* the "click to enlarge" line */
.page-product #MainImageHint {
    margin: 10px 0 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 13px;
    text-align: left;
    color: #6d6a58;
}

/* the Grown in Idaho badge under the photograph. Its size is inline too. */
.page-product #mainProductImage > div:not(#mainImageDimensions) img {
    display: block;
    width: auto !important;
    max-width: 132px !important;
    height: auto !important;
    margin: 16px 0 0;
}

/* ---------- the buy column ---------- */

.page-product #mainProductDetails {
    padding: clamp(20px, 2.2vw, 28px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

/* the platform's own h2 of the product name: the band's h1 says it already */
.page-product #mainProductDetails h2 { display: none; }
.page-product #AdminProductNameLink { display: none; }

.page-product #mainProductDetails > div {
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(15.5px, 1.15vw, 17px);
    line-height: 1.68;
    color: #353b26;
}

.page-product #mainProductDetails > div:first-of-type { margin-top: 0 !important; }

.page-product #mainProductDetails p { margin: 0 0 0.85em; }
.page-product #mainProductDetails p:last-child { margin-bottom: 0; }

.page-product .ProductPrice,
.page-product #mainProductDetails > span:first-of-type {
    display: block;
    margin: 0 0 14px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(24px, 2.2vw, 32px);
    color: #64694c;
}

/* the weight picker's label, the same treatment as on the catalog card */
.page-product .ProductOptionTitle {
    display: block;
    margin: 18px 0 6px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-product .ProductOptionTitle br { display: none; }

/* ---------- the buttons ---------- */

/* [id$="AddPanel"], not #AddPanel: this is an asp:Panel, so ASP.NET renders
   it with a prefixed id (ctl00_ctl00_Cph_AddPanel) and the plain id selector
   matched nothing. The two buttons were never in a flex row at all, which is
   why the wish list button's inline margin-left: 60px was still holding them
   60px apart. The divs above it - #mainProductImage, #mainImageDimensions,
   #MainImageHint - ARE plain markup, which is why those selectors work. */
.page-product [id$="AddPanel"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0;
}

/* Buy Now keeps the catalog card's green rather than becoming the red
   primary: it is the same action in the same words as on the listing, and one
   action should not change colour depending on which page you are looking at.
   See the note in the handoff - it is a consistency decision, not an
   oversight. */
/* the inline margin-left: 60px on the wish list button is in the markup, so
   only !important can reach it; the 10px gap above does the spacing */
.page-product [id$="AddPanel"] .Buttons {
    margin: 0 !important;
    padding: 12px 26px;
    font-size: 16px;
}

/* the wish list button is the quiet variant, so it does not compete. The
   class is put back by product.ascx.cs, because SkinFile.skin overwrites the
   one in the markup. */
.page-product .product-wish {
    background: #fbf8f0 !important;
    border-color: #64694c !important;
    color: #64694c !important;
}

.page-product .product-wish:hover {
    background: #64694c !important;
    color: #f3e3c0 !important;
}

/* ---------- the note under the button ---------- */

.page-product .product-note {
    max-width: 52ch;
    margin: clamp(16px, 1.8vw, 22px) 0 clamp(8px, 1vw, 14px);
    padding-left: 14px;
    border-left: 2px solid #ddd5c2;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #6d6a58;
}

.page-product .product-note p { margin: 0 0 0.5em; }
.page-product .product-note p:last-child { margin-bottom: 0; }

/* the javascript notice the platform prints, and the out of stock label */
.page-product #NoJavascriptFoundInterior {
    margin: 14px 0 0;
    font-size: 14px;
    color: #4b0d0d;
}

@media (max-width: 860px) {
    .page-product .Content { display: block; }

    /* IdealCartDefaults.css carries `#mainProductDetails { margin-left: 40px }`
       from the 2011 layout, where it was the gutter beside the floated 200px
       image column. In the grid it is absorbed by the column gap, but once the
       columns stack it pushed the white buy panel 40px in from the left while
       the photograph above it stayed full width, so the two no longer lined up.
       Auto on both sides rather than 0, so the panel stays centred if it is
       ever given a width of its own. Alejandro, 2026-09-11. */
    .page-product #mainProductDetails {
        margin-top: clamp(20px, 3vw, 30px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================================
   YOUR ORDERS - /User/Orders.aspx - and the shared data table
   -------------------------------------------------------------------------
   Task archetype: no masthead, one column, the table is the page.

   live/User/Orders.aspx prints "Your Orders" into a plain div, so the band
   supplies the h1 and that div is hidden rather than saying it twice. Its
   Repeater renders nothing whatsoever when a customer has no orders, which
   is why the band carries an editable empty state.

   The .data-table rules below are deliberately written against a list of
   page classes, not just .page-orders: the cart and the wish list render
   the same kind of platform table and will join the list as they are
   designed. The class and the header row come from the script in
   Controls/orders.ascx.cs; if it never runs, the table simply stays
   unstyled rather than breaking.
   ========================================================================= */

.page-orders .page-inner {
    display: flex;
    flex-direction: column;
}

.page-orders .orders-head { order: 0; }
.page-orders .orders-empty { order: 1; }
.page-orders .Content { order: 2; padding: 0; }
.page-orders .site-edit-layer { order: 0; position: absolute; }

/* the platform's plain title div - the band prints the real h1 */
.page-orders .ContentHeader { display: none; }

.page-orders .orders-eyebrow {
    margin: 0 0 2px;
    width: max-content;
    max-width: 100%;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    color: #cf9313;
}

.page-orders .orders-heading {
    margin: 0;
    /* shrink to the words, not the column, so the pencil chip lands beside
       the heading rather than out at the right edge of the page */
    width: max-content;
    max-width: 26ch;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
}

/* ---------- no orders yet ---------- */

.page-orders .orders-empty {
    max-width: 640px;
    margin: clamp(22px, 2.6vw, 34px) 0 clamp(10px, 1.2vw, 18px);
}

.page-orders .orders-empty-inner {
    padding: clamp(20px, 2.4vw, 30px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.62;
    color: #353b26;
}

.page-orders .orders-empty-inner p { margin: 0 0 0.7em; }
.page-orders .orders-empty-inner p:last-child { margin-bottom: 0; }

.page-orders .orders-empty-inner a {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-orders .orders-empty-inner a:hover { color: #dd3e2e; }

/* =========================================================================
   The shared data table.
   No boxes and no zebra striping - a rule under each row, money right
   aligned on tabular figures, and below 720px each row stacks with its
   column names printed in gold beside the values.
   ========================================================================= */

.page-orders .Content,
.page-cart .Content,
.page-wishlist .Content {
    margin: clamp(22px, 2.6vw, 34px) 0 clamp(14px, 1.6vw, 22px);
}

.page-orders .Content table.data-table,
.page-cart .Content table.data-table,
.page-wishlist .Content table.data-table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    font-family: var(--gto-sans);
}

.page-orders .data-table th,
.page-cart .data-table th,
.page-wishlist .data-table th {
    padding: 0 14px 10px 0;
    text-align: left;
    vertical-align: bottom;
    border-bottom: 2px solid #64694c;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64694c;
    white-space: nowrap;
}

.page-orders .data-table td,
.page-cart .data-table td,
.page-wishlist .data-table td {
    padding: 12px 14px 12px 0;
    vertical-align: middle;
    border-bottom: 1px solid #ddd5c2;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #353b26;
}

.page-orders .data-table th:last-child,
.page-orders .data-table td:last-child,
.page-cart .data-table th:last-child,
.page-cart .data-table td:last-child,
.page-wishlist .data-table th:last-child,
.page-wishlist .data-table td:last-child { padding-right: 0; }

/* Order number and money read as figures: tabular so the columns line up
   down the page. The order number is the row's identity, so it is the one
   cell set in the serif. */
.page-orders .data-table td:first-child,
.page-cart .data-table td:first-child,
.page-wishlist .data-table td:first-child {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: 18px;
    color: #2b2a20;
    font-variant-numeric: tabular-nums;
}

.page-orders .data-table td[data-label="Amount"],
.page-orders .data-table th[data-label="Amount"],
.page-cart .data-table td[data-label="Total"],
.page-cart .data-table td[data-label="Price"] {
    font-variant-numeric: tabular-nums;
}

.page-orders .data-table a,
.page-cart .data-table a,
.page-wishlist .data-table a {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-orders .data-table a:hover,
.page-cart .data-table a:hover,
.page-wishlist .data-table a:hover { color: #dd3e2e; }

/* the platform's inputs inside a row keep the shared field styling but do
   not need to be full width in a table cell */
.page-orders .data-table .TextBox,
.page-cart .data-table .TextBox,
.page-wishlist .data-table .TextBox { width: 5.5em; }

/* ---------- stacked, below 720px ---------- */

@media (max-width: 720px) {
    .page-orders .data-table,
    .page-cart .data-table,
    .page-wishlist .data-table { display: block; max-width: none; }

    .page-orders .data-table thead,
    .page-orders .data-table tr:first-child,
    .page-cart .data-table thead,
    .page-cart .data-table tr:first-child,
    .page-wishlist .data-table thead,
    .page-wishlist .data-table tr:first-child { display: none; }

    .page-orders .data-table tbody,
    .page-cart .data-table tbody,
    .page-wishlist .data-table tbody { display: block; }

    .page-orders .data-table tr,
    .page-cart .data-table tr,
    .page-wishlist .data-table tr {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid #ddd5c2;
    }

    .page-orders .data-table td,
    .page-cart .data-table td,
    .page-wishlist .data-table td {
        display: flex;
        gap: 14px;
        align-items: baseline;
        justify-content: space-between;
        padding: 3px 0;
        border: 0;
    }

    /* the column's own name, copied onto the cell by the band's script */
    .page-orders .data-table td[data-label]::before,
    .page-cart .data-table td[data-label]::before,
    .page-wishlist .data-table td[data-label]::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-family: var(--gto-sans);
        font-weight: 500;
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #64694c;
    }

    .page-orders .data-table td:first-child,
    .page-cart .data-table td:first-child,
    .page-wishlist .data-table td:first-child { font-size: 20px; }
}

/* Money and the receipt link sit at the right of the table, which is what
   makes a column of figures readable down the page. The date and the two
   right hand columns never wrap; the first column takes the slack. */
.page-orders .data-table th:nth-child(3),
.page-orders .data-table td:nth-child(3),
.page-orders .data-table th:nth-child(4),
.page-orders .data-table td:nth-child(4) { text-align: right; }

.page-orders .data-table td:nth-child(2),
.page-orders .data-table td:nth-child(3),
.page-orders .data-table td:nth-child(4) { white-space: nowrap; }

@media (max-width: 720px) {
    /* stacked, the label is on the left and the value on the right already */
    .page-orders .data-table th:nth-child(3),
    .page-orders .data-table td:nth-child(3),
    .page-orders .data-table th:nth-child(4),
    .page-orders .data-table td:nth-child(4) { text-align: left; }
}

/* Both left hand columns are set in the body sans, not the serif: on this
   page the order number is a machine string ("TEST PURCHASE (3/22/2022
   2:31:08 PM)"), not a product name, and the serif made it read as a
   heading. Tabular figures on both so the columns line up down the page.
   The cart and the wish list keep the serif on their first column, where
   it IS the product's name. */
.page-orders .data-table td:first-child {
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    color: #353b26;
}

.page-orders .data-table td:nth-child(2) {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
    .page-orders .data-table td:first-child { font-size: 16px; }
}

/* =========================================================================
   YOUR SHOPPING CART - /Cart (live/User/ShoppingCart.aspx)
   -------------------------------------------------------------------------
   RESTYLE ONLY. Alejandro's instruction, 2026-09-04: style the cart, do not
   change how it works. So there is no cart band, no snippets, no script and
   no server-side touch on this page - every rule below is CSS against the
   platform's own markup, exactly as ShoppingCart.aspx and
   User/Controls/ShoppingCart.ascx render it.

   What that rules out, deliberately, and what it costs:
     - the page still has NO h1. The platform prints "Your Shopping Cart"
       into a plain div, and that div is styled as the heading here. Item 23b
       stays open for this page.
     - the totals, shipping estimate and checkout button stay where the
       platform puts them, as separate siblings under the table. They are
       given a shared width and pulled to the right so they read as one
       summary block, which is as close to the design direction's summary
       rail as CSS alone can get without moving anything.
     - the sales tax wording and the card logos are still hardcoded in the
       platform page, so they are not editable. Recorded as item 23o.
     - the table keeps its own markup. The shared .data-table script that
       serves Your Orders and the wish list is deliberately NOT pointed at
       this page, because it edits the DOM; the stacked layout below 720px
       therefore prints its column names from CSS instead.

   Interior.master.cs sets the page-cart class and nothing else on this page.

   The rules below are written for BOTH pages, with :is(.page-cart,
   .page-checkout). The checkout's Order Details section renders the same
   ShoppingCart control, so the table, its money columns and the totals
   under it are one component rather than two that drift apart. :is() takes
   the specificity of a class, which is what the single class was, so
   nothing about the cascade changes.
   ========================================================================= */

/* ---------- the heading the platform prints as a plain div ---------- */

:is(.page-cart, .page-checkout) .ContentHeader {
    margin: 0 0 clamp(18px, 2.2vw, 28px);
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
}

:is(.page-cart, .page-checkout) .Content { padding: 0; }

/* the line of instruction above the table, a plain div in the platform's
   own control */
:is(.page-cart, .page-checkout) .Content > div[style*="margin-bottom: 10px"] {
    margin: 0 0 12px !important;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #6d6a58;
}

/* ---------- the basket table ---------- */

:is(.page-cart, .page-checkout) .Content table.gridview {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    font-family: var(--gto-sans);
}

/* The 2011 stylesheet fills this header brown with white type. The design's
   table header is a gold caps rule over a dark hairline, and clearing the
   fill needs !important because the shared rule has it. */
:is(.page-cart, .page-checkout) .Content table.gridview th,
:is(.page-cart, .page-checkout) .Content table.gridview th a {
    padding: 0 14px 10px 0 !important;
    background: none !important;
    border: 0;
    border-bottom: 2px solid #64694c;
    text-align: left;
    vertical-align: bottom;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64694c !important;
    white-space: nowrap;
}

:is(.page-cart, .page-checkout) .Content table.gridview td {
    padding: 12px 14px 12px 0;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #ddd5c2;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #353b26;
}

:is(.page-cart, .page-checkout) .Content table.gridview th:last-child,
:is(.page-cart, .page-checkout) .Content table.gridview td:last-child {
    padding-right: 0;
    text-align: right;
}

/* Column 1 is the product code and it is empty on every weight-priced
   product, so the row's identity is the NAME beside it. That is the cell
   that gets the serif; the code stays quiet. */
:is(.page-cart, .page-checkout) .Content table.gridview td:first-child {
    width: 1%;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #6d6a58;
    white-space: nowrap;
}

:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(2) {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: 19px;
    color: #2b2a20;
}

:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(2) a {
    color: #2b2a20;
    text-decoration: none;
}

:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(2) a:hover {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* price, quantity and line total right aligned on tabular figures, so the
   money reads as a column down the page */
:is(.page-cart, .page-checkout) .Content table.gridview th:nth-child(3),
:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(3),
:is(.page-cart, .page-checkout) .Content table.gridview th:nth-child(4),
:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(4),
:is(.page-cart, .page-checkout) .Content table.gridview th:nth-child(5),
:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(5) { text-align: right; }

:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(3),
:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(5) { font-variant-numeric: tabular-nums; }

:is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(5) { font-weight: 400; color: #2b2a20; }

/* the quantity box. The platform writes its width inline, so the width
   needs !important; the height is what clears the 24px minimum target size
   in WCAG 2.2. */
:is(.page-cart, .page-checkout) .Content table.gridview .TextBox {
    width: 64px !important;
    height: 44px;
    padding: 6px 8px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* the delete control keeps the platform's own red icon and its behaviour;
   what changes is that it gets a real target area and stops sitting flush
   against the line total */
:is(.page-cart, .page-checkout) .cartDeleteBtn { display: inline-flex; }

:is(.page-cart, .page-checkout) .cartDeleteBtn input[type="image"] {
    width: 18px;
    height: 18px;
    padding: 13px;
    box-sizing: content-box;
    border-radius: 50%;
    opacity: 0.75;
}

:is(.page-cart, .page-checkout) .cartDeleteBtn input[type="image"]:hover {
    background: #f7ece7;
    opacity: 1;
}

/* ---------- the summary, where the platform leaves it ---------- */

/* The three totals, Recalculate, the shipping estimate and the checkout
   block are six separate siblings under the table. Nothing is moved in the
   DOM: each is given the same width and held to the LEFT edge, so together
   they read as one summary column under the basket, lined up with the table
   above it (Alejandro, 2026-09-04 - it sat on the right until then). */
:is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter,
:is(.page-cart, .page-checkout) .Content > div[style*="text-align: right"],
:is(.page-cart, .page-checkout) .Content > .SectionHeader,
:is(.page-cart, .page-checkout) .Content > .SectionHeader + p,
:is(.page-cart, .page-checkout) .Content > [id$="NotEmpty"] {
    max-width: 360px;
    margin-left: 0 !important;
    margin-right: auto !important;
}

:is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 0 auto 0 0 !important;
    padding: 10px 0 !important;
    text-align: left !important;
    border-bottom: 1px solid #ece5d6;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    color: #353b26;
}

:is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter:first-of-type { margin-top: 18px !important; }
:is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter:last-of-type { margin-bottom: 0 !important; }

:is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter span,
:is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter label {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* the last of the three is the number that matters */
:is(.page-cart, .page-checkout) .Content > p[id$="updatedCartContent"] {
    padding-top: 12px !important;
    border-bottom: 0;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(19px, 1.7vw, 23px);
    color: #2b2a20;
}

/* Recalculate is the quiet variant: a step on the way to checking out, not
   the thing the page is for */
:is(.page-cart, .page-checkout) .Content [id$="Recalculate"] {
    display: block;
    width: 100%;
    margin: 6px 0 0 !important;
    background: #fbf8f0 !important;
    border: 1px solid #64694c !important;
    color: #64694c !important;
}

:is(.page-cart, .page-checkout) .Content [id$="Recalculate"]:hover {
    background: #64694c !important;
    color: #f3e3c0 !important;
}

/* Shipping Estimates is the platform's own section heading, restyled into
   the same gold caps label the fields use, so the page has one voice */
:is(.page-cart, .page-checkout) .Content .SectionHeader {
    margin: 22px auto 6px 0 !important;
    padding: 0;
    background: none;
    border: 0;
    font-family: var(--gto-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

/* margin-right stays auto: a shorthand with !important would cancel the
   alignment the group above sets */
:is(.page-cart, .page-checkout) .Content > .SectionHeader + p { margin: 0 auto 0 0 !important; }
:is(.page-cart, .page-checkout) .Content .DropDownList { width: 100% !important; }

/* Checkout is the cart's one primary, in the palette's own red */
:is(.page-cart, .page-checkout) .Content [id$="sendCheckout"] {
    display: block;
    width: 100%;
    margin: 18px 0 0 !important;
    padding: 14px 18px !important;
    background: #dd3e2e !important;
    border: 0 !important;
    color: #f3e3c0 !important;
    font-size: 18px !important;
}

:is(.page-cart, .page-checkout) .Content [id$="sendCheckout"]:hover { background: #4b0d0d !important; }

/* the sales tax note and the accepted-card picture. Both are hardcoded into
   the platform page, so this is presentation only - see item 23o. */
:is(.page-cart, .page-checkout) .Content [id$="NotEmpty"] p {
    margin: 14px 0 0 !important;
    padding: 0 !important;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    color: #6d6a58;
}

:is(.page-cart, .page-checkout) .Content [id$="NotEmpty"] img {
    display: block;
    max-width: 160px;
    height: auto;
    margin-top: 10px;
}

/* ---------- the platform's own messages ---------- */

/* an empty basket. The platform's answer is this one line inside the table,
   and it stays the platform's answer - it is only made legible. */
:is(.page-cart, .page-checkout) .Content table.gridview td[colspan] {
    padding: 26px 0;
    border-bottom: 1px solid #ddd5c2;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    color: #6d6a58;
}

:is(.page-cart, .page-checkout) .Content [id$="ErrorPanel"],
:is(.page-cart, .page-checkout) .Content [id$="AdjustedInventoryPanel"] {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #fbf8f0;
    border-left: 3px solid #4b0d0d;
    color: #4b0d0d !important;
    font-family: var(--gto-sans);
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- the administrator's add line item form ---------- */

:is(.page-cart, .page-checkout) [id$="LineItemCartContainer"] {
    margin: 0 0 clamp(18px, 2vw, 26px) !important;
    padding: 16px 18px;
    background: #fbf8f0;
    border: 1px dashed #b9b19a;
    border-radius: 12px;
}

:is(.page-cart, .page-checkout) [id$="LineItemCartContainer"] > p {
    margin: 0 0 10px;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

:is(.page-cart, .page-checkout) #AddCartItemAdmin th {
    padding: 0 10px 6px 0;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: none;
    color: #64694c;
}

:is(.page-cart, .page-checkout) #AddCartItemAdmin td { padding: 0 10px 0 0; border: 0; vertical-align: middle; }

/* ---------- stacked, below 720px ---------- */

/* The shared table script is not pointed at this page, so the column names
   come from CSS here rather than from a data-label attribute. They are the
   platform's own header words, in the platform's own column order: Code,
   Item, Price, Quantity, Total, then the delete control. Code is left out
   because it is empty on every weight-priced product, and Item needs no
   label - it is the name. */
@media (max-width: 720px) {
    :is(.page-cart, .page-checkout) .Content table.gridview,
    :is(.page-cart, .page-checkout) .Content table.gridview tbody { display: block; max-width: none; }

    :is(.page-cart, .page-checkout) .Content table.gridview tr {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid #ddd5c2;
    }

    :is(.page-cart, .page-checkout) .Content table.gridview tr:first-child { display: none; }

    :is(.page-cart, .page-checkout) .Content table.gridview td {
        display: flex;
        gap: 14px;
        align-items: baseline;
        justify-content: space-between;
        padding: 3px 0;
        border: 0;
        text-align: left !important;
    }

    :is(.page-cart, .page-checkout) .Content table.gridview td:first-child { display: none; }
    :is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(2) { font-size: 20px; }

    :is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(3)::before { content: "Price"; }
    :is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(4)::before { content: "Quantity"; }
    :is(.page-cart, .page-checkout) .Content table.gridview td:nth-child(5)::before { content: "Total"; }

    :is(.page-cart, .page-checkout) .Content table.gridview td::before {
        flex: 0 0 auto;
        font-family: var(--gto-sans);
        font-weight: 500;
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #64694c;
    }

    :is(.page-cart, .page-checkout) .Content table.gridview td:last-child { justify-content: flex-start; }

    /* the summary runs full width once there is no room beside anything */
    :is(.page-cart, .page-checkout) .Content > p.shoppingCartFooter,
    :is(.page-cart, .page-checkout) .Content > div[style*="text-align: right"],
    :is(.page-cart, .page-checkout) .Content > .SectionHeader,
    :is(.page-cart, .page-checkout) .Content > .SectionHeader + p,
    :is(.page-cart, .page-checkout) .Content > [id$="NotEmpty"] { max-width: none; }
}

/* =========================================================================
   WISH LIST - /WishList.aspx
   -------------------------------------------------------------------------
   RESTYLE ONLY, on the same instruction as the cart: CSS against the
   platform's own markup, no band, no snippets, no script, nothing changed on
   the server. Interior.master.cs sets the page-wishlist class and nothing
   else.

   What the platform renders: the title "Wish List" in a plain div (so the
   page has NO h1 - item 23b stays open for it), then one Repeater item per
   product, each of which is its OWN <table width="100%"> with a single row -
   a 150px cell holding the picture and a "Delete from list" link, and a
   second cell holding the name, the price, the weight picker, More details
   and Add to cart.

   So this is a list of cards wearing a table each, not a data table. The
   shared .data-table script is deliberately not pointed at this page: it
   edits the DOM, and these tables are layout. Each table is turned into a
   card here - picture left, details right - which is the catalog card laid
   on its side, so a saved product looks like the product it came from.

   What this cannot reach, for the record:
     - an empty wish list renders nothing at all below the title, because the
       Repeater has no empty template. The platform's behaviour stands.
     - "LBS:" above the weight picker is a bare text node with nothing to
       hang a rule on. On the catalog the band wraps it; here there is no
       band, so it keeps the platform's own look.
   ========================================================================= */

.page-wishlist .ContentHeader {
    margin: 0 0 clamp(18px, 2.2vw, 28px);
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
}

.page-wishlist .Content { padding: 0; }

/* ---------- signed out ---------- */

/* the one place this page does print an h1, and it is a sentence rather than
   a title, so it is set at reading size in the panel component */
.page-wishlist [id$="PleaseLogin"] {
    max-width: 560px;
    padding: clamp(20px, 2.4vw, 30px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

.page-wishlist [id$="PleaseLogin"] h1 {
    margin: 0 0 8px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
    color: #64694c;
}

.page-wishlist [id$="PleaseLogin"] p {
    margin: 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.62;
    color: #353b26;
}

.page-wishlist [id$="PleaseLogin"] a {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-wishlist [id$="PleaseLogin"] a:hover { color: #dd3e2e; }

/* ---------- one saved product, one card ---------- */

/* Each item is a table of its own with an inline dotted rule under it. The
   table, its body and its row become blocks so the row can be a flex pair;
   the inline border has to be beaten with !important. */
.page-wishlist [id$="WishListDetails"] > table {
    display: block;
    width: 100% !important;
    max-width: 900px;
    margin: 0 0 clamp(14px, 1.6vw, 20px) !important;
    padding: clamp(14px, 1.6vw, 20px);
    background: #fff;
    border: 1px solid #ddd5c2 !important;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.08);
    font-family: var(--gto-sans);
}

.page-wishlist [id$="WishListDetails"] > table > tbody { display: block; }

.page-wishlist [id$="WishListDetails"] > table > tbody > tr {
    display: flex;
    gap: clamp(16px, 2vw, 26px);
    align-items: flex-start;
}

.page-wishlist [id$="WishListDetails"] > table > tbody > tr > td {
    display: block;
    padding: 0;
    border: 0;
    vertical-align: top;
}

/* the picture column */
.page-wishlist [id$="WishListDetails"] td:first-child {
    flex: 0 0 auto;
    width: 150px !important;
    text-align: center;
}

/* The frame is the picture's OWN link, matched by id - "Delete from list"
   is an anchor in the same cell, and a bare `td a` turned it into a second
   empty picture box. The platform writes width="100px" on the image, so
   filling the frame needs !important. */
.page-wishlist [id$="ProductUrlLink"] {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f0e7;
}

.page-wishlist [id$="ProductUrlLink"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-align: center;
    color: #a49c86;
}

/* "Delete from list" is a LinkButton. It is a real action, so it keeps its
   own behaviour; what changes is that it stops competing with the buttons
   beside it. */
.page-wishlist [id$="Delete"] {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #6d6a58;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-wishlist [id$="Delete"]:hover { color: #4b0d0d; }

/* the details column */
.page-wishlist [id$="WishListDetails"] td + td { flex: 1 1 auto; min-width: 0; }

/* the product name, which the platform prints as a link */
.page-wishlist .Content [id$="ProductUrlLink2"] {
    display: block;
    margin-bottom: 6px;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.15;
    color: #2b2a20;
    text-decoration: none;
}

.page-wishlist .Content [id$="ProductUrlLink2"]:hover {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* the price, and the discounted pair - the platform strikes the first one
   through with its own class */
.page-wishlist [id$="Regular"] {
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: #353b26;
}

.page-wishlist .ProductPriceDiscounted {
    margin-left: 8px;
    font-weight: 500;
    color: #4b0d0d;
}

/* the weight picker. The shared field rules already size every
   .DropDownList on the site; all this does is stop it running the full
   width of a wide card. */
.page-wishlist [id$="WishListDetails"] .DropDownList {
    width: auto !important;
    min-width: 260px;
    max-width: 100%;
    margin-bottom: 14px;
}

/* the options warning the platform raises when no weight is picked */
.page-wishlist [id$="OptionsWarning"] { font-size: 14px !important; }

.page-wishlist [id$="WishListDetails"] p:has([id$="OptionsWarning"]) { margin: 0 0 10px !important; }

/* Add to cart is the same action as the catalog's Buy Now, so it keeps the
   same green rather than becoming a second red on the page. More details is
   the quiet variant beside it - the name above already links there. */
.page-wishlist [id$="AddToCart"] {
    margin: 0 !important;
    background: #64694c !important;
    border: 1px solid #64694c !important;
    color: #f3e3c0 !important;
}

.page-wishlist [id$="AddToCart"]:hover { background: #353b26 !important; border-color: #353b26 !important; }

.page-wishlist [id$="MoreDetails"] {
    margin: 0 10px 0 0 !important;
    background: #fbf8f0 !important;
    border: 1px solid #64694c !important;
    color: #64694c !important;
}

.page-wishlist [id$="MoreDetails"]:hover {
    background: #64694c !important;
    color: #f3e3c0 !important;
}

.page-wishlist [id$="OutOfStock"] {
    display: inline-block;
    margin-left: 10px;
    font-family: var(--gto-sans);
    font-weight: 500 !important;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4b0d0d !important;
}

/* a product that has gone away since it was saved */
.page-wishlist [id$="ProductNotFound"] h2 {
    margin: 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #6d6a58;
}

/* ---------- narrow ---------- */

@media (max-width: 640px) {
    .page-wishlist [id$="WishListDetails"] > table > tbody > tr {
        display: block;
    }

    .page-wishlist [id$="WishListDetails"] td:first-child {
        width: 100% !important;
        max-width: 220px;
        margin-bottom: 14px;
        text-align: left;
    }

    .page-wishlist [id$="WishListDetails"] .DropDownList {
        width: 100% !important;
        min-width: 0;
    }

    .page-wishlist [id$="MoreDetails"],
    .page-wishlist [id$="AddToCart"] {
        display: block;
        width: 100%;
        margin: 0 0 10px !important;
    }
}

/* =========================================================================
   CHECKOUT - /Checkout (live/User/OrderCheckout.aspx)
   -------------------------------------------------------------------------
   RESTYLE ONLY, on the same instruction as the cart and the wish list: CSS
   against the platform's markup, no band, no snippets, no script, nothing
   changed on the server. Interior.master.cs sets the page-checkout class
   and nothing else; pagebanner.ascx.cs no longer prints the masthead here,
   which is the item 23a fix for this page.

   The densest page on the site, and three pages in one - Checkout1.ascx
   (billing and card), Checkout2.ascx (shipping, ship date, service) and
   Checkout3.ascx (confirm and place the order), one visible at a time.
   All three share a shape: an h2 of step links, then .SectionHeader
   subheads over 2011 label-and-field tables, then Order Details holding the
   basket, then one button. So the rules below are written against that
   shape rather than per step, which is also the only way to style steps 2
   and 3 without walking a live order through them.

   The Order Details basket is NOT styled here - the cart's block above does
   it for both pages through :is(.page-cart, .page-checkout).

   What this cannot reach, for the record:
     - the page has NO h1: "Checkout" is a plain div, styled as the heading
       (item 23b)
     - the step indicator's ">>>" arrows are text inside the h2, so they
       stay; they are at least read as separators
     - the "*** Discounts will be reflected on the confirm & purchase
       page ***" line, the sales tax wording and the shipping notice are all
       copy inside platform pages, so they are not editable (item 23o)
     - the ship-date picker is jQuery UI 1.8 with its own smoothness
       stylesheet, loaded by the page's own head. It is left alone.
   ========================================================================= */

.page-checkout .ContentHeader {
    margin: 0 0 clamp(14px, 1.8vw, 22px);
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
}

.page-checkout .Content { padding: 0; max-width: 940px; }

/* ---------- the three steps ---------- */

/* The platform's h2 carries all three step names, the current one in a
   <b> and the others as LinkButtons back. Made into a quiet row of labels:
   where you are is dark, where you have been is a link, and the arrows
   between them are the platform's own text. */
.page-checkout .Content h2 {
    margin: 0 0 clamp(20px, 2.4vw, 30px);
    padding: 0 0 14px;
    border-bottom: 1px solid #ddd5c2;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a49c86;
}

.page-checkout .Content h2 b {
    font-weight: 500;
    color: #64694c;
}

.page-checkout .Content h2 a {
    color: #6d6a58;
    text-decoration: none;
    border-bottom: 1px solid #ddd5c2;
}

.page-checkout .Content h2 a:hover { color: #4b0d0d; border-bottom-color: #4b0d0d; }

/* ---------- the section subheads ---------- */

.page-checkout .Content .SectionHeader {
    margin: clamp(24px, 3vw, 34px) 0 12px !important;
    padding: 0 0 8px;
    background: none;
    border: 0;
    border-bottom: 1px solid #ece5d6;
    font-family: var(--gto-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-checkout .Content .SectionHeader:first-of-type { margin-top: 0 !important; }

/* ---------- the field tables ---------- */

/* Every step lays its fields out in a 2011 table with the name in a
   td.TableRowLabel beside the input. Turned into stacked rows - label above
   field, one field per line - which is the same treatment sign up got, and
   what a form on a phone needs anyway. The label cells carry inline widths,
   so those need !important.

   The Order Details basket is excluded: it is a real table of data and the
   cart's rules style it. */
.page-checkout .Content table:not(.gridview):not(#AddCartItemAdmin),
.page-checkout .Content table:not(.gridview):not(#AddCartItemAdmin) > tbody,
.page-checkout .Content table:not(.gridview):not(#AddCartItemAdmin) > tbody > tr,
.page-checkout .Content table:not(.gridview):not(#AddCartItemAdmin) > tbody > tr > td {
    display: block;
    width: auto !important;
    padding: 0;
    border: 0;
}

.page-checkout .Content table:not(.gridview):not(#AddCartItemAdmin) {
    max-width: 560px;
    margin: 0;
    border-collapse: collapse;
}

.page-checkout .Content table:not(.gridview):not(#AddCartItemAdmin) > tbody > tr {
    margin: 0 0 14px;
}

/* The field name, which is a table cell rather than a label element - the
   platform's forms have none, so the cell is styled as one. `table td` is
   matched with the same :not(.gridview) the generic cell rule below uses,
   plus the class - otherwise the two tie at (0,3,2) and the cell rule, being
   later in the file, takes the colour and the size back. */
.page-checkout .Content table:not(.gridview) td.TableRowLabel {
    margin: 0 0 5px;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
    text-align: left !important;
}

/* The platform writes widths inline on most of these inputs, and the shared
   field rule is `.page input[type="text"].TextBox` - an attribute selector
   counts as a class, so that rule is (0,3,1) and a plain
   `.page-checkout .Content .TextBox` at (0,3,0) quietly loses to it. Every
   width override on this page therefore names the element and the
   attribute too. */
.page-checkout .Content input[type="text"].TextBox,
.page-checkout .Content input[type="password"].TextBox,
.page-checkout .Content textarea.TextBox {
    width: 100% !important;
    max-width: 360px !important;
}

.page-checkout .Content .DropDownList {
    width: auto !important;
    min-width: 120px;
    max-width: 100%;
}

/* the expiry pair sits on one line */
.page-checkout .Content [id$="ExpireMonth"],
.page-checkout .Content [id$="ExpireYear"] { min-width: 96px; margin-right: 8px; }

/* the security code is three or four characters, so it is sized like one */
.page-checkout .Content input[type="text"][id$="AuthCode"].TextBox {
    width: 96px !important;
    max-width: 96px !important;
}

/* "what is this?" beside the security code, set at 9px in the markup */
.page-checkout .Content td div[style*="font-size:9px"] {
    display: inline !important;
    font-size: 13px !important;
}

.page-checkout .Content td div[style*="font-size:9px"] a,
.page-checkout .Content [id$="ShipPhone"] ~ a {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* the notes the platform drops in as bare text: "Billing Name and Address
   needs to match...", "A valid phone number is required for all
   shipments". They are text nodes in a cell or in .Content, so the size
   comes from the container. */
.page-checkout .Content,
.page-checkout .Content table:not(.gridview) td {
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #353b26;
}

/* Validators. They arrive with class ErrorText - SkinFile.skin puts it on
   every validator - and the 2011 stylesheet paints that pure red. Setting
   the class here is enough; the display property is set rather than the
   visibility, so a validator the platform is hiding stays hidden. */
.page-checkout .Content .ErrorText,
.page-checkout .Content span[style*="color:Red"],
.page-checkout .Content span[style*="color: Red"],
.page-checkout .Content [id*="Validator"],
.page-checkout .Content [id$="DiscountCodeMessage"],
.page-checkout .Content [id$="PayPalError"] {
    display: inline-block;
    margin-top: 4px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 13px !important;
    color: #4b0d0d !important;
}

/* the bold in-page notices - the discount reminder, and the panel that says
   there is nothing to check out - are the notice component */
.page-checkout .Content table:not(.gridview) td p[style*="font-weight: bold"],
.page-checkout .Content [id$="CheckoutNotPossible"],
.page-checkout .Content [id$="PayPalCheckMessage"],
.page-checkout .Content #OrderInProgress {
    margin: 0 0 12px !important;
    padding: 12px 16px;
    background: #fbf8f0;
    border-left: 3px solid #cf9313;
    font-family: var(--gto-sans);
    font-weight: 400 !important;
    font-size: 14px;
    line-height: 1.55;
    color: #353b26;
}

.page-checkout .Content [id$="CheckoutNotPossible"] b { font-weight: 400; }

/* ---------- step 2: shipping options ---------- */

/* the ship date's label IS a real label here, the one place on the site
   the platform wrote one */
.page-checkout .Content label.bold {
    display: block;
    margin: 0 0 5px;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-checkout .Content input[type="text"].hasDatePicker {
    width: 220px !important;
    max-width: 220px !important;
}

/* the shipping notice snippet John edits, printed as a literal */
.page-checkout .Content [id$="ltlShippingDetails"] p {
    margin: 0 0 12px;
    max-width: 60ch;
}

/* ---------- step 3: confirm ---------- */

/* the shipping, billing and payment blocks are stacks of labels with <br>
   between them, so they are given the panel's shell to sit in */
.page-checkout .Content [id$="ShippingInformation"] > div[style*="margin-bottom"],
.page-checkout .Content [id$="BillingPanel"],
.page-checkout .Content [id$="PaymentMethod"] {
    display: block;
    max-width: 420px;
    line-height: 1.7;
    color: #353b26;
}

/* the order summary table on step 3: two right-aligned columns of figures,
   with the total set apart. The cells carry align="right" attributes, which
   only an explicit text-align can beat. */
.page-checkout .Content [id$="TrTax"],
.page-checkout .Content [id$="TrDiscount"] { display: table-row; }

.page-checkout .Content .finalCheckoutPrice {
    padding-top: 10px !important;
    border-top: 1px solid #ddd5c2;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(19px, 1.7vw, 23px);
    color: #2b2a20;
    font-variant-numeric: tabular-nums;
}

/* the comments box and the newsletter tick under it */
.page-checkout .Content textarea[id$="UserNote"] {
    width: 100% !important;
    max-width: 560px !important;
    min-height: 96px;
    resize: vertical;
}

.page-checkout .Content [id$="newsletterSignup"] label,
.page-checkout .Content label:has(input[type="checkbox"]) {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: #353b26;
}

.page-checkout .Content input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #64694c;
}

/* ---------- the buttons ---------- */

/* Continue on steps 1 and 2, Place Order on step 3: one primary per page,
   in the palette's red, and it is the widest thing in the form column so it
   cannot be missed. */
.page-checkout .Content [id$="Continue"],
.page-checkout .Content [id$="Order"] {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: clamp(22px, 2.6vw, 32px) 0 0 !important;
    padding: 14px 18px !important;
    background: #dd3e2e !important;
    border: 0 !important;
    color: #f3e3c0 !important;
    font-size: 18px !important;
}

.page-checkout .Content [id$="Continue"]:hover,
.page-checkout .Content [id$="Order"]:hover { background: #4b0d0d !important; }

/* Validate Code sits beside a field and is a step on the way, so it is the
   quiet variant. The inline margin-left in the markup is kept. */
.page-checkout .Content [id$="DiscountCodeC"] ~ input[type="submit"] {
    background: #fbf8f0 !important;
    border: 1px solid #64694c !important;
    color: #64694c !important;
}

.page-checkout .Content [id$="DiscountCodeC"] ~ input[type="submit"]:hover {
    background: #64694c !important;
    color: #f3e3c0 !important;
}

/* step 3's place-order block is right aligned in the markup; the button is
   the only thing in it, so the alignment comes back to the left with the
   rest of the form */
.page-checkout .Content > div[style*="text-align: right"] { text-align: left !important; }

/* ---------- narrow ---------- */

@media (max-width: 600px) {
    .page-checkout .Content input[type="text"].TextBox,
    .page-checkout .Content textarea.TextBox,
    .page-checkout .Content textarea[id$="UserNote"] { max-width: none !important; }

    .page-checkout .Content [id$="Continue"],
    .page-checkout .Content [id$="Order"] { max-width: none; }

    .page-checkout .Content h2 { font-size: 12px; letter-spacing: 0.08em; }
}

/* The country and state pickers are not asp:DropDownLists - they are the
   platform's own CountryDropDownList and USStateDropDownList - so
   SkinFile.skin never puts .DropDownList on them and the shared field rules
   miss them entirely. They were still 2011 selects on an otherwise designed
   form. Matched on the element, inside this page only. */
.page-checkout .Content select {
    box-sizing: border-box;
    width: auto !important;
    min-width: 200px;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 42px 11px 14px;
    background-color: #fbf8f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2364694c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    border: 1px solid #b9b19a;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: #353b26;
    cursor: pointer;
    transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.page-checkout .Content select:hover { border-color: #8d846c; }

.page-checkout .Content select:focus {
    outline: none;
    border-color: #64694c;
    box-shadow: 0 0 0 3px rgba(100, 105, 76, 0.22);
}

/* the expiry pair and the two-character month stay narrow */
.page-checkout .Content select[id$="ExpireMonth"],
.page-checkout .Content select[id$="ExpireYear"] { min-width: 110px; }

/* the shipping service picker on step 2 and the basket's own selects run the
   width of the column they sit in */
.page-checkout .Content select[id$="ShipService"] { width: 100% !important; max-width: 420px; }

/* =========================================================================
   MY ACCOUNT - /User/Default.aspx
   -------------------------------------------------------------------------
   RESTYLE ONLY, like the cart, the wish list and the checkout: CSS against
   the platform's markup, no band, no snippets, no script, nothing changed
   on the server. Interior.master.cs sets the page-account class and nothing
   else. The masthead was already suppressed here - "/user/" has been on the
   list since the interior shell was built.

   The page is four separate concerns in four 2011 tables, each with an
   inline border where a divider was wanted: the sign-in email (an asp:Login
   with a LayoutTemplate), the newsletter subscription, the shipping
   address, the billing address, and a change-password panel after them. So
   the design the direction asked for - "panels in a two-up grid at 768+,
   each panel one concern" - is reachable without moving anything: each
   table becomes a card, and the wrapper they already sit in becomes the
   grid.

   The field treatment is the checkout's, and for the same reasons: labels
   are td.TableRowLabel rather than label elements, the shared field rule is
   `.page input[type="text"].TextBox` at (0,3,1) so widths must name the
   element and the attribute, and validators carry class ErrorText.

   What this cannot reach, for the record:
     - the page has NO h1: "My Account" is a plain div, styled as the
       heading (item 23b)
     - "subscribe to newsletter", "Billing same as Shipping" and the
       confirmation notices are copy inside a platform page, so they are not
       editable (item 23o)
     - the newsletter tick writes to the same subscription the footer's
       Sign Up button points at, which still has no working backend
       (item 23l)
   ========================================================================= */

.page-account .ContentHeader {
    margin: 0 0 clamp(18px, 2.2vw, 28px);
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(34px, 4.8vw, 69px);
    line-height: 1.04;
    color: #64694c;
}

.page-account .Content {
    padding: 0;
    max-width: 1000px;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #353b26;
}

/* ---------- four concerns, four cards ---------- */

/* the two-up grid at 1000px and up. The tables are already siblings inside
   the platform's own panel div, so the grid goes on that: sign-in email and
   newsletter on the first row, the two addresses side by side on the
   second. */
@media (min-width: 1000px) {
    .page-account .Content > div:first-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(16px, 2vw, 24px);
        align-items: start;
    }
}

/* the card itself. The inline border-top and border-bottom in the markup
   can only be beaten with !important. */
.page-account .Content > div > table {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 0 clamp(16px, 2vw, 24px) !important;
    padding: clamp(18px, 2vw, 26px) !important;
    background: #fff;
    border: 1px solid #ddd5c2 !important;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.08);
    border-collapse: collapse;
}

@media (min-width: 1000px) {
    /* inside the grid a card fills its column */
    .page-account .Content > div:first-child > table { max-width: none; margin-bottom: 0 !important; }

    /* the change-password panel is a sibling of the grid, not a cell in it,
       so it keeps a readable width and sits below. It renders only for
       accounts the platform lets change a password - not, for instance, for
       the superadmin login - so this is written from the markup rather than
       verified in the browser. */
    .page-account .Content > [id$="ChangePasswordPnl"] > table,
    .page-account .Content > [id$="Result"] { max-width: 560px; margin-top: clamp(16px, 2vw, 24px) !important; }
}

/* every table on the page - the cards and the country/state box nested
   inside them - lays out as blocks, so each row is a label above its
   field */
.page-account .Content table,
.page-account .Content tbody,
.page-account .Content tr,
.page-account .Content td {
    display: block;
    width: auto !important;
    padding: 0;
    border: 0;
    text-align: left !important;
}

.page-account .Content tr { margin: 0 0 14px; }
.page-account .Content tr:last-child { margin-bottom: 0; }

/* the section heading inside its cell */
.page-account .Content .SectionHeader {
    margin: 0 0 14px !important;
    padding: 0 0 8px;
    background: none;
    border: 0;
    border-bottom: 1px solid #ece5d6;
    font-family: var(--gto-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-account .Content .userDefaultTitles { margin-bottom: 4px; }

/* ---------- fields ---------- */

.page-account .Content table td.TableRowLabel {
    margin: 0 0 5px;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
}

/* the shared field rule names an attribute, which counts as a class, so
   every width override here has to name the element and the attribute too */
.page-account .Content input[type="text"].TextBox,
.page-account .Content input[type="password"].TextBox {
    width: 100% !important;
    max-width: 360px !important;
}

.page-account .Content select {
    box-sizing: border-box;
    width: auto !important;
    min-width: 200px;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 42px 11px 14px;
    background-color: #fbf8f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2364694c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    border: 1px solid #b9b19a;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 16px;
    color: #353b26;
    cursor: pointer;
}

.page-account .Content select:hover { border-color: #8d846c; }

.page-account .Content select:focus {
    outline: none;
    border-color: #64694c;
    box-shadow: 0 0 0 3px rgba(100, 105, 76, 0.22);
}

/* validators, which arrive with class ErrorText from the skin file */
.page-account .Content .ErrorText,
.page-account .Content [id$="LoginAlreadyExists"],
.page-account .Content [id$="UpdateUsernameError"],
.page-account .Content [id$="UpdatePasswordMessage"] {
    display: inline-block;
    margin-top: 4px;
    font-family: var(--gto-sans);
    font-weight: 400;
    font-size: 13px !important;
    color: #4b0d0d !important;
}

/* the tick boxes, and the notes the platform writes at 10px */
.page-account .Content input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 8px 0 0;
    vertical-align: -4px;
    accent-color: #64694c;
}

.page-account .Content span[style*="font-size: 10px"],
.page-account .Content [id$="SubscriptionNote"],
.page-account .Content [id$="SubscribedNoticeUsernameUpdate"],
.page-account .Content [id$="SubscriptionStatus"] {
    font-size: 13px !important;
    line-height: 1.55;
    color: #6d6a58;
}

/* ---------- buttons ---------- */

/* Nothing on this page is a purchase, so there is no red: every button
   here is a save. Apply and Change Password are the green secondary, the
   small in-line ones (Edit, the newsletter Update, Cancel) are quiet. */
.page-account .Content input[type="submit"] {
    margin: 0 !important;
    background: #64694c !important;
    border: 1px solid #64694c !important;
    color: #f3e3c0 !important;
}

.page-account .Content input[type="submit"]:hover {
    background: #353b26 !important;
    border-color: #353b26 !important;
}

.page-account .Content [id$="UpdateUsername"],
.page-account .Content [id$="SetSubscriptionBtn"],
.page-account .Content [id$="CancelUpdateUsername"] {
    background: #fbf8f0 !important;
    border: 1px solid #64694c !important;
    color: #64694c !important;
}

.page-account .Content [id$="UpdateUsername"]:hover,
.page-account .Content [id$="SetSubscriptionBtn"]:hover,
.page-account .Content [id$="CancelUpdateUsername"]:hover {
    background: #64694c !important;
    color: #f3e3c0 !important;
}

/* Edit sits beside the email field rather than under it */
.page-account .Content [id$="UserName"] + [id$="UpdateUsername"] { margin-left: 10px !important; }

/* the inline margin the markup puts on Cancel */
.page-account .Content [id$="CancelUpdateUsername"] { margin-left: 12px !important; }

/* ---------- the saved confirmation ---------- */

/* the panel that replaces the form after a save. Its Continue is a
   LinkButton carrying .Buttons plus inline colour, so the colour needs
   !important to move. */
.page-account .Content [id$="Result"] {
    max-width: 560px;
    padding: clamp(18px, 2vw, 26px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.08);
}

.page-account .Content [id$="Result"] p { margin: 0; }

.page-account .Content [id$="Result"] a.Buttons {
    background: #64694c !important;
    border: 1px solid #64694c !important;
    color: #f3e3c0 !important;
}

.page-account .Content [id$="Result"] a.Buttons:hover {
    background: #353b26 !important;
    border-color: #353b26 !important;
}

/* =========================================================================
   SIGN IN - /Login.aspx
   -------------------------------------------------------------------------
   RESTYLE ONLY: CSS against the platform's markup, no band, no snippets, no
   script. Interior.master.cs sets the page-login class and nothing else.
   The masthead was already suppressed here.

   Task archetype at its smallest: one panel, two fields, one button. The
   page also holds three things that are hidden until something happens - a
   "checkout without an account" link when the visitor came from the cart,
   a password recovery block that jQuery animates in, and a failure
   message - so all three are styled even though only the form shows on a
   first visit.

   No h1: "Login" is a plain div, styled as the heading (item 23b).
   ========================================================================= */

.page-login .ContentHeader {
    margin: 0 0 clamp(16px, 2vw, 24px);
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.06;
    color: #64694c;
}

.page-login .Content {
    max-width: 460px;
    padding: 0;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #353b26;
}

/* the panel. The platform indents this block 30px inline, which is a 2011
   way of grouping and reads as a mistake next to a card. */
.page-login .Content [id$="Login2"] {
    margin: 0 !important;
    padding: clamp(20px, 2.4vw, 30px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

/* the two fields arrive in a table with the name beside the box and the
   validator in a third column */
.page-login .Content table,
.page-login .Content tbody,
.page-login .Content tr,
.page-login .Content td {
    display: block;
    width: auto !important;
    padding: 0;
    border: 0;
    text-align: left !important;
}

.page-login .Content tr { margin: 0 0 14px; }
.page-login .Content tr:last-child { margin-bottom: 0; }

.page-login .Content table td.TableRowLabel {
    margin: 0 0 5px;
    font-weight: 500;
    font-size: 12px !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
}

/* the shared field rule names an attribute, so a width override has to name
   the element and the attribute too */
.page-login .Content input[type="text"].TextBox,
.page-login .Content input[type="password"].TextBox {
    width: 100% !important;
    max-width: none !important;
}

.page-login .Content [id$="LoginButton"] {
    display: block;
    width: 100%;
    margin: 4px 0 0 !important;
    padding: 13px 18px !important;
    background: #64694c !important;
    border: 1px solid #64694c !important;
    color: #f3e3c0 !important;
    font-size: 17px !important;
}

.page-login .Content [id$="LoginButton"]:hover {
    background: #353b26 !important;
    border-color: #353b26 !important;
}

/* "Forgot Password?" sits under the password box, and "Remember me next
   time" beside its tick */
.page-login .Content a[onclick*="ShowPasswordRecovery"] {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #6d6a58;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-login .Content a[onclick*="ShowPasswordRecovery"]:hover { color: #4b0d0d; }

.page-login .Content input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 8px 0 0;
    vertical-align: -4px;
    accent-color: #64694c;
}

/* the failure message, which the platform centres in red inside a cell */
.page-login .Content td[style*="color: red"],
.page-login .Content .ErrorText,
.page-login .Content [id$="GeneralError"],
.page-login .Content [id$="ErrorMsg"] {
    font-weight: 400;
    font-size: 14px !important;
    color: #4b0d0d !important;
}

.page-login .Content [id$="Success"] { color: #4a6b2f !important; font-size: 14px !important; }

/* "Not a member yet?" - the platform's own section header in a 350px div */
.page-login .Content [id$="Login2"] > div[style*="width: 350px"] {
    width: auto !important;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #ece5d6;
}

.page-login .Content .SectionHeader {
    margin: 0 0 6px !important;
    padding: 0;
    background: none;
    border: 0;
    font-family: var(--gto-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-login .Content a {
    color: #4b0d0d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-login .Content a:hover { color: #dd3e2e; }

/* the anonymous checkout offer and the "----- OR -----" divider the
   platform prints when a visitor arrives here from the cart */
.page-login .Content [id$="AnonymousCheckout"] { margin-bottom: 18px; }
.page-login .Content [id$="AnonymousCheckout"] br { display: none; }

.page-login .Content [id$="AnonymousCheckout"] p {
    margin: 0 0 8px !important;
    font-size: 15px !important;
}

.page-login .Content [id$="AnonymousCheckout"] p:last-child {
    margin: 0 0 4px !important;
    font-size: 12px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a49c86;
}

/* the password recovery block, animated in by the page's own jQuery. The
   slide-to-unlock plugin's own markup is left alone. */
.page-login .Content #PasswordRecoveryContainer {
    padding: clamp(20px, 2.4vw, 30px);
    background: #fff;
    border: 1px solid #ddd5c2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(43, 42, 32, 0.1);
}

.page-login .Content #PasswordRecoveryContainer p { margin: 0 0 12px; }

.page-login .Content #PasswordRecoveryContainer .TextBox { width: 100% !important; }

.page-login .Content [id$="SubmitPasswordRecover"] {
    background: #64694c !important;
    border: 1px solid #64694c !important;
    color: #f3e3c0 !important;
    margin-right: 12px !important;
}

.page-login .Content [id$="SubmitPasswordRecover"]:hover {
    background: #353b26 !important;
    border-color: #353b26 !important;
}

/* =========================================================================
   ORDER RECEIPT - /User/OrderReceipt.aspx
   -------------------------------------------------------------------------
   RESTYLE ONLY. This is what a customer sees after paying, and what "View"
   on Your Orders opens, so it is the one page here that gets read twice.

   Its table is a different GridView from the cart's - Code, Quantity, Item,
   Image, Price, Total - so it gets its own column rules rather than the
   shared ones, which are written to the cart's order.

   TWO h1s, and CSS cannot fix that: OrderReceipt.aspx prints "Order
   receipt" and the control below it prints "Order Number 1234". The second
   is the useful one. Recorded with item 23b.
   ========================================================================= */

.page-receipt .Content,
.page-receipt .page-inner > h1 {
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: #353b26;
}

/* the page's own title, and the control's - set as an eyebrow over a
   heading, which is the closest CSS can get to the one-heading page this
   should be */
.page-receipt .page-inner > h1 {
    margin: 0 0 2px;
    font-family: var(--gto-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 27px);
    color: #cf9313;
}

.page-receipt .Content h1 {
    margin: 0 0 clamp(16px, 2vw, 24px);
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.06;
    color: #64694c;
}

.page-receipt .Content { max-width: 900px; padding: 0; }

/* status, and the shipping and billing blocks */
.page-receipt .Content [id$="StatusLabel"],
.page-receipt .Content [id$="Status"] { font-size: 15px; }
/* the status is neutral, not green: it says "Not paid" as often as
   anything else, and green on that reads as reassurance */
.page-receipt .Content [id$="Status"] { font-weight: 500; color: #2b2a20; }

.page-receipt .Content .SectionHeader {
    margin: clamp(22px, 2.6vw, 30px) 0 10px !important;
    padding: 0 0 8px;
    background: none;
    border: 0;
    border-bottom: 1px solid #ece5d6;
    font-family: var(--gto-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

/* the two summary tables are layout, one cell per fact */
.page-receipt .Content > table,
.page-receipt .Content > table > tbody,
.page-receipt .Content > table > tbody > tr,
.page-receipt .Content > table > tbody > tr > td {
    display: block;
    width: auto !important;
    padding: 0;
    border: 0;
}

.page-receipt .Content > table > tbody > tr { margin: 0 0 10px; }

.page-receipt .Content > table b {
    display: block;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8f5f0a;
}

/* ---------- the line items ---------- */

.page-receipt .Content table.gridview {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-family: var(--gto-sans);
}

.page-receipt .Content table.gridview th,
.page-receipt .Content table.gridview th a {
    padding: 0 14px 10px 0 !important;
    background: none !important;
    border: 0;
    border-bottom: 2px solid #64694c;
    text-align: left;
    vertical-align: bottom;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64694c !important;
    white-space: nowrap;
}

.page-receipt .Content table.gridview td {
    padding: 12px 14px 12px 0;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #ddd5c2;
    font-weight: 300;
    font-size: 16px;
    color: #353b26;
}

/* Code, Quantity, Item, Image, Price, Total - the item name is the row's
   identity, and the three figures line up on the right */
.page-receipt .Content table.gridview td:first-child {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #6d6a58;
}

.page-receipt .Content table.gridview td:nth-child(3) {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: 19px;
    color: #2b2a20;
}

.page-receipt .Content table.gridview th:nth-child(2),
.page-receipt .Content table.gridview td:nth-child(2),
.page-receipt .Content table.gridview th:nth-child(5),
.page-receipt .Content table.gridview td:nth-child(5),
.page-receipt .Content table.gridview th:nth-child(6),
.page-receipt .Content table.gridview td:nth-child(6) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.page-receipt .Content table.gridview td:last-child { padding-right: 0; }

.page-receipt .Content .orderThumbnailImage img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: 8px;
}

/* the totals table under the items, which the platform floats right with
   align attributes */
.page-receipt .Content [align="right"] { text-align: right; }

.page-receipt .Content table[align="right"] {
    margin-top: 14px;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.page-receipt .Content table[align="right"] td { padding: 6px 0 6px 24px; border: 0; }

.page-receipt .Content .finalCheckoutPrice {
    padding-top: 10px !important;
    border-top: 1px solid #ddd5c2 !important;
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: clamp(19px, 1.7vw, 23px);
    color: #2b2a20;
}

/* Print Order and Home Page: both are quiet, because the order is already
   placed and there is nothing on this page to push */
.page-receipt .Content input[type="button"].Buttons {
    background: #fbf8f0 !important;
    border: 1px solid #64694c !important;
    color: #64694c !important;
    margin-top: clamp(18px, 2vw, 26px) !important;
}

.page-receipt .Content input[type="button"].Buttons:hover {
    background: #64694c !important;
    color: #f3e3c0 !important;
}

/* the panel shown to somebody who is not signed in */
.page-receipt .Content[id$="ErrorPanel"],
.page-receipt [id$="ErrorPanel"].Content {
    max-width: 560px;
    padding: clamp(20px, 2.4vw, 30px) !important;
    background: #fbf8f0;
    border-left: 3px solid #cf9313;
}

/* what a printed receipt should be: the page, and nothing around it */
@media print {
    .page-receipt ~ .site-footer,
    .site-header,
    .page-banner,
    .site-edit-layer { display: none !important; }

    .page-receipt .Content input[type="button"].Buttons { display: none !important; }
    .page-receipt .Content table.gridview th { border-bottom-color: #000; }
}

/* =========================================================================
   SITEMAP - /sitemap.aspx
   -------------------------------------------------------------------------
   RESTYLE ONLY. A bare list of every page and product - 67 links today. It
   is a utility page, so the only thing it owes anybody is being quick to
   scan: the lists go into columns and the two h2s become the same gold caps
   label the rest of the site uses.

   No h1: "Sitemap" is a plain div, styled as the heading (item 23b).
   ========================================================================= */

.page-sitemap .ContentHeader {
    margin: 0 0 clamp(16px, 2vw, 24px);
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gto-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.06;
    color: #64694c;
}

.page-sitemap .Content { padding: 0; }

.page-sitemap #sitemap h2 {
    margin: clamp(22px, 2.6vw, 32px) 0 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid #ece5d6;
    font-family: var(--gto-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f5f0a;
}

.page-sitemap #sitemap ul {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 3 220px;
    column-gap: clamp(20px, 2.4vw, 34px);
}

.page-sitemap #sitemap li {
    margin: 0 0 7px;
    padding: 0;
    break-inside: avoid;
    font-family: var(--gto-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.5;
}

.page-sitemap #sitemap a {
    color: #353b26;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.page-sitemap #sitemap a:hover {
    color: #4b0d0d;
    border-bottom-color: #ddd5c2;
}

.page-sitemap #sitemap ul.home { columns: auto; margin-bottom: 4px; }

.page-sitemap #sitemap ul.home a {
    font-family: var(--gto-serif);
    font-size: 19px;
    color: #64694c;
}

/* =========================================================================
   PRODUCT PRINT SHEET - /Products-Printing.aspx
   -------------------------------------------------------------------------
   RESTYLE ONLY. A staff page: every product in one long list, meant for
   paper.

   Two things to know before touching it. It renders the same ProductThumb
   control the catalog does, so without a class of its own it was picking up
   `page-catalog` and printing 52 shopfront cards; Interior.master.cs gives
   it `page-print` and the PreRender catalog check now leaves it alone.
   And its markup is NOT the catalog's: there is no .Content wrapper and no
   .ProductCard class here - each product is a bare <table> straight inside
   .page-inner, because the page never had the grid the listing puts around
   them. Every selector below matches that.

   The catalog band still renders its eyebrow and heading here, since it
   recognises the product listing rather than the page. Hidden in CSS: an
   "Artisan Quality" masthead does not belong on a picking list, and hiding
   it needs no change to which pages the band serves.
   ========================================================================= */

.page-print .catalog-head,
.page-print .site-edit-layer,
.page-print .clearfloat { display: none !important; }

/* one product, one line */
.page-print .page-inner > table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ddd5c2 !important;
    background: none !important;
    box-shadow: none !important;
    border-collapse: collapse;
    break-inside: avoid;
    font-family: var(--gto-sans);
}

.page-print .page-inner > table,
.page-print .page-inner > table > tbody,
.page-print .page-inner > table > tbody > tr,
.page-print .page-inner > table > tbody > tr > td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left !important;
}

.page-print .page-inner > table > tbody > tr > td { width: auto !important; }

/* the picture, the weight picker and the buy button are shopfront
   furniture; a print sheet wants the name and the price */
.page-print .page-inner > table img,
.page-print .page-inner > table select,
.page-print .page-inner > table input[type="submit"],
.page-print .page-inner > table .catalog-option-label { display: none !important; }

.page-print .page-inner > table a {
    font-family: var(--gto-serif);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #2b2a20;
    text-decoration: none;
}

.page-print .page-inner > table .ProductPrice,
.page-print .page-inner > table .ProductPriceDiscounted {
    font-weight: 300;
    font-size: 14px;
    color: #6d6a58;
    font-variant-numeric: tabular-nums;
}

/* the description the print sheet prints under some products */
.page-print .page-inner > table td {
    font-weight: 300;
    font-size: 13px;
    line-height: 1.45;
    color: #6d6a58;
}

@media (min-width: 700px) {
    .page-print .page-inner { columns: 3 240px; column-gap: 30px; }
}

@media print {
    .site-header,
    .site-footer,
    .page-banner,
    .site-edit-layer { display: none !important; }

    .page-print .page-inner { columns: 2 auto; column-gap: 24px; padding: 0 !important; }
    .page-print .page-inner > table { padding: 4px 0 !important; }
    .page-print .page-inner > table a { font-size: 12px; }
    .page-print .page-inner > table td { font-size: 10px; }
}

/* Each product's cell still carries the divs the shopfront card used for
   the price and the weight picker, with the card's spacing on them, which
   left 116px rows of mostly air once the picture and the button were out.
   Collapsed to the text that is left. */
.page-print .page-inner > table td div,
.page-print .page-inner > table td p {
    margin: 0 !important;
    padding: 0 !important;
}

.page-print .page-inner > table td div:empty,
.page-print .page-inner > table td p:empty,
.page-print .page-inner > table td:empty { display: none !important; }

/* the price sits at the right of the row, on the same line as the name */
.page-print .page-inner > table .ProductPrice,
.page-print .page-inner > table .ProductPriceDiscounted { margin-left: 6px; }

/* The card's two <br>s sat between the weight picker and the buy button.
   With both hidden they were 38px of nothing per product, which is a page
   and a half of paper across 52 of them. */
.page-print .page-inner > table td br { display: none !important; }

/* bullet-free list, carried over from the 2011 theme.
   .page .Content ul (around line 2098) is more specific than a bare .lr,
   so the content selector is repeated here to win inside page content. */
.lr,
.page .Content ul.lr {
    list-style: none;
    margin: 0;
    padding-left: 0;
}