/* Pichet home categories & cart/quote UI — uses existing green brand palette */
.pichet-home-categories {
    padding: 64px 0;
    background: #f5f8f5;
    font-family: Prompt, sans-serif
}

.pichet-home-categories-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px
}

.pichet-home-categories-head h2 {
    margin: 7px 0;
    font-size: clamp(22px, 3vw, 32px);
    color: #183e25
}

.pichet-home-categories-head p {
    color: #66776c;
    margin: 0
}

.pichet-home-categories-kicker {
    font-size: 13px;
    font-weight: 700;
    color: #145821
}

.pichet-home-categories-head>a {
    white-space: nowrap;
    color: #145821;
    font-weight: 600;
    text-decoration: none
}

.pichet-home-categories-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px
}

.pichet-home-category-card {
    background: #fff;
    border: 1px solid #dfe9e1;
    border-radius: 13px;
    overflow: hidden;
    text-decoration: none;
    color: #183e25;
    box-shadow: 0 4px 14px rgba(20, 88, 33, .05);
    min-width: 0;
    transition: transform .2s, box-shadow .2s
}

.pichet-home-category-card:hover {
    box-shadow: 0 9px 22px rgba(20, 88, 33, .13)
}

.pichet-home-category-image {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f1ea
}

.pichet-home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.pichet-home-category-fallback,
.pichet-home-category-all .pichet-home-category-image span {
    font-size: 48px;
    color: #508b5d
}

.pichet-home-category-caption {
    padding: 13px 12px;
    display: grid;
    gap: 4px
}

.pichet-home-category-caption strong {
    font-size: 14px;
    line-height: 1.45
}

.pichet-home-category-caption span {
    font-size: 12px;
    color: #54815e
}

.pichet-home-category-all .pichet-home-category-image {
    background: linear-gradient(135deg, #e2eee5, #cce1d0)
}

.pichet-home-swipe-hint {
    display: none
}

.corp-header .corp-nav>.corp-nav-cart {
    position: relative
}

.corp-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 20px;
    color: #fff;
    background: #d83f3f;
    font: 700 11px/1 Prompt, sans-serif
}

.pichet-checkout-page {
    min-height: 65vh;
    padding: 0px 0 72px;
    color: #1c2f25;
    font-family: Prompt, sans-serif
}

.pichet-checkout-page * {
    box-sizing: border-box
}

.pichet-checkout-breadcrumb {
    font-size: 13px;
    color: #738078;
    margin-bottom: 34px
}

.pichet-checkout-breadcrumb a {
    color: #145821;
    text-decoration: none
}

.pichet-checkout-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px
}

.pichet-checkout-heading h1 {
    margin: 5px 0 8px;
    color: #113b20;
    font-size: clamp(26px, 3vw, 36px)
}

.pichet-checkout-heading p {
    margin: 0;
    color: #748178;
    font-size: 14px
}

.pichet-checkout-heading>a {
    color: #145821;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px
}

.pichet-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start
}

.pichet-cart-items {
    display: grid;
    gap: 14px
}

.pichet-cart-product,
.pichet-checkout-summary,
.pichet-quote-panel,
.pichet-empty-cart {
    background: #fff;
    border: 1px solid #e0e9e3;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 15px rgba(18, 51, 29, .035)
}

.pichet-cart-product {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) 145px 115px;
    align-items: center;
    gap: 16px
}

.pichet-cart-picture {
    width: 115px;
    height: 115px;
    border-radius: 11px;
    background: #f5f8f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.pichet-cart-picture img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.pichet-cart-description h2 {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 8px
}

.pichet-cart-description p {
    font-size: 12px;
    color: #77887a;
    margin: 4px 0
}

.pichet-cart-description .pichet-cart-unit {
    color: #445f4b
}

.pichet-cart-quantity {
    min-width: 0;
    width: 100%;
    max-width: 160px;
}

.pichet-cart-quantity label {
    display: block;
    margin-bottom: 7px;
    color: #6c7c70;
    font-size: 12px;
    text-align: center;
}

.pichet-cart-stepper {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    width: 100%;
    height: 42px;
    overflow: hidden;
    border: 1px solid #d7e3da;
    border-radius: 10px;
    background: #fff;
}

.pichet-cart-stepper button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #f2f8f3;
    color: #145821;
    font: 600 21px/1 Prompt, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
}

.pichet-cart-stepper button:hover {
    background: #e4f0e7;
}

.pichet-cart-stepper button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.pichet-cart-stepper button:focus-visible,
.pichet-cart-stepper input:focus-visible {
    outline: 2px solid #145821;
    outline-offset: -2px;
}

.pichet-cart-stepper input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 4px;
    border: 0;
    border-left: 1px solid #e4ebe5;
    border-right: 1px solid #e4ebe5;
    border-radius: 0;
    background: #fff;
    color: #183e25;
    text-align: center;
    font: 600 15px/1 Prompt, sans-serif;
    appearance: textfield;
    -moz-appearance: textfield;
}

.pichet-cart-stepper input::-webkit-inner-spin-button,
.pichet-cart-stepper input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pichet-cart-update {
    font: inherit;
    font-size: 11px;
    background: none;
    border: 0;
    color: #145821;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 6px;
    width: 100%
}

.pichet-cart-line-end {
    text-align: right
}

.pichet-cart-line-end>strong {
    font-size: 17px;
    color: #145821;
    white-space: nowrap
}

.pichet-cart-remove {
    background: none;
    border: 0;
    text-decoration: underline;
    color: #8a9390;
    font-size: 12px;
    margin-top: 12px;
    cursor: pointer
}

.pichet-checkout-summary {
    padding: 26px
}

