/* =========================================
   ORDER PAGE
========================================= */

body {

    margin: 0;

    background: #f7f1e8;

    color: #383b29;

}
[hidden] {
    display: none !important;
}
/* =========================================
   HEADER
========================================= */

.order-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background: rgba(
        255,
        250,
        244,
        0.96
    );

    border-bottom:
        1px solid
        #eadfce;

    backdrop-filter:
        blur(10px);

}


.order-header-inner {

    width: min(
        calc(100% - 40px),
        1380px
    );

    min-height: 82px;

    margin:
        0
        auto;

    display: flex;

    align-items: center;

    gap: 18px;

}


.order-logo {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}


.order-logo img {

    width: 62px;

    height: 62px;

    display: block;

    object-fit: contain;

}


.order-header-title {

    display: flex;

    flex-direction: column;

    flex: 1;

    min-width: 0;

}


.order-header-title span {

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.05;

    color: #454625;

}


.order-header-title h1 {

    margin:
        4px
        0
        0;

    color: #8d7d68;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    line-height: normal;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}

.order-last-order-note {
    margin-top: 16px;

    padding:
        12px 14px;

    border:
        1px solid rgba(89, 97, 63, 0.22);

    border-radius: 12px;

    background:
        rgba(220, 226, 195, 0.55);

    color: #4f5738;

    font-weight: 600;
    line-height: 1.45;
}
.order-product-carousel .offer-list-preparing {
    width: 100%;
    flex: 0 0 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.order-back-link {

    flex-shrink: 0;

    color: #525633;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        opacity 0.2s ease;

}


.order-back-link:hover {

    opacity: 0.7;

}


/* =========================================
   MAIN LAYOUT
========================================= */

.order-page {

    width: min(
        calc(100% - 40px),
        1380px
    );

    margin:
        30px
        auto
        90px;

}


.order-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        370px;

    gap: 28px;

    align-items: start;

}


.order-offer {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 28px;

}


/* =========================================
   OFFER SECTION
========================================= */

.order-section {

    position: relative;

    min-width: 0;

    padding: 28px;

    background:
        #fffaf5;

    border:
        1px solid
        #eadfce;

    border-radius: 22px;

    box-shadow:
        0
        10px
        32px
        rgba(
            80,
            65,
            45,
            0.055
        );

    overflow: visible;

}


.order-section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background:
        #d5c9ae;

}


/* VEGETARIAN */

#orderVegetarianSection {

    background:
        #fbfbf4;

}


#orderVegetarianSection::before {

    background:
        #a6ad72;

}


/* BREAKFAST */

#orderBreakfastSection {

    background:
        #fff9ed;

}


#orderBreakfastSection::before {

    background:
        #d9b778;

}


/* PANTRY */

#orderPantrySection {

    background:
        #fff8f6;

}


#orderPantrySection::before {

    background:
        #cfa89f;

}


/* =========================================
   SECTION HEADER
========================================= */

.order-section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

}


.order-section-heading h2 {

    margin:
        3px
        0
        0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 32px;

    font-weight: 700;

    line-height: 1;

    color: #454625;

}


.order-eyebrow {

    display: block;

    color: #9a8973;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.6px;

    text-transform: uppercase;

}


.order-view-all-button {

    border: 0;

    padding:
        6px
        0;

    background: transparent;

    color: #62683d;

    cursor: pointer;

    font-size: 12px;

    font-weight: 700;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

}


.order-view-all-button:hover {

    opacity: 0.75;

    transform:
        translateX(2px);

}


/* =========================================
   PRODUCT CAROUSEL
========================================= */

.order-product-carousel {

    display: flex;

    gap: 18px;

    width: 100%;

    max-width: 100%;

    min-width: 0;

    overflow-x: auto;

    overflow-y: hidden;

    padding:
        2px
        2px
        8px;

    scroll-behavior: smooth;

    scroll-snap-type:
        x proximity;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    touch-action: pan-x;

    cursor: grab;

}


