/* ==========================================================================
   Charlie's Cheesecake Works - Cart Drawer & Confirm Order Styles
   (Preserves 100% of the original catalog and card styles in charlie.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Off-Canvas Slide-out Sidebar Cart Drawer (Image 1)
   -------------------------------------------------------------------------- */
.pickup-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(28, 16, 20, 0.48);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.pickup-cart-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pickup-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 410px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -6px 0 35px rgba(0, 0, 0, 0.16);
}

.pickup-cart-drawer.is-open {
    transform: translateX(0);
}

.pickup-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0ebe4;
    background: #ffffff;
}

.drawer-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-header-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #32221b;
}

.drawer-cart-icon {
    color: #73323b;
    stroke: #73323b;
}

.pickup-cart-drawer__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #73645e;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pickup-cart-drawer__close:hover {
    color: #32221b;
    background: #f6ede8;
}

.pickup-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual Cart Item inside Drawer (Matching Image 1) */
.drawer-cart-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fdfaf7;
    border: 1px solid #f0e6dc;
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.2s ease;
}

.drawer-cart-card:hover {
    border-color: #e2d2c3;
}

.drawer-cart-card__thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f4eae1;
}

.drawer-cart-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-cart-card__content {
    flex: 1;
    min-width: 0;
}

.drawer-cart-card__header {
    margin-bottom: 2px;
}

.drawer-cart-card__title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #32221b;
    line-height: 1.3;
}

.drawer-cart-card__price {
    font-size: 14px;
    font-weight: 700;
    color: #73323b;
    margin-bottom: 8px;
}

.drawer-cart-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #73323b;
    border-radius: 4px;
    background: #ffffff;
    color: #73323b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.qty-btn:hover {
    background: #73323b;
    color: #ffffff;
}

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

.qty-count {
    min-width: 24px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #32221b;
}

.drawer-item-delete {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #dc3545;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.drawer-item-delete:hover {
    color: #a71d2a;
    transform: scale(1.15);
}

/* Empty State inside Drawer */
.drawer-empty-state {
    text-align: center;
    padding: 60px 20px;
    margin: auto 0;
}

.drawer-empty-state .empty-icon {
    color: #c4b5ad;
    margin-bottom: 14px;
}

.drawer-empty-state .empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #32221b;
    margin: 0 0 6px;
}

.drawer-empty-state .empty-desc {
    font-size: 13.5px;
    color: #776a63;
    margin: 0 0 20px;
}

.drawer-btn-continue-shopping {
    background: #73323b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Drawer Footer */
.pickup-cart-drawer__footer {
    padding: 20px 24px;
    border-top: 1px solid #f0ebe4;
    background: #ffffff;
}

.pickup-cart-drawer__footer.is-hidden {
    display: none;
}

.drawer-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.drawer-subtotal-row .subtotal-label {
    font-size: 16px;
    font-weight: 600;
    color: #32221b;
}

.drawer-subtotal-row .subtotal-amount {
    font-size: 20px;
    font-weight: 800;
    color: #73323b;
}

.drawer-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-btn {
    display: block;
    width: 100%;
    border-radius: 6px;
    padding: 13px 18px;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-btn-checkout {
    background: #73323b;
    color: #ffffff !important;
    border: none;
}

.drawer-btn-checkout:hover {
    background: #5a242c;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.drawer-btn-continue {
    background: #ffffff;
    color: #73323b;
    border: 1.5px solid #73323b;
}

.drawer-btn-continue:hover {
    background: #fdf5f5;
    color: #5a242c;
}

/* Floating Quick Cart Trigger Button */
.pickup-floating-cart-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99990;
    background: #73323b;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 6px 20px rgba(115, 50, 59, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pickup-floating-cart-btn:hover {
    background: #5a242c;
    transform: translateY(-3px);
}

.pickup-floating-cart-btn.is-hidden {
    display: none;
}

.cart-floating-count {
    background: #ffd43b;
    color: #32221b;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Header Cart Toggle Button */
.header-cart-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-cart-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffd43b;
    border-color: #ffd43b;
}

.header-cart-icon {
    stroke: currentColor;
}

.header-cart-badge {
    background: #ffd43b;
    color: #32221b;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: 6px;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Confirm Order Page Layout (Image 2)
   -------------------------------------------------------------------------- */
.confirm-order-page {
    background: #fbf8f5;
    min-height: 80vh;
}

.confirm-order-hero {
    background: #73323b !important;
    color: #ffffff;
    text-align: center;
    padding: 48px 0;
}

.confirm-order-hero h1 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin: 0 0 10px;
}

.confirm-order-hero .lead {
    color: #fbf0e8;
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
}

.confirm-order-section {
    padding: 60px 0 90px;
}

.confirm-order-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .confirm-order-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Left Column: Order Summary */
.summary-card {
    background: #ffffff;
    border: 1px solid #eaded3;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 3px 14px rgba(50, 34, 27, 0.04);
}

.summary-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0ebe4;
}

