/* ==========================================================
   WESTERFUN - TICKETSHOP
   Bestand: css/tickets.css
========================================================== */


/* ==========================================================
   STAP 1: BASIS
========================================================== */

.ticket-hero,
.ticket-shop {
    font-family: "Poppins", sans-serif;
}

.ticket-hero *,
.ticket-shop * {
    box-sizing: border-box;
}


/* ==========================================================
   STAP 2: TICKET HERO
========================================================== */

.ticket-hero {
    position: relative;
    overflow: hidden;

    padding: 85px 0 95px;

    background:
        radial-gradient(circle at 85% 20%,
            rgba(151, 210, 72, 0.22),
            transparent 30%),
        radial-gradient(circle at 10% 100%,
            rgba(255, 145, 24, 0.12),
            transparent 30%),
        linear-gradient(135deg,
            #143f29 0%,
            #0d3522 55%,
            #082a1a 100%);

    color: #ffffff;
}


/* Decoratie */

.ticket-hero::before {
    content: "";

    position: absolute;

    top: -170px;
    right: -120px;

    width: 430px;
    height: 430px;

    border: 70px solid rgba(255, 255, 255, 0.025);

    border-radius: 50%;

    pointer-events: none;
}


.ticket-hero::after {
    content: "";

    position: absolute;

    bottom: -170px;
    left: -130px;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.02);

    pointer-events: none;
}


.ticket-hero .container {
    position: relative;

    z-index: 2;
}


/* ==========================================================
   STAP 3: HERO LABEL
========================================================== */

.ticket-label {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    padding: 9px 16px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.3px;
}


/* ==========================================================
   STAP 4: HERO TITEL
========================================================== */

.ticket-hero h1 {
    max-width: 780px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 67px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;
}


.ticket-hero h1 span {
    display: block;

    color: #9bd449;
}


.ticket-hero>.container>p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================================
   STAP 5: HERO VOORDELEN
========================================================== */

.ticket-hero-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px 25px;

    margin-top: 27px;
}


.ticket-hero-benefits span {
    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;

    font-weight: 600;
}


/* ==========================================================
   STAP 6: TICKETSHOP ACHTERGROND
========================================================== */

.ticket-shop {
    position: relative;

    min-height: 700px;

    padding: 75px 0 110px;

    background:
        linear-gradient(180deg,
            #f7faf4 0%,
            #fffdf8 45%,
            #fffdf8 100%);
}


/* ==========================================================
   STAP 7: HOOFDLAYOUT
========================================================== */

.ticket-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr) minmax(320px, 0.72fr);

    align-items: start;

    gap: 35px;
}


.ticket-main {
    display: flex;
    flex-direction: column;

    gap: 24px;
}


/* ==========================================================
   STAP 8: ALGEMENE TICKET BOX
========================================================== */

.ticket-box {
    padding: 32px;

    border: 1px solid #e9eee7;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(26, 65, 42, 0.065);
}


/* ==========================================================
   STAP 9: BOX HEADING
========================================================== */

.ticket-box-heading {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-bottom: 28px;
}


.step-number {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(135deg,
            #8bc63f,
            #6aa92d);

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    box-shadow:
        0 8px 18px rgba(108, 170, 47, 0.22);
}


.ticket-box-heading h2 {
    margin: 0 0 5px;

    color: #173e29;

    font-size: 20px;

    font-weight: 800;

    line-height: 1.3;
}


.ticket-box-heading p {
    margin: 0;

    color: #7d8881;

    font-size: 11px;

    line-height: 1.6;
}


/* ==========================================================
   STAP 10: DATUMVELD
========================================================== */

.date-field {
    max-width: 430px;
}


.date-field label {
    display: block;

    margin-bottom: 8px;

    color: #294b35;

    font-size: 11px;

    font-weight: 700;
}


.date-field input {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    border: 1px solid #dce5da;

    border-radius: 11px;

    outline: none;

    background: #fbfcfa;

    color: #294132;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.date-field input:focus {
    border-color: #8bc63f;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(139, 198, 63, 0.10);
}


/* ==========================================================
   STAP 11: TICKET PRODUCT
========================================================== */

.ticket-product {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 100px 145px;

    align-items: center;

    gap: 20px;

    padding: 21px 0;

    border-bottom: 1px solid #edf0eb;
}


.ticket-product:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


/* ==========================================================
   STAP 12: PRODUCT INFO
========================================================== */

.ticket-product-info {
    display: flex;
    align-items: center;

    gap: 15px;
}


.ticket-product-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            #f1f9e7,
            #fbfdf7);

    font-size: 22px;
}


