/*
 * Parchuns storefront layer.
 *
 * Loaded after the default Bagisto theme. Re-points the theme's colour tokens to the
 * Parchuns palette and styles the Parchuns hook templates (prefixed `pc-`).
 */

:root {
    --pc-ink: #173c2a;
    --pc-green: #1d683d;
    --pc-green-dark: #174a31;
    --pc-gold: #93692f;
    --pc-accent: #bc7437;
    --pc-cream: #faf8f3;
    --pc-sand: #f3ecdd;
    --pc-line: #d9e4d8;
    --pc-muted: #5c7064;

    /* Bagisto default theme tokens. */
    --color-navyBlue: var(--pc-green-dark);
    --color-lightOrange: var(--pc-sand);
    --color-darkGreen: var(--pc-green);
}

body,
main#main {
    background: var(--pc-cream) !important;
    color: var(--pc-ink);
}

h1,
h2,
.font-dmserif {
    color: var(--pc-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--pc-accent);
    outline-offset: 2px;
}

header.sticky {
    background: var(--pc-cream);
    box-shadow: 0 5px 18px #133e2514;
}

/* Announcement bar */
.pc-announcement {
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 9px 16px;
}

.pc-announcement p {
    margin: 0;
}

.pc-announcement a {
    color: #f7d58d;
    font-weight: 600;
    margin-inline-start: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Product page: Urdu / English / botanical names */
.pc-product-names {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin-top: 10px;
    color: var(--pc-muted);
    font-size: 16px;
}

.pc-urdu {
    font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
    font-size: 24px;
    line-height: 1.9;
    color: var(--pc-gold);
}

.pc-product-names i {
    font-size: 15px;
}

/* Product page: freshness of the batch being packed */
.pc-batch-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--pc-green-dark);
}

.pc-batch-info svg {
    width: 18px;
    height: 18px;
    flex: none;
}

/* Product page trust list */
.pc-trust {
    display: grid;
    gap: 10px;
    margin: 18px 0 4px;
    padding: 14px 16px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 12px;
    font-size: 14px;
}

.pc-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-trust svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--pc-green);
}

.pc-trust__delivery {
    align-items: flex-start !important;
}

.pc-trust__line {
    display: block;
    color: var(--pc-muted);
}

/* Delivery time under the cart summary */
.pc-delivery-days {
    width: 100%;
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--pc-muted);
}

/* Free-delivery progress (cart + mini-cart) */
.pc-free-delivery {
    width: 100%;
    margin: 12px 0;
    padding: 12px 14px;
    background: #edf3ee;
    border-radius: 10px;
    font-size: 14px;
    color: var(--pc-ink);
}

.pc-free-delivery p {
    margin: 0 0 8px;
}

.pc-free-delivery__track {
    height: 6px;
    background: #d4e3d6;
    border-radius: 99px;
    overflow: hidden;
}

.pc-free-delivery__track span {
    display: block;
    height: 100%;
    background: var(--pc-green);
    border-radius: inherit;
    transition: width .3s ease;
}

/* Box builder: unit after prices of products sold by weight */
.pc-price-unit {
    margin-inline-start: 4px;
    font-size: .8em;
    font-weight: 400;
    color: var(--pc-muted);
}

/* Box builder: pack-size picker on the product page */
.flex:has(> .pc-pack-picker) {
    flex-wrap: wrap;
}

/* Hide Bagisto's quantity box: the pack picker right after it replaces it. */
.flex > :has(+ .pc-pack-picker) {
    display: none !important;
}

.pc-pack-picker {
    order: -1;
    flex: 1 0 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pc-pack-picker legend {
    margin-bottom: 10px;
    font-weight: 600;
}

.pc-pack-picker__options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.pc-pack {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 10px 6px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 12px;
    cursor: pointer;
}

.pc-pack input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pc-pack:has(input:checked) {
    border-color: var(--pc-green-dark);
    box-shadow: inset 0 0 0 1px var(--pc-green-dark);
    background: #edf3ee;
}

.pc-pack:has(input:focus-visible) {
    outline: 3px solid var(--pc-accent);
    outline-offset: 2px;
}

.pc-pack__weight {
    font-weight: 600;
}

.pc-pack__price {
    font-size: 13px;
    color: var(--pc-muted);
}

.pc-pack-picker__note {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--pc-muted);
}

/* Starter boxes (grouped products) */
.pc-box-intro {
    font-size: 14px;
    color: var(--pc-muted);
}

.pc-box-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pc-line);
}

.pc-box-line__qty {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--pc-muted);
}

/* Saved boxes */
.pc-muted {
    color: var(--pc-muted);
}

.pc-save-box {
    margin-top: 20px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 12px;
}

.pc-save-box label {
    display: grid;
    gap: 2px;
    margin-bottom: 10px;
    font-size: 14px;
}

.pc-save-box label span {
    color: var(--pc-muted);
}

.pc-save-box__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-save-box input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
}

.pc-save-box a {
    color: var(--pc-green-dark);
    font-weight: 600;
    text-decoration: underline;
}

.pc-saved-box {
    margin-bottom: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
}

.pc-saved-box__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.pc-saved-box h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.pc-saved-box__items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 16px;
    padding: 0;
    list-style: none;
}

.pc-saved-box__items li {
    padding: 4px 10px;
    background: #edf3ee;
    border-radius: 99px;
    font-size: 13px;
}

.pc-saved-box__items .pc-unavailable {
    background: #f4f4f4;
    color: var(--pc-muted);
}

.pc-saved-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Trust: back-in-stock alert, review policy, questions & answers */
.pc-trust-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 60px 8px;
}

.pc-trust-section h2 {
    margin: 24px 0 14px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 28px;
}

.pc-card {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
}

.pc-notify {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    border-color: var(--pc-gold);
    background: #fff8e8;
}

.pc-notify label {
    display: grid;
    gap: 2px;
}

.pc-notify label span {
    font-size: 14px;
    color: var(--pc-muted);
}

.pc-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-inline-form input,
.pc-ask__form input,
.pc-ask__form textarea {
    flex: 1 1 220px;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    font: inherit;
}

.pc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.pc-notify-link {
    flex: 1 0 100%;
    color: var(--pc-gold);
    font-weight: 600;
    text-decoration: underline;
}

.pc-review-policy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--pc-green-dark);
}

.pc-review-policy svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.pc-qa-list {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.pc-qa p {
    margin: 0;
    line-height: 1.6;
}

.pc-qa__q {
    font-weight: 600;
}

.pc-qa__a {
    margin-top: 6px !important;
}

.pc-qa__q span,
.pc-qa__a span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-inline-end: 6px;
    border-radius: 6px;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pc-qa__a span {
    background: var(--pc-gold);
}

.pc-qa__meta {
    margin-top: 8px !important;
    font-size: 13px;
}

.pc-ask summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--pc-green-dark);
}

.pc-ask__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.pc-ask__form label {
    display: grid;
    gap: 4px;
    font-size: 14px;
}

.pc-ask__wide {
    grid-column: 1 / -1;
}

.pc-ask__form button {
    justify-self: start;
}

@media (max-width: 768px) {
    .pc-trust-section {
        padding: 24px 16px 8px;
    }

    .pc-ask__form {
        grid-template-columns: 1fr;
    }
}

/* Rewards (account page) */
.pc-rewards-block {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.pc-rewards-block h3 {
    margin: 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 22px;
    color: var(--pc-ink);
}

.pc-code-box {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding: 14px 16px;
    border: 2px dashed var(--pc-green-dark);
    border-radius: 12px;
}

.pc-code-box strong {
    font-size: 24px;
    letter-spacing: .06em;
    color: var(--pc-green-dark);
}

.pc-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-share-link {
    flex: 1 1 260px;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    font-size: 14px;
}

.pc-voucher-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-voucher {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: #edf3ee;
    border-radius: 10px;
}

.pc-voucher div {
    display: grid;
    gap: 2px;
}

.pc-voucher--used {
    background: #f4f4f4;
    opacity: .75;
}

.pc-voucher__code {
    text-align: end;
}

.pc-voucher code {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .06em;
}

/* Recipes */
.pc-recipes-title {
    margin: 0 0 10px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
}

.pc-recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.pc-recipe {
    display: grid;
    gap: 8px;
    align-content: start;
    color: var(--pc-ink);
}

.pc-recipe img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.pc-recipe strong {
    font-size: 18px;
}

/* "All aisles" page (Marketing shop/aisles) */
.pc-aisle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--pc-space-card-gap, 16px);
    margin-top: 24px;
}

.pc-aisle {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 12px;
    color: var(--pc-ink);
}

.pc-aisle img,
.pc-aisle__blank {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    background: #efe9dc;
}

.pc-aisle__text {
    display: grid;
    gap: 2px;
}

.pc-aisle strong {
    font-size: 17px;
}

@media (max-width: 640px) {
    .pc-aisle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pc-aisle {
        padding: 8px;
    }

    .pc-aisle strong {
        font-size: 15px;
    }
}

/* Store credit (Rewards): note under the cart discount, history on the Rewards page */
.pc-credit-note {
    margin: 4px 0 0;
    color: var(--pc-green-dark);
    font-size: 13px;
    font-weight: 600;
    text-align: end;
}

.pc-credit-list {
    display: grid;
    gap: 6px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.pc-credit-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--pc-line);
}

.pc-credit-list strong {
    color: var(--pc-green-dark);
    white-space: nowrap;
}

.pc-credit-list .pc-credit-list__minus {
    color: #8a2418;
}

.pc-recipe-page img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 14px;
}

.pc-recipe-page ul,
.pc-recipe-page ol {
    padding-inline-start: 22px;
    list-style: revert;
}

.pc-recipe-page li {
    margin-bottom: 6px;
}

/* Floating help buttons (hooks/whatsapp.blade.php): WhatsApp above, live chat below, in the bottom corner */
.pc-help {
    position: fixed;
    inset-inline-end: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: inset-inline-end .25s ease, bottom .2s ease;
}

.pc-help__button {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 6px 20px #0003;
    cursor: pointer;
    transition: transform .15s ease;
}

.pc-help__button:hover {
    transform: translateY(-2px);
}

.pc-whatsapp {
    background: #25d366;
}

.pc-help__chat {
    background: var(--pc-green-dark);
}

.pc-help__chat.is-loading svg {
    animation: pc-help-pulse 1s ease-in-out infinite;
}

@keyframes pc-help-pulse {
    50% { opacity: .35; }
}

.pc-help__badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #d93025;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

body.pc-chat-open .pc-help {
    visibility: hidden;
}

/* The open "Your box" panel takes the right-hand side on desktop: the buttons wait beside it */
@media (min-width: 1024px) {
    body.pc-box-open .pc-help {
        inset-inline-end: 358px;
    }
}

/* Home page sections (static content) */
.pc-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 60px;
}

.pc-hero__eyebrow,
.pc-section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pc-gold);
}

.pc-hero h1 {
    margin: 0 0 18px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
}

.pc-hero p {
    max-width: 520px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--pc-muted);
}

.pc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    background: var(--pc-green-dark);
    color: #fff;
}

.pc-button--ghost {
    background: transparent;
    color: var(--pc-green-dark);
    border: 1px solid var(--pc-green-dark);
}

.pc-hero__image {
    position: relative;
}

.pc-hero__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 50px #173c2a26;
}

.pc-hero__badge {
    position: absolute;
    inset-inline-start: -18px;
    bottom: 24px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px #173c2a26;
    font-size: 14px;
}

.pc-hero__badge strong {
    display: block;
    font-size: 18px;
    color: var(--pc-green-dark);
}

.pc-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px 40px;
}

.pc-strip div {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
}

.pc-strip strong {
    display: block;
    margin-bottom: 4px;
    color: var(--pc-green-dark);
}

.pc-strip span {
    font-size: 14px;
    color: var(--pc-muted);
}

.pc-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 60px;
}

.pc-section h2 {
    margin: 0 0 28px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 3.4vw, 40px);
}

.pc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.pc-steps li {
    position: relative;
    padding: 26px 22px 22px;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 16px;
    counter-increment: step;
}

.pc-steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--pc-green-dark);
    color: #fff;
    font-weight: 700;
}

.pc-steps strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.pc-steps p {
    margin: 0;
    color: var(--pc-muted);
    line-height: 1.55;
}

/* CMS pages */
.pc-page {
    max-width: 820px;
    line-height: 1.7;
}

.pc-page h2 {
    margin: 28px 0 8px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
}

.pc-page .pc-note {
    padding: 12px 16px;
    background: #fff8e8;
    border: 1px solid #f7d58d;
    border-radius: 10px;
    font-size: 14px;
}

@media (max-width: 1060px) {
    .pc-hero,
    .pc-strip,
    .pc-section {
        padding-inline: 32px;
    }

    .pc-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pc-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 16px;
    }

    .pc-hero__badge {
        inset-inline-start: 12px;
    }

    .pc-strip {
        padding: 0 16px 28px;
        gap: 10px;
    }

    .pc-strip div {
        padding: 14px;
    }

    .pc-section {
        padding: 32px 16px;
    }

    .pc-steps {
        grid-template-columns: 1fr;
    }

    .pc-pack-picker__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-help {
        bottom: 14px;
        inset-inline-end: 14px;
        gap: 10px;
    }

    .pc-help__button {
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-free-delivery__track span {
        transition: none;
    }
}

