/* =========================================================
   BEANO CHECKOUT
   ========================================================= */

   .beano-checkout-page {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;

    padding: 22px 18px 70px;

    background:
        linear-gradient(
            180deg,
            #a89059 0%,
            #f4f0e4 35%,
            #e9eadb 68%,
            #dce5d5 100%
        );

    color: #123b25;
}


/* =========================================================
   HEADER
   ========================================================= */

.beano-checkout-header {
    position: relative;

    width: 100%;
    max-width: 760px;
    min-height: 145px;

    margin: 0 auto 28px;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}


.beano-checkout-back {
    position: absolute;
    left: 0;
    top: 8px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    color: #123b25;
    background: rgba(255, 255, 255, 0.55);

    border: 1px solid rgba(18, 59, 37, 0.14);
    border-radius: 999px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}


.beano-checkout-back span {
    font-size: 18px;
    line-height: 1;
}


.beano-checkout-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.beano-checkout-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    text-decoration: none;
}


.beano-checkout-logo-image {
    display: block;

    width: 118px;
    height: auto;

    object-fit: contain;
}


.beano-checkout-title {
    margin: 0;

    color: #123b25;

    font-size: 42px;
    line-height: 0.95;
    letter-spacing: 2px;
    font-weight: 950;

    text-align: center;
}


/* =========================================================
   MAIN CHECKOUT GRID
   ========================================================= */

.beano-checkout-grid {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 0;

    overflow: hidden;

    background:
    radial-gradient(
        circle at 85% 10%,
        rgba(48, 117, 70, 0.45) 0%,
        transparent 35%
    ),
    linear-gradient(
        145deg,
        #092b1a 0%,
        #0d3b24 48%,
        #082718 100%
    );

    border: 1px solid rgba(13, 129, 67, 0.1);
    border-radius: 28px;

    box-shadow:
        0 18px 45px rgba(18, 59, 37, 0.10);
}


/* =========================================================
   CUSTOMER DETAILS
   ========================================================= */

.beano-checkout-form-card {
    width: 100%;
    box-sizing: border-box;

    padding: 28px 22px 30px;

    background: transparent;
}


.beano-checkout-section-heading {
    margin-bottom: 26px;
}


.beano-checkout-section-heading > span {
    display: block;

    margin-bottom: 7px;

    color: #f6f6f6;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}


.beano-checkout-section-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -0.7px;
    font-weight: 900;
}


/* =========================================================
   FORM
   ========================================================= */

.beano-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}


.beano-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.beano-checkout-field label {
    color: #fcf9f3;

    font-size: 12px;
    font-weight: 850;
}


.beano-checkout-field input,
.beano-checkout-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid rgba(18, 59, 37, 0.16);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.80);

    color: #123b25;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.beano-checkout-field input {
    min-height: 48px;
}


.beano-checkout-field textarea {
    min-height: 125px;

    resize: vertical;
}


.beano-checkout-field input::placeholder,
.beano-checkout-field textarea::placeholder {
    color: #899181;
}


.beano-checkout-field input:focus,
.beano-checkout-field textarea:focus {
    border-color: #123b25;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(18, 59, 37, 0.08);
}


/* =========================================================
   ORDER SUMMARY
   ========================================================= */

.beano-checkout-summary {
    width: 100%;
    box-sizing: border-box;

    padding: 28px 22px 30px;

    background:
    radial-gradient(
        circle at 85% 10%,
        rgba(48, 117, 70, 0.45) 0%,
        transparent 35%
    ),
    linear-gradient(
        145deg,
        #092b1a 0%,
        #0d3b24 48%,
        #082718 100%
    );

    color: #ffffff;
}


/* =========================================================
   SUMMARY HEADING
   ========================================================= */

.beano-checkout-summary__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 24px;
}


.beano-checkout-summary__heading > div {
    min-width: 0;
}


.beano-checkout-summary__heading span:first-child {
    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}


.beano-checkout-summary__heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -0.7px;
    font-weight: 900;
}


#beanoCheckoutItemCount {
    flex-shrink: 0;

    padding-top: 3px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   CHECKOUT ITEMS
   ========================================================= */

.beano-checkout-items {
    display: flex;
    flex-direction: column;

    gap: 13px;
}


.beano-checkout-item {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 0;
}


.beano-checkout-item__image {
    width: 58px;
    height: 68px;

    flex-shrink: 0;

    object-fit: contain;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 10px;
}


.beano-checkout-item__details {
    flex: 1;
    min-width: 0;
}


.beano-checkout-item__name {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}