.ticket-product-info h3 {
    margin: 0 0 4px;

    color: #1d432d;

    font-size: 14px;

    font-weight: 800;
}


.ticket-product-info p {
    margin: 0;

    color: #8a938d;

    font-size: 10px;
}


/* ==========================================================
   STAP 13: PRIJS
========================================================== */

.ticket-product-price {
    text-align: right;
}


.ticket-product-price strong {
    color: #173e29;

    font-size: 14px;

    font-weight: 800;
}


/* ==========================================================
   STAP 14: AANTAL SELECTOR
========================================================== */

.quantity-selector {
    display: grid;

    grid-template-columns:
        38px 48px 38px;

    align-items: center;
    justify-content: end;

    gap: 5px;
}


.quantity-selector input {
    width: 48px;
    height: 38px;

    padding: 0;

    border: 1px solid #e0e6df;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #173e29;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 800;

    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;
}


.quantity-selector input::-webkit-inner-spin-button,
.quantity-selector input::-webkit-outer-spin-button {
    margin: 0;

    -webkit-appearance: none;
}


/* Plus/min */

.quantity-btn {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #dfe7dc;

    border-radius: 9px;

    background: #f8faf6;

    color: #31523b;

    font-family: "Poppins", sans-serif;

    font-size: 18px;

    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.quantity-btn:hover {
    border-color: #83bc3b;

    background: #83bc3b;

    color: #ffffff;

    transform: translateY(-1px);
}


.quantity-btn:active {
    transform: scale(0.94);
}


/* ==========================================================
   STAP 15: KLANTGEGEVENS
========================================================== */

.ticket-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.ticket-form-grid .form-group {
    margin: 0;
}


.ticket-form-grid .form-group.full {
    grid-column: 1 / -1;
}


.ticket-form-grid label {
    display: block;

    margin-bottom: 8px;

    color: #294b35;

    font-size: 11px;

    font-weight: 700;
}


.ticket-form-grid input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid #dce5da;

    border-radius: 11px;

    outline: none;

    background: #fbfcfa;

    color: #294132;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.ticket-form-grid input:focus {
    border-color: #8bc63f;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(139, 198, 63, 0.10);
}


/* ==========================================================
   STAP 16: BESTELOVERZICHT
========================================================== */

.ticket-summary {
    position: sticky;

    top: 25px;
}


.summary-card {
    padding: 30px;

    border: 1px solid #e7ede5;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 20px 55px rgba(25, 64, 41, 0.10);
}


.summary-label {
    display: inline-block;

    margin-bottom: 7px;

    color: #79ae37;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.9px;

    text-transform: uppercase;
}


.summary-card h2 {
    margin: 0 0 25px;

    color: #173e29;

    font-size: 21px;

    font-weight: 800;
}


/* ==========================================================
   STAP 17: DATUM IN OVERZICHT
========================================================== */

.summary-date {
    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 15px;

    border-radius: 11px;

    background: #f5f9f1;
}


.summary-date span {
    color: #78847b;

    font-size: 10px;

    font-weight: 600;
}


.summary-date strong {
    color: #21472f;

    font-size: 11px;

    font-weight: 800;
}


/* ==========================================================
   STAP 18: DIVIDER
========================================================== */

.summary-divider {
    width: 100%;
    height: 1px;

    margin: 22px 0;

    background: #edf0eb;
}


/* ==========================================================
   STAP 19: SUMMARY RIJEN
========================================================== */

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
}


.summary-row:last-of-type {
    margin-bottom: 0;
}


.summary-row span {
    color: #718078;

    font-size: 10.5px;
}


.summary-row span b {
    color: #294b35;

    font-weight: 800;
}


.summary-row strong {
    color: #294b35;

    font-size: 11px;

    font-weight: 800;
}


/* ==========================================================
   STAP 20: TOTAAL
========================================================== */

.summary-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}


