/*
 * Piazza's Fine Foods storefront skin.
 *
 * Recolours only: layout stays in the structural stylesheet. Read from the
 * Piazzas_18 theme in the 2026-09-29 TERMINA backup (_css/vars.less,
 * styles.css, ordering.css) and Logan's 2026-10-05 capture of
 * piazzaslovesfood.com/ordering/holidays/:
 *
 *   header      white, 5px black top rule, uppercase nav, black dropdowns,
 *               the red (#c30f16) "Order Your Holiday Meal" button;
 *   holiday nav green (#678446) band of black buttons with white text;
 *   product box centred, uppercase brown (#804c1f) name, Barlow Condensed
 *               contents, white "Add to cart" lifted on a shadow that fills
 *               black on hover;
 *   notices     #b30000 semibold;
 *   footer      light grey (#e6e7e8), Lato.
 *
 * The file name must keep "piazzas-ordering": that is what switches on their
 * header and footer (App\Storefront\SiteChrome::presetFor).
 */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;700&family=Lato:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --evergreen: #678446;
    --evergreen-deep: #4e6634;
    --sage: #f3f5f0;
    --cream: #ffffff;
    --paper: #ffffff;
    --cranberry: #b30000;
    --gold: #804c1f;
    --ink: #231f20;
    --muted: #414042;
    --line: #d1d2d4;
    --shadow: 0 10px 28px rgba(35, 31, 32, .12);
    --includes-row: #f3f5f0;
    --includes-head: #e6e7e8;
}

