#gw-preorder-product-box {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100%;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    order: -999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gw-preorder-purchase-group {
    flex-wrap: wrap !important;
}

.gw-preorder-purchase-group > #gw-preorder-product-box {
    width: 100% !important;
    min-width: 100% !important;
    flex-basis: 100% !important;
}

.gw-preorder-box {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 14px !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

.gw-preorder-box * {
    box-sizing: border-box;
}

#gw-preorder-cart-summary {
    display: block !important;
    box-sizing: border-box;
    float: none !important;
    clear: both;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
}

#gw-preorder-cart-summary > .gw-preorder-summary {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
}

.gw-preorder-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    float: none !important;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--gw-preorder-badge-bg, #b45309);
    color: var(--gw-preorder-badge-color, #fff);
    font-weight: 700;
    letter-spacing: .02em;
}

.gw-preorder-notice {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    margin: 8px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #f1d2ad;
    border-radius: 8px;
    background: var(--gw-preorder-notice-bg, #fff7ed);
    color: var(--gw-preorder-notice-color, #9a3412);
    font-weight: 600;
}

.gw-preorder-notice .fa {
    flex: 0 0 auto;
    margin-top: 4px;
}

.gw-preorder-date-picker {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    padding: 13px 14px !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.gw-preorder-date-picker label {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 0 7px !important;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.gw-preorder-mobile-date {
    display: none;
}

.gw-preorder-calendar {
    width: 100%;
    max-width: 360px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    outline: 0;
}

.gw-preorder-calendar:focus {
    border-color: #d99d55;
    box-shadow: 0 0 0 3px rgba(217, 157, 85, .18);
}

.gw-preorder-calendar.gw-has-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.gw-preorder-calendar-header {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    margin-bottom: 7px;
}

.gw-preorder-calendar-header strong {
    color: #334155;
    font-size: 15px;
    text-align: center;
}

.gw-calendar-nav {
    height: 34px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
}

.gw-calendar-nav:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.gw-preorder-calendar-weekdays,
.gw-preorder-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.gw-preorder-calendar-weekdays span {
    padding: 4px 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.gw-calendar-blank,
.gw-calendar-day {
    min-height: 36px;
}

.gw-calendar-day {
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
}

.gw-calendar-day:not(:disabled):hover {
    background: #ffedd5;
    color: #9a3412;
}

.gw-calendar-day.gw-calendar-selected {
    background: #b45309;
    color: #fff;
    font-weight: 700;
}

.gw-calendar-day.gw-calendar-disabled {
    cursor: not-allowed;
    background: #f1f5f9;
    color: #b8c1cc;
    text-decoration: line-through;
}

.gw-preorder-calendar-selected {
    min-height: 22px;
    margin-top: 6px;
    color: #9a3412;
    font-weight: 700;
}

.gw-required,
.gw-preorder-date-error {
    color: #dc2626;
}

.gw-preorder-date-help {
    display: block;
    clear: both;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.gw-preorder-date-error {
    min-height: 0;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
}

.gw-preorder-date-error:empty {
    display: none;
}

.gw-preorder-products {
    margin: 0;
    padding: 8px 14px 10px 34px;
    background: var(--gw-preorder-notice-bg, #fff7ed);
    color: var(--gw-preorder-notice-color, #9a3412);
}

.gw-preorder-products li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 4px 0;
}

.gw-preorder-products li > span {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.gw-preorder-products strong {
    white-space: nowrap;
}

.gw-preorder-summary {
    margin: 14px 0 18px;
}

.gw-preorder-summary .gw-preorder-notice {
    font-size: 15px;
}

@media (max-width: 767px) {
    #gw-preorder-cart-summary > .gw-preorder-summary {
        margin-bottom: 12px !important;
    }

    #gw-preorder-cart-summary .gw-preorder-summary .gw-preorder-notice {
        font-size: 13px;
    }

    #gw-preorder-cart-summary .gw-preorder-products {
        padding: 7px 12px 9px 28px;
    }

    #gw-preorder-product-box {
        margin-top: 4px !important;
    }

    .gw-preorder-box {
        margin: 6px 0 10px !important;
        font-size: 13px;
    }

    .gw-preorder-notice {
        padding: 10px 12px !important;
    }

    .gw-preorder-date-picker {
        margin: 6px 0 0 !important;
        padding: 0 !important;
        border: 0;
        background: transparent;
    }

    .gw-preorder-date-picker > label,
    .gw-preorder-calendar,
    .gw-preorder-calendar-selected,
    .gw-preorder-date-help {
        display: none !important;
    }

    .gw-preorder-mobile-date {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        min-height: 48px;
        padding: 9px 10px 9px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
    }

    .gw-preorder-mobile-date.gw-has-error {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
    }

    .gw-preorder-mobile-summary {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        color: #334155;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.35;
    }

    .gw-preorder-mobile-summary .fa {
        flex: 0 0 auto;
        margin-right: 6px;
        color: #64748b;
    }

    .gw-preorder-date-picker label.gw-preorder-mobile-action {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-height: 34px;
        margin: 0 !important;
        padding: 6px 10px;
        overflow: hidden;
        border: 1px solid #cbd5e1;
        border-radius: 7px;
        background: #f8fafc;
        color: #475569;
        font-size: 13px;
        line-height: 1;
        cursor: pointer;
    }

    .gw-preorder-mobile-action .gw-required {
        margin-left: 2px;
    }

    #gw-preorder-mobile-native-date {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        cursor: pointer;
        opacity: .01;
    }

    .gw-preorder-date-error {
        margin: 5px 2px 0;
    }

    .gw-preorder-products li {
        display: block;
    }

    .gw-preorder-products strong {
        display: block;
        margin-top: 2px;
        white-space: normal;
    }
}

@media (max-width: 360px) {
    .gw-preorder-mobile-date {
        gap: 6px;
        padding-left: 10px;
    }

    .gw-preorder-mobile-summary,
    .gw-preorder-date-picker label.gw-preorder-mobile-action {
        font-size: 12px;
    }

    .gw-preorder-date-picker label.gw-preorder-mobile-action {
        padding-right: 8px;
        padding-left: 8px;
    }
}