/* Track my order (/track-order) */
.pc-track {
    max-width: 760px;
}

.pc-track__title {
    margin: 0 0 10px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
}

.pc-track__form {
    display: grid;
    gap: 14px;
    margin: 20px 0 12px;
}

.pc-track__form label {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--pc-muted);
}

.pc-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    font: inherit;
    color: var(--pc-ink);
    background: #fff;
}

.pc-track__form .primary-button {
    justify-self: start;
}

.pc-track__notice {
    margin: 14px 0;
    padding: 12px 14px;
    background: #edf3ee;
    border-radius: 10px;
    font-size: 14px;
}

.pc-track__notice--stopped {
    background: #fbefe4;
    color: #7a3d12;
}

.pc-track__result {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.pc-track__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
}

.pc-track__head div {
    display: grid;
}

.pc-track__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.pc-track__steps li {
    display: grid;
    align-content: start;
    gap: 2px;
    position: relative;
    padding-top: 22px;
    font-size: 14px;
    color: var(--pc-muted);
}

.pc-track__steps li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: -10px;
    height: 3px;
    background: var(--pc-line);
}

.pc-track__steps li:last-child::before {
    right: 0;
}

.pc-track__steps li.is-done::before {
    background: var(--pc-green);
}

.pc-track__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 3px solid var(--pc-line);
    border-radius: 50%;
}

.pc-track__steps li.is-done .pc-track__dot {
    background: var(--pc-green);
    border-color: var(--pc-green);
}

.pc-track__steps li.is-current .pc-track__dot {
    box-shadow: 0 0 0 4px #d4e3d6;
}

.pc-track__steps li strong {
    color: var(--pc-ink);
}

.pc-track__steps li span {
    font-size: 13px;
}

.pc-track__shipment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: var(--pc-cream);
    border-radius: 10px;
    font-size: 14px;
}

.pc-track__subtitle {
    margin: 4px 0 0 !important;
    font-family: inherit !important;
    font-size: 16px !important;
}

.pc-track__items {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.pc-track__items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--pc-line);
}

.pc-track__help a {
    color: var(--pc-green);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .pc-track__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pc-track__steps li {
        padding: 0 0 16px 28px;
    }

    .pc-track__steps li::before {
        top: 15px;
        bottom: 0;
        left: 6px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .pc-track__steps li:last-child::before {
        display: none;
    }
}

/* FAQ page: questions open and close (<details>) */
.pc-faq {
    margin: 0 0 10px;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 12px;
}

.pc-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-weight: 600;
    color: var(--pc-ink);
    cursor: pointer;
    list-style: none;
}

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

.pc-faq summary::after {
    content: "+";
    flex: none;
    font-size: 20px;
    line-height: 1;
    color: var(--pc-green);
}

.pc-faq[open] summary::after {
    content: "−";
}

.pc-faq > div {
    padding: 0 16px 14px;
    color: var(--pc-ink);
}

.pc-faq > div p {
    margin: 0;
}

.pc-faq a {
    color: var(--pc-green);
    text-decoration: underline;
}

/* Product badges (earned from real orders and batch dates) */
.pc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
}

.pc-badge {
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.pc-badge--bestseller {
    background: #fbefe4;
    color: #7a3d12;
}

.pc-badge--fresh {
    background: #e3efe5;
    color: var(--pc-green-dark);
}

.pc-badge--season {
    background: #f6e7b8;
    color: #5c4300;
}

.pc-badge--few-left {
    background: #fbe4e1;
    color: #8a2418;
}

.pc-badge--new {
    background: #e2ecf7;
    color: #1d4469;
}

/* Product page: the main add-to-cart button (the one followed by the mobile bar) is filled, as the page's main action */
.secondary-button:has(+ .pc-sticky-cart):not(:disabled) {
    border-color: var(--pc-green);
    background: var(--pc-green);
    color: #fff;
}

.secondary-button:has(+ .pc-sticky-cart):not(:disabled):hover {
    border-color: var(--pc-green-dark);
    background: var(--pc-green-dark);
}

@media (max-width: 640px) {
    .secondary-button:has(+ .pc-sticky-cart) {
        flex: 1;
        width: auto !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

/* Mobile add-to-cart bar (product page) */
.pc-sticky-cart {
    display: none;
}

@media (max-width: 768px) {
    .pc-sticky-cart {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--pc-line);
        box-shadow: 0 -6px 18px rgba(23, 60, 42, .08);
        transform: translateY(110%);
        transition: transform .2s ease;
    }

    .pc-sticky-cart.is-visible {
        transform: none;
    }

    .pc-sticky-cart__info {
        display: grid;
        flex: 1;
        min-width: 0;
        font-size: 14px;
    }

    .pc-sticky-cart__info strong {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .pc-sticky-cart__button {
        flex: none;
        padding: 10px 18px !important;
    }

    .pc-sticky-cart-on .pc-help {
        bottom: 84px;
    }
}

/* CMS page title (policy pages, FAQ, recipes) */
.pc-page-title {
    margin: 0 0 18px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--pc-ink);
}

/* "Shop this recipe" on recipe pages */
.pc-shop-recipe {
    max-width: 760px;
    margin: 28px 0 8px;
    border-color: var(--pc-gold);
    background: #fff8e8;
}

.pc-shop-recipe h2 {
    margin: 0 0 6px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
}

.pc-shop-recipe ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 16px;
    padding: 0;
    list-style: none;
}

.pc-shop-recipe li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
}

.pc-shop-recipe li a {
    font-weight: 600;
    color: var(--pc-green-dark);
    text-decoration: underline;
}

.pc-shop-recipe select {
    flex: 0 1 260px;
}

/* Pack-size savings in the pack picker */
.pc-pack__save {
    justify-self: center;
    padding: 1px 8px;
    border-radius: 99px;
    background: #fbefe4;
    color: #7a3d12;
    font-size: 11px;
    font-weight: 700;
}

.pc-pack-picker__savings {
    color: #7a3d12;
    font-weight: 600;
}

/* Cart: "Sending this as a gift?" */
.pc-gift {
    margin: 12px 0;
    padding: 12px 16px;
    background: #fff8e8;
    border: 1px solid var(--pc-gold);
    border-radius: 12px;
}

.pc-gift summary {
    font-weight: 600;
    cursor: pointer;
}

.pc-gift form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.pc-gift__check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-gift__message {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--pc-muted);
}

.pc-gift .secondary-button {
    justify-self: start;
}

/* Account: monthly refills */
.pc-refill-status {
    font-size: 14px;
    color: var(--pc-green-dark);
}

.pc-refill-status.is-paused {
    color: #7a3d12;
}

.pc-badges--card {
    margin: 0 0 4px;
}

.pc-badges--card .pc-badge {
    padding: 1px 8px;
    font-size: 11px;
}

@media (max-width: 640px) {
    .pc-badges--card .pc-badge:nth-child(n + 2) {
        display: none;
    }
}

/* Urdu shop (right to left): Nastaliq needs more line height; numbers and prices stay readable */
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
    font-family: "Noto Nastaliq Urdu", "DM Sans", sans-serif;
}

html[dir="rtl"] body {
    line-height: 2;
}

html[dir="rtl"] .pc-pack__price,
html[dir="rtl"] .pc-pack__weight,
html[dir="rtl"] [class*="price"] {
    font-family: "DM Sans", sans-serif;
}

html[dir="rtl"] .pc-track__steps li::before {
    left: -10px;
    right: 0;
}

html[dir="rtl"] .pc-track__dot {
    left: auto;
    right: 0;
}

@media (max-width: 640px) {
    html[dir="rtl"] .pc-track__steps li {
        padding: 0 28px 16px 0;
    }

    html[dir="rtl"] .pc-track__steps li::before {
        left: auto;
        right: 6px;
    }
}

html[dir="rtl"] .pc-sticky-cart__info strong,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    line-height: 1.9;
}

/* Keep "250 g" and "Rs 1,030" in reading order inside Urdu text */
html[dir="rtl"] .pc-pack__weight,
html[dir="rtl"] .pc-pack__price,
html[dir="rtl"] .pc-price-unit,
html[dir="rtl"] [data-pc-sticky-pack],
html[dir="rtl"] .pc-track__items .pc-muted {
    direction: ltr;
    unicode-bidi: isolate;
}

/*
 * English | اردو switch in the announcement bar (shown when the shop has more than one language).
 * Same line as the message: message centred, switch at the end of the bar. Phones show only the other language.
 */
.pc-announcement:has(.pc-languages) {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding-block: 6px;
}

.pc-announcement:has(.pc-languages) p {
    grid-column: 2;
}

.pc-languages {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border: 1px solid #ffffff59;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.pc-languages > * {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
}

.pc-languages span[aria-current] {
    background: #f7d58d;
    color: var(--pc-green-dark);
    font-weight: 700;
}

.pc-announcement .pc-languages a {
    margin: 0;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.pc-announcement .pc-languages a:hover,
.pc-announcement .pc-languages a:focus-visible {
    background: #ffffff26;
}

.pc-languages [lang="ur"] {
    font-family: "Noto Nastaliq Urdu", serif;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .pc-announcement:has(.pc-languages) {
        grid-template-columns: 1fr auto;
        gap: 10px;
        font-size: 13px;
        text-align: start;
    }

    .pc-announcement:has(.pc-languages) p {
        grid-column: 1;
    }

    .pc-languages {
        grid-column: 2;
    }

    /* One tap target: the language you can switch to */
    .pc-languages span[aria-current] {
        display: none;
    }
}

/* ------------------------------------------------------------------
 * "Your box" floating cart (Box hooks/box-panel.blade.php)
 * Desktop: panel on the right (≥1280 px pushes the page; narrower overlays). Phones/tablets: bottom bar + sheet.
 * ------------------------------------------------------------------ */
.pc-box {
    position: fixed;
    z-index: 30;
    font-size: 14px;
    color: var(--pc-ink);
}

.pc-box__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: var(--pc-green-dark);
    color: #fff;
    border: 0;
    cursor: pointer;
    text-align: start;
}

.pc-box__toggle-icon {
    font-size: 22px;
}

.pc-box__toggle-text {
    display: grid;
    flex: 1;
    line-height: 1.3;
}

.pc-box__toggle-text span {
    font-size: 12px;
    opacity: .85;
}

.pc-box__toggle-total {
    font-weight: 700;
}

.pc-box__body {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.pc-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 6px;
}

.pc-box__head h2 {
    margin: 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 22px;
}

.pc-box__hide {
    background: none;
    border: 0;
    color: var(--pc-green);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.pc-box__items {
    flex: 1;
    overflow-y: auto;
    margin: 0;
    padding: 0 16px;
    list-style: none;
}

.pc-box__items.is-busy {
    opacity: .6;
}

.pc-box__item {
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pc-line);
}

.pc-box__item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.pc-box__info {
    display: grid;
    min-width: 0;
}

.pc-box__info a {
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--pc-ink);
}

.pc-box__price {
    color: var(--pc-muted);
    direction: ltr;
    unicode-bidi: isolate;
}

.pc-box__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--pc-green-dark);
    border-radius: 99px;
}

.pc-box__qty button {
    width: 28px;
    height: 28px;
    background: none;
    border: 0;
    color: var(--pc-green-dark);
    font-size: 16px;
    cursor: pointer;
}

.pc-box__qty button:disabled {
    opacity: .35;
    cursor: default;
}

.pc-box__qty span {
    min-width: 52px;
    font-weight: 600;
    text-align: center;
    direction: ltr;
    unicode-bidi: isolate;
}

.pc-box__count {
    color: var(--pc-muted);
}

.pc-box__remove {
    width: 28px;
    height: 28px;
    background: none;
    border: 0;
    border-radius: 50%;
    color: var(--pc-muted);
    font-size: 20px;
    cursor: pointer;
}

.pc-box__remove:hover {
    background: var(--pc-sand);
}

.pc-box__foot {
    display: grid;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--pc-line);
    background: var(--pc-cream);
}

.pc-box__subtotal {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: 16px;
}

.pc-box__free {
    margin: 0;
    font-size: 13px;
}

.pc-box__free.is-done {
    color: var(--pc-green);
    font-weight: 600;
}

.pc-box__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pc-box__actions a {
    padding: 10px 12px !important;
    text-align: center;
}

.pc-box--bump .pc-box__toggle {
    animation: pc-box-bump .6s ease;
}

@keyframes pc-box-bump {
    40% { transform: scale(1.04); }
}

/* Desktop: right-hand panel */
@media (min-width: 1024px) {
    .pc-box {
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        width: 340px;
        box-shadow: -8px 0 24px rgba(23, 60, 42, .12);
        transform: translateX(100%);
        transition: transform .25s ease;
    }

    .pc-box.is-open {
        transform: none;
    }

    /* Closed: only the tab shows, standing on the left edge of the panel */
    .pc-box__toggle {
        position: absolute;
        top: 45%;
        right: 100%;
        width: auto;
        flex-direction: column;
        gap: 4px;
        padding: 12px 8px;
        border-radius: 12px 0 0 12px;
        box-shadow: -4px 4px 14px rgba(23, 60, 42, .18);
    }

    .pc-box__toggle-text strong,
    .pc-box__chevron {
        display: none;
    }

    .pc-box__toggle-text {
        text-align: center;
    }

    .pc-box__toggle-total {
        font-size: 12px;
    }

    .pc-box__body {
        height: 100%;
    }

    html[dir="rtl"] .pc-box {
        right: auto;
        left: 0;
        transform: translateX(-100%);
    }

    html[dir="rtl"] .pc-box.is-open {
        transform: none;
    }

    html[dir="rtl"] .pc-box__toggle {
        right: auto;
        left: 100%;
        border-radius: 0 12px 12px 0;
    }
}