.order-product-carousel::-webkit-scrollbar {

    display: none;

}


/* =========================================
   PRODUCT CARD
========================================= */

.order-product-card,
.order-placeholder-card {

    flex:
        0
        0
        280px;

    width: 280px;

    min-width: 280px;

    border:
        1px solid
        #eadfce;

    border-radius: 18px;

    background: #ffffff;

    overflow: hidden;

    scroll-snap-align:
        start;

    box-shadow:
        0
        8px
        20px
        rgba(
            70,
            58,
            42,
            0.05
        );

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;

}


.order-product-card:hover {

    transform:
        translateY(-5px);

    border-color:
        #d9ccb9;

    box-shadow:
        0
        14px
        30px
        rgba(
            70,
            58,
            42,
            0.11
        );

}


.order-placeholder-card {

    min-height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 24px;

    box-sizing: border-box;

    color: #9b8f7f;

    background:
        #fbf7f2;

    text-align: center;

    font-size: 13px;

}


/* =========================================
   PRODUCT IMAGE
========================================= */

.order-product-image-placeholder {

    height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        #f4eee7;

    color: #a49684;

    font-size: 12px;

}


.order-product-card img {

    width: 100%;

    height: 190px;

    display: block;

    object-fit: contain;

    background:
        #f7f2ec;

    transition:
        transform 0.3s ease;

}


.order-product-card:hover img {

    transform:
        scale(1.025);

}


/* =========================================
   PRODUCT CONTENT
========================================= */

.order-product-content {
    display: flex;
    flex-direction: column;
    position: relative;

    height: 205px;
    min-height: 205px;

    padding: 17px;

    box-sizing: border-box;

    overflow: hidden;
}



/* NAZWA - stała, bez suwaka */

.order-product-content h3 {
    height: 42px;
    max-width: 100%;

    margin: 0;

    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    
    line-clamp: 2;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.15;

    color: #3f4329;
}


/* =========================================
   PRODUCT FOOTER
========================================= */

.order-product-footer {

    margin-top: auto;

    display: grid;

    grid-template-columns:
        1fr;

    gap: 10px;

}


.order-product-footer strong {

    color: #4f542e;

    font-size: 19px;

    font-weight: 700;

}


.order-product-footer button {

    width: 100%;

    padding:
        10px
        14px;

    border: 0;

    border-radius: 999px;

    background:
        #5f6538;

    color: #ffffff;

    cursor: pointer;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;

}


.order-product-footer button:hover {

    transform:
        translateY(-1px);

    opacity: 0.94;

    box-shadow:
        0
        6px
        14px
        rgba(
            65,
            70,
            38,
            0.18
        );

}


/* =========================================
   CART
========================================= */

.order-cart {

    position: sticky;

    top: 108px;

    max-height:
        calc(
            100vh - 130px
        );

    display: flex;

    flex-direction: column;

    padding: 24px;

    box-sizing: border-box;

    background:
        #ffffff;

    border:
        1px solid
        #e6dacb;

    border-radius: 22px;

    box-shadow:
        0
        15px
        38px
        rgba(
            70,
            58,
            42,
            0.095
        );

}


.order-checkout {

    grid-column: 2;

    position: sticky;

    top: 108px;

    padding: 24px;

    box-sizing: border-box;

    background: #ffffff;

    border:
        1px solid
        #e6dacb;

    border-radius: 22px;

    box-shadow:
        0
        15px
        38px
        rgba(
            70,
            58,
            42,
            0.095
        );

}

/* =========================================
   CART HEADER
========================================= */

.order-cart-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        #eee4d6;

}


.order-cart-header h2 {

    margin:
        3px
        0
        0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 31px;

    font-weight: 700;

    color: #41462a;

}


.order-cart-count {

    flex-shrink: 0;

    padding:
        7px
        11px;

    border-radius: 999px;

    background:
        #eff0e4;

    color:
        #575c34;

    font-size: 11px;

    font-weight: 700;

}


