/* === Pizza Bros Hamilton: product card v2 (client mockup, 2026-10) ===
   Landscape close-up photo, compact left-aligned name + description, slim size / qty / Add controls.
   Proportions follow the client's reference card (photo ~1.7:1 filling ~half the card).
   Scoped to menu cards only (combo cards keep their own look). The "Customize" pill is untouched.
   Applies to the product page, the AJAX sub-category tabs and the AJAX search results
   (all render .product-container .box-1). To disable: remove the <link> in layouts/header.blade.php. */

/* cards in one row share the same height, so the size/qty/Add controls line up at the bottom.
   Done with a flex chain (column > form > card) instead of percentage heights: Safari/WebKit
   resolves height:100% chains differently and the cards came out taller on iPhones. */
.product-container .finalDataClass > [class*="col-"] { display: flex; flex-direction: column; }
.product-container .finalDataClass > [class*="col-"] > form { flex: 1 1 auto; display: flex; flex-direction: column; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) {
    -webkit-text-size-adjust: 100%;   /* stop iOS Safari from auto-enlarging the small card text */
    text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: auto;
    background: #fff;
    border: 1px solid #5a5a5a;   /* light grey edge so cards without a photo (black logo) still read as cards on the black page */
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    margin-bottom: 14px;
}

/* 1) Photo: landscape, edge to edge, zoomed in so the pizza fills the frame (crust runs off the edges) */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1.7 / 1;
    overflow: hidden !important;
    background: #111;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center > a:not(.customize) {
    display: block;
    height: 100%;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    padding: 0 !important;      /* style.css adds padding-bottom:10px to card images (showed as a black strip) */
    object-fit: cover !important;
    object-position: 50% 50%;
    filter: contrast(1.06) saturate(1.12);
    transition: transform .35s ease;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza):hover .pizza-img.text-center img { transform: scale(1.04); }
/* Pizzas only (the only cards with a size/crust dropdown): zoom so the pizza fills the frame.
   Burgers, sides, desserts etc. keep their whole photo (a burger is tall; zooming cuts the buns off).
   Browsers without :has() simply show pizzas un-zoomed. */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza):has(.select-size) .pizza-img.text-center img {
    transform: scale(1.4);
    transform-origin: 50% 57%;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza):has(.select-size):hover .pizza-img.text-center img { transform: scale(1.46); }