/* Wide screens: the open panel makes room instead of covering the page */
@media (min-width: 1280px) {
    body.pc-box-open {
        padding-right: 340px;
    }

    html[dir="rtl"] body.pc-box-open {
        padding-right: 0;
        padding-left: 340px;
    }
}

/* Phones and tablets: bottom bar that opens into a sheet */
@media (max-width: 1023px) {
    .pc-box {
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: 0 -6px 18px rgba(23, 60, 42, .14);
    }

    .pc-box__body {
        max-height: 70vh;
    }

    .pc-box__head {
        display: none;
    }

    body.pc-box-on {
        padding-bottom: 60px;
    }

    body.pc-box-on .pc-help {
        bottom: 76px;
    }

    /* The product page's own add-to-cart bar takes the bottom; the box bar sits just above it */
    body.pc-sticky-cart-on .pc-box {
        bottom: 64px;
    }

    body.pc-sticky-cart-on.pc-box-on .pc-help {
        bottom: 140px;
    }
}

@media (min-width: 1024px) {
    /* Open panel has its own "Hide" link; the side tab is only for reopening */
    .pc-box.is-open .pc-box__toggle {
        display: none;
    }
}

@media (min-width: 1280px) {
    /* Narrower page while the panel is open: keep menu items on one line */
    body.pc-box-open header a,
    body.pc-box-open header p {
        white-space: nowrap;
    }
}

/* Grams instead of 50 g units: cart page, mini-cart, checkout summary (Box hooks/weight/*) */
.pc-line-weight,
.pc-summary-weight {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-green-dark);
}

.pc-qty-weight {
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-green-dark);
    direction: ltr;
    unicode-bidi: isolate;
}

/* Weighed items show their weight, so Bagisto's "See details" (which only repeats it) is hidden */
.pc-weight-shown + .select-none,
.select-none:has(> .pc-weight-shown) {
    display: none !important;
}

/* Checkout summary: hide Bagisto's "Rs 515 × 5" under our "250 g · Rs 2,575" */
.pc-summary-weight + p {
    display: none;
}

html[dir="rtl"] .pc-line-weight,
html[dir="rtl"] .pc-summary-weight {
    unicode-bidi: plaintext;
}

/* ------------------------------------------------------------------
 * Designer direction: green menu bar, hero slider, large category cards
 * ------------------------------------------------------------------ */
:root {
    --pc-gold-light: #f3d38f;
    --pc-green-mid: #22704a;
}

/* Bagisto's category menu inside the header is replaced by the green bar */
.pc-bagisto-menu-hidden + * {
    display: none !important;
}

/* Green menu bar (hooks/menu-bar.blade.php) */
.pc-menu {
    background: var(--pc-green-mid);
}

.pc-menu .pc-menu__bar {
    display: flex;
    gap: 2px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 44px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.pc-menu .pc-menu__bar::-webkit-scrollbar {
    display: none;
}

.pc-menu__bar a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: background .15s ease;
}

.pc-menu__bar a:hover,
.pc-menu__bar a:focus-visible {
    background: rgba(255, 255, 255, .1);
}

.pc-menu__bar a[aria-current="page"] {
    background: rgba(255, 255, 255, .14);
    border-bottom-color: var(--pc-gold-light);
}

@media (max-width: 1023px) {
    .pc-menu .pc-menu__bar {
        padding: 0 8px;
    }

    .pc-menu__bar a {
        padding: 11px 14px;
        font-size: 14px;
    }
}

/* Hero slider (static content section; behaviour in assets/js/parchuns.js) */
.pc-slider {
    position: relative;
    max-width: 1440px;
    margin: 24px auto 8px;
    padding: 0 44px;
}

.pc-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(23, 60, 42, .18);
    direction: ltr;
}

.pc-slider__track::-webkit-scrollbar {
    display: none;
}

.pc-slide {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    flex: 0 0 100%;
    min-height: 420px;
    scroll-snap-align: start;
    background: linear-gradient(135deg, #1d5a3a 0%, var(--pc-green-dark) 100%);
    color: #fff;
}

html[dir="rtl"] .pc-slide {
    direction: rtl;
}

.pc-slide__text {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 48px 56px 64px 104px;
}

html[dir="rtl"] .pc-slide__text {
    padding: 48px 104px 64px 56px;
}

.pc-slide__eyebrow {
    justify-self: start;
    padding: 6px 16px;
    background: #fff7e6;
    color: var(--pc-green-dark);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-slide h1,
.pc-slide h2 {
    margin: 0;
    color: #fff !important;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.04;
}

.pc-slide p {
    max-width: 34em;
    margin: 0;
    color: #e8f0ea;
    font-size: clamp(15px, 1.4vw, 19px);
}

.pc-slide__cta {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    padding: 14px 24px;
    background: var(--pc-gold-light);
    color: var(--pc-green-dark);
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transition: transform .15s ease;
}

.pc-slide__cta:hover {
    transform: translateY(-1px);
}

.pc-slide__image {
    position: relative;
}

.pc-slide__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    background: #fff;
    color: var(--pc-green-dark);
    border: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.pc-slider__arrow--prev {
    left: 58px;
}

.pc-slider__arrow--next {
    right: 58px;
}

.pc-slider__bar {
    position: absolute;
    right: 72px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-slider__pause {
    background: none;
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.pc-slider__dots {
    display: flex;
    gap: 8px;
}

.pc-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, .6);
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    transition: width .2s ease;
}

.pc-slider__dot[aria-current="true"] {
    width: 34px;
    background: var(--pc-gold-light);
}

@media (max-width: 900px) {
    .pc-slider {
        margin-top: 12px;
        padding: 0 16px;
    }

    .pc-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 220px auto;
        min-height: 0;
    }

    .pc-slide__image {
        grid-row: 1;
    }

    .pc-slide__text,
    html[dir="rtl"] .pc-slide__text {
        padding: 22px 22px 58px;
        gap: 12px;
    }

    .pc-slider__arrow {
        top: 110px;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        font-size: 24px;
    }

    .pc-slider__arrow--prev {
        left: 26px;
    }

    .pc-slider__arrow--next {
        right: 26px;
    }

    .pc-slider__bar {
        left: 38px;
        right: auto;
        bottom: 18px;
    }
}

/* Large category cards (static content section) */
.pc-categories__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px 24px;
    margin-bottom: 22px;
}

.pc-categories__head h2 {
    margin: 4px 0 0 !important;
}

.pc-categories__head p {
    margin: 0;
    color: var(--pc-muted);
}

.pc-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.pc-category-card {
    display: grid;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 18px;
    color: var(--pc-ink);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pc-category-card:hover,
.pc-category-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(23, 60, 42, .14);
}

.pc-category-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pc-category-card__body {
    display: grid;
    gap: 4px;
    padding: 16px 20px 20px;
}

.pc-category-card__body strong {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
}

.pc-category-card__body > span:not(.pc-category-card__cta) {
    color: var(--pc-muted);
}

.pc-category-card__cta {
    margin-top: 8px;
    color: var(--pc-green);
    font-weight: 700;
}

@media (max-width: 640px) {
    .pc-categories__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-category-card,
    .pc-slide__cta,
    .pc-slider__dot {
        transition: none;
    }
}

/* Refinements: wider text panel on desktop; category cards as a swipeable row on phones */
@media (min-width: 901px) {
    .pc-slide {
        grid-template-columns: 1.3fr 1fr;
    }

    .pc-slide__text {
        padding-left: 96px;
    }

    html[dir="rtl"] .pc-slide__text {
        padding-right: 96px;
        padding-left: 56px;
    }

    .pc-slide h1,
    .pc-slide h2 {
        font-size: clamp(34px, 4vw, 58px);
    }
}

@media (max-width: 640px) {
    .pc-categories__grid {
        display: flex;
        gap: 14px;
        margin: 0 calc(var(--pc-side) * -1);
        padding: 0 var(--pc-side) 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pc-categories__grid::-webkit-scrollbar {
        display: none;
    }

    .pc-category-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .pc-category-card__body strong {
        font-size: 22px;
    }
}

/*
 * Trust row above the footer (Bagisto "Services" section, the container after main): four equal cards, icons in
 * matching circles, title and a short line each. Two per row on tablets and phones.
 */
#app > .container.mt-20 > div {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px !important;
    text-align: start !important;
}

#app > .container.mt-20 > div > div {
    display: flex !important;
    align-items: center;
    gap: 14px !important;
    min-width: 0;
    padding: 18px 20px !important;
    background: #fff;
    border: 1px solid #e9decc;
    border-radius: 14px;
}

#app > .container.mt-20 > div > div > span[class*="icon-"] {
    flex: none;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #e6efe8 !important;
    color: var(--pc-green-dark) !important;
    font-size: 26px !important;
}

#app > .container.mt-20 > div > div > div {
    display: block !important;
    min-width: 0;
}

#app > .container.mt-20 > div > div p:first-child {
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    color: var(--pc-ink);
}

#app > .container.mt-20 > div > div p + p {
    max-width: none !important;
    margin-top: 3px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    color: var(--pc-muted) !important;
}

@media (max-width: 1023px) {
    #app > .container.mt-20 > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    #app > .container.mt-20 > div {
        gap: 10px !important;
    }

    #app > .container.mt-20 > div > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px !important;
        padding: 14px !important;
    }

    #app > .container.mt-20 > div > div > span[class*="icon-"] {
        width: 40px !important;
        height: 40px !important;
        font-size: 22px !important;
    }

    #app > .container.mt-20 > div > div p + p {
        font-size: 13px !important;
    }
}

/* Footer: quieter newsletter heading, easier-to-read links and small print */
footer [role="heading"][aria-level="2"] {
    max-width: none;
    font-family: inherit;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pc-green-dark);
}

footer [role="heading"][aria-level="2"] + p {
    max-width: 26rem;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pc-muted);
}

footer ul a {
    font-size: 15px !important;
    line-height: 1.4;
    color: var(--pc-ink);
}

footer ul a:hover,
footer ul a:focus-visible {
    color: var(--pc-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer ul.grid {
    gap: 14px;
}

/*
 * Spacing system (designer's targets). Every gap comes from the 4/8/12/16/24/32/40/48 px scale:
 *   page sides       12 phones · 16 tablets · 24 desktops (owner's choice: slim edges like the big grocery sites);
 *                    content stretches up to 1920 px wide, wider screens get equal space on both sides
 *   between sections 32 phones · 40 tablets and up      hero → next section 24 · 32
 *   heading → content 12 · 16      card gap 12 · 16      card padding 12 · 16      footer top 32 · 40
 * Bagisto's own blocks (product rows, trust row, header, footer) are lined up with the same side padding.
 */
:root {
    --pc-gutter: 12px;
    --pc-side: max(var(--pc-gutter), calc((100% - 1872px) / 2));
    --pc-space-section: 32px;
    --pc-space-hero: 24px;
    --pc-space-head: 12px;
    --pc-space-card-gap: 12px;
    --pc-space-card-pad: 12px;
    --pc-space-footer: 32px;
}

@media (min-width: 768px) {
    :root {
        --pc-gutter: 16px;
        --pc-space-section: 40px;
        --pc-space-hero: 32px;
        --pc-space-head: 16px;
        --pc-space-card-gap: 16px;
        --pc-space-card-pad: 16px;
        --pc-space-footer: 40px;
    }
}

@media (min-width: 1024px) {
    :root {
        --pc-gutter: 24px;
    }
}

/* Page sides */
.pc-announcement,
header div.min-h-19\.5,
header div.px-4.lg\:hidden,
footer > div:last-child {
    padding-inline: var(--pc-side) !important;
}

.pc-menu .pc-menu__bar {
    max-width: none;
    padding-inline: max(0px, calc(var(--pc-side) - 16px));
}

.pc-menu__bar a {
    padding-inline: 16px;
}

.pc-slider,
.pc-section {
    max-width: none;
    padding-inline: var(--pc-side);
}

/* Vertical rhythm */
.pc-slider {
    margin: var(--pc-space-hero) 0 0;
}

@media (max-width: 900px) {
    .pc-slider {
        margin-top: 16px;
    }
}

.pc-section {
    padding-block: var(--pc-space-section) 0;
}

.pc-slider + .pc-section,
.pc-categories {
    padding-top: var(--pc-space-hero);
}

.pc-section h2,
.pc-categories__head {
    margin-bottom: var(--pc-space-head);
}

main#main > .container.mt-20,
#app > .container.mt-20 {
    margin-top: var(--pc-space-section) !important;
    padding-inline: var(--pc-side) !important;
}

/* Product rows */
main#main > .container.mt-20 > .overflow-auto {
    gap: var(--pc-space-card-gap) !important;
    margin-top: var(--pc-space-head) !important;
}

main#main > .container.mt-20 > .overflow-auto > div > div:nth-child(2) {
    padding: 12px var(--pc-space-card-pad) var(--pc-space-card-pad) !important;
    gap: 8px;
}

main#main > .container.mt-20 .secondary-button {
    min-height: 44px;
}

