.wcdtp-quick-order-form {
    --wcdtp-accent: #0eb049;
    --wcdtp-accent-dark: #0a8f3b;
    --wcdtp-text: #182230;
    --wcdtp-muted: #667085;
    --wcdtp-border: #e4e7ec;
    --wcdtp-border-strong: #cfd4dc;
    --wcdtp-surface: #fff;
    --wcdtp-soft: #f8fafc;
    --wcdtp-danger: #d92d20;
    --wcdtp-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
    clear: both;
    color: var(--wcdtp-text);
    display: grid;
    gap: 18px;
    margin: 20px 0 0;
    max-width: none;
}

.wcdtp-date-panel {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    max-width: 560px;
}

.wcdtp-title {
    color: var(--wcdtp-text);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.35;
    margin: 0;
}

.wcdtp-date-field {
    display: block;
}

.wcdtp-date-input-wrap {
    display: block;
    position: relative;
    width: 100%;
}

.wcdtp-arrival-date {
    appearance: none;
    background: var(--wcdtp-surface);
    border: 1px solid var(--wcdtp-border-strong);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    box-sizing: border-box;
    color: var(--wcdtp-text);
    font-size: 16px;
    line-height: 1.2;
    min-height: 52px;
    padding: 13px 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    width: 100%;
}

.wcdtp-arrival-date:hover {
    border-color: #98a2b3;
}

.wcdtp-arrival-date:focus {
    border-color: var(--wcdtp-accent);
    box-shadow: 0 0 0 4px rgba(14, 176, 73, 0.14);
    outline: none;
}

.wcdtp-arrival-date::-webkit-calendar-picker-indicator {
    cursor: pointer;
    margin-inline-start: 8px;
    opacity: 0.7;
    padding: 8px;
}