/* placeholder logo (no product photo yet): show it whole, not zoomed */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center img[src*="default_image"] {
    object-fit: contain !important;
    transform: none !important;
    filter: none;
}
/* Tall / square photos (drink bottles, ice-cream tubs): show the whole product. js/pb-cards-v2.js adds
   .pb-fit-contain and paints the box with the photo's own edge colour. */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center.pb-fit-contain img {
    object-fit: contain !important;
    transform: none !important;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center .customize {
    z-index: 5 !important;
    top: 5px;
    height: 21px;
    width: 74px;
    margin-left: -37px;
    padding: 0;
    line-height: 19px;
    font-size: 11px;
}

/* 2) Text block: grid = name / description / (free space) / size / qty + Add.
      The free row soaks up height differences so the controls always sit at the card bottom. */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box {
    flex: 1 1 auto;
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    column-gap: 7px;
    padding: 6px 8px 7px !important;
    text-align: left !important;
    background: #fff;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > h4 { grid-column: 1 / -1; grid-row: 1; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > p { grid-column: 1 / -1; grid-row: 2; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.select-size { grid-column: 1 / -1; grid-row: 4; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.newcartselectcls { grid-column: 1; grid-row: 5; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box.btn-danger { grid-column: 2; grid-row: 5; }

:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > h4 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    justify-content: flex-start !important;
    padding: 0 !important;
    margin: 0 0 2px !important;
    min-height: 0 !important;
    max-height: calc(2 * 1.2em);   /* Safari sizes clamped text by its full length; cap it */
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 12.5px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    color: #141414;
    text-align: left !important;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 0 !important;
    margin: 0 0 5px !important;
    max-height: calc(2 * 1.32em);  /* same Safari cap: exactly two lines */
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 10.5px !important;
    font-weight: 400;
    line-height: 1.32 !important;
    color: #6b6b6b !important;
    text-align: left !important;
}

/* 3) Size dropdown */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.select-size {
    width: 100% !important;
    height: 21px !important;
    margin: 0 0 4px !important;
    padding: 0 22px 0 7px !important;
    font-size: 11px !important;
    color: #1b1b1b !important;
    background: #f1f1f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 7px center !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    -webkit-appearance: none;
    appearance: none;
}

/* 4) Qty + Add bar on one row, same height */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.newcartselectcls {
    position: static !important;
    width: 42px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 0 0 8px !important;
    font-size: 11.5px !important;
    color: #1b1b1b !important;
    background: #f1f1f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M1 4.5l3-3 3 3M1 7.5l3 3 3-3' fill='none' stroke='%23222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 7px center !important;
    background-size: 7px 11px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    -webkit-appearance: none;
    appearance: none;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box.btn-danger {
    position: relative;
    min-width: 0;
    height: 22px;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    background: #d6aa69 !important;
    border: 0 !important;
    border-radius: 4px !important;
    cursor: pointer;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box.btn-danger:hover { background: #cc9d57 !important; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box input.bg-transparent.text-white {
    margin: 0 !important;
    padding: 0 0 0 9px !important;
    width: 100% !important;
    height: 100%;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #141414 !important;
    text-align: left;
}
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box span.pull-right {
    position: absolute !important;
    right: 9px !important;
    top: 50% !important;
    transform: translateY(-50%);
    font-size: 12px !important;
    font-weight: 700;
    color: #141414 !important;
    pointer-events: none;
}

/* Narrow cards (tablet portrait 4-up, ~170px wide): taller photo so it stays ~half the card */
@media (min-width: 768px) and (max-width: 991px) {
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center { aspect-ratio: 1.35 / 1; }
    /* same readable text / control sizes as phones (cards here are as narrow as on a phone) */
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box { padding: 6px 7px 7px !important; column-gap: 5px; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > h4 { font-size: 13px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > p { font-size: 11px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.select-size { height: 25px !important; font-size: 11px !important; padding-left: 6px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.newcartselectcls { width: 36px !important; height: 26px !important; padding-left: 6px !important; background-position: right 5px center !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box.btn-danger { height: 26px; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box input.bg-transparent.text-white { padding-left: 7px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box span.pull-right { right: 7px !important; }
}

/* Phones: same layout and photo framing; text and controls kept at the smallest sizes that are
   still comfortable to read and tap (the mockup's exact proportions would give ~9px names). */
@media (max-width: 767px) {
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center { aspect-ratio: 1.6 / 1; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box { padding: 6px 7px 7px !important; column-gap: 5px; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > h4 { font-size: 13px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > p { font-size: 11px !important; margin-bottom: 5px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.select-size { height: 25px !important; font-size: 11px !important; padding-left: 6px !important; margin-bottom: 4px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > select.newcartselectcls { width: 36px !important; height: 26px !important; padding-left: 6px !important; font-size: 11.5px !important; background-position: right 5px center !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box.btn-danger { height: 26px; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box input.bg-transparent.text-white { padding-left: 7px !important; font-size: 12px !important; }
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > .link-box span.pull-right { right: 7px !important; font-size: 12px !important; }
}

/* Very small phones (iPhone SE / 320px): cards are ~150px wide, so give the photo a little more height */
@media (max-width: 359px) {
    :is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center { aspect-ratio: 1.3 / 1; }
}

/* Customize popup (desktop only): wide 2.2:1 banner like the client's sample crop. The pizza fills
   the width (slight zoom, centred on the pizza) instead of the full photo with lots of table.
   The photo sits in .pb-modal-photo (show_product.blade.php) so the zoom never spills into the
   header padding. Below 1200px the popup hides the photo on purpose; left as it was. */
@media (min-width: 1200px) {
    #productModel .modal-header {
        height: auto !important;
        max-height: none !important;
        flex-shrink: 0;          /* combo popup (.combopopmain, fixed 70/80vh flex column) squeezed it to ~50px */
    }
    /* combo popup: style.css/media.css cap it at 70vh/80vh with its own scrollbar. Now that the
       photo shows, that left only the photo visible - let it grow to its full content like the
       menu popup (the modal itself scrolls). */
    #productModel .modal-content.combopopmain {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    #productModel .modal-header .pb-modal-photo {
        position: relative;
        width: 100%;
        aspect-ratio: 1.5 / 1;            /* burgers, sides, desserts: whole photo, fitted */
        overflow: hidden;
        border-radius: 6px;
        background: #111;
    }
    #productModel .modal-header .pb-modal-photo > img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain;
    }
    /* pizzas (products with crust options, see show_product.blade.php): wide banner, pizza fills the width */
    #productModel .modal-header .pb-modal-photo.is-wide { aspect-ratio: 2.2 / 1; }
    #productModel .modal-header .pb-modal-photo.is-wide > img {
        object-fit: cover;
        object-position: 50% 48%;
        transform: scale(1.1);
        transform-origin: 50% 48%;
    }
    /* no photo yet: show the logo whole */
    #productModel .modal-header .pb-modal-photo > img[src*="default_image"] {
        object-fit: contain;
        transform: none !important;
    }
}

/* Combo builder ("Choose" cards, .probox): same photo box as the menu cards so every card lines up.
   js/pb-cards-v2.js marks pizzas (.pb-is-pizza -> zoomed like the menu) and plain-background tall
   photos (.pb-fit-contain -> whole product on its own edge colour); everything else fills the frame. */
.probox .logoimg {
    /* fixed 1.7:1 box via the padding trick: works in every browser, and the photo (absolutely
       positioned) can never stretch it - media.css gives these photos min-height 131/155px */
    position: relative;
    height: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0 58.82% 0 !important;
    overflow: hidden !important;
    background: #111;
}
.probox .logoimg img {
    position: absolute !important;
    top: 0; left: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: 50% 50%;
}
.probox.pb-is-pizza .logoimg img { transform: scale(1.4); transform-origin: 50% 57%; }
.probox .logoimg.pb-fit-contain img { object-fit: contain; transform: none; }
.probox .logoimg img[src*="default_image"] { object-fit: contain; transform: none !important; }

/* Combo builder cards: same look as the menu cards (white card, grey edge, left-aligned compact
   name + 2-line description, slim gold button pinned to the bottom so a row lines up). */
/* only columns that hold a combo builder card (the customize popup also uses card-body > row > col) */
.row > [class*="col-"]:has(> .probox) { display: flex; }
.probox {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    margin-bottom: 14px !important;
    background: #fff;
    border: 1px solid #5a5a5a;
    box-sizing: border-box;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important;
    text-align: left !important;
}
.probox .probox-inner-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 6px 8px 7px !important;
    text-align: left !important;
}
.probox .probox-inner-text h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: calc(2 * 1.2em);
    margin: 0 0 2px !important;
    padding: 0 !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #141414 !important;
    text-align: left !important;
}
.probox .probox-inner-text p.desmain-combo {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: calc(2 * 1.32em);
    min-height: 0 !important;
    padding: 0 !important;                 /* style.css adds padding-top:6px, which clipped line 2 */
    margin: 0 0 6px !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.32 !important;
    color: #6b6b6b !important;
    text-align: left !important;
    text-transform: capitalize;
}
.probox .probox-inner-text a.btn.btn-info {
    margin-top: auto !important;           /* pin to the bottom of the card */
    width: 100% !important;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #141414 !important;
    background: #d6aa69 !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.probox .probox-inner-text a.btn.btn-info:hover { background: #cc9d57 !important; }

/* Full description (js/pb-cards-v2.js): tapping a cut-off description lifts the white name +
   description block up over the photo; the down arrow / a tap elsewhere lowers it again. */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .white-box > p.pb-desc-more,
.probox p.desmain-combo.pb-desc-more { cursor: pointer; }
.pb-desc-up {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -6px 14px rgba(0, 0, 0, .28);
    text-align: left;
    z-index: 7;
    transition: height .3s ease;
    scrollbar-width: none;
    cursor: default;
}
.pb-desc-up::-webkit-scrollbar { display: none; }
.pb-desc-up .pb-desc-close {
    position: absolute;
    top: 4px; right: 6px;
    width: 22px; height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b98a45;
    cursor: pointer;
    line-height: 0;
    opacity: 0;
    transition: opacity .2s ease .1s;
}
.pb-desc-up.open .pb-desc-close { opacity: 1; }
.pb-desc-up .pb-desc-close:hover { color: #8a6328; }


/* ---- Home page "Featured" carousel: same card (rules above cover it via :is()). Extras: ---- */
.sliderproductscustomclass .box-1:not(.combopizza) { position: relative; }
.sliderproductscustomclass .box-1 .red-circle { position: absolute; top: 8px; right: 8px; padding: 0; z-index: 6; line-height: 0; }
.sliderproductscustomclass .box-1 .red-circle img { width: 22px; height: 22px; }
/* no fixed min-heights here: slides already stretch to the tallest one (flex chain below), and a
   reserved 2nd name line left a gap between a 1-line name and its description */
.sliderproductscustomclass .see-more-toggle { display: none !important; }

/* ---- Combo list cards (.box-1.combopizza on /combo and the Combo tab): same card look ---- */
.box-1.combopizza {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    display: flex !important;
    flex-direction: column;
    height: calc(100% - 14px);
    margin-bottom: 14px !important;
    background: #fff !important;
    border: 1px solid #5a5a5a;
    box-sizing: border-box;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important;
    text-align: left !important;
}
.box-1.combopizza > a { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; text-decoration: none; }
.box-1.combopizza .pizza-img,
.box-1.combopizza .pizza-img.text-center {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1.7 / 1;
    overflow: hidden !important;
    background: #111;
}
.box-1.combopizza .pizza-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: 50% 50%;
}
.box-1.combopizza .white-box {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    padding: 8px 10px 9px !important;
    text-align: left !important;
    background: #fff;
}
.box-1.combopizza .white-box h4.combocustomnamecls {
    margin: 0 0 3px !important;
    padding: 0 !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #141414 !important;
    text-align: left !important;
    min-height: 0 !important;
}
.box-1.combopizza .white-box > p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: calc(2 * 1.32em);
    min-height: calc(2 * 1.32em) !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
    color: #6b6b6b !important;
    text-align: left !important;
}
.box-1.combopizza .white-box > p a { color: inherit !important; text-decoration: none; }
/* price shown as the same gold bar as the menu "Add" bar */
.box-1.combopizza .white-box h4.pricecombo {
    margin: auto 0 0 !important;
    height: 26px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px !important;
    background: #d6aa69;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #141414 !important;
    text-align: right !important;
}
.box-1.combopizza .white-box h4.pricecombo a { color: #141414 !important; text-decoration: none; }
.box-1.combopizza .white-box h4.pricecombo::before { content: 'View Deal'; }
.box-1.combopizza:not(.combo-unavailable):hover .white-box h4.pricecombo { background: #cc9d57; }
.box-1.combopizza.combo-unavailable .white-box h4.pricecombo { background: #e3e3e3; color: #888 !important; }
/* combo list: cards in a row share one height (price bars line up) */
.row > [class*="col-"]:has(> .box-1.combopizza) { display: flex; flex-direction: column; }
.box-1.combopizza .white-box > p.pb-desc-more { cursor: pointer; }
.sliderproductscustomclass .box-1 .white-box > p.pb-desc-more { cursor: pointer; }
/* home page: .pizza-img is display:flex there, which shrank the photo link to the image width */
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center { display: block !important; }
:is(.product-container, .sliderproductscustomclass) .box-1:not(.combopizza) .pizza-img.text-center > a:not(.customize) { width: 100%; }
/* Featured carousel: every slide stretches to the tallest one so all cards share a height */
.mainslider .owl-stage { display: flex; }
.mainslider .owl-item,
.mainslider .owl-item > .item,
.mainslider .owl-item > .item > .container,
.mainslider .owl-item > .item > .container > .row,
.mainslider .sliderproductscustomclass,
.mainslider .sliderproductscustomclass > form { display: flex; flex-direction: column; flex: 1 1 auto; }
.mainslider .sliderproductscustomclass .box-1:not(.combopizza) { height: auto; margin-bottom: 14px; }
/* combo list markup nests <a> in <a>, so the browser splits it: links inside the white box carry
   their own font/alignment. Make them plain blocks that inherit the card text style. */
.box-1.combopizza .white-box > a { display: block; width: 100%; text-align: left !important; color: inherit; }
.box-1.combopizza .white-box > a > h4.combocustomnamecls { width: 100%; min-height: 0 !important; }
.box-1.combopizza .white-box > p a { font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; }
.box-1.combopizza .white-box h4.pricecombo { justify-content: space-between !important; }
.box-1.combopizza .white-box h4.pricecombo a { font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; }
.box-1.combopizza .white-box h4.pricecombo a:empty { display: none; }
.box-1.combopizza .white-box h4.combocustomnamecls { display: block !important; justify-content: flex-start !important; }
/* the whole gold bar is clickable: stretch the price link (it carries getSingleCombo) over the bar */
.box-1.combopizza .white-box h4.pricecombo { position: relative; cursor: pointer; }
.box-1.combopizza .white-box h4.pricecombo a:not(:empty) {
    position: absolute; inset: 0;
    display: flex !important; align-items: center; justify-content: flex-end;
    padding: 0 10px;
}

/* Combo list photos are designed graphics, about square: show the WHOLE image (contain) in a 4:3 box
   and fill the sides with a blurred copy of the same photo (js/pb-cards-v2.js sets --pb-bg). */
.box-1.combopizza .pizza-img,
.box-1.combopizza .pizza-img.text-center { aspect-ratio: 4 / 3; background: #1a1a1a; isolation: isolate; }
.box-1.combopizza .pizza-img::before {
    content: '';
    position: absolute; inset: -20px;
    background: var(--pb-bg) center / cover no-repeat;
    filter: blur(14px) brightness(.8);
    z-index: 0;
}
.box-1.combopizza .pizza-img img {
    position: relative;
    z-index: 1;
    object-fit: contain !important;
}
.box-1.combopizza .white-box a:visited,
.box-1.combopizza .white-box > p a:visited { color: #6b6b6b !important; }
.box-1.combopizza .white-box > a:visited h4.combocustomnamecls { color: #141414 !important; }