/* Cards elsewhere */
.pc-categories__grid,
.pc-steps,
#app > .container.mt-20 > div {
    gap: var(--pc-space-card-gap) !important;
}

.pc-category-card__body,
#app > .container.mt-20 > div > div {
    padding: var(--pc-space-card-pad) !important;
}

.pc-steps li {
    padding: var(--pc-space-card-pad);
}

.pc-steps li::before {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .pc-category-card__body {
        padding: 16px 16px 24px !important;
    }

    .pc-steps li {
        padding: 24px;
    }
}

/* Buttons: 48 px tall main actions, 44 px minimum elsewhere */
.pc-slide__cta {
    min-height: 48px;
    padding: 0 24px;
    font-size: 16px;
}

/* Footer */
footer {
    margin-top: var(--pc-space-footer) !important;
}

footer > div:first-child {
    padding: var(--pc-space-section) var(--pc-side) !important;
}

/*
 * Shelves on desktop: product cards share the full width (4 per row from 1024 px, 5 from 1280, 6 from 1440, 7 from
 * 1760). A shelf with four products or fewer turns its heading into a green panel beside the cards so no row looks
 * half empty: on --pc-short-cols columns, the panel taking two (one on small desktops) and the cards the rest.
 */
@media (min-width: 1024px) {
    main#main > .container.mt-20 {
        --pc-cols: 4;
    }

    main#main > .container.mt-20 > .overflow-auto > div {
        flex: 0 0 calc((100% - (var(--pc-cols) - 1) * var(--pc-space-card-gap)) / var(--pc-cols)) !important;
        min-width: 0 !important;
    }

    main#main > .container.mt-20 > .overflow-auto > div > div {
        max-width: none !important;
        max-height: none !important;
    }

    /* "View all" beside the heading instead of a big button under the row */
    main#main > .container.mt-20 > a.secondary-button {
        display: none !important;
    }

    main#main > .container.mt-20 a.max-lg\:flex {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        color: var(--pc-green);
        font-weight: 600;
        white-space: nowrap;
    }

    main#main > .container.mt-20 a.max-lg\:flex p {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 16px;
    }

    main#main > .container.mt-20 > .overflow-auto img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }

    /* Short shelf: heading panel + cards on one grid of --pc-short-cols columns */
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) {
        display: grid;
        grid-template-columns: repeat(var(--pc-short-cols), minmax(0, 1fr));
        gap: var(--pc-space-card-gap);
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) > .overflow-auto {
        display: grid !important;
        grid-template-columns: repeat(var(--pc-n), minmax(0, 1fr));
        grid-column: span var(--pc-n);
        margin-top: 0 !important;
        overflow: visible;
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(1)) { --pc-n: 1; --pc-short-cols: 4; }
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(2)) { --pc-n: 2; --pc-short-cols: 4; }
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(3)) { --pc-n: 3; --pc-short-cols: 4; }
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(4)) { --pc-n: 4; --pc-short-cols: 5; }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) > div:first-child {
        grid-column: span calc(var(--pc-short-cols) - var(--pc-n));
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 24px;
        padding: 32px;
        background: var(--pc-green-dark);
        border-radius: 16px;
        background-image: radial-gradient(circle at 100% 100%, #ffffff14 0, #ffffff14 120px, transparent 121px);
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) > div:first-child h2 {
        color: #fff;
        font-size: 32px;
        line-height: 1.15;
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) a.max-lg\:flex {
        align-self: flex-start;
        min-height: 48px;
        padding: 0 24px;
        background: var(--pc-gold-light);
        border-radius: 10px;
        color: var(--pc-green-dark) !important;
        font-weight: 700;
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) a.max-lg\:flex p {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
    }
}

@media (min-width: 1280px) {
    main#main > .container.mt-20 {
        --pc-cols: 5;
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(1)) { --pc-short-cols: 3; }
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(2)) { --pc-short-cols: 4; }
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(3)) { --pc-short-cols: 5; }
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(4)) { --pc-short-cols: 6; }
}

@media (min-width: 1440px) {
    main#main > .container.mt-20 {
        --pc-cols: 6;
    }

    /* Wide screens: a shelf of three or four keeps its panel narrow (1.25 cards) and gives the room to the products */
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(n + 3):nth-child(-n + 4)) {
        grid-template-columns: minmax(0, 1.25fr) repeat(var(--pc-n), minmax(0, 1fr));
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(n + 3):nth-child(-n + 4)) > div:first-child {
        grid-column: span 1;
        padding: 28px;
    }

    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(n + 3):nth-child(-n + 4)) > div:first-child h2 {
        font-size: 30px;
    }
}

@media (min-width: 1760px) {
    main#main > .container.mt-20 {
        --pc-cols: 7;
    }
}

/*
 * Header: logo · search · Deliver to · Welcome/account · cart, on one row (views/shop/components/layouts/header/
 * desktop/bottom.blade.php). The header and the green menu bar stay pinned to the top; the announcement scrolls away.
 * --pc-header-h is the header's live height (assets/js/parchuns.js).
 */
.pc-menu {
    position: sticky;
    top: var(--pc-header-h, 79px);
    z-index: 9;
}

html {
    scroll-padding-top: calc(var(--pc-header-h, 79px) + 64px);
}

.pc-header {
    gap: 24px;
}

.pc-header__logo {
    flex: none;
}

.pc-header__search {
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 560px;
}

.pc-header__search form {
    position: relative;
}

.pc-header__search input {
    height: 44px;
    padding-inline: 44px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.pc-header__search-icon {
    top: 50%;
    inset-inline-start: 14px;
    transform: translateY(-50%);
    color: var(--pc-muted);
}

.pc-header__actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.pc-header__cart {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 8px;
}

/* Two-line buttons: "Deliver to / Lahore" and "Welcome, Ali / My account" */
.pc-deliver__toggle,
.pc-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 4px 12px;
    border-radius: 10px;
    color: var(--pc-ink);
    text-align: start;
    cursor: pointer;
    transition: background .15s ease;
}

.pc-deliver__toggle:hover,
.pc-deliver.is-open .pc-deliver__toggle,
.pc-account:hover {
    background: #f1eadf;
}

.pc-deliver__toggle svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--pc-green);
}

.pc-account .icon-users {
    font-size: 24px;
}

.pc-deliver__text,
.pc-account__text {
    display: grid;
    min-width: 0;
    line-height: 1.25;
}

.pc-deliver__text small,
.pc-account__text small {
    overflow: hidden;
    max-width: 150px;
    color: var(--pc-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-deliver__text strong,
.pc-account__text strong {
    overflow: hidden;
    max-width: 150px;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Deliver-to panel */
.pc-deliver {
    position: relative;
}

.pc-deliver__panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    width: 320px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e9decc;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(23, 60, 42, .16);
}

.pc-deliver__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-deliver__label {
    display: block;
    margin-bottom: 4px;
    color: var(--pc-muted);
    font-size: 13px;
}

.pc-deliver__row {
    display: flex;
    gap: 8px;
}

.pc-deliver__row input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d9cdb8;
    border-radius: 10px;
    font-size: 15px;
}

.pc-deliver__row input:focus {
    border-color: var(--pc-green);
    outline: 2px solid #1f6b4433;
}

.pc-deliver__save {
    height: 44px;
    padding: 0 16px;
    background: var(--pc-green-dark);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
}

.pc-deliver__estimate {
    margin: 12px 0 0;
    color: var(--pc-green);
    font-size: 13px;
    font-weight: 600;
}

/* Phones and tablets */
@media (max-width: 1023px) {
    .pc-mobile-header .pc-account {
        gap: 6px;
        padding: 4px 6px;
    }

    .pc-mobile-header .pc-account__text small,
    .pc-mobile-header .pc-account__text strong {
        max-width: 120px;
    }

    .pc-mobile-header .pc-account__text small {
        font-size: 11px;
    }

    .pc-mobile-header .pc-account__text strong {
        font-size: 13px;
    }

    .pc-mobile-search input {
        height: 44px;
    }

    .pc-deliver--compact {
        position: static;
        flex: none;
    }

    .pc-deliver--compact .pc-deliver__toggle {
        gap: 4px;
        height: 44px;
        padding: 0 10px;
        border: 1px solid #e3e3e3;
        background: #fff;
    }

    .pc-deliver--compact .pc-deliver__text small {
        font-size: 11px;
    }

    .pc-deliver--compact .pc-deliver__text small,
    .pc-deliver--compact .pc-deliver__text strong {
        max-width: 100px;
    }

    .pc-deliver--compact .pc-deliver__text strong {
        font-size: 13px;
    }

    .pc-mobile-header {
        position: relative;
    }

    .pc-deliver--compact .pc-deliver__panel {
        top: calc(100% - 4px);
        inset-inline: 16px;
        width: auto;
    }
}

/* Deliver-to panel: saved addresses (signed-in customers) */
.pc-deliver__panel {
    max-height: min(70vh, 520px);
    overflow-y: auto;
}

.pc-deliver__addresses {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-deliver__address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: 1px solid #e9decc;
    border-radius: 12px;
    background: #fff;
    text-align: start;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.pc-deliver__address:hover {
    border-color: var(--pc-green);
}

.pc-deliver__address[aria-pressed="true"] {
    border-color: var(--pc-green);
    background: #f2f7f3;
}

.pc-deliver__address:disabled {
    cursor: wait;
    opacity: .7;
}

.pc-deliver__radio {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid #b9ad97;
    border-radius: 50%;
}

.pc-deliver__address[aria-pressed="true"] .pc-deliver__radio {
    border-color: var(--pc-green);
    box-shadow: inset 0 0 0 3px #fff;
    background: var(--pc-green);
}

.pc-deliver__address-text {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
    color: var(--pc-muted);
    line-height: 1.4;
}

.pc-deliver__address-text strong {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--pc-ink);
}

.pc-deliver__address-text em {
    padding: 0 8px;
    border-radius: 999px;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}

.pc-deliver__address-text small {
    color: var(--pc-green);
    font-size: 12px;
    font-weight: 600;
}

.pc-deliver__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 12px 0 0;
    font-size: 13px;
}

.pc-deliver__links a {
    color: var(--pc-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Every page (category, product, cart, checkout, account): Bagisto's .container gets the same slim edges and width */
#app .container {
    max-width: none;
    padding-inline: var(--pc-side) !important;
}

/* Product photos on phones are full screen width (Bagisto's w-screen): start them at the screen edge, not the page edge */
#app .container .w-screen {
    margin-inline-start: calc(var(--pc-side) * -1);
}

/* Category and search results on desktop: as many columns as fit (cards at least 190 px: 6 a row on a laptop, 8 on a
   large screen), same gap and photos as the home shelves */
@media (min-width: 1024px) {
    #app main .grid.grid-cols-3.gap-8 {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
        gap: var(--pc-space-card-gap) !important;
    }

    #app main .grid.grid-cols-3.gap-8 > div > div {
        max-width: none !important;
        max-height: none !important;
    }

    #app main .grid.grid-cols-3.gap-8 img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

/* Tracking page: "Before you accept your parcel" (seal, packed weight, what to pay the rider) */
.pc-track__parcel {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--pc-green);
    border-radius: 12px;
    background: #f2f7f3;
    line-height: 1.5;
}

.pc-track__parcel p {
    margin: 8px 0 0;
}

.pc-track__seal {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-weight: 700;
    color: var(--pc-green-dark);
}

.pc-track__pay {
    font-weight: 700;
}

/* Kits (Taster box, seasonal kits): saving and contents under the price (Box hooks/kit-contents) */
.pc-kit {
    margin: 12px 0 4px;
    padding: 16px;
    border: 1px solid #e9decc;
    border-radius: 12px;
    background: #fff;
}

.pc-kit__save {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f2f7f3;
    color: var(--pc-green-dark);
    font-weight: 700;
}

.pc-kit__title {
    margin: 0 0 8px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-kit__items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 4px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-kit__items li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #e9decc;
}

.pc-kit__items a {
    color: var(--pc-green);
    font-weight: 600;
}

.pc-kit__items bdi {
    color: var(--pc-muted);
    white-space: nowrap;
}

.pc-kit__note {
    margin: 12px 0 0;
    color: var(--pc-muted);
    font-size: 13px;
}

/* Bagisto's red "Sale" tag on product cards, in the brand colours */
.action-items [class*="bg-red-"] {
    background: var(--pc-gold-light) !important;
    color: var(--pc-green-dark) !important;
    font-weight: 700;
}

/* Short shelves: the heading panel has no scroll arrows (everything already fits) */
@media (min-width: 1024px) {
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) .icon-arrow-left-stylish,
    main#main > .container.mt-20:has(> .overflow-auto > :last-child:nth-child(-n + 4)) .icon-arrow-right-stylish {
        display: none;
    }
}

/* Home: "What home cooks say" — approved reviews (Trust shop/home-reviews) */
.pc-reviews__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: var(--pc-space-head);
}

.pc-reviews__head h2 {
    margin: 0;
}

.pc-reviews__summary {
    margin: 0;
    color: var(--pc-muted);
    font-weight: 600;
}

.pc-reviews__stars,
.pc-reviews__rating {
    color: #d99a1e;
    letter-spacing: 2px;
}

.pc-reviews__rating span {
    color: #e3d9c6;
}

.pc-reviews__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--pc-space-card-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: var(--pc-space-card-pad);
    border: 1px solid #e9decc;
    border-radius: 14px;
    background: #fff;
}