/* =========================================
   CART ITEMS
========================================= */

.order-cart {
    grid-column: 2;
}

.order-cart-items {

    min-height: 0;

    max-height:
        430px;

    display: flex;

    flex-direction: column;

    gap: 14px;

    padding:
        18px
        4px
        18px
        0;

    overflow-y: auto;

    scrollbar-width:
        thin;

}


.order-cart-item {

    padding:
        14px;

    border:
        1px solid
        #eee4d8;

    border-radius: 14px;

    background:
        #fffaf5;

}


.order-cart-item-top {

    display: flex;

    justify-content: space-between;

    gap: 12px;

}


.order-cart-item h3 {

    margin:
        0
        0
        4px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 17px;

    color:
        #43472c;

        
}

.order-cart-item-top > div {
    min-width: 0;
    flex: 1;
}

.order-cart-item h3 {
    max-width: 100%;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.order-remove-button {
    flex-shrink: 0;
}
.order-cart-item span {

    color:
        #968979;

    font-size: 11px;

}


.order-remove-button {

    width: 28px;

    height: 28px;

    flex-shrink: 0;

    border: 0;

    border-radius: 50%;

    background:
        #f6ece8;

    color:
        #a35f55;

    cursor: pointer;

    font-size: 16px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.order-remove-button:hover {

    background:
        #f1dfd9;

    transform:
        scale(1.06);

}


/* =========================================
   QUANTITY
========================================= */

.order-cart-item-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 14px;

}


.order-quantity {

    display: flex;

    align-items: center;

    gap: 8px;

}


.order-quantity button {

    width: 31px;

    height: 31px;

    border:
        1px solid
        #ddd2c3;

    border-radius: 8px;

    background:
        #ffffff;

    color:
        #454625;

    cursor: pointer;

    font-size: 16px;

    transition:
        background 0.18s ease;

}


.order-quantity button:hover {

    background:
        #f2ede4;

}


.order-quantity span {

    min-width: 22px;

    color:
        #383b29;

    text-align: center;

    font-size: 14px;

    font-weight: 700;

}


/* =========================================
   EMPTY CART
========================================= */

.order-cart-empty {

    padding:
        35px
        16px;

    text-align: center;

    color:
        #94887a;

}


.order-cart-empty > span {

    display: block;

    margin-bottom: 8px;

    font-size: 30px;

}


.order-cart-empty h3 {

    margin:
        0
        0
        5px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    color:
        #4b4e32;

    font-size: 20px;

}


.order-cart-empty p {

    margin: 0;

    font-size: 12px;

}


/* =========================================
   SUMMARY
========================================= */

.order-cart-summary {

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding:
        17px
        0;

    border-top:
        1px solid
        #eee4d6;

    border-bottom:
        1px solid
        #e8dfd3;

}


.order-cart-summary > div,
.order-cart-total {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

}

.order-delivery-info {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.order-delivery-title {
    font-weight: 700;
}

.order-cart-summary span {

    color:
        #2d2c2a;

    font-size: 12px;

}


.order-cart-summary strong {

    color:
        #4a4e31;

    font-size: 13px;

}


/* =========================================
   TOTAL
========================================= */

.order-cart-total {

    margin-top: 14px;

    padding:
        16px;

    border-radius: 14px;

    background:
        #f2f2e7;

}


.order-cart-total span {

    color:
        #686d45;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.order-cart-total strong {

    color:
        #454b28;

    font-size: 27px;

    font-weight: 700;

}


/* =========================================
   CHECKOUT
========================================= */

.order-checkout-button {

    width: 100%;

    margin-top: 14px;

    padding:
        14px
        18px;

    border: 0;

    border-radius: 12px;

    background:
        #596134;

    color: #ffffff;

    cursor: pointer;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0
        8px
        18px
        rgba(
            78,
            85,
            43,
            0.16
        );

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;

}


.order-checkout-button:hover {

    transform:
        translateY(-1px);

    opacity: 0.95;

}


.order-cart-note {

    margin:
        12px
        8px
        0;

    color:
        #94887a;

    font-size: 10px;

    line-height: 1.5;

    text-align: center;

}


/* =========================================
   ADDED POPUP
========================================= */




.order-added-popup-content > div {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


.order-added-popup-content strong {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    color:
        #45482d;

    font-size: 13px;

}


.order-added-popup-content span {

    margin-top: 2px;

    color:
        #928779;

    font-size: 11px;

}





.order-added-popup-actions button {

    flex: 1;

    padding:
        9px
        10px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;

}








/* =========================================
   MOBILE CART BAR
========================================= */

.order-mobile-cart {

    display: none;

}


/* =========================================
   MOBILE CART PANEL
========================================= */

.order-mobile-cart-panel {

    position: fixed;

    inset: 0;

    z-index: 500;

}


.order-mobile-cart-panel-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(
            38,
            32,
            26,
            0.4
        );

}


.order-mobile-cart-panel-content {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    max-height:
        82vh;

    display: flex;

    flex-direction: column;

    padding: 20px;

    box-sizing: border-box;

    background:
        #ffffff;

    border-radius:
        22px
        22px
        0
        0;

    box-shadow:
        0
        -10px
        30px
        rgba(
            35,
            30,
            25,
            0.15
        );

}


.order-mobile-cart-panel-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 14px;

    border-bottom:
        1px solid
        #eee5da;

}


.order-mobile-cart-panel-header h2 {

    margin:
        2px
        0
        0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 28px;

}


.order-mobile-cart-panel-header button {

    width: 34px;

    height: 34px;

    border: 0;

    border-radius: 50%;

    background:
        #f4eee7;

    color:
        #585640;

    cursor: pointer;

    font-size: 20px;

}


.order-mobile-cart-items {

    min-height: 100px;

    overflow-y: auto;

    padding:
        14px
        0;

}


.order-mobile-cart-total-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        15px
        0;

    border-top:
        1px solid
        #eee5da;

}


