.rwd-discount-purchase-panel {
    width: 100%;
    margin: 20px 0 24px;
    padding: 24px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #f8f8f7;
    box-sizing: border-box;
}

.rwd-discount-panel-title {
    margin: 0 0 18px;
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-5447e22-font-family, "Oswald"), sans-serif;
    font-size: var(--e-global-typography-5447e22-font-size, 18px);
    font-weight: var(--e-global-typography-5447e22-font-weight, 700);
    line-height: 1.2;
    text-align: left;
    text-transform: var(--e-global-typography-5447e22-text-transform, uppercase);
}

.rwd-fixed-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 20px;
}

button.rwd-fixed-button,
.rwd-fixed-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 96px;
    width: 100%;
    margin: 0 !important;
    padding: 16px 14px !important;
    border: 2px solid #e2e2e2 !important;
    border-radius: 10px !important;
    background: #fbfbfb !important;
    color: #0d1624 !important;
    cursor: pointer;
    text-align: left;
    box-shadow: none !important;
    overflow: hidden;
    transition: border-color 0.18s ease, background 0.18s ease;
}

button.rwd-fixed-button:hover,
button.rwd-fixed-button.selected,
button.rwd-fixed-button.active {
    border-color: #ff7100 !important;
    background: #fffaf5 !important;
}

.rwd-fixed-line {
    display: block;
}

span.rwd-fixed-line.rwd-fixed-line-qty {
    padding: 0 0 4px;
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-d60650d-font-family, "Oswald"), sans-serif;
    font-size: var(--e-global-typography-d60650d-font-size, 14px);
    font-weight: var(--e-global-typography-d60650d-font-weight, 600);
    line-height: 1.1;
    text-transform: var(--e-global-typography-d60650d-text-transform, uppercase);
}