body,
button,
input,
select,
textarea {
    font-family: "Open Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

body { color: #231f20; background: #ffffff; }

h1, h2, h3, h4,
.hero h1,
.section-heading h2 {
    font-family: "Barlow Condensed", "Open Sans", sans-serif !important;
    color: #231f20;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Header: piazzas .header, .header-navigation-section ---- */
.site-header {
    color: #231f20;
    background: #ffffff;
    border-top: 5px solid #000000;
    border-bottom: 1px solid var(--line);
}
.site-header a,
.site-header .ordering-label { color: inherit; }
.brand-logo { max-height: 52px; }
.ordering-label { color: #414042; }

.site-nav-item > a {
    padding: .45rem .45rem .35rem;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.site-nav-item:hover > a,
.site-nav-item:focus-within > a { border-bottom-color: #000000; }
.site-nav-item > a:focus-visible { outline: 2px solid #000000; outline-offset: 2px; }

/* Their red holiday button: white on #c30f16 (5.9:1); white with black text
   and a black underline on hover, as their .holiday-btn does. */
.site-nav-item.is-emphasis > a {
    color: #ffffff;
    background: #c30f16;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    border-top: 2px solid transparent;
}
.site-nav-item.is-emphasis:hover > a,
.site-nav-item.is-emphasis:focus-within > a {
    color: #000000;
    background: #ffffff;
    border-bottom-color: #000000;
}

.site-nav-list { gap: 0; }
.site-nav-sub { background: #000000; }
.site-nav-sub li a { padding: .8rem 1rem; color: #ffffff; white-space: nowrap; }
.site-nav-sub li a:hover,
.site-nav-sub li a:focus-visible { text-decoration: underline; outline: 3px solid #ffffff; outline-offset: -3px; }

.site-nav-icon > a,
.footer-icon > a {
    display: block;
    width: 26px;
    height: 26px;
    background: center / contain no-repeat;
}
.site-nav-icon--facebook > a,
.footer-icon--facebook > a { background-image: url('/images/piazzas-icon-facebook.png'); }
.site-nav-icon--instagram > a,
.footer-icon--instagram > a { background-image: url('/images/piazzas-icon-instagram.png'); }
.site-nav-icon-label,
.footer-icon-label {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
.site-nav-toggle-bars,
.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after { background: #000000; }

@media (max-width: 1023px) {
    .site-header--chrome .site-nav { background: #ffffff; }
}

/* The cart control sits in their white header. */
.cart-jump { color: #231f20; background: #ffffff; border: 1px solid #231f20; }
.cart-jump:hover,
.cart-jump:focus-visible { color: #ffffff; background: #000000; }
.cart-jump .cart-count { color: #ffffff; background: #c30f16; }

/* ---- Hero: white, their brown headline ---- */
.hero {
    color: #231f20;
    background: #ffffff;
    border-bottom: 0;
}
.hero::after { content: none; }
.hero h1 { color: #804c1f; }
.eyebrow { color: #678446; }
.hero-copy { color: #414042; }
.intro-copy { color: #231f20; }
.intro-disclaimer { color: #b30000; font-weight: 600; }

/* ---- Holiday nav: the green band of black buttons ---- */
.category-band { background: #678446; }
.category-band .filter-button,
.filter-button {
    color: #ffffff;
    background: #000000;
    border: 1px solid #000000;
    border-radius: 0;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}
.category-band .filter-button:hover,
.category-band .filter-button.active,
.filter-button:hover,
.filter-button.active { color: #000000; background: #ffffff; border-color: #ffffff; }
.category-band .filter-button:focus-visible,
.filter-button:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* ---- Product box: piazzas .product_box ---- */
.product-card { text-align: center; }
.product-name,
.product-info-name {
    color: #804c1f;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.product-description,
.product-includes {
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.05rem;
    letter-spacing: .5px;
}
.product-includes th { color: #231f20; }
.product-price {
    color: #231f20;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
}
.product-call-heading {
    color: #000000;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.product-call-phone { color: #231f20; }
.product-soldout-note { color: #b30000; font-weight: 700; text-transform: uppercase; }

/* Their .product_add_to_cart: white, lifted on a shadow, black on hover. */
.primary-button.add-order-button {
    color: #000000;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 13px -7px #000000, 0 0 10px 7px rgba(255, 255, 255, .09);
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
.primary-button.add-order-button:hover,
.primary-button.add-order-button:focus-visible { color: #ffffff; background: #000000; border-color: #000000; }
.primary-button.add-order-button:focus-visible { outline: 2px solid #000000; outline-offset: 3px; }
.primary-button.add-order-button:disabled,
.primary-button.add-order-button:disabled:hover {
    color: #585e64;
    background: #e9ecef;
    border-color: #ced4da;
    box-shadow: none;
    cursor: not-allowed;
}
.product-actions input { border: 1px solid #231f20; border-radius: 2px; }
.product-added { color: #231f20; }
.product-added-link { color: #804c1f; font-weight: 700; }

/* Checkout: their green as the one filled call to action (white 4.6:1). */
.primary-button { color: #ffffff; background: #4e6634; border: 1.5px solid #4e6634; }
.primary-button:hover,
.primary-button:focus-visible { background: #000000; border-color: #000000; }
.primary-button:focus-visible { outline: 2px solid #4e6634; outline-offset: 2px; }
.primary-button:disabled,
.primary-button:disabled:hover { color: #585e64; background: #e9ecef; border-color: #ced4da; }
.cart-header { color: #ffffff; background: #4e6634; }
.cart-header h2 { color: #ffffff; }

/* ---- Footer: piazzas .footer ---- */
.footer {
    color: #231f20;
    background: #e6e7e8;
    border-top: 0;
    font-family: "Lato", "Open Sans", sans-serif;
}
.footer a { color: #231f20; }
.footer-chrome { padding: 2.5rem 1rem 1.5rem; }
.footer-column > ul > li,
.footer-sub li { padding: .2rem 0; font-size: 15px; }
.footer-heading {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-column--icons > ul { display: flex; gap: .75rem; }
.footer-copyright { margin-top: 1.5rem; font-size: 13px; text-align: center; }
.footer-copyright a { color: #000000; text-decoration: none; }

/* =========================================================================
 * FULL WIDTH, as Bianchini's (Logan, 2026-10-05: "the same way as the
 * bianchinis is with the cart not taking up the main space"). The cart
 * column leaves the flow and slides over the page from the "Your order"
 * link's :target; the products get the width, three to a row like their
 * product boxes. Same rules as bianchinis-ordering.css's FULL WIDTH block.
 * ========================================================================= */
.order-layout { grid-template-columns: minmax(0, 1fr); }


.cart-card {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(26rem, 92vw);
    max-height: none;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: -18px 0 48px rgba(35, 31, 32, .18);
    transform: translateX(102%);
    transition: transform .22s ease;
}
.cart-card:target { transform: translateX(0); }
.cart-close {
    display: block;
    margin-left: auto;
    padding: 0 .35rem;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
}
.product-actions { gap: .75rem; align-items: stretch; }
.product-actions button { white-space: normal; }
.cart-header { gap: .75rem; }

/* =========================================================================
 * THEIR 2025 PAGE, NOT A CARD WALL (Logan, 2026-10-05: "stay the exact same
 * layout as last year ... remove the border and drop shadow around each
 * item"). Their product boxes sit straight on the page: no border, no
 * radius, no shadow, no photo well. Same rules as bianchinis-ordering.css.
 * ========================================================================= */

/* The structural photo well is a gold-over-green gradient; their transparent
   PNGs (the Willie Bird bag, the rib roast) showed it through. No well. */
.product-art,
.product-art.has-image {
    min-height: 0;
    background: none;
}
.product-art img {
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

/* No card chrome, and none on the menu section around the cards either. */
.product-card,
.product-card:hover {
    overflow: visible;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: none;
}
.catalog-section {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.product-grid { gap: 2.75rem 2rem; }

/* Their box never named its section: the band says where you are. */
.product-category { display: none; }

/* Their box printed the title once. The options panel repeats the name above
   the description; on this inline layout that is the same title twice. */
.product-info-name { display: none; }

/* ---- Hero: the "Season's Supper" artwork that opened their 2025 page,
        centred on white. The headline stays in the page for screen readers
        and search; the artwork carries the same words. ---- */
.hero:has(.hero-media) { padding: 1.5rem 1rem .5rem; }
.hero-inner:has(.hero-media) {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 0;
}
.hero-inner:has(.hero-media) .hero-copy-panel {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
.hero-media { width: 100%; max-width: 760px; overflow: visible; }
/* The split hero darkens the left of its photo for white text; here the
   artwork IS the hero, on white. */
.hero-media::after { content: none; }
.hero-media img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

/* =========================================================================
 * THE 2025 ROWS (Logan, 2026-10-05). Their page set some boxes across the
 * whole row, some two to a row, the rest three. The width is DATA,
 * settings.storefront.card_spans keyed by product id or slug, so reordering
 * or hiding a product in the admin never shifts another one's width. Six
 * tracks: a third is two, a half three, full the whole row.
 * ========================================================================= */
.product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-grid > .product-card { grid-column: span 2; }
.product-grid > .card-span-half { grid-column: span 3; }
.product-grid > .card-span-full { grid-column: 1 / -1; }
.product-grid > .card-span-full .product-body,
.product-grid > .card-span-full .product-controls {
    width: 100%;
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
}
.product-grid > .card-span-full .product-art img { max-height: 300px; }

@media (max-width: 960px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid > .product-card,
    .product-grid > .card-span-half { grid-column: span 1; }
    .product-grid > .card-span-full { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .product-grid { grid-template-columns: minmax(0, 1fr); }
    .product-grid > .product-card,
    .product-grid > .card-span-half,
    .product-grid > .card-span-full { grid-column: 1 / -1; }
}

/* Their section heading: uppercase, bold, centred, over a green double rule
   (ordering.css h3.full_width + p.holiday_border). */
.product-section-heading {
    padding-top: 1.5rem;
    padding-bottom: .9rem;
    border-bottom: 15px double #678446;
    color: #231f20;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}
.product-grid > .product-section-heading:first-child { padding-top: 0; }
@media (max-width: 767px) {
    .product-section-heading { border-bottom-width: 8px; }
}

/* Their description lines were centred paragraphs, not a bulleted list. */
.product-details { margin: 0; padding: 0; list-style: none; }
.product-details li { margin: 0 0 .35rem; }

/* Their size lines (Logan's 2025 capture): the size in condensed type, a
   bold "QUANTITY:" and a small dropdown on the same line; a size the store
   does not take online reads CALL STORE TO RESERVE LARGER SIZES. in bold. */
.product-size-rows { gap: .55rem; margin: 1rem 0 1.25rem; }
.product-size-row-label {
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.3rem;
    letter-spacing: .5px;
}
.product-size-row-quantity {
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.product-size-row-quantity select {
    min-width: 3.4rem;
    padding: .2rem .4rem;
    color: #231f20;
    background: #ffffff;
    border: 1px solid #767676;
    border-radius: 3px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    letter-spacing: 0;
}
.product-size-row-call {
    color: #000000;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.product-call-store { margin: .15rem 0; color: #231f20; font-weight: 600; }

/* Their "ADD TO CART": as wide as its words with a little padding, centred
   under the sizes -- never the width of the card (Logan, 2026-10-05). */
.product-actions { display: flex; justify-content: center; }
.primary-button.add-order-button {
    width: auto;
    min-width: 0;
    padding: .6rem 1.4rem;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
}

/* =========================================================================
 * 2026 EDITS (Logan, 2026-10-13): "all smaller font should probably be
 * larger this year (quantities, messages under descriptions, dinner package
 * items, etc)", and the dinner contents read as centred lines,
 * "Diestel Turkey (12-14 lbs)", not a grey table.
 * Logan, 2026-10-14: the description was "much smaller than the 'serves'"
 * size lines -- "lets switch that": description 1.45rem, size lines 1.2rem.
 * ========================================================================= */
.product-description,
.product-details li { font-size: 1.45rem; line-height: 1.35; }
.product-size-row-label { font-size: 1.2rem; }
.product-size-row-quantity,
.product-quantity-field label { font-size: 1.3rem; }
.product-size-row-call { font-size: 1.15rem; }

.product-quantity-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.product-quantity-field label {
    margin: 0;
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.product-quantity-field select {
    width: auto;
    flex: 0 0 auto;
    min-width: 3.4rem;
    padding: .2rem .4rem;
    color: #231f20;
    background: #ffffff;
    border: 1px solid #767676;
    border-radius: 3px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
}

/* Contents as their page set them: one centred line per item, the size in
   brackets after it. The table stays in the markup for screen readers. */
.product-includes { width: auto; margin: .5rem auto; border: 0; background: none; }
.product-includes thead { display: none; }
.product-includes tr { display: block; text-align: center; background: none !important; }
.product-includes th,
.product-includes td {
    display: inline;
    padding: 0;
    border: 0;
    background: none !important;
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.45rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: .5px;
}
.product-includes tr > :last-child::before { content: " ("; }
.product-includes tr > :last-child::after { content: ")"; }

/* The words under a section heading; **FIVE** bold and underlined, the
   ingredients link bold black, as their page had it. */
.product-section-intro { margin: -.75rem 0 .5rem; }
.product-section-intro p {
    margin: 0 auto;
    max-width: 52rem;
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.35rem;
    letter-spacing: .5px;
}
.product-section-intro strong { font-weight: 700; text-decoration: underline; }
.product-section-link {
    color: #000000;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}
.product-section-link:hover,
.product-section-link:focus-visible { text-decoration: underline; }

/* Their boxes never showed a running total: price, quantity, Add to Cart. */
.product-total { display: none; }

/* =========================================================================
 * A QUIET ORDER BAR (Logan, 2026-10-13: "remove the 'payments shown at
 * checkout' thing - and make the store chooser more low-key"). No payment
 * box; the store is one centred line - "PICKUP STORE Palo Alto · change
 * store" - with no card, no address block, under the band.
 * ========================================================================= */
.order-slot-fact { display: none; }
.order-bar {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    margin: 0 auto 1rem;
}
#order-slot-location {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .6rem;
    padding: .25rem 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}
#order-slot-location label {
    margin: 0;
    color: #414042;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
#order-slot-location .order-slot-static {
    color: #231f20;
    font-family: "Barlow Condensed", "Open Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}
#order-slot-location select { width: auto; min-width: 12rem; }
#order-slot-location .change-store { font-size: .95rem; }
#order-slot-location .location-meta { display: none; }

/* No "HOLIDAY MENU / Available for pickup at ..." line (Logan, 2026-10-13): the
   band and the store line already say both. */
.catalog-section > .section-heading { display: none; }

/* James Piazza, 2026-10-14: "a bit larger font on items without an image" and
   "even with images: larger font for brown descriptors" -- the brown product
   names. A card with no photo has only its name to carry it, so it gets more. */
.product-name { font-size: 1.85rem; }
.product-card:not(:has(.product-art)) .product-name { font-size: 2.1rem; }

/* "Please include that an order confirmation pops up on the screen after
   clicking submit" (settings.storefront.checkout_note). */
.checkout-note { color: #231f20; font-size: 1.05rem; }