.order-mobile-cart-total-row strong {

    color:
        #454b28;

    font-size: 24px;

}


/* =========================================
   TABLET
========================================= */




/* =========================================
   MOBILE
========================================= */




/* =========================================
   VERY SMALL MOBILE
========================================= */



.order-product-stock-status {
    display: block;
    margin-bottom: -10px;
    color: #7c765f;
    font-size: 17px;
    font-weight: 700;
}

.order-product-stock-status.is-empty {
    color: #b42318;
}
.order-product-footer button:disabled {

    background: #d8d2c8;

    color: #8e867b;

    cursor: not-allowed;

    opacity: 1;

    box-shadow: none;

    transform: none;

}


.order-product-footer button:disabled:hover {

    background: #d8d2c8;

    color: #8e867b;

    box-shadow: none;

    transform: none;

}
/* =========================================
ORDER PAUSE OVERLAY
========================================= */

.order-pause-overlay {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(30, 28, 24, 0.58);

    backdrop-filter:
        blur(2px);

}


.order-pause-overlay[hidden] {
    display: none;
}


.order-pause-card {

    width: 100%;
    max-width: 440px;

    padding:
        28px
        26px;

    border-radius: 18px;

    background: #fffdf8;

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, 0.2);

    text-align: center;

}


.order-pause-card h2 {

    margin:
        0
        0
        12px;

    font-size: 28px;

}


.order-pause-card p {

    margin:
        0
        0
        18px;

    line-height: 1.5;

    white-space: pre-line;

}


.order-pause-contact {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding:
        0
        16px;

    border-radius: 10px;

    background: #6f7757;

    color: white;

    text-decoration: none;

}


body.orders-paused {
    overflow: hidden;
}


/* =========================================
   WEEKLY MENU DESCRIPTION
========================================= */