.summary-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #32221b;
}

.edit-order-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #73323b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.edit-order-link:hover {
    text-decoration: underline;
    color: #5a242c;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.summary-item-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fdfaf7;
    border: 1px solid #f2e8de;
    border-radius: 10px;
    padding: 16px 18px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.summary-item-card.has-cutting-error {
    border-color: #d9383a;
    background: #fffcfc;
}

.summary-item-card__main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.summary-item-card__thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f4eae1;
}

.summary-item-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-card__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-item-card__name {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #32221b;
    line-height: 1.3;
}

.summary-item-card__qty {
    font-size: 13px;
    color: #776a63;
    font-weight: 500;
}

.summary-item-card__price {
    font-size: 15px;
    font-weight: 700;
    color: #73323b;
    margin-top: 2px;
}

/* Cutting Preference Controls (Cakes, Special Order, Seasonal) */
.summary-item-card__cutting {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2px;
}

.cutting-pref-title {
    font-size: 14px;
    font-weight: 600;
    color: #5c473f;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.3;
}

.cutting-pref-title .required {
    color: #d9383a;
    font-weight: 700;
}

.cutting-pref-choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cutting-pref-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 3px 0;
    font-size: 14px;
    font-weight: 500;
    color: #32221b;
    line-height: 1.4;
}

.cutting-pref-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #8c7870;
    border-radius: 4px;
    background: #ffffff;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
    vertical-align: middle;
}

.cutting-pref-label:hover .cutting-pref-radio,
.cutting-pref-radio:hover {
    border-color: #73323b;
}

.cutting-pref-radio:focus-visible {
    outline: 2px solid #73323b;
    outline-offset: 2px;
}

.cutting-pref-radio:checked {
    background: #73323b;
    border-color: #73323b;
}

.cutting-pref-radio:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.summary-item-card.has-cutting-error .cutting-pref-radio {
    border-color: #d9383a;
    background: #fff8f8;
}

.cutting-pref-text {
    font-size: 14px;
    font-weight: 500;
    color: #32221b;
    line-height: 1.4;
}

.cutting-error {
    font-size: 12.5px;
    color: #d9383a;
    font-weight: 500;
    margin-top: 3px;
    display: none;
}

.cutting-error.is-visible {
    display: block;
}

.summary-card__total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 2px solid #eaded3;
}

.summary-card__total-row .total-label {
    font-size: 19px;
    font-weight: 700;
    color: #32221b;
}

.summary-card__total-row .total-amount {
    font-size: 24px;
    font-weight: 800;
    color: #73323b;
}

/* Right Column: Pickup Information Form */
.pickup-info-card {
    background: #ffffff;
    border: 1px solid #eaded3;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 3px 14px rgba(50, 34, 27, 0.04);
}

.pickup-info-card__title {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
    color: #32221b;
}