.pc-reviews__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.pc-reviews__card p {
    margin: 0;
}

.pc-reviews__title {
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-reviews__comment {
    color: var(--pc-ink);
    line-height: 1.55;
}

.pc-reviews__by {
    margin-top: auto !important;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-reviews__by a {
    color: var(--pc-green);
    font-weight: 600;
}

@media (max-width: 640px) {
    .pc-reviews__list {
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        grid-template-columns: none;
        margin: 0 calc(var(--pc-side) * -1);
        padding: 0 var(--pc-side) 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .pc-reviews__card {
        scroll-snap-align: start;
    }
}

/* Seasonal campaign: strip under the menu and header on the occasion's kits page (Box hooks/campaign-*) */
.pc-campaign {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 16px;
    padding: 8px var(--pc-side);
    background: var(--pc-gold-light);
    color: var(--pc-green-dark);
    font-size: 14px;
    text-align: center;
}

.pc-campaign__text {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
}

.pc-campaign__countdown {
    font-variant-numeric: tabular-nums;
}

.pc-campaign__link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pc-campaign-hero {
    margin: var(--pc-space-hero) var(--pc-side) 0;
    padding: 32px;
    border-radius: 16px;
    background: var(--pc-green-dark);
    background-image: radial-gradient(circle at 100% 100%, #ffffff14 0, #ffffff14 140px, transparent 141px);
    color: #fff;
}

.pc-campaign-hero .pc-section__eyebrow {
    color: var(--pc-gold-light);
}

.pc-campaign-hero h1 {
    margin: 8px 0;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.pc-campaign-hero p {
    max-width: 640px;
    margin: 0;
    color: #e6efe8;
}

.pc-campaign-hero__countdown {
    display: inline-block;
    margin-top: 16px !important;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--pc-gold-light);
    color: var(--pc-green-dark) !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .pc-campaign-hero {
        padding: 24px 16px;
    }
}

/* Arrows written as text ("Shop Eid kits →") point the reading way in Urdu */
html[dir="rtl"] .pc-arrow,
html[dir="rtl"] .pc-slide__cta > span[aria-hidden="true"],
html[dir="rtl"] .pc-category-card__cta > span[aria-hidden="true"],
html[dir="rtl"] main#main > .container.mt-20 a .icon-arrow-right {
    display: inline-block;
    transform: scaleX(-1);
}

/* Hero slider in Urdu: "previous" on the right, "next" on the left, arrows drawn in the Latin font */
html[dir="rtl"] .pc-slider__arrow {
    font-family: "DM Sans", sans-serif;
}

html[dir="rtl"] .pc-slider__arrow--prev {
    right: 58px;
    left: auto;
}

html[dir="rtl"] .pc-slider__arrow--next {
    right: auto;
    left: 58px;
}

@media (max-width: 900px) {
    html[dir="rtl"] .pc-slider__arrow--prev {
        right: 26px;
    }

    html[dir="rtl"] .pc-slider__arrow--next {
        left: 26px;
    }
}

/* For restaurants & caterers (Box shop/business) and the note under ingredient prices */
.pc-business {
    padding: var(--pc-space-hero) var(--pc-side) 0;
}

.pc-business__hero {
    padding: 32px;
    border-radius: 16px;
    background: var(--pc-green-dark);
    color: #fff;
}

.pc-business__hero .pc-section__eyebrow {
    color: var(--pc-gold-light);
}

.pc-business__hero h1 {
    margin: 8px 0;
    max-width: 760px;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.pc-business__hero p {
    max-width: 680px;
    margin: 0;
    color: #e6efe8;
    line-height: 1.55;
}

.pc-business__you {
    display: inline-block;
    margin-top: 16px !important;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--pc-gold-light);
    color: var(--pc-green-dark) !important;
    font-weight: 700;
}

.pc-business__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    margin-top: var(--pc-space-section);
}

.pc-business h2 {
    margin: 0 0 12px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    color: var(--pc-ink);
}

.pc-business__grid > div > h2:not(:first-child) {
    margin-top: 32px;
}

.pc-business__tiers {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-business__tiers li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #e9decc;
    border-radius: 12px;
    background: #fff;
}

.pc-business__tiers span {
    color: var(--pc-green);
    font-weight: 700;
    white-space: nowrap;
}

.pc-business__note {
    margin: 8px 0 0;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-business__points,
.pc-business__steps {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 20px;
    color: var(--pc-ink);
    line-height: 1.55;
}

.pc-business__form-wrap {
    align-self: start;
    padding: 24px;
    border: 1px solid #e9decc;
    border-radius: 16px;
    background: #fff;
}

.pc-business__form {
    display: grid;
    gap: 12px;
}

.pc-business__form label {
    display: grid;
    gap: 4px;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-business__input {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #d9cdb8;
    border-radius: 10px;
    background: #fff;
    color: var(--pc-ink);
    font-size: 15px;
}

.pc-business__input:focus {
    border-color: var(--pc-green);
    outline: 2px solid #1f6b4433;
}

.pc-business__form .primary-button {
    min-height: 48px;
    justify-self: start;
}

/* Visually hidden without moving it off-screen (an offset would widen right-to-left pages) */
.pc-business__trap {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.pc-business__error {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fdecea;
    color: #a33;
}

.pc-business__sent strong {
    display: block;
    margin-bottom: 8px;
    color: var(--pc-green-dark);
    font-size: 18px;
}

.pc-business-note {
    margin: 8px 0 0;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-business-note a {
    color: var(--pc-green);
    font-weight: 600;
}

@media (max-width: 900px) {
    .pc-business__grid {
        grid-template-columns: 1fr;
    }

    .pc-business__hero,
    .pc-business__form-wrap {
        padding: 20px 16px;
    }
}

.pc-business__points {
    list-style: disc;
}

.pc-business__steps {
    list-style: decimal;
}

/* Monthly pantry plan (Box shop/pantry-plan) */
.pc-pantry {
    padding: var(--pc-space-hero) var(--pc-side) 0;
}

.pc-pantry__hero {
    padding: 32px;
    border-radius: 16px;
    background: var(--pc-green-dark);
    background-image: radial-gradient(circle at 100% 100%, #ffffff14 0, #ffffff14 140px, transparent 141px);
    color: #fff;
}

.pc-pantry__hero .pc-section__eyebrow {
    color: var(--pc-gold-light);
}

.pc-pantry__hero h1 {
    max-width: 760px;
    margin: 8px 0;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.pc-pantry__hero p {
    max-width: 680px;
    margin: 0;
    color: #e6efe8;
    line-height: 1.55;
}

.pc-pantry__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    margin-top: var(--pc-space-section);
}

.pc-pantry__step + .pc-pantry__step {
    margin-top: 32px;
}

.pc-pantry__step h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-pantry__step h2 span {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 15px;
}

.pc-pantry__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-pantry__choice {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d9cdb8;
    border-radius: 999px;
    background: #fff;
    color: var(--pc-ink);
    font-weight: 600;
    cursor: pointer;
}

.pc-pantry__choice[aria-checked="true"],
.pc-pantry__choice[aria-pressed="true"] {
    border-color: var(--pc-green-dark);
    background: var(--pc-green-dark);
    color: #fff;
}

.pc-pantry__list {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.pc-pantry__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 90px 36px;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #e9decc;
    border-radius: 12px;
    background: #fff;
}

.pc-pantry__list a {
    color: var(--pc-ink);
    font-weight: 600;
}

.pc-pantry__qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #d9cdb8;
    border-radius: 999px;
}

.pc-pantry__qty button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--pc-green-dark);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.pc-pantry__qty bdi {
    min-width: 56px;
    text-align: center;
    font-weight: 700;
}

.pc-pantry__price {
    color: var(--pc-muted);
    text-align: end;
    white-space: nowrap;
}

.pc-pantry__remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--pc-muted);
    font-size: 20px;
    cursor: pointer;
}

.pc-pantry__remove:hover {
    background: #f1eadf;
}

.pc-pantry__add {
    min-height: 44px;
    padding: 0 12px;
    border: 1px dashed #b9ad97;
    border-radius: 12px;
    background: transparent;
    color: var(--pc-green);
    font-weight: 600;
}

.pc-pantry__summary {
    position: sticky;
    top: calc(var(--pc-header-h, 79px) + 72px);
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid #e9decc;
    border-radius: 16px;
    background: #fff;
}

.pc-pantry__summary p {
    margin: 0;
}

.pc-pantry__label {
    color: var(--pc-muted);
    font-weight: 600;
}

.pc-pantry__total {
    color: var(--pc-ink);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.pc-pantry__saving {
    padding: 8px 12px;
    border-radius: 8px;
    background: #f2f7f3;
    color: var(--pc-green-dark);
    font-weight: 600;
}

.pc-pantry__summary .primary-button,
.pc-pantry__summary .secondary-button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
}

.pc-pantry__refill {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e9decc;
}

.pc-pantry__refill label {
    display: grid;
    gap: 4px;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-pantry__signin {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 900px) {
    .pc-pantry__grid {
        grid-template-columns: 1fr;
    }

    .pc-pantry__summary {
        position: static;
    }

    .pc-pantry__hero {
        padding: 20px 16px;
    }

    .pc-pantry__list li {
        grid-template-columns: minmax(0, 1fr) auto 36px;
    }

    .pc-pantry__price {
        display: none;
    }
}

/* Account → Monthly refills: editable amounts and estimate */
.pc-refill__items ul {
    display: grid;
    gap: 6px;
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

.pc-refill__items li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pc-refill__items select {
    width: auto;
    min-width: 120px;
}

.pc-refill__total {
    margin: 0 0 12px;
    font-weight: 700;
}

.pc-refill__total span {
    color: var(--pc-green);
    font-weight: 600;
}

.pc-link {
    color: var(--pc-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Skip / pause from the email */
.pc-refill-action {
    max-width: 640px;
    margin: var(--pc-space-section) auto;
    padding: 32px var(--pc-side);
    text-align: center;
}

.pc-refill-action h1 {
    margin: 0 0 12px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 32px;
    color: var(--pc-ink);
}

.pc-refill-action p {
    margin: 0 0 20px;
    line-height: 1.55;
}

.pc-refill-action .primary-button {
    min-height: 48px;
}

/* Monthly plan: search to add items */
.pc-pantry__search {
    position: relative;
    margin-bottom: 8px;
}

.pc-pantry__search > svg {
    position: absolute;
    top: 13px;
    inset-inline-start: 14px;
    width: 20px;
    height: 20px;
    color: var(--pc-muted);
    pointer-events: none;
}

.pc-pantry__search input {
    width: 100%;
    min-height: 48px;
    padding-inline: 44px 16px;
    border: 2px solid #d9cdb8;
    border-radius: 12px;
    background: #fff;
    color: var(--pc-ink);
    font-size: 16px;
}

.pc-pantry__search input:focus {
    border-color: var(--pc-green);
    outline: none;
}

.pc-pantry__results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    inset-inline: 0;
    display: grid;
    max-height: 360px;
    margin: 0;
    padding: 4px;
    overflow-y: auto;
    border: 1px solid #e9decc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(23, 60, 42, .16);
    list-style: none;
}

.pc-pantry__results button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 48px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: start;
    cursor: pointer;
}

.pc-pantry__results button:hover,
.pc-pantry__results button:focus-visible {
    background: #f2f7f3;
}

.pc-pantry__result-name {
    display: grid;
    min-width: 0;
}

.pc-pantry__result-name strong {
    color: var(--pc-ink);
}

.pc-pantry__result-name small,
.pc-pantry__list a small {
    overflow: hidden;
    color: var(--pc-muted);
    font-size: 12px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-pantry__result-price {
    color: var(--pc-muted);
    font-size: 13px;
    white-space: nowrap;
}

.pc-pantry__result-add {
    justify-self: end;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pc-pantry__none {
    padding: 12px;
    color: var(--pc-muted);
}

.pc-pantry__flash {
    min-height: 20px;
    margin: 0 0 8px;
    color: var(--pc-green);
    font-size: 14px;
    font-weight: 600;
}

.pc-pantry__list a {
    display: grid;
    min-width: 0;
}

@media (max-width: 640px) {
    .pc-pantry__results button {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .pc-pantry__result-price {
        display: none;
    }
}

/* Parchuns Family: level in the header, and the /family page */
.pc-account__level {
    display: inline-block;
    margin-inline-start: 4px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e6efe8;
    color: var(--pc-green-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
}

.pc-account__level--gold,
.pc-family__badge--gold,
.pc-family__level--gold h2::after {
    background: #f3dd9c;
    color: #6b4a07;
}

.pc-family {
    padding: var(--pc-space-hero) var(--pc-side) 0;
}

.pc-family__hero {
    padding: 32px;
    border-radius: 16px;
    background: var(--pc-green-dark);
    background-image: radial-gradient(circle at 100% 100%, #ffffff14 0, #ffffff14 140px, transparent 141px);
    color: #fff;
}

.pc-family__hero .pc-section__eyebrow {
    color: var(--pc-gold-light);
}

.pc-family__hero h1 {
    max-width: 760px;
    margin: 8px 0;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.pc-family__hero p {
    max-width: 680px;
    margin: 0;
    color: #e6efe8;
    line-height: 1.55;
}

.pc-family__you {
    display: grid;
    gap: 8px;
    margin-top: var(--pc-space-section);
    padding: 24px;
    border: 1px solid var(--pc-green);
    border-radius: 16px;
    background: #f2f7f3;
}

.pc-family__you p {
    margin: 0;
}

.pc-family__badge {
    justify-self: start;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--pc-green-dark);
    color: #fff;
    font-weight: 700;
}

.pc-family__next {
    font-weight: 700;
    color: var(--pc-green-dark);
}

.pc-family__bar {
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #d9e4d8;
}

.pc-family__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--pc-green);
}

.pc-family__levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pc-space-card-gap);
    margin: var(--pc-space-section) 0 0;
    padding: 0;
    list-style: none;
}

.pc-family__level {
    padding: 24px;
    border: 1px solid #e9decc;
    border-radius: 16px;
    background: #fff;
}

.pc-family__level.is-current {
    border: 2px solid var(--pc-green);
}

.pc-family__level h2 {
    margin: 0 0 8px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 28px;
    color: var(--pc-ink);
}

.pc-family__how {
    margin: 0 0 12px;
    color: var(--pc-muted);
    font-weight: 600;
}

.pc-family__level ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-inline-start: 20px;
    list-style: disc;
    color: var(--pc-ink);
}

.pc-family__note {
    margin: var(--pc-space-section) 0 0;
    color: var(--pc-muted);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .pc-family__levels {
        grid-template-columns: 1fr;
    }

    .pc-family__hero {
        padding: 20px 16px;
    }
}

/* Bulk packs on the product page, and "Big order?" in the cart */
.pc-pack-picker__bulk {
    margin: 12px 0 6px;
    color: var(--pc-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pc-pack-picker__options--bulk {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.pc-quote {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px dashed var(--pc-green);
    border-radius: 12px;
    background: #f2f7f3;
}

.pc-quote p {
    margin: 0;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-quote .secondary-button {
    justify-self: start;
}

/*
 * "Shop all aisles" (hooks/menu-bar.blade.php, behaviour in assets/js/parchuns.js): the bar's first item opens a panel
 * under the bar — departments on the left, the active one's aisles on the right. Phones: full screen, drill-down.
 */
.pc-menu__all {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 12px 18px;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.pc-menu__all:hover,
.pc-menu__all:focus-visible,
.pc-menu__all[aria-expanded="true"] {
    background: #0f3825;
}

.pc-menu__chevron {
    transition: transform .2s ease;
}

.pc-menu__all[aria-expanded="true"] .pc-menu__chevron {
    transform: rotate(180deg);
}

.pc-menu__bar a.pc-menu__offers {
    color: var(--pc-gold-light);
    font-weight: 600;
}

.pc-mega {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 40;
}

.pc-mega[hidden] {
    display: none;
}

/* Dims the page below the bar only: covering the bar too put the pointer "outside" the menu and made it blink */
.pc-mega__backdrop {
    position: absolute;
    top: 0;
    inset-inline: 0;
    z-index: -1;
    height: 100vh;
    background: rgba(23, 40, 30, .32);
}

.pc-mega__panel {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    max-height: calc(100vh - var(--pc-header-h, 79px) - 60px);
    margin-inline: var(--pc-side);
    overflow: auto;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 48px rgba(23, 60, 42, .18);
}

.pc-mega__top {
    display: none;
}

.pc-mega__departments {
    margin: 0;
    padding: 12px;
    list-style: none;
    border-inline-end: 1px solid var(--pc-line);
}

.pc-mega__department {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--pc-ink);
    font-size: 16px;
    font-weight: 600;
}

.pc-mega__department svg {
    flex: none;
    opacity: .45;
}

.pc-mega__department:hover,
.pc-mega__department:focus-visible,
.pc-mega__department.is-active {
    background: #e9f2ec;
    color: var(--pc-green-dark);
}

.pc-mega__department.is-active svg {
    opacity: 1;
}

.pc-mega__more {
    display: grid;
    gap: 2px;
    margin-top: 10px;
    padding: 12px 14px 4px;
    border-top: 1px solid var(--pc-line);
}

.pc-mega__more a {
    padding: 6px 0;
    color: #5c6b62;
    font-size: 14px;
}

.pc-mega__more a:hover {
    color: var(--pc-green-dark);
}

.pc-mega__pane {
    padding: 22px 28px 28px;
}

.pc-mega__pane-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pc-line);
}

.pc-mega__pane-title {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    color: var(--pc-ink);
}

.pc-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px 28px;
}

.pc-mega__group ul {
    display: grid;
    gap: 2px;
    margin: 6px 0 8px;
    padding: 0;
    list-style: none;
}

.pc-mega__group li a {
    display: block;
    padding: 4px 0;
    color: #5c6b62;
    font-size: 15px;
}

.pc-mega__group li a:hover,
.pc-mega__group li a:focus-visible {
    color: var(--pc-green-dark);
    text-decoration: underline;
}

.pc-mega__aisle {
    display: block;
    color: var(--pc-ink);
    font-size: 17px;
    font-weight: 700;
}

.pc-mega__aisle:hover {
    color: var(--pc-green-dark);
}

.pc-mega__view-all {
    color: var(--pc-green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Phones and small tablets: full screen, departments first, then the chosen one's aisles */
@media (max-width: 900px) {
    .pc-menu__all {
        padding: 11px 14px;
        font-size: 14px;
    }

    .pc-mega {
        position: fixed;
        inset: 0;
        z-index: 60;
    }

    .pc-mega__backdrop {
        display: none;
    }

    .pc-mega__panel {
        display: block;
        height: 100%;
        max-height: none;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .pc-mega__top {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 56px;
        padding: 0 8px 0 16px;
        background: var(--pc-green-dark);
        color: #fff;
    }

    .pc-mega__title {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        font-size: 17px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .pc-mega__back {
        flex: none;
        padding: 8px 4px;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
    }

    .pc-mega__back:not([hidden]) + .pc-mega__title {
        display: none;
    }

    .pc-mega__close {
        flex: none;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-inline-start: auto;
        color: #fff;
    }

    .pc-mega__departments {
        padding: 8px 12px 24px;
        border: 0;
    }

    .pc-mega__department {
        padding: 15px 8px;
        border-bottom: 1px solid var(--pc-line);
        border-radius: 0;
        font-size: 17px;
    }

    .pc-mega__department.is-active {
        background: none;
        color: var(--pc-ink);
    }

    .pc-mega__pane {
        display: none;
        padding: 16px 20px 32px;
    }

    .pc-mega.is-drilled .pc-mega__departments {
        display: none;
    }

    .pc-mega.is-drilled .pc-mega__pane:not([hidden]) {
        display: block;
    }

    .pc-mega__pane-title {
        font-size: 22px;
    }

    .pc-mega__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.pc-mega-open {
        overflow: hidden;
    }

    /* The bar's sticky layer must sit above the header while the full-screen panel is open */
    body.pc-mega-open .pc-menu {
        z-index: 70;
    }
}

/* Phone menu drawer (menu/drawer-tree.blade.php) */
.pc-drawer-tree {
    display: grid;
    padding: 4px 16px 24px;
}

.pc-drawer-tree a,
.pc-drawer-tree summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    color: var(--pc-ink);
    font-size: 16px;
}

.pc-drawer-tree__department,
.pc-drawer-tree__single {
    border-bottom: 1px solid var(--pc-line);
}

.pc-drawer-tree summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.pc-drawer-tree summary::-webkit-details-marker {
    display: none;
}

.pc-drawer-tree summary svg {
    transition: transform .2s ease;
}

.pc-drawer-tree details[open] summary svg {
    transform: rotate(180deg);
}

.pc-drawer-tree a.pc-drawer-tree__single {
    font-weight: 600;
}

.pc-drawer-tree details a {
    padding-block: 9px;
    padding-inline: 16px 4px;
    font-size: 15px;
}

.pc-drawer-tree details a.pc-drawer-tree__sub {
    padding-inline-start: 32px;
    color: #5c6b62;
    font-size: 14px;
}

.pc-drawer-tree a.pc-drawer-tree__all {
    justify-content: flex-start;
    gap: 6px;
    color: var(--pc-green);
    font-weight: 700;
}

.pc-drawer-tree__more {
    display: grid;
    margin-top: 12px;
}

.pc-drawer-tree__more a {
    padding: 10px 4px;
    color: #5c6b62;
    font-size: 15px;
}

/* Offers page (Marketing shop/offers) and the All aisles page's department headings */
.pc-offer-heading {
    margin: 36px 0 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 28px;
}

.pc-aisle-department {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
}

.pc-aisle-department h2 {
    margin: 0;
    font: inherit;
}

.pc-aisle-department > a {
    color: var(--pc-green);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.pc-offer {
    position: relative;
}

.pc-offer__tag {
    position: absolute;
    inset-block-start: 20px;
    inset-inline-start: 20px;
    z-index: 1;
    padding: 3px 10px;
    border-radius: 99px;
    background: #8a2418;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pc-offer__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}

.pc-offer__price b {
    color: var(--pc-ink);
    font-size: 16px;
}

.pc-offer__price s {
    color: #8a8f8b;
    font-size: 14px;
}

.pc-offer-campaign {
    display: grid;
    gap: 6px;
    max-width: 760px;
    margin-top: 24px;
    border-color: var(--pc-gold);
    background: #fff8e8;
    color: var(--pc-ink);
}

.pc-offer-campaign strong {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 24px;
}

.pc-offer-campaign__link {
    color: var(--pc-green);
    font-weight: 700;
}

.pc-offer-packs {
    max-width: 760px;
    margin-top: 16px;
}

.pc-offer-packs ul {
    margin: 8px 0 0;
    padding-inline-start: 20px;
    list-style: disc;
}

/* Category page top (hooks/category-head.blade.php): breadcrumb, title with count, intro, aisle chips */
.pc-cat-head {
    padding: 18px var(--pc-side) 0;
}

.pc-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #6b7a71;
    font-size: 14px;
}

.pc-crumbs a {
    color: var(--pc-ink);
}

.pc-crumbs a:hover {
    color: var(--pc-green);
    text-decoration: underline;
}

.pc-cat-head__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 14px 0 4px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}

.pc-cat-head__title span {
    color: #6b7a71;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
}

.pc-cat-head__intro {
    max-width: 760px;
    margin: 0;
    color: #5c6b62;
    font-size: 15px;
}

/* Bagisto's own description block: shown in the header above instead */
.pc-cat-head ~ .container.mt-8\.5 {
    display: none;
}

.pc-chips {
    display: flex;
    gap: 10px;
    margin: 16px 0 0;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pc-chips::-webkit-scrollbar {
    display: none;
}

.pc-chip {
    flex: none;
    padding: 9px 18px;
    border: 1px solid #c9d3cc;
    border-radius: 99px;
    background: #fff;
    color: var(--pc-ink);
    font-size: 15px;
    white-space: nowrap;
}

.pc-chip span {
    color: #6b7a71;
}

.pc-chip:hover {
    border-color: var(--pc-green);
}

.pc-chip.is-active {
    border-color: var(--pc-green-dark);
    background: var(--pc-green-dark);
    color: #fff;
}

.pc-chip.is-active span {
    color: #d7e6dc;
}

/* The filter column only shows when a category has filters (Catalog → Categories → Filterable attributes) */
#app .panel-side:not(:has(> :nth-child(2))) {
    display: none;
}

/* The gap belongs to the filter column, so it goes when the column does */
@media (min-width: 768px) {
    #app .flex.items-start.gap-10 {
        gap: 0;
    }

    #app .panel-side {
        width: 240px;
        min-width: 240px !important;
        max-width: 240px !important;
        margin-inline-end: 28px;
        padding-inline: 0 !important;
    }
}

/* Listing cards: a little tighter than the home shelves, so more fit on screen */
@media (min-width: 1024px) {
    #app main .grid.grid-cols-3.gap-8 > div > div:last-child p {
        font-size: 15px;
    }

    #app .flex.items-start.gap-10.md\:mt-10 {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .pc-cat-head {
        padding-top: 12px;
    }

    .pc-chip {
        padding: 7px 14px;
        font-size: 14px;
    }
}

/* "Buy in bulk & save" on packaged products (Box hooks/bulk-box.blade.php): a full row above quantity and button */
.flex:has(> .pc-bulk) {
    flex-wrap: wrap;
}

/* Quantity and Add to cart stay side by side under it */
.flex:has(> .pc-bulk) > button[type="submit"] {
    flex: 1 1 0;
    width: auto !important;
    min-width: 160px;
}

.pc-bulk {
    order: -1;
    flex: 1 0 100%;
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 470px;
    margin: 4px 0 16px;
    padding: 0;
    border: 0;
}

.pc-bulk legend {
    margin-bottom: 6px;
    color: var(--pc-ink);
    font-size: 16px;
    font-weight: 700;
}

.pc-bulk__option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "qty each total" "qty save save";
    align-items: center;
    gap: 2px 12px;
    padding: 10px 14px;
    border: 1px solid #d6dfd9;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.pc-bulk__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pc-bulk__option:has(input:checked) {
    border-color: var(--pc-green-dark);
    box-shadow: inset 0 0 0 1px var(--pc-green-dark);
    background: #f1f7f3;
}

.pc-bulk__option:has(input:focus-visible) {
    outline: 2px solid var(--pc-green);
    outline-offset: 2px;
}

.pc-bulk__qty {
    grid-area: qty;
    min-width: 76px;
    color: var(--pc-ink);
    font-weight: 700;
}

.pc-bulk__each {
    grid-area: each;
    color: #5c6b62;
    font-size: 14px;
}

.pc-bulk__total {
    grid-area: total;
    color: var(--pc-ink);
    font-weight: 700;
}

.pc-bulk__save {
    grid-area: save;
    justify-self: start;
    padding: 1px 8px;
    border-radius: 99px;
    background: #e3efe5;
    color: var(--pc-green-dark);
    font-size: 12px;
    font-weight: 700;
}

.pc-bulk__option--single {
    grid-template-areas: "qty";
    grid-template-columns: 1fr;
}

.pc-bulk__option--quote {
    grid-template-areas: "qty each cta";
    border-style: dashed;
    background: #fffaf0;
}

.pc-bulk__cta {
    grid-area: cta;
    color: var(--pc-green);
    font-size: 14px;
    font-weight: 700;
}

.pc-bulk__more {
    margin: 4px 0 0;
    color: #5c6b62;
    font-size: 14px;
}

.pc-bulk__more a {
    color: var(--pc-green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Bagisto's own "Buy N for…" lines under the price: the bulk box above says it better */
#app main .mt-2\.5.grid.gap-1\.5:has(> p.text-zinc-500 > span) {
    display: none;
}

/* Bulk buy page and quote form (Box shop/bulk, shop/bulk-quote) */
.pc-bulk-page__ways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.pc-bulk-page__ways .pc-card {
    display: grid;
    align-content: start;
    gap: 8px;
}

.pc-bulk-page__ways strong {
    font-size: 17px;
}

.pc-bulk-page__ways ul {
    margin: 0;
    padding-inline-start: 20px;
    list-style: disc;
}

.pc-bulk-page__ways p {
    margin: 0;
    color: #5c6b62;
}

.pc-bulk-page__ways .primary-button {
    justify-self: start;
    margin-top: 6px;
}

.pc-quote-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--pc-ink);
}

.pc-quote-product img {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
}

.pc-quote-product span {
    display: grid;
    gap: 2px;
}

.pc-quote-page__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .pc-quote-page__row {
        grid-template-columns: 1fr;
    }

    .pc-bulk__option {
        padding: 10px 12px;
    }
}

/* Supplier marketplace (Suppliers package): "Sold by" on product pages, the application and the supplier portal */
.pc-sold-by {
    margin: 8px 0 0;
    color: #5c6b62;
    font-size: 14px;
}

.pc-apply__group {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--pc-line);
    color: var(--pc-green-dark);
    font-weight: 700;
}

.pc-apply__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    border: 0;
}