.wcdtp-variation-options {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.wcdtp-legacy-variation-options {
    display: none !important;
}

.wcdtp-variation-card {
    align-items: center;
    background: var(--wcdtp-surface);
    border: 1px solid var(--wcdtp-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.wcdtp-variation-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--wcdtp-shadow);
    transform: translateY(-1px);
}

.wcdtp-variation-card:focus-within {
    border-color: var(--wcdtp-accent);
    box-shadow: 0 0 0 4px rgba(14, 176, 73, 0.12);
}

.wcdtp-variation-card.wcdtp-is-unavailable {
    background: #f9fafb;
    opacity: 0.62;
}

.wcdtp-variation-card.wcdtp-is-blocked {
    border-color: rgba(217, 45, 32, 0.45);
}

.wcdtp-variation-details {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.wcdtp-variation-title {
    color: var(--wcdtp-text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
    margin: 0;
}

.wcdtp-variation-chips {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wcdtp-variation-chip {
    align-items: center;
    background: var(--wcdtp-soft);
    border: 1px solid var(--wcdtp-border);
    border-radius: 999px;
    color: var(--wcdtp-text);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 5px;
    line-height: 1.2;
    min-height: 28px;
    padding: 5px 10px;
    white-space: nowrap;
}

.wcdtp-chip-label {
    color: var(--wcdtp-muted);
    font-weight: 600;
}

.wcdtp-chip-value {
    color: var(--wcdtp-text);
}

.wcdtp-variation-description {
    color: var(--wcdtp-muted);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.wcdtp-subvariation-field {
    display: grid;
    gap: 7px;
}

.wcdtp-subvariation-field.wcdtp-is-regular-option {
    display: none;
}

.wcdtp-subvariation-label {
    color: var(--wcdtp-muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
}

.wcdtp-subvariation-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.wcdtp-subvariation-button {
    align-items: center;
    background: var(--wcdtp-soft);
    border: 1px solid #d3d7dc;
    border-radius: 999px;
    color: #000000;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 750;
    justify-content: center;
    line-height: 1.2;
    min-height: 32px;
    padding: 7px 13px;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
    white-space: nowrap;
}

.wcdtp-subvariation-button:hover,
.wcdtp-subvariation-button:focus {
    background: var(--wcdtp-soft);
    border-color: #d3d7dc;
    color: #000000;
    outline: none;
}

.wcdtp-subvariation-button.wcdtp-is-selected {
    background: var(--wcdtp-accent);
    border-color: var(--wcdtp-accent);
    box-shadow: 0 8px 18px rgba(14, 176, 73, 0.18);
    color: #fff;
}

.wcdtp-subvariation-button:active {
    transform: scale(0.98);
}

.wcdtp-hidden-variation-inputs {
    display: none !important;
}

.wcdtp-variation-price {
    align-items: baseline;
    color: var(--wcdtp-text);
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 800;
    gap: 4px;
}

.wcdtp-per-person {
    color: var(--wcdtp-muted);
    font-size: 13px;
    font-weight: 650;
}

.wcdtp-variation-status {
    color: var(--wcdtp-danger);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    margin: 0;
    min-height: 18px;
}

.wcdtp-quantity-wrap {
    align-items: center;
    display: grid;
    gap: 7px;
    justify-items: center;
}

.wcdtp-quantity-label {
    color: var(--wcdtp-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}

.wcdtp-card-quantity {
    align-items: center;
    background: var(--wcdtp-soft);
    border: 1px solid var(--wcdtp-border);
    border-radius: 999px;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
}

.wcdtp-qty-button {
    align-items: center;
    background: var(--wcdtp-surface);
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--wcdtp-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
    width: 32px;
}

.wcdtp-qty-button:hover,
.wcdtp-qty-button:focus {
    background: rgba(14, 176, 73, 0.1);
    border-color: rgba(14, 176, 73, 0.24);
    color: var(--wcdtp-accent-dark);
    outline: none;
}

.wcdtp-qty-button:active {
    transform: scale(0.96);
}

.wcdtp-qty-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.wcdtp-qty-input,
.wcdtp-group-qty-input {
    appearance: textfield;
    background: transparent;
    border: 0;
    box-sizing: border-box;
    color: var(--wcdtp-text);
    font-size: 14px;
    font-weight: 800;
    height: 32px;
    padding: 0;
    text-align: center;
    width: 40px;
}

.wcdtp-qty-input:focus,
.wcdtp-group-qty-input:focus {
    outline: none;
}

.wcdtp-qty-input::-webkit-inner-spin-button,
.wcdtp-qty-input::-webkit-outer-spin-button,
.wcdtp-group-qty-input::-webkit-inner-spin-button,
.wcdtp-group-qty-input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.wcdtp-form-message {
    color: var(--wcdtp-muted);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    max-width: 760px;
}

.wcdtp-quick-order-button {
    align-items: center;
    background: #0eb049 !important;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(14, 176, 73, 0.28);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    font-weight: 900;
    gap: 12px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.15;
    max-width: none;
    min-height: 66px;
    padding: 20px 28px;
    text-align: center;
    transition: background 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
    width: 100%;
}

.wcdtp-quick-order-button:hover,
.wcdtp-quick-order-button:focus {
    background: #0a8f3b !important;
    box-shadow: 0 18px 38px rgba(14, 176, 73, 0.34);
    outline: none;
}

.wcdtp-quick-order-button:active {
    transform: translateY(1px);
}

.wcdtp-quick-order-button:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.55;
}

.wcdtp-button-icon {
    display: block;
    fill: currentColor;
    flex: 0 0 auto;
    height: 25px;
    width: 25px;
}

@media (max-width: 560px) {
    .wcdtp-quick-order-form,
    .wcdtp-date-panel,
    .wcdtp-variation-options {
        max-width: none;
    }

    .wcdtp-arrival-date {
        font-size: 16px;
        min-height: 54px;
        padding: 14px;
    }

    .wcdtp-variation-card {
        align-items: stretch;
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .wcdtp-card-quantity {
        justify-content: center;
        width: max-content;
    }

    .wcdtp-quick-order-button {
        font-size: 20px;
        min-height: 62px;
        padding: 18px 22px;
    }
}