.summary-total span {
    color: #294b35;

    font-size: 13px;

    font-weight: 800;
}


.summary-total strong {
    color: #173e29;

    font-size: 25px;

    font-weight: 800;

    line-height: 1;
}


/* ==========================================================
   STAP 21: ERROR
========================================================== */

.ticket-error {
    min-height: 18px;

    margin: 18px 0 0;

    color: #c8443a;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.5;
}


/* ==========================================================
   STAP 22: CHECKOUT BUTTON
========================================================== */

.checkout-button {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 13px;

    padding: 0 22px;

    border: 0;

    border-radius: 11px;

    background:
        linear-gradient(135deg,
            #ff9818 0%,
            #f47700 100%);

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.4px;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 12px 27px rgba(244, 119, 0, 0.24);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


.checkout-button:hover {
    transform: translateY(-3px);

    filter: brightness(1.04);

    box-shadow:
        0 17px 35px rgba(244, 119, 0, 0.32);
}


.checkout-button:active {
    transform: translateY(-1px);
}


.checkout-button span {
    font-size: 16px;

    transition: transform 0.2s ease;
}


.checkout-button:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   STAP 23: VEILIG BESTELLEN
========================================================== */

.secure-order {
    margin-top: 15px;

    color: #859087;

    font-size: 9px;

    font-weight: 600;

    text-align: center;
}


/* ==========================================================
   STAP 24: TABLET
========================================================== */

@media (max-width: 1050px) {

    .ticket-layout {
        grid-template-columns:
            minmax(0, 1.4fr) minmax(290px, 0.7fr);

        gap: 25px;
    }


    .ticket-box {
        padding: 27px;
    }


    .summary-card {
        padding: 25px;
    }


    .ticket-product {
        grid-template-columns:
            minmax(0, 1fr) 85px 135px;

        gap: 14px;
    }

}


/* ==========================================================
   STAP 25: KLEINE TABLET
========================================================== */

@media (max-width: 850px) {

    .ticket-hero {
        padding: 70px 0 80px;
    }


    .ticket-layout {
        grid-template-columns: 1fr;
    }


    .ticket-summary {
        position: static;
    }


    .summary-card {
        max-width: none;
    }

}


/* ==========================================================
   STAP 26: MOBIEL
========================================================== */

@media (max-width: 600px) {

    /* HERO */

    .ticket-hero {
        padding: 55px 0 65px;
    }


    .ticket-hero h1 {
        font-size: 38px;

        letter-spacing: -1.3px;
    }


    .ticket-hero>.container>p {
        font-size: 13px;
    }


    .ticket-hero-benefits {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;

        margin-top: 22px;
    }



    /* SHOP */

    .ticket-shop {
        padding: 45px 0 75px;
    }


    .ticket-main {
        gap: 17px;
    }


    .ticket-box {
        padding: 22px 18px;

        border-radius: 17px;
    }


    .ticket-box-heading {
        gap: 12px;

        margin-bottom: 22px;
    }


    .step-number {
        width: 37px;
        height: 37px;

        flex-basis: 37px;

        border-radius: 10px;
    }


    .ticket-box-heading h2 {
        font-size: 17px;
    }



    /* PRODUCT */

    .ticket-product {
        grid-template-columns:
            minmax(0, 1fr) auto;

        gap: 15px;

        padding: 20px 0;
    }


    .ticket-product-price {
        text-align: right;
    }


    .quantity-selector {
        grid-column: 1 / -1;

        justify-content: start;

        margin-left: 65px;
    }



    /* FORM */

    .ticket-form-grid {
        grid-template-columns: 1fr;
    }


    .ticket-form-grid .form-group.full {
        grid-column: auto;
    }



    /* SUMMARY */

    .summary-card {
        padding: 24px 20px;

        border-radius: 17px;
    }


    .summary-total strong {
        font-size: 23px;
    }

}


/* ==========================================================
   STAP 27: ZEER KLEINE MOBIEL
========================================================== */

@media (max-width: 390px) {

    .ticket-hero h1 {
        font-size: 33px;
    }


    .ticket-box {
        padding: 20px 15px;
    }


    .ticket-product-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    .quantity-selector {
        margin-left: 59px;
    }


    .summary-card {
        padding: 21px 16px;
    }

}