.pc-apply__categories legend {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.pc-apply__categories label,
.pc-apply__agree {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

.pc-portal {
    padding: 24px var(--pc-side) 48px;
}

.pc-portal--narrow {
    max-width: 520px;
    margin: 0 auto;
}

.pc-portal--narrow .pc-business__form {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.pc-portal__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pc-line);
}

.pc-portal__bar > div {
    display: grid;
}

.pc-portal__bar strong {
    font-size: 20px;
}

.pc-portal__bar nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pc-portal__bar nav a,
.pc-portal__bar nav button {
    padding: 8px 14px;
    border-radius: 99px;
    color: var(--pc-ink);
    font-size: 15px;
}

.pc-portal__bar nav a[aria-current="page"] {
    background: var(--pc-green-dark);
    color: #fff;
}

.pc-portal__flash {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e3efe5;
    color: var(--pc-green-dark);
}

.pc-portal__title {
    margin: 0 0 12px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(26px, 3vw, 34px);
}

.pc-portal__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pc-portal__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.pc-portal__stats .pc-card {
    display: grid;
}

.pc-portal__stats strong {
    font-size: 28px;
}

.pc-portal__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.pc-portal__cols h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.pc-portal__item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.pc-portal__thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: #efe9dc;
    overflow: hidden;
}