.pichet-checkout-summary h2,
.pichet-quote-panel h2 {
    margin: 0 0 24px;
    font-size: 20px;
    color: #173c23
}

.pichet-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    color: #69796d;
    padding: 8px 0 20px;
    font-size: 14px
}

.pichet-summary-line strong {
    color: #1c3221
}

.pichet-summary-total {
    border-top: 1px solid #e6ebe7;
    padding: 20px 0 24px;
    color: #1d3224
}

.pichet-summary-total strong {
    color: #145821;
    font-size: 23px;
    white-space: nowrap
}

.pichet-summary-warning {
    color: #916d22;
    background: #fff7e6;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px
}

.pichet-checkout-primary {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #145821;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    font: 600 14px Prompt, sans-serif;
    text-decoration: none;
    cursor: pointer
}

.pichet-checkout-primary:hover {
    background: #083d22;
    color: #fff
}

.pichet-summary-footnote {
    font-size: 12px;
    color: #8a9690;
    line-height: 1.7;
    margin: 17px 0 0
}

.pichet-empty-cart {
    text-align: center;
    padding: 55px 20px
}

.pichet-empty-cart p {
    color: #718074
}

.pichet-empty-cart .pichet-checkout-primary {
    max-width: 240px;
    margin: 22px auto 0
}

.pichet-quote-panel {
    padding: 30px
}

.pichet-quote-fields {
    display: grid;
    gap: 20px
}

.pichet-quote-fields label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 500
}

.pichet-quote-fields label span {
    color: #ca3939
}

.pichet-quote-fields input,
.pichet-quote-fields textarea {
    width: 100%;
    border: 1px solid #dce5de;
    background: #fff;
    border-radius: 9px;
    padding: 12px 14px;
    min-height: 45px;
    font: inherit;
    color: #1b3423
}

.pichet-quote-fields input:focus,
.pichet-quote-fields textarea:focus {
    outline: 2px solid #a9d1b0;
    border-color: #145821
}

.pichet-quote-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.pichet-quote-error {
    padding: 12px;
    border-radius: 9px;
    background: #fff0ef;
    color: #a32b2b
}

.pichet-quote-summary-item {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eff2ef
}

.pichet-quote-thumb {
    height: 55px;
    width: 55px;
    background: #f7f9f7;
    border: 1px solid #e6ebe7;
    border-radius: 7px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.pichet-quote-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.pichet-quote-summary-item strong {
    display: block;
    font-size: 12px;
    line-height: 1.4
}

.pichet-quote-summary-item small {
    color: #78877c;
    font-size: 11px;
    display: block;
    margin-top: 6px
}

.pichet-quote-summary-item b {
    font-size: 12px;
    white-space: nowrap;
    color: #145821
}

.pichet-summary-back {
    display: inline-block;
    color: #6a796e;
    font-size: 12px;
    margin-top: 8px;
    text-decoration: none
}

@media(max-width:1100px) {
    .pichet-checkout-layout {
        grid-template-columns: minmax(0, 1fr) 300px
    }

    .pichet-cart-product {
        grid-template-columns: 90px minmax(0, 1fr) 125px;
        gap: 12px
    }

    .pichet-cart-picture {
        width: 90px;
        height: 90px
    }

    .pichet-cart-line-end {
        grid-column: 2 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .pichet-cart-remove {
        margin: 0
    }
}

@media(max-width:900px) {
    .pichet-home-categories-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 12px
    }

    .pichet-home-categories-track::-webkit-scrollbar {
        display: none
    }

    .pichet-home-category-card {
        flex: 0 0 min(68vw, 245px);
        scroll-snap-align: start
    }

    .pichet-home-swipe-hint {
        display: block;
        font-size: 12px;
        color: #738976
    }

    .pichet-checkout-layout {
        grid-template-columns: 1fr
    }

    .pichet-checkout-summary {
        order: 2
    }
}

@media(max-width:600px) {
    .pichet-home-categories {
        padding: 40px 0
    }

    .pichet-home-categories-head {
        align-items: start
    }

    .pichet-home-categories-head h2 {
        font-size: 23px
    }

    .pichet-home-categories-head>a {
        font-size: 12px
    }

    .pichet-checkout-page {
        padding: 18px 0 48px
    }

    .pichet-checkout-heading {
        align-items: start;
        flex-direction: column
    }

    .pichet-cart-product {
        grid-template-columns: 78px minmax(0, 1fr);
        padding: 15px
    }

    .pichet-cart-picture {
        height: 78px;
        width: 78px
    }

    .pichet-cart-product {
        gap: 12px;
    }

    .pichet-cart-quantity {
        grid-column: 1 / -1;
        grid-row: auto;
        width: 100%;
        max-width: 160px;
    }

    .pichet-cart-quantity label {
        text-align: left;
    }

    .pichet-cart-line-end {
        grid-column: 1 / -1;
        grid-row: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding-top: 12px;
        border-top: 1px solid #edf1ed;
        text-align: left;
    }

    .pichet-cart-remove {
        margin: 0;
        flex-shrink: 0;
    }

    .pichet-quote-panel,
    .pichet-checkout-summary {
        padding: 20px
    }

    .pichet-quote-two {
        grid-template-columns: 1fr
    }

    .pichet-quote-summary-item {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .pichet-quote-thumb {
        width: 46px;
        height: 46px
    }

    .pichet-quote-summary-item b {
        grid-column: 2;
        justify-self: start
    }
}

/* Product card details */
.pichet-home-category-caption small {
    font-size: 11px;
    color: #738477;
    line-height: 1.4
}

.pichet-home-category-caption strong {
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.pichet-home-category-caption span {
    font-weight: 700;
    color: #145821
}

.pichet-home-no-products {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    color: #677a6c
}