.beano-checkout-item__quantity {
    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
    font-weight: 700;
}


.beano-checkout-item__price {
    flex-shrink: 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   SUMMARY DIVIDER
   ========================================================= */

.beano-checkout-summary__line {
    width: 100%;
    height: 1px;

    margin: 14px 0 18px;

    background: rgba(255, 255, 255, 0.13);
}


/* =========================================================
   SUBTOTAL
   ========================================================= */

.beano-checkout-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 17px;
}


.beano-checkout-summary__row span {
    color: rgba(255, 255, 255, 0.70);

    font-size: 13px;
    font-weight: 700;
}


.beano-checkout-summary__row strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;
}


/* =========================================================
   DELIVERY
   ========================================================= */

.beano-checkout-delivery {
    margin-bottom: 20px;

    padding: 15px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
}


.beano-checkout-delivery__label {
    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.beano-checkout-delivery__value {
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;
}


.beano-checkout-delivery p {
    margin: 7px 0 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   TOTAL
   ========================================================= */

.beano-checkout-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;

    padding: 17px 18px;

    background: #f4d33b;

    border-radius: 15px;

    color: #123b25;
}


.beano-checkout-summary__total span {
    font-size: 14px;
    font-weight: 900;
}


.beano-checkout-summary__total strong {
    font-size: 20px;
    font-weight: 950;
}


/* =========================================================
   PLACE ORDER BUTTON
   ========================================================= */

.beano-checkout-submit {
    width: 100%;
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 0 18px;

    border: 0;
    border-radius: 15px;

    background: #ffffff;

    color: #123b25;

    font-family: inherit;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.beano-checkout-submit__arrow {
    font-size: 21px;
    line-height: 1;
}


.beano-checkout-submit:active {
    transform: scale(0.98);
}


.beano-checkout-submit:hover {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   CHANGE CART
   ========================================================= */

.beano-checkout-edit-cart {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 16px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    text-align: center;
    text-decoration: none;

    opacity: 0.78;

    transition:
        opacity 0.2s ease;
}


.beano-checkout-edit-cart:hover {
    opacity: 1;
}


.beano-checkout-edit-cart span {
    font-size: 16px;
    line-height: 1;
}


/* =========================================================
   CHECKOUT NOTE
   ========================================================= */

.beano-checkout-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 7px;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;
    line-height: 1.4;

    text-align: center;
}


.beano-checkout-note span {
    flex-shrink: 0;

    color: #f4d33b;

    font-size: 12px;
}


/* =========================================================
   EMPTY CHECKOUT
   ========================================================= */

.beano-checkout-empty {
    padding: 30px 10px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   LARGER MOBILE / TABLET WIDTH
   ========================================================= */

@media (min-width: 600px) {

    .beano-checkout-page {
        padding-left: 28px;
        padding-right: 28px;
    }


    .beano-checkout-form-card {
        padding: 34px 32px;
    }


    .beano-checkout-summary {
        padding: 34px 32px;
    }


    .beano-checkout-grid {
        border-radius: 32px;
    }

}


/* =========================================================
   PAYMENT METHOD
   ========================================================= */

   .beano-checkout-payment {
    margin-top: 8px;
}


.beano-checkout-payment__heading {
    margin-bottom: 12px;
}


.beano-checkout-payment__heading > span {
    display: block;

    margin-bottom: 6px;

    color: #6b765f;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}


.beano-checkout-payment__heading h3 {
    margin: 0;

    color: #123b25;

    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
}


/* =========================================================
   COD OPTION
   ========================================================= */

.beano-checkout-payment__option {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid rgba(18, 59, 37, 0.20);
    border-radius: 15px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.beano-checkout-payment__option--selected {
    border-color: #123b25;

    background: #f7f9f2;

    box-shadow:
        0 5px 16px rgba(18, 59, 37, 0.08);
}


/* =========================================================
   HIDE NATIVE RADIO
   ========================================================= */

.beano-checkout-payment__option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   CUSTOM CIRCLE
   ========================================================= */

.beano-checkout-payment__radio {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 2px solid #123b25;
    border-radius: 50%;

    background: #ffffff;
}


.beano-checkout-payment__check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 16px;

    border-radius: 50%;

    background: #123b25;

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    line-height: 1;
}


/* =========================================================
   PAYMENT TEXT
   ========================================================= */

.beano-checkout-payment__content {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}


.beano-checkout-payment__content strong {
    color: #123b25;

    font-size: 14px;
    font-weight: 900;
}


.beano-checkout-payment__content small {
    color: #6b765f;

    font-size: 11px;
    line-height: 1.4;
}