.pc-portal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-portal__info {
    display: grid;
    gap: 3px;
}

.pc-portal__note {
    color: #8a2418;
    font-size: 14px;
}

.pc-portal__actions,
.pc-portal__stock {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
}

.pc-portal__stock label {
    display: grid;
    gap: 2px;
    font-size: 12px;
}

.pc-portal__stock input {
    width: 96px;
}

.pc-status {
    justify-self: start;
    padding: 2px 10px;
    border-radius: 99px;
    background: #eef0ee;
    font-size: 12px;
    font-weight: 700;
}

.pc-status--approved {
    background: #e3efe5;
    color: var(--pc-green-dark);
}

.pc-status--pending,
.pc-status--changes {
    background: #fff3d6;
    color: #6b4b00;
}

.pc-status--rejected {
    background: #fbe4e1;
    color: #8a2418;
}

.pc-portal__form {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.pc-portal__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.pc-portal__photos legend {
    margin-bottom: 6px;
    font-weight: 600;
}

.pc-portal__photo {
    display: grid !important;
    gap: 4px;
    font-size: 13px;
}

.pc-portal__photo img {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 640px) {
    .pc-portal__item {
        grid-template-columns: 56px 1fr;
    }

    .pc-portal__thumb {
        width: 56px;
        height: 56px;
    }

    .pc-portal__actions {
        grid-column: 1 / -1;
    }
}

/* Supplier orders (Suppliers portal/orders) */
.pc-portal__alert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
    border-color: #e0b44a;
    background: #fff8e8;
    color: var(--pc-ink);
}

.pc-portal__totals {
    margin: 14px 0 0;
}

.pc-portal__totals ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.pc-portal__order {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.pc-portal__order-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.pc-portal__lines {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-portal__lines li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 8px 0;
    border-top: 1px solid var(--pc-line);
}

.pc-portal__order .pc-portal__stock input {
    width: min(320px, 100%);
}

/* Supplier earnings: statements have no photo */
.pc-portal__item--payout {
    grid-template-columns: 1fr auto;
}

/*
 * Home page v2 (views/shop/home/index.blade.php): a shorter hero, a promise row, department tiles, card rows,
 * bulk / monthly plan banners. Shelves are Bagisto's product carousels.
 */
.pc-slide {
    min-height: 340px;
}

.pc-slide h1,
.pc-slide h2 {
    font-size: clamp(32px, 3.8vw, 54px);
}

.pc-slide__text {
    padding-block: 36px 52px;
}

.pc-promises {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 28px;
    margin: 16px 0 0;
    padding: 0 var(--pc-side);
    list-style: none;
    color: var(--pc-green-dark);
    font-size: 14px;
    font-weight: 600;
}

.pc-promises li::before {
    content: "✓";
    margin-inline-end: 6px;
    color: var(--pc-green);
}

.pc-home-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 20px;
    margin-bottom: 16px;
}

.pc-home-head h2 {
    margin: 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(26px, 2.6vw, 36px);
}

.pc-home-head a {
    color: var(--pc-green);
    font-weight: 700;
}

.pc-department-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.pc-department-tile {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 16px 10px;
    border: 1px solid var(--pc-line);
    border-radius: 16px;
    background: #fff;
    color: var(--pc-ink);
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.pc-department-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 60, 42, .1);
}

.pc-department-tile img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.pc-department-tile strong {
    font-size: 15px;
    line-height: 1.25;
}

.pc-department-tile span {
    color: #6b7a71;
    font-size: 13px;
}

.pc-home-row__cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 210px);
    gap: 14px;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.pc-home-card {
    scroll-snap-align: start;
}

.pc-home-promos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.pc-home-promo {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 28px;
    border-radius: 18px;
    color: var(--pc-ink);
}

.pc-home-promo strong {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 400;
    line-height: 1.15;
}

.pc-home-promo .pc-section__eyebrow {
    justify-self: start;
}

.pc-home-promo--bulk {
    background: #fff3d6;
}

.pc-home-promo--plan {
    background: #e3efe5;
}

.pc-home-promo__cta {
    justify-self: start;
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--pc-green-dark);
    color: #fff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .pc-slide {
        grid-template-rows: 150px auto;
    }

    .pc-slider__arrow {
        top: 75px;
    }

    .pc-slide__text,
    html[dir="rtl"] .pc-slide__text {
        padding: 18px 18px 48px;
        gap: 10px;
    }

    .pc-slide h1,
    .pc-slide h2 {
        font-size: 28px;
    }

    .pc-promises {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        font-size: 13px;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .pc-department-tiles {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 112px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pc-department-tile img {
        width: 72px;
        height: 72px;
    }

    .pc-department-tile strong {
        font-size: 13px;
    }

    .pc-home-row__cards {
        grid-auto-columns: 46%;
    }

    .pc-home-promo {
        padding: 20px;
    }
}

/* Header: delivery promise pill above the city ("Arrives in 1–2 days") */
.pc-deliver__text small.pc-deliver__pill {
    justify-self: start;
    max-width: 170px;
    padding: 1px 8px;
    border-radius: 6px;
    background: #ffd84d;
    color: #2b2300;
    font-size: 11px;
    font-weight: 700;
}

/* Green bar: Offers as a pill, the first-order badge at the end */
.pc-menu__bar a.pc-menu__offers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-block: 6px;
    padding-block: 8px;
    border-radius: 99px;
    background: var(--pc-gold-light);
    color: var(--pc-green-dark);
    font-weight: 700;
}

.pc-menu__bar a.pc-menu__offers:hover {
    background: #ffe7a6;
}

.pc-menu__welcome-item {
    margin-inline-start: auto;
}

.pc-menu__bar a.pc-menu__welcome {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-block: 6px;
    padding: 6px 14px;
    border: 1px dashed rgba(255, 255, 255, .7);
    border-radius: 10px;
    font-size: 14px;
}

.pc-menu__welcome strong {
    color: var(--pc-gold-light);
    font-size: 16px;
}

/* Home: split hero — the owner's slider and a fixed side panel */
.pc-hero-split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    gap: 16px;
    margin-top: var(--pc-space-hero);
    padding-inline: var(--pc-side);
}

.pc-hero-split--single {
    grid-template-columns: minmax(0, 1fr);
}

/* In the narrower hero the arrows sit at the edges, clear of the text */
.pc-hero-split .pc-slider__arrow--prev {
    left: 14px;
}

.pc-hero-split .pc-slider__arrow--next {
    right: 14px;
}

html[dir="rtl"] .pc-hero-split .pc-slider__arrow--prev {
    right: 14px;
    left: auto;
}

html[dir="rtl"] .pc-hero-split .pc-slider__arrow--next {
    left: 14px;
    right: auto;
}

.pc-hero-split .pc-slide h1,
.pc-hero-split .pc-slide h2 {
    font-size: clamp(30px, 3vw, 48px);
}

.pc-hero-split .pc-slider {
    margin: 0 !important;
    padding: 0 !important;
}

.pc-hero-split .pc-slide__text {
    padding-inline-start: 84px;
}

html[dir="rtl"] .pc-hero-split .pc-slide__text {
    padding-inline: 84px 40px;
}

.pc-hero-side {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 28px;
    border-radius: 24px;
    color: var(--pc-ink);
}

.pc-hero-side .pc-section__eyebrow {
    justify-self: start;
}

.pc-hero-side strong {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.12;
}

.pc-hero-side--plan {
    background: #e3efe5;
}

.pc-hero-side--campaign {
    background: #fff3d6;
}

.pc-hero-side__count {
    color: #8a2418;
    font-weight: 700;
}

.pc-hero-side__cta {
    justify-self: start;
    margin-top: 4px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--pc-green-dark);
    color: #fff;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .pc-hero-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-hero-side {
        padding: 16px 20px;
        border-radius: 16px;
    }

    .pc-hero-side__body {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 4px 16px;
    }

    .pc-hero-side__body > * {
        grid-column: 1;
    }

    .pc-hero-side__text {
        display: none;
    }

    .pc-hero-side strong {
        font-size: 20px;
    }

    .pc-hero-side__cta {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        margin: 0;
    }

    .pc-hero-picks {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .pc-hero-split {
        margin-top: 16px;
        padding-inline: 16px;
    }

    .pc-hero-split .pc-slide__text,
    html[dir="rtl"] .pc-hero-split .pc-slide__text {
        padding: 18px 18px 48px;
    }

    .pc-menu__bar a.pc-menu__welcome span {
        display: none;
    }
}

/* Hero panel: picture or video on top, season picks with Add buttons */
.pc-hero-side {
    position: relative;
    overflow: hidden;
}

.pc-hero-side__body {
    display: grid;
    align-content: center;
    gap: 10px;
}

.pc-hero-side--media {
    align-content: start;
    padding: 0;
}

.pc-hero-side--media .pc-hero-side__body {
    padding: 18px 24px 24px;
}

.pc-hero-side__media {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.pc-hero-side--picks,
.pc-hero-side--custom {
    background: #fff8e8;
}

.pc-hero-side--refill,
.pc-hero-side--reorder {
    background: #e9f2ec;
}

.pc-hero-picks {
    display: grid;
    gap: 8px;
    margin: 4px 0;
    padding: 0;
    list-style: none;
}

.pc-hero-picks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
}

.pc-hero-picks a {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--pc-ink);
}