span.rwd-fixed-line.rwd-fixed-line-price {
    color: var(--e-global-color-2b9519f, #737373);
    font-family: var(--e-global-typography-8d64acd-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-8d64acd-font-size, 12px);
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
}

span.rwd-fixed-line.rwd-fixed-line-discount {
    margin-top: 9px;
    padding: 5px 10px;
    border-radius: 3px;
    background: var(--e-global-color-primary, #FF6B00);
    color: #ffffff;
    font-family: var(--e-global-typography-8d64acd-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-8d64acd-font-size, 12px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.rwd-fixed-popular {
    position: absolute;
    top: 12px;
    right: -34px;
    width: 120px;
    padding: 4px 0;
    background: #0d1624;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(38deg);
    pointer-events: none;
}

.quantity-slider-wrapper {
    position: relative;
    margin: 0;
}

.quantity-slider-container {
    position: relative;
    z-index: 5;
    margin: 14px 0 6px;
    padding-top: 38px;
}

.rwd-slider-discount-bubble {
    --rwd-bubble-arrow-left: 50%;
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--e-global-color-primary, #FF6B00);
    color: #ffffff;
    font-family: var(--e-global-typography-8d64acd-font-family, "Inter"), sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(20, 20, 20, 0.12);
    pointer-events: none;
    transform: translateX(0);
    transition: left 0.18s ease, transform 0.18s ease, background 0.18s ease;
    z-index: 8;
}

.rwd-slider-discount-bubble.is-hidden {
    display: none;
}

.rwd-slider-discount-bubble.is-muted {
    background: var(--e-global-color-2b9519f, #737373);
}

.rwd-slider-discount-bubble::after {
    content: "";
    position: absolute;
    left: var(--rwd-bubble-arrow-left, 50%);
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: translateX(-50%) rotate(45deg);
}

#quantity-slider {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 5px;
    margin: 0 0 18px;
    border: 0;
    border-radius: 999px;
    background: #d6d6d6;
    pointer-events: auto !important;
}

#quantity-slider .ui-slider-range {
    border-radius: 999px;
    background: var(--e-global-color-primary, #FF6B00);
}

.ui-slider-horizontal .ui-slider-handle,
span.ui-slider-handle.ui-corner-all.ui-state-default {
    top: -6px;
    width: 15px;
    height: 15px;
    margin-left: -7px;
    border: 0 !important;
    border-radius: 999px;
    background: var(--e-global-color-primary, #FF6B00) !important;
    cursor: pointer;
    box-shadow: none !important;
    outline: 0 !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.ui-slider-horizontal .ui-slider-handle:focus,
.ui-slider-horizontal .ui-slider-handle:focus-visible,
span.ui-slider-handle.ui-corner-all.ui-state-default:focus,
span.ui-slider-handle.ui-corner-all.ui-state-default:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.slider-floating-label {
    display: none;
}

.slider-floating-label::after,
.rwd-ticket-icon {
    display: none;
}

.rwd-slider-markers {
    position: relative;
    z-index: 1;
    height: 14px;
    width: 100%;
    margin: -13px 0 24px;
    padding: 0;
    pointer-events: none;
}

.rwd-slider-marker {
    position: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateX(-50%) !important;
    pointer-events: none;
}

.rwd-slider-marker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d6d6d6;
    border: 1px solid #ffffff;
    box-shadow: 0 0 0 1px var(--e-global-color-primary, #FF6B00);
    transition: transform 0.18s ease, background 0.18s ease;
}

.rwd-slider-marker.active .rwd-slider-marker-dot {
    background: var(--e-global-color-primary, #ff7100);
    transform: scale(1.2);
}

.rwd-slider-marker:first-child {
    transform: translateX(0) !important;
}

.rwd-slider-marker:last-child {
    transform: translateX(-100%) !important;
}

.rwd-quantity-stepper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 14px 0 18px;
    padding: 16px 0 18px;
    border-top: 1px solid var(--e-global-color-7798ada, #E5E5E5);
    border-bottom: 1px solid var(--e-global-color-7798ada, #E5E5E5);
}

.rwd-quantity-stepper-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    text-align: left;
}

.rwd-quantity-stepper-title {
    display: block;
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-5447e22-font-family, "Oswald"), sans-serif;
    font-size: var(--e-global-typography-5447e22-font-size, 18px);
    font-weight: var(--e-global-typography-5447e22-font-weight, 700);
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.rwd-quantity-stepper-subtitle {
    color: var(--e-global-color-2b9519f, #737373);
    font-family: var(--e-global-typography-8d64acd-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-8d64acd-font-size, 12px);
    line-height: 1.2;
}

.rwd-quantity-stepper {
    display: inline-grid;
    grid-template-columns: 38px 48px 38px;
    align-items: center;
    gap: 6px;
    min-height: 46px;
    padding: 5px 9px;
    border: 1px solid var(--e-global-color-7798ada, #E5E5E5);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(20, 20, 20, 0.08);
    overflow: visible;
    justify-items: center;
}

.rwd-quantity-stepper .qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--e-global-color-primary, #FF6B00) !important;
    border-radius: 999px !important;
    background: var(--e-global-color-primary, #FF6B00) !important;
    color: #ffffff !important;
    font-family: var(--e-global-typography-accent-font-family, "Inter"), sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    box-shadow: none !important;
    justify-self: center;
}

.rwd-quantity-stepper .qty-btn:hover,
.rwd-quantity-stepper .qty-btn:focus-visible {
    background: var(--e-global-color-secondary, #E55F00) !important;
    border-color: var(--e-global-color-secondary, #E55F00) !important;
    color: #ffffff !important;
    outline: 0;
}

.rwd-stepper-value {
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-5447e22-font-family, "Oswald"), sans-serif;
    font-size: var(--e-global-typography-5447e22-font-size, 18px);
    font-weight: var(--e-global-typography-5447e22-font-weight, 700);
    line-height: 1;
    text-align: center;
}

.ticket-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 0;
}

.price-per-ticket {
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 14px);
    font-weight: 700;
}

span.perticket {
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 14px);
    font-weight: var(--e-global-typography-text-font-weight, 400);
}

.rwd-selected-ticket-count {
    color: var(--e-global-color-2b9519f, #737373);
    font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 14px);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    line-height: 1.2;
    text-align: right;
}

#rwd-qty-display {
    display: inline;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: inherit;
}

#quantity-slider-input {
    width: 60px;
    margin: 0;
    text-align: center;
}

.line {
    margin-top: 20px;
}

.line .hr,
hr.hr {
    margin: 0 0 16px;
    border: 0;
    border-top: 1px solid #d8d8d8;
}

.total-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

div#rwd-ticket-summary,
div#rwd-price-summary {
    color: var(--e-global-color-text, #1A1A1A);
    font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 14px);
    line-height: 1.35;
}

div#rwd-ticket-summary {
    text-align: left;
}

div#rwd-ticket-summary strong {
    color: var(--e-global-color-da4f162, #A0A0A0);
    font-weight: var(--e-global-typography-text-font-weight, 400);
}

div#rwd-price-summary {
    min-width: 180px;
    margin: 0;
    font-weight: var(--e-global-typography-text-font-weight, 400);
    text-align: right;
}

#rwd-price-summary del {
    margin-right: 8px;
    color: var(--e-global-color-da4f162, #A0A0A0);
    font-weight: var(--e-global-typography-text-font-weight, 400);
}

.rwd-final-total {
    color: var(--e-global-color-primary, #FF6B00);
    font-family: var(--e-global-typography-5447e22-font-family, "Oswald"), sans-serif;
    font-size: var(--e-global-typography-5447e22-font-size, 18px);
    font-weight: var(--e-global-typography-5447e22-font-weight, 700);
    line-height: 1;
}

button.single_add_to_cart_button,
button.single_add_to_cart_button.button.alt,
.woocommerce-js div.product form.cart .button.single_add_to_cart_button.button.alt,
button.single_add_to_cart_button.button.alt.lottery-must-answer {
    width: 100% !important;
    min-height: 50px;
    margin: 0 !important;
    border-radius: 6px !important;
    background: #ff7100 !important;
    color: #ffffff !important;
    font-family: var(--e-global-typography-5447e22-font-family, "Oswald"), sans-serif !important;
    font-size: var(--e-global-typography-5447e22-font-size, 18px) !important;
    font-weight: var(--e-global-typography-5447e22-font-weight, 700) !important;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

button.single_add_to_cart_button:hover,
button.single_add_to_cart_button.button.alt:hover {
    background: #ff830f !important;
}

form.cart.pick-number {
    padding: 0;
    border-radius: 0;
}

.number-of-tickets {
    display: flex;
    align-items: center;
    justify-content: center;
}

button#left-online {
    border-radius: 5px 0 0 0;
}

button#right-postal {
    border-radius: 0 5px 0 0;
}

@media only screen and (max-width: 640px) {
    .rwd-discount-purchase-panel {
        padding: 18px;
        border-radius: 8px;
    }

    .rwd-discount-panel-title {
        font-size: var(--e-global-typography-5447e22-font-size, 18px);
    }

    .rwd-fixed-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    button.rwd-fixed-button,
    .rwd-fixed-button {
        min-height: 82px;
        padding: 14px !important;
    }

    .ticket-input-wrapper {
        align-items: flex-start;
        margin-top: 18px;
    }

    .rwd-quantity-stepper-row {
        align-items: stretch;
        gap: 12px;
    }

    .rwd-quantity-stepper {
        grid-template-columns: 36px 42px 36px;
        gap: 5px;
        padding: 5px 8px;
    }

    .rwd-quantity-stepper .qty-btn {
        width: 36px;
    }

    .total-summary {
        align-items: flex-start;
    }

    div#rwd-ticket-summary,
    div#rwd-price-summary {
        min-width: 0;
        font-size: 13px;
    }

    button#left-online,
    button#right-postal {
        border-radius: 5px !important;
    }
}