.pickup-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .pickup-form-grid {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field--full {
    width: 100%;
    margin-bottom: 18px;
}

.form-field label {
    font-size: 13.5px;
    font-weight: 600;
    color: #32221b;
}

.form-field label .required {
    color: #dc3545;
}

.form-field label .label-hint {
    font-weight: 400;
    color: #887a74;
    font-size: 12px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcd3ca;
    border-radius: 6px;
    font-size: 14.5px;
    background: #ffffff;
    color: #32221b;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #73323b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 50, 59, 0.12);
}

.form-field input.has-error {
    border-color: #dc3545;
    background: #fffafa;
}

.field-error {
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
    min-height: 16px;
    margin-top: 2px;
}

/* Policy Notice Box (Image 2) */
.pickup-policy-notice {
    background: #faf6f2;
    border: 1px solid #eddcd1;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 22px;
}

.pickup-policy-notice ol {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #695a53;
    line-height: 1.6;
}

.pickup-policy-notice li + li {
    margin-top: 4px;
}

/* Terms Checkbox */
.terms-agreement-group {
    margin-bottom: 24px;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #32221b;
}

.terms-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #73323b;
    margin-top: 2px;
    cursor: pointer;
}

.terms-subtext {
    font-size: 12.5px;
    line-height: 1.5;
    color: #776a63;
    margin: 8px 0 0 28px;
}

.terms-subtext a {
    color: #73323b;
    text-decoration: underline;
    font-weight: 500;
}