.pc-hero-picks img {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.pc-hero-picks span {
    display: grid;
    min-width: 0;
}

.pc-hero-picks b {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-hero-picks small {
    color: #5c6b62;
}

.pc-hero-picks__add {
    flex: none;
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.pc-hero-picks__add.is-added {
    background: #e3efe5;
    color: var(--pc-green-dark);
}

/* Product cards with a video */
.pc-card-video {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(23, 40, 30, .72);
    color: #fff;
    font-size: 12px;
    pointer-events: none;
}

.pc-card-video__player {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* How we pack */
.pc-pack-video {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.pc-pack-video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #e9e3d6;
    object-fit: cover;
}

.pc-pack-video h2 {
    margin: 8px 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(26px, 2.6vw, 36px);
}

.pc-pack-video p {
    margin: 0;
    color: #5c6b62;
}

@media (max-width: 900px) {
    .pc-pack-video {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pc-hero-side--media {
        grid-template-columns: 1fr;
    }

    .pc-hero-side__media {
        height: 150px;
    }
}


/* Play button over the hero panel / How we pack videos while they are not playing (parchuns.js playButton). */
.pc-video-box {
    position: relative;
    display: block;
}

.pc-video-box video {
    cursor: pointer;
}

.pc-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    padding-inline-start: 4px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 59, 42, 0.85);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
}

.pc-video-box.is-playing .pc-video-play {
    opacity: 0;
    pointer-events: none;
}

/* Upright picture/video panel: media fills the box, text on a dark shade at the bottom (parchuns.js tallPanels). */
.pc-hero-side--tall {
    align-content: end;
    color: #fff;
}

.pc-hero-side--tall > .pc-hero-side__media,
.pc-hero-side--tall > .pc-video-box {
    position: absolute;
    inset: 0;
}

.pc-hero-side--tall .pc-hero-side__media {
    height: 100%;
}

.pc-hero-side--tall .pc-hero-side__body,
.pc-hero-side--media.pc-hero-side--tall .pc-hero-side__body {
    position: relative;
    z-index: 1;
    padding: 96px 24px 24px;
    background: linear-gradient(to top, rgba(8, 32, 22, 0.9), rgba(8, 32, 22, 0.6) 60%, rgba(8, 32, 22, 0));
    pointer-events: none;
}

.pc-hero-side--tall .pc-hero-side__body a,
.pc-hero-side--tall .pc-hero-side__body button {
    pointer-events: auto;
}

.pc-hero-side--tall .pc-hero-side__text {
    color: rgba(255, 255, 255, 0.92);
}

.pc-hero-side--tall .pc-hero-side__cta {
    background: #f4c56b;
    color: var(--pc-green-dark);
}

.pc-hero-side--tall .pc-video-play {
    top: 38%;
}

@media (max-width: 1100px) {
    .pc-hero-side--tall {
        min-height: 400px;
    }

    .pc-hero-side--tall .pc-hero-side__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .pc-hero-side--tall .pc-hero-side__cta {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}

/* Sound button on hero panel / How we pack videos (parchuns.js playButton). */
.pc-video-sound {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 59, 42, 0.8);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}

html[dir="rtl"] .pc-video-sound {
    right: auto;
    left: 12px;
}

.pc-video-box:not(.is-playing) .pc-video-sound,
.pc-video-box.is-silent .pc-video-sound {
    display: none;
}

/* Parchuns footer (views/shop/components/layouts/footer): brand + contact, three link columns, newsletter, bottom line. */
.pc-footer {
    background: #f3eadb;
    color: var(--pc-ink);
}

.pc-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr);
    gap: 32px;
    align-items: start;
}

.pc-footer__brand {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.pc-footer__brand p {
    margin: 0;
    max-width: 22rem;
    color: var(--pc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.pc-footer__contact {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.pc-footer__contact a,
.pc-footer__links a,
.pc-footer__bottom a {
    color: inherit;
}

.pc-footer__contact a:hover,
.pc-footer__links a:hover,
.pc-footer__bottom a:hover {
    color: var(--pc-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pc-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-footer__social a {
    padding: 6px 12px;
    border: 1px solid #e2d4bd;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
}

.pc-footer__links summary {
    margin-bottom: 14px;
    color: var(--pc-green-dark);
    font-size: 15px;
    font-weight: 700;
    list-style: none;
}

.pc-footer__links summary::-webkit-details-marker {
    display: none;
}

.pc-footer__links ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-footer__links a {
    font-size: 15px !important;
}

.pc-footer__newsletter {
    display: grid;
    gap: 6px;
}

.pc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 14px;
    background: #ece0cb;
    color: #5c6b62;
    font-size: 13px;
}

.pc-footer__bottom p {
    margin: 0;
}

.pc-footer__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pc-footer__chip {
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--pc-green-dark);
    font-weight: 600;
}

@media (min-width: 901px) {
    .pc-footer__links summary {
        pointer-events: none;
    }
}

/* Keep the chat bubble (bottom corner) off the payment badges. */
footer.pc-footer > div.pc-footer__bottom {
    padding-inline-end: calc(var(--pc-side) + 72px) !important;
}

@media (max-width: 1279px) and (min-width: 901px) {
    .pc-footer__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-footer__newsletter {
        grid-column: span 2;
        grid-row: 1;
    }
}

@media (max-width: 900px) {
    .pc-footer__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .pc-footer__newsletter {
        order: -1;
        margin-bottom: 12px;
    }

    .pc-footer__brand {
        order: 5;
        margin-top: 12px;
    }

    .pc-footer__links {
        border: 1px solid #e2d4bd;
        border-radius: 12px;
        background: #f8f1e5;
    }

    .pc-footer__links summary {
        display: flex;
        justify-content: space-between;
        margin: 0;
        padding: 12px 14px;
        cursor: pointer;
    }

    .pc-footer__links summary::after {
        content: "+";
        font-weight: 400;
    }

    .pc-footer__links[open] summary::after {
        content: "−";
    }

    .pc-footer__links ul {
        padding: 0 14px 14px;
    }

    .pc-footer__bottom {
        justify-content: center;
        padding-bottom: 84px;
    }

    footer.pc-footer > div.pc-footer__bottom {
        padding-inline-end: var(--pc-side) !important;
        text-align: center;
    }
}


/* ---------------------------------------------------------------------------
 * Build your own box: box types, the builder, the box cards in the cart.
 * ------------------------------------------------------------------------- */
.pc-bab {
    padding: var(--pc-space-hero) var(--pc-side) var(--pc-space-section);
}

.pc-bab__back {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--pc-gold-light);
    font-weight: 600;
}

.pc-bab__how {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: var(--pc-ink);
    font-weight: 600;
}

.pc-bab__how li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-bab__how span {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pc-green-dark);
    color: #fff;
    font-size: 14px;
}

.pc-bab__types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 20px;
    margin-top: 24px;
}

.pc-bab__type {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9decc;
    border-radius: 16px;
    background: #fff;
}

.pc-bab__type-image {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    background: var(--pc-sand);
    font-size: 64px;
}

.pc-bab__type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-bab__type-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.pc-bab__type-body h2 {
    margin: 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    line-height: 1.15;
}

.pc-bab__type-body h2 a {
    color: var(--pc-ink);
}

.pc-bab__type-body p {
    margin: 0;
    color: var(--pc-muted);
    line-height: 1.5;
}

.pc-bab__facts {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--pc-ink);
    font-size: 15px;
}

.pc-bab__facts li::before {
    content: "✓ ";
    color: var(--pc-green);
    font-weight: 700;
}

.pc-bab__fact-offer {
    color: var(--pc-green-dark);
    font-weight: 700;
}

.pc-bab__start {
    justify-content: center;
    margin-top: auto;
    min-height: 48px;
    text-align: center;
}

/* Builder */
.pc-bab__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

.pc-bab__tools {
    display: grid;
    gap: 12px;
}

.pc-bab__aisles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-bab__aisles .pc-pantry__choice {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

.pc-bab__products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-bab__product {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e9decc;
    border-radius: 14px;
    background: #fff;
}

.pc-bab__product.is-in {
    border-color: var(--pc-green);
    box-shadow: 0 0 0 1px var(--pc-green);
}

.pc-bab__product-image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--pc-sand);
}

.pc-bab__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-bab__product-body {
    display: grid;
    flex: 1;
    gap: 2px;
}

.pc-bab__product-name {
    color: var(--pc-ink);
    font-weight: 700;
    line-height: 1.3;
}

.pc-bab__product-body small {
    color: var(--pc-muted);
}

.pc-bab__product-price {
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-bab__add {
    min-height: 40px;
    border: 1px solid var(--pc-green-dark);
    border-radius: 999px;
    background: var(--pc-green-dark);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.pc-bab__add:disabled {
    border-color: #d9cdb8;
    background: #f4efe6;
    color: var(--pc-muted);
    cursor: not-allowed;
}

.pc-bab__product-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    border: 1px solid var(--pc-green);
    border-radius: 999px;
}

.pc-bab__product-qty button {
    width: 40px;
    height: 38px;
    border-radius: 50%;
    color: var(--pc-green-dark);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.pc-bab__product-qty button:disabled {
    color: #c2b8a6;
    cursor: not-allowed;
}

.pc-bab__product-qty bdi {
    font-weight: 700;
}

.pc-bab__summary {
    position: sticky;
    top: calc(var(--pc-header-h, 79px) + 72px);
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid #e9decc;
    border-radius: 16px;
    background: #fff;
}

.pc-bab__summary p {
    margin: 0;
}

.pc-bab__meter {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: #efe7d8;
}

.pc-bab__meter-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--pc-accent);
    transition: width 0.25s ease;
}

.pc-bab__meter-fill.is-unlocked {
    background: var(--pc-green);
}

.pc-bab__meter-mark {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 3px;
    margin-left: -1px;
    border-radius: 2px;
    background: var(--pc-ink);
}

[dir="rtl"] .pc-bab__meter-fill {
    inset: 0 0 0 auto;
}

[dir="rtl"] .pc-bab__meter-mark {
    margin-left: 0;
    transform: scaleX(-1);
}

.pc-bab__weight {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    color: var(--pc-muted);
}

.pc-bab__weight strong {
    color: var(--pc-ink);
    font-size: 18px;
}

.pc-bab__offer,
.pc-cbox__note {
    padding: 8px 12px;
    border-radius: 8px;
    background: #fbf3e6;
    color: #7a4a17;
    font-weight: 600;
}

.pc-bab__offer.is-unlocked,
.pc-cbox__note.is-unlocked {
    background: #f2f7f3;
    color: var(--pc-green-dark);
}

.pc-bab__list li {
    grid-template-columns: minmax(0, 1fr) auto 70px 32px;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    font-size: 14px;
}

.pc-bab__line-name {
    overflow: hidden;
    color: var(--pc-ink);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-bab__line-amount {
    color: var(--pc-muted);
}

.pc-bab__list .pc-pantry__remove {
    width: 32px;
    height: 32px;
}

.pc-bab__totals {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #e9decc;
}

.pc-bab__totals div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pc-bab__totals dt {
    color: var(--pc-muted);
}

.pc-bab__totals dd {
    margin: 0;
    color: var(--pc-ink);
    font-weight: 600;
}

.pc-bab__saving dt,
.pc-bab__saving dd {
    color: var(--pc-green-dark);
}

.pc-bab__total dt,
.pc-bab__total dd {
    color: var(--pc-ink);
    font-size: 20px;
    font-weight: 700;
}

/* Builder: delivery counted on the box size, and a cheaper box that holds the same items. */
.pc-bab__size {
    margin: 0;
    font-size: 13px;
    color: var(--pc-muted, #5b6b62);
}

.pc-bab__smaller {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border: 1px dashed var(--pc-green, #2f7d4f);
    border-radius: 8px;
    background: #f2f7f3;
    color: var(--pc-green-dark);
    font-weight: 600;
}

.pc-bab__smaller p {
    margin: 0;
}

.pc-bab__smaller .secondary-button {
    justify-self: start;
    padding: 6px 14px;
    font-size: 14px;
}

.pc-bab__needs {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fdf0ee;
    color: #9b2c1f;
    font-size: 14px;
    list-style: none;
}

.pc-bab__summary .pc-bab__submit {
    width: 100%;
    max-width: none;
    min-height: 48px;
    justify-content: center;
    text-align: center;
}

.pc-bab__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pc-bab__note {
    font-size: 13px;
}

@media (max-width: 900px) {
    .pc-bab__grid {
        grid-template-columns: 1fr;
    }

    /* On phones the box summary comes first, so the meter is always in reach. */
    .pc-bab__summary {
        position: static;
        order: -1;
    }

    .pc-bab__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* Cart page: a card per box above the items, and the box tag under each item name. */
.pc-cbox-list {
    display: grid;
    gap: 12px;
}

.pc-cbox {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--pc-green);
    border-radius: 14px;
    background: #f7faf6;
}

.pc-cbox.is-over {
    border-color: #c0392b;
    background: #fdf5f4;
}

.pc-cbox.is-over .pc-cbox__note {
    background: #fdf0ee;
    color: #9b2c1f;
}

.pc-cbox__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    color: var(--pc-ink);
}

.pc-cbox__note {
    margin: 0;
    font-size: 14px;
}

.pc-cbox__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 600;
}

.pc-cbox__actions a {
    color: var(--pc-green);
}

.pc-cbox__actions button {
    color: #9b2c1f;
    cursor: pointer;
}

.pc-line-box {
    margin-top: 2px;
    color: var(--pc-green-dark);
    font-size: 14px;
    font-weight: 600;
}

/* The box itself is always one box: no quantity buttons or details (Remove stays; it removes the whole box). */
.pc-line-box--line ~ .grid.select-none,
.pc-line-box--line ~ div.flex.items-center > div:first-child {
    display: none;
}