.weekly-menu-description-wrap {

    position: relative;

    margin-top: 6px;

}


.weekly-menu-description {

    margin: 0;

    max-height: 42px;

    overflow: hidden;

    color: #7b746b;

    font-size: 13px;

    line-height: 1.55;

    transition:
        max-height 0.25s ease;

}


.weekly-menu-description-wrap.open
.weekly-menu-description {

    max-height: 220px;

}


.weekly-menu-description-toggle {

    width: 100%;

    margin-top: 2px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #8a765e;

    cursor: pointer;

    font-size: 18px;

    line-height: 1;

}


.weekly-menu-description-toggle:hover {

    opacity: 0.75;

}


















/* =========================================
   ORDER CARD DETAILS - FINAL
========================================= */

.order-product-card {
    position: relative;
}


/* =========================================
   CLOSED STATE
========================================= */

.order-card-details {
    position: relative;

    margin-top: 8px;
}


.order-card-details-text {
    margin: 0;

    height: 34px;
    max-height: 34px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-clamp: 2;

    overflow-wrap: anywhere;

    color: #746d65;

    font-size: 12px;
    line-height: 17px;
}


/* =========================================
   VIEW ALL
========================================= */

.order-card-details-open {
    display: block;

    width: auto;
    height: auto;

    margin:
        12px
        0
        0
        auto;

    padding: 0;

    border: 0;

    background: transparent;

    color: #5f6538;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: none;
}


.order-card-details-open:hover {
    opacity: 0.75;

    text-decoration: underline;
}


/* =========================================
   OPEN STATE
========================================= */

.order-product-card.order-card-details-is-open
.order-card-details {

    position: absolute;

    position: absolute;
    top: 34px;
    left: 9px;
    right: 5px;
    bottom: 86px;
    z-index: 40;
    margin: 0;
    padding: 5px 3px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #eadfce;
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 8px 18px rgba(70, 58, 42, 0.10);
}

/* pełny tekst */

.order-product-card.order-card-details-is-open
.order-card-details-text {
    display: block;

    height: auto;
    max-height: none;

    margin: 0;

    overflow: visible;

    -webkit-line-clamp: unset;
    line-clamp: unset;
}


/* View all znika */

.order-product-card.order-card-details-is-open
.order-card-details-open {
    display: none;
}


/* =========================================
   PRICE ROW
========================================= */

.order-product-price-row {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}


/* =========================================
   CLOSE X
========================================= */

.order-card-details-close {
    display: none;

    width: 24px;
    height: 24px;
    min-width: 24px;

    margin: 0;
    padding: 0;

    align-items: center;
    justify-content: center;

    border: 0;
    background: transparent;

    color: #111111;

    font-family: inherit;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    box-shadow: none;

    flex: 0 0 24px;
}

.order-card-details-close:hover {
    opacity: 0.65;

    background: #5f6538;

    box-shadow: none;

    transform: none;
}


/* X tylko po otwarciu */

.order-product-card.order-card-details-is-open
.order-card-details-close {
    display: flex;
}


/* =========================================
   FOOTER ALWAYS VISIBLE
========================================= */

.order-product-footer {
    position: relative;

    z-index: 50;
}


.order-product-card.order-card-details-is-open
.order-product-footer {
    z-index: 60;

    margin-top: auto;

    background: #ffffff;
}

.order-product-image-wrap {
    position: relative;
}

.order-product-image-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-sale-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.order-product-old-price {
    color: #8e867b;
    text-decoration: line-through;
    font-size: 0.88em;
}

.order-product-sale-price strong {
    color: #b42318;
}

/* =========================================
   ORDER PREVIOUS - CONTENT WIDTH FIX
========================================= */

#orderPreviousProducts
.bella-product-card-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

#orderPreviousProducts
.bella-product-meta-row,
#orderPreviousProducts
.bella-product-card-footer,
#orderPreviousProducts
.bella-product-action-wrap {
    min-width: 0;
    max-width: 100%;
}