/* Submit Place Order Button */
.button-place-order {
    width: 100% !important;
    border-radius: 6px !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.button-place-order:disabled {
    background: #c89ea4 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
    transform: none !important;
    box-shadow: none !important;
}

.button-place-order:not(:disabled) {
    background: #73323b !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(115, 50, 59, 0.25) !important;
}

.button-place-order:not(:disabled):hover {
    background: #5a242c !important;
    transform: translateY(-1px);
}

.form-feedback-message {
    margin-top: 14px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.form-feedback-message.is-error {
    display: block;
    background: #fdf2f2;
    border: 1px solid #f8d7da;
    color: #721c24;
}

/* Empty Cart State on Confirm Page */
.empty-cart-box {
    max-width: 580px;
    margin: 40px auto;
    text-align: center;
    background: #ffffff;
    border: 1px solid #eaded3;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.empty-cart-icon {
    color: #c4b5ad;
    margin-bottom: 16px;
}

.empty-cart-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: #32221b;
    margin: 0 0 10px;
}

.empty-cart-box p {
    font-size: 15px;
    color: #776a63;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Success Confirmation State */
.order-confirmation-success {
    max-width: 680px;
    margin: 0 auto;
}

.success-box {
    background: #ffffff;
    border: 1px solid #eaded3;
    border-radius: 16px;
    padding: 42px 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eaf8ec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: #32221b;
    margin: 0 0 8px;
}

.success-order-num {
    font-size: 16px;
    color: #665b55;
    margin-bottom: 24px;
}

.success-details-card {
    background: #fdfaf7;
    border: 1px solid #f0e6dc;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    border-bottom: 1px dashed #e8ded4;
    padding-bottom: 10px;
}

.detail-item--total {
    align-items: flex-start;
}

.detail-item--items {
    align-items: flex-start;
}

.detail-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.detail-item-entry {
    font-size: 13.5px;
    color: #32221b;
    line-height: 1.4;
}

.detail-item-cutting-tag {
    font-size: 12px;
    color: #73323b;
    font-weight: 700;
    display: block;
    margin-top: 1px;
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    color: #776a63;
    font-weight: 500;
}

.detail-value {
    color: #32221b;
    font-weight: 600;
    text-align: right;
}

.detail-value-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.detail-value.highlight {
    color: #73323b;
    font-size: 18px;
    font-weight: 700;
}

.detail-note {
    display: block;
    font-size: 11.5px;
    color: #887a74;
    font-weight: normal;
    margin-top: 2px;
}

.success-info-notice {
    font-size: 13.5px;
    color: #665b55;
    line-height: 1.6;
    margin-bottom: 28px;
}

.store-hours-note {
    background: #fcf6ee;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #73323b;
    margin-top: 10px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Custom Pickup Date Picker Control & Modals (Special Order Lead Time)
   -------------------------------------------------------------------------- */
.form-field--date {
    position: relative;
}

.pickup-date-control {
    position: relative;
    width: 100%;
}

.pickup-date-input-box {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcd3ca;
    border-radius: 6px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 48px;
    box-sizing: border-box;
}

.pickup-date-input-box:hover {
    border-color: #8c7870;
}

.pickup-date-input-box:focus,
.pickup-date-input-box.is-active {
    border-color: #73323b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 50, 59, 0.12);
}

.pickup-date-input-box.has-error {
    border-color: #dc3545;
    background: #fffafa;
}

.pickup-date-calendar-icon {
    color: #73323b;
    stroke: #73323b;
    flex-shrink: 0;
}

.pickup-date-display-text {
    font-size: 14.5px;
    font-weight: 500;
    color: #32221b;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Special Order Warning Notice below Date Field */
.pickup-special-order-lead-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #c93b3b;
    line-height: 1.4;
}

.pickup-special-order-lead-notice .lead-notice-icon {
    font-size: 14px;
    flex-shrink: 0;
}

/* Custom Calendar Dropdown Popup */
.pickup-calendar-popup {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 320px;
    max-width: 95vw;
    background: #ffffff;
    border: 1px solid #eaded3;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(50, 34, 27, 0.15);
    padding: 16px;
    z-index: 1000;
    box-sizing: border-box;
    animation: popupFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.calendar-month-title {
    font-size: 15px;
    font-weight: 700;
    color: #32221b;
}

.calendar-nav-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #e5dbd1;
    border-radius: 6px;
    background: #ffffff;
    color: #5c473f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
}

.calendar-nav-btn:hover:not(:disabled) {
    border-color: #73323b;
    color: #73323b;
    background: #fdf8f5;
}

.calendar-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #eee;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #776a63;
    padding-bottom: 8px;
    border-bottom: 1px solid #f2ebe4;
    margin-bottom: 6px;
}

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

.calendar-day-cell {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 500;
    color: #32221b;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.calendar-day-cell.is-other-month {
    color: #c4b5ad;
    opacity: 0.7;
    cursor: default;
}

.calendar-day-cell.is-past {
    color: #c4b5ad;
    opacity: 0.45;
    cursor: not-allowed;
}

.calendar-day-cell.is-closed-day {
    color: #8c7b74;
    cursor: pointer;
}

.calendar-day-cell.is-closed-day:hover {
    background: #fbf0f0;
    color: #c93b3b;
}

.calendar-day-cell.is-lead-restricted {
    color: #73645e;
    cursor: pointer;
}

.calendar-day-cell.is-lead-restricted:hover {
    background: #fff5ee;
    color: #c58b43;
}

.calendar-day-cell.is-available:hover {
    background: #f6ede8;
    color: #73323b;
}

/* Today Day Cell (Day 22 in Screenshot 1) */
.calendar-day-cell.is-today {
    background: #c58b43 !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* Selected Day Cell (Day 28 in Screenshot 1) */
.calendar-day-cell.is-selected {
    background: #2d181f !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Pickup Modal Dialogs (Special Order Lead Time & Closed Sundays/Mondays)
   -------------------------------------------------------------------------- */
.pickup-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 16, 20, 0.58);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(2px);
    box-sizing: border-box;
}

.pickup-modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.pickup-modal-box {
    background: #ffffff;
    border-radius: 12px;
    max-width: 530px;
    width: 100%;
    padding: 32px 36px;
    box-shadow: 0 16px 45px rgba(28, 16, 20, 0.25);
    transform: translateY(14px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: left;
}

.pickup-modal-overlay.is-visible .pickup-modal-box {
    transform: translateY(0);
}

.pickup-modal-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: #32221b;
    line-height: 1.3;
}

.pickup-modal-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #554841;
    margin: 0 0 14px;
}

.pickup-modal-text:last-of-type {
    margin-bottom: 0;
}

.pickup-modal-text strong {
    color: #32221b;
    font-weight: 700;
}

.pickup-modal-phone {
    color: #73323b;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.pickup-modal-phone:hover {
    color: #5a242c;
}

.pickup-modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.pickup-modal-btn {
    background: #73323b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.pickup-modal-btn:hover {
    background: #5a242c;
    transform: translateY(-1px);
}

.pickup-modal-btn:active {
    transform: translateY(0);
}

.is-hidden {
    display: none !important;
}
