/* GENERATED by shop/tools/build_checkout_css.py from the restaurant checkout styles.
   Do not edit by hand: change the restaurant CSS (or the script) and re-run it. */

/* ===== from restaurant/static/restaurant/css/restaurant_menu.css (.tab-content-section) ===== */
:where(#shop-checkout) .tab-content-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    overflow: clip;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* ===== from restaurant/static/restaurant/css/item_detail_modal.css (.section-title) ===== */
:where(#shop-checkout) .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--menu-dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== from restaurant/static/restaurant/css/stepper/stepper-optimized2.css ===== */
:where(#shop-checkout) * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html :where(#shop-checkout),
body :where(#shop-checkout) {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}
:where(#shop-checkout) .restaurant-stepper-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
:where(#shop-checkout) .restaurant-progress {
    padding: 0.75rem 0 0.5rem;
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
:where(#shop-checkout) .restaurant-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
    min-width: min-content;
    padding: 0 0.25rem;
    width: 100%;
}
:where(#shop-checkout) .shop-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 55px;
    z-index: 2;
}
:where(#shop-checkout) .restaurant-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 0.25rem;
    width: 100%;
}
:where(#shop-checkout) .shop-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 55px;
    z-index: 2;
}
:where(#shop-checkout) .shop-progress-step::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
    transform: translateX(0%);
}
:where(#shop-checkout) .shop-progress-step:last-child::after {
    display: none;
}
:where(#shop-checkout) .shop-progress-step.completed::after {
    background: #28a745;
}
:where(#shop-checkout) .shop-progress-step.active::after {
    background: #e9ecef;
}
:where(#shop-checkout) .shop-progress-step.completed ~ .shop-progress-step::after {
    background: #28a745;
}
:where(#shop-checkout) .shop-progress-step.active ~ .shop-progress-step::after {
    background: #e9ecef;
}
:where(#shop-checkout) .shop-progress-step.completed .restaurant-step-connector {
    background: #28a745;
}
:where(#shop-checkout) .shop-progress-step.active ~ .shop-progress-step .restaurant-step-connector {
    background: #e9ecef;
}
:where(#shop-checkout) .shop-progress-step.completed ~ .shop-progress-step .restaurant-step-connector {
    background: #28a745;
}
:where(#shop-checkout) .restaurant-step-bubble {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white !important;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    z-index: 2;
}
:where(#shop-checkout) .restaurant-step-number {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.875rem;
}
:where(#shop-checkout) .restaurant-step-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    opacity: 0;
}
:where(#shop-checkout) .shop-progress-step.active .restaurant-step-bubble {
    background: var(--menu-primary-color, #FF6B93) !important;
    border-color: var(--menu-primary-color, #FF6B93);
}
:where(#shop-checkout) .shop-progress-step.active .restaurant-step-number {
    color: white;
}
:where(#shop-checkout) .shop-progress-step.completed .restaurant-step-bubble {
    background: #28a745 !important;
    border-color: #28a745;
}
:where(#shop-checkout) .shop-progress-step.completed .restaurant-step-number {
    opacity: 0;
}
:where(#shop-checkout) .shop-progress-step.completed .restaurant-step-check {
    opacity: 1;
}
:where(#shop-checkout) .restaurant-step-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    color: #6c757d;
    white-space: nowrap;
}
:where(#shop-checkout) .shop-progress-step.active .restaurant-step-label {
    color: var(--menu-primary-color, #FF6B93);
    font-weight: 600;
}
:where(#shop-checkout) .shop-progress-step.completed .restaurant-step-label {
    color: #28a745;
}
:where(#shop-checkout) .shop-stepper-step {
    display: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
:where(#shop-checkout) .shop-stepper-step.active {
    display: block;
}
:where(#shop-checkout) .restaurant-step-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}
:where(#shop-checkout) .restaurant-step-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
:where(#shop-checkout) .restaurant-step-title i {
    color: var(--menu-primary-color, #FF6B93);
}
:where(#shop-checkout) .restaurant-step-subtitle {
    color: #6c757d;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
}
:where(#shop-checkout) .restaurant-cart-step-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0 0.5rem;
}
:where(#shop-checkout) .restaurant-cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}
:where(#shop-checkout) .shop-cart-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    align-items: start;
    margin: 0;
}
:where(#shop-checkout) .restaurant-cart-item-main {
    grid-row: 1;
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
:where(#shop-checkout) .restaurant-cart-item-image-container {
    grid-row: 1;
    grid-column: 1;
    width: 60px;
    height: 60px;
}
:where(#shop-checkout) .restaurant-cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
:where(#shop-checkout) .restaurant-cart-item-info {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
}
:where(#shop-checkout) .restaurant-cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}
:where(#shop-checkout) .restaurant-cart-item-price-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
:where(#shop-checkout) .restaurant-original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.8rem;
}
:where(#shop-checkout) .restaurant-discount-badge {
    background-color: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-current-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #28a745;
}
:where(#shop-checkout) .restaurant-cart-item-controls-row {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px dashed #dee2e6;
}
:where(#shop-checkout) .restaurant-quantity-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
:where(#shop-checkout) .shop-quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #495057;
    font-size: 0.9rem;
}
:where(#shop-checkout) .restaurant-quantity-display {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}
:where(#shop-checkout) .shop-remove-item {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
:where(#shop-checkout) .restaurant-item-total-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
:where(#shop-checkout) .restaurant-item-total-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}
:where(#shop-checkout) .restaurant-empty-cart-message {
    text-align: center;
    padding: 2rem 0.5rem;
    color: #6c757d;
    width: 100%;
}
:where(#shop-checkout) .restaurant-empty-cart-message i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--menu-primary-color, #FF6B93);
    opacity: 0.7;
}
:where(#shop-checkout) .restaurant-coupon-input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
:where(#shop-checkout) .restaurant-coupon-input-group .input-group {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    background: white;
}
:where(#shop-checkout) .restaurant-coupon-input-group .form-control {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 14px;
    outline: none;
    min-height: 46px;
}
:where(#shop-checkout) .restaurant-coupon-input-group .btn {
    border: none;
    background-color: var(--menu-primary-color, #FF6B93);
    color: white;
    padding: 0 20px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 80px;
    transition: none !important;
    transform: none !important;
    border-radius: 0;
}
:where(#shop-checkout) .restaurant-coupon-input-group .btn:hover,
:where(#shop-checkout) .restaurant-coupon-input-group .btn:active,
:where(#shop-checkout) .restaurant-coupon-input-group .btn:focus {
    background-color: var(--menu-primary-color, #FF6B93) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
}
:where(#shop-checkout) .restaurant-coupon-input-group .form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
    width: 100%;
}
:where(#shop-checkout) .coupon-applied {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 8px;
    padding: 0.1rem;
    align-items: start;
}
:where(#shop-checkout) .coupon-info {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(#shop-checkout) .coupon-code {
    font-weight: 600;
    color: #0f5132;
    font-size: 0.95rem;
}
:where(#shop-checkout) .coupon-value {
    font-weight: 700;
    color: #198754;
    font-size: 0.9rem;
}
:where(#shop-checkout) .coupon-min {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}
:where(#shop-checkout) .coupon-applied .btn-outline-danger {
    grid-column: 2;
    grid-row: 1;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dc3545;
    background: transparent;
    color: #dc3545;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: none;
}
:where(#shop-checkout) .coupon-applied .btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: none;
}
:where(#shop-checkout) .restaurant-cart-summary {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem;
    margin: 0;
}
:where(#shop-checkout) .restaurant-summary-section {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
:where(#shop-checkout) .restaurant-summary-section h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}
:where(#shop-checkout) .restaurant-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
:where(#shop-checkout) .restaurant-summary-row:last-child {
    border-bottom: none;
}
:where(#shop-checkout) .restaurant-summary-row.subtotal {
    border-top: 2px solid #e9ecef;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-summary-row.total {
    border-top: 2px solid #2c3e50;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}
:where(#shop-checkout) .restaurant-savings-summary {
    display: none;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-top: 1rem;
    border-left: 4px solid #28a745;
}
:where(#shop-checkout) .restaurant-cart-extras-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}
:where(#shop-checkout) .restaurant-cart-extras-list {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}
:where(#shop-checkout) .restaurant-cart-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    font-size: 0.85rem;
}
:where(#shop-checkout) .restaurant-checkout-form {
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
}
:where(#shop-checkout) .restaurant-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
:where(#shop-checkout) .restaurant-form-group {
    width: 100%;
    margin-bottom: 0;
}
:where(#shop-checkout) .restaurant-form-group.full-width {
    width: 100%;
}
:where(#shop-checkout) .restaurant-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
:where(#shop-checkout) .restaurant-form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
}
:where(#shop-checkout) .restaurant-form-control:focus {
    border-color: var(--menu-primary-color, #FF6B93);
    outline: none;
}
:where(#shop-checkout) .restaurant-form-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}
:where(#shop-checkout) .restaurant-order-type-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    width: 100%;
}
:where(#shop-checkout) .restaurant-order-type-option {
    flex: 1;
    min-width: 80px;
    max-width: 120px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 6px;
    cursor: pointer;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
:where(#shop-checkout) .restaurant-order-type-option.active {
    border-color: var(--menu-primary-color, #FF6B93);
    background-color: rgba(255, 107, 147, 0.1);
}
:where(#shop-checkout) .restaurant-order-type-icon {
    font-size: 1.25rem;
    color: #6c757d;
}
:where(#shop-checkout) .restaurant-order-type-option.active .restaurant-order-type-icon {
    color: var(--menu-primary-color, #FF6B93);
}
:where(#shop-checkout) .restaurant-order-type-info strong {
    font-size: 0.85rem;
    color: #2c3e50;
    line-height: 1.1;
}
:where(#shop-checkout) #shopTableNumberGroup {
    display: none;
    width: 100%;
    margin-top: 1rem;
}
:where(#shop-checkout) #shopTableNumberGroup.show {
    display: block;
    animation: fadeIn 0.3s ease;
}
:where(#shop-checkout) #shopTableNumberGroup.required {
    display: block;
}
:where(#shop-checkout) .shop-order-review {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 0.5rem;
}
:where(#shop-checkout) .restaurant-review-section {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem;
    margin: 0;
}
:where(#shop-checkout) .restaurant-review-section h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}
:where(#shop-checkout) .restaurant-review-item-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
:where(#shop-checkout) .restaurant-review-item-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
:where(#shop-checkout) .restaurant-order-items-review {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem;
    margin: 0;
}
:where(#shop-checkout) .restaurant-review-item-compact {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}
:where(#shop-checkout) .restaurant-review-item-compact:last-child {
    border-bottom: none;
}
:where(#shop-checkout) .restaurant-review-item-compact .quantity-badge {
    grid-column: 1;
    grid-row: 1 / 3;
    background: var(--menu-primary-color, #FF6B93);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}
:where(#shop-checkout) .restaurant-review-item-name {
    grid-column: 2;
    grid-row: 1;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.2;
}
:where(#shop-checkout) .restaurant-review-item-details {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}
:where(#shop-checkout) .restaurant-review-item-price {
    grid-column: 3;
    grid-row: 1 / 3;
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    text-align: right;
}
:where(#shop-checkout) .restaurant-review-discount-badge {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-review-extra-info {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e67e22;
}
:where(#shop-checkout) .restaurant-order-summary-review {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin: 0;
}
:where(#shop-checkout) .restaurant-customer-info-review {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
:where(#shop-checkout) .restaurant-customer-info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}
:where(#shop-checkout) .restaurant-confirmation-title {
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
}
:where(#shop-checkout) .restaurant-confirmation-message {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}
:where(#shop-checkout) .restaurant-confirmation-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}
:where(#shop-checkout) .restaurant-confirmation-icon {
    display: none;
}
:where(#shop-checkout) .restaurant-order-details-confirm {
    background: #fafbfc;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
}
:where(#shop-checkout) .restaurant-order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e9ecef;
    font-size: 0.95rem;
}
:where(#shop-checkout) .restaurant-order-detail:last-child {
    border-bottom: none;
}
:where(#shop-checkout) .restaurant-order-detail strong {
    color: #495057;
    font-weight: 600;
    min-width: 140px;
}
:where(#shop-checkout) .restaurant-order-detail span {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
    flex: 1;
}
:where(#shop-checkout) .restaurant-order-detail:first-child {
    padding-top: 0;
}
:where(#shop-checkout) .restaurant-order-type-info-confirm {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}
:where(#shop-checkout) .restaurant-confirm-detail {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}
:where(#shop-checkout) .restaurant-stepper-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.5rem;
    margin-top: 1rem;
    width: 100%;
    background: white;
    border-top: 1px solid #e9ecef;
    position: sticky;
    bottom: 0;
    z-index: 100;
}
:where(#shop-checkout) .restaurant-stepper-actions .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
}
:where(#shop-checkout) .restaurant-stepper-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}
:where(#shop-checkout) .restaurant-stepper-actions .btn-outline-secondary {
    background: white;
    color: #6c757d;
    border: 2px solid #6c757d;
}
:where(#shop-checkout) .restaurant-stepper-actions .btn-primary {
    background: var(--menu-primary-color, #FF6B93);
    color: white;
}
:where(#shop-checkout) .restaurant-confirmation-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.5rem;
    width: 100%;
}
:where(#shop-checkout) .restaurant-checkout-loading {
    text-align: center;
    padding: 2rem 0.5rem;
}
:where(#shop-checkout) .restaurant-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--menu-primary-color, #FF6B93);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
:where(#shop-checkout) .restaurant-checkout-success {
    text-align: center;
    padding: 2rem 0.5rem;
    background: white;
    border-radius: 8px;
}
:where(#shop-checkout) .restaurant-success-icon {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 1rem;
}
:where(#shop-checkout) .restaurant-success-title {
    color: #28a745;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-success-message {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
@media (min-width: 768px) {
    :where(#shop-checkout) .shop-progress-step {
        min-width: 80px;
    }
    :where(#shop-checkout) .restaurant-step-bubble {
        width: 36px;
        height: 36px;
    }
    :where(#shop-checkout) .restaurant-step-connector {
        top: 18px;
    }
    :where(#shop-checkout) .shop-cart-item {
        grid-template-columns: 80px 1fr;
        padding: 16px;
    }
    :where(#shop-checkout) .restaurant-cart-item-image-container {
        width: 80px;
        height: 80px;
    }
    :where(#shop-checkout) .restaurant-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    :where(#shop-checkout) .restaurant-form-group.full-width {
        grid-column: 1 / -1;
    }
}
@media (max-width: 360px) {
    :where(#shop-checkout) .shop-cart-item {
        grid-template-columns: 50px 1fr;
        gap: 6px;
        padding: 10px;
    }
    :where(#shop-checkout) .restaurant-cart-item-image-container {
        width: 50px;
        height: 50px;
    }
    :where(#shop-checkout) .restaurant-cart-item-name {
        font-size: 0.9rem;
    }
    :where(#shop-checkout) .restaurant-stepper-actions .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
        min-width: 100px;
    }
    :where(#shop-checkout) .restaurant-step-label {
        font-size: 0.65rem;
    }
    :where(#shop-checkout) .restaurant-order-type-option {
        min-width: 50px;
        padding: 6px 2px;
    }
    :where(#shop-checkout) .restaurant-order-type-info strong {
        font-size: 0.7rem;
    }
    :where(#shop-checkout) .restaurant-order-type-icon {
        font-size: 1rem;
    }
}
:where(#shop-checkout) .badge {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}
:where(#shop-checkout) .badge-sm {
    font-size: 0.65rem;
    padding: 1px 4px;
}
:where(#shop-checkout) .bg-success {
    background-color: #28a745;
    color: white;
}
:where(#shop-checkout) .bg-warning {
    background-color: #ffc107;
    color: #212529;
}
:where(#shop-checkout) .text-success {
    color: #28a745 !important;
}
:where(#shop-checkout) .text-primary {
    color: var(--menu-primary-color, #FF6B93) !important;
}
:where(#shop-checkout) .text-warning {
    color: #e67e22 !important;
}
:where(#shop-checkout) .text-info {
    color: #17a2b8 !important;
}
:where(#shop-checkout) [style*="display: none"] {
    display: none !important;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
:where(#shop-checkout) .restaurant-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 0.25rem;
    width: 100%;
}
:where(#shop-checkout) .shop-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 55px;
    z-index: 2;
}
:where(#shop-checkout) .shop-progress-step::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
    transform: translateX(0%);
}
:where(#shop-checkout) .shop-progress-step:last-child::after {
    display: none;
}
:where(#shop-checkout) .shop-progress-step.completed::after {
    background: #28a745;
}
:where(#shop-checkout) .shop-progress-step.active::after {
    background: #e9ecef;
}
:where(#shop-checkout) .shop-progress-step.completed ~ .shop-progress-step::after {
    background: #28a745;
}
:where(#shop-checkout) .shop-progress-step.active ~ .shop-progress-step::after {
    background: #e9ecef;
}
:where(#shop-checkout) #shopTableNumberGroup {
    display: none;
    width: 100%;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
:where(#shop-checkout) #shopTableNumberGroup.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
:where(#shop-checkout) .restaurant-review-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
:where(#shop-checkout) .restaurant-review-item-compact:last-child {
    border-bottom: none;
}
:where(#shop-checkout) .restaurant-review-item-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
:where(#shop-checkout) .restaurant-review-item-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}
:where(#shop-checkout) .restaurant-review-item-name strong {
    color: var(--menu-primary-color, #FF6B93);
    margin-right: 8px;
}
:where(#shop-checkout) .restaurant-review-item-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    white-space: nowrap;
    margin-left: 16px;
}
:where(#shop-checkout) .restaurant-confirmation-icon {
    display: none;
}
:where(#shop-checkout) .restaurant-confirmation-content {
    text-align: center;
}
:where(#shop-checkout) .restaurant-order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e9ecef;
    font-size: 0.95rem;
}
:where(#shop-checkout) .restaurant-order-detail:first-child {
    padding-top: 0;
}
:where(#shop-checkout) .restaurant-order-detail:last-child {
    border-bottom: none;
}
:where(#shop-checkout) .custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    animation: toastSlideIn 0.3s ease;
}
@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
:where(#shop-checkout) .toast-success {
    background-color: #28a745 !important;
    border: 1px solid #218838;
}
:where(#shop-checkout) .toast-error {
    background-color: #dc3545 !important;
    border: 1px solid #c82333;
}
:where(#shop-checkout) .toast-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: 1px solid #e0a800;
}
:where(#shop-checkout) .coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 8px;
    padding: 12px;
    margin-top: 0.5rem;
}
:where(#shop-checkout) .coupon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(#shop-checkout) .coupon-applied .btn-outline-danger {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dc3545;
    background: transparent;
    color: #dc3545;
    border-radius: 6px;
    margin-left: 12px;
    flex-shrink: 0;
}
:where(#shop-checkout) #shopReviewDeliveryAddressItem {
    display: none;
}
:where(#shop-checkout) #shopReviewDeliveryAddressItem.show {
    display: flex;
}
@media (max-width: 576px) {
    :where(#shop-checkout) .restaurant-review-item-name {
        font-size: 0.9rem;
    }
    :where(#shop-checkout) .restaurant-review-item-price {
        font-size: 0.95rem;
        margin-left: 8px;
    }
    :where(#shop-checkout) .restaurant-order-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    :where(#shop-checkout) .restaurant-order-detail span {
        text-align: left;
    }
}
:where(#shop-checkout) .restaurant-coupon-input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
:where(#shop-checkout) .restaurant-coupon-input-group .input-group {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    background: white;
}
:where(#shop-checkout) .restaurant-coupon-input-group .form-control {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 14px;
    outline: none;
    min-height: 46px;
}
:where(#shop-checkout) .restaurant-coupon-input-group .btn {
    border: none;
    background-color: var(--menu-primary-color, #FF6B93);
    color: white;
    padding: 0 20px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 80px;
    transition: none !important;
    transform: none !important;
    border-radius: 0;
}
:where(#shop-checkout) .restaurant-coupon-input-group .btn:hover,
:where(#shop-checkout) .restaurant-coupon-input-group .btn:active,
:where(#shop-checkout) .restaurant-coupon-input-group .btn:focus {
    background-color: var(--menu-primary-color, #FF6B93) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
}
:where(#shop-checkout) .restaurant-coupon-input-group .form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
    width: 100%;
}
:where(#shop-checkout) .restaurant-coupon-applied {
    margin-top: 0.5rem;
    width: 100%;
}
:where(#shop-checkout) .coupon-applied {
    display: flex;
    position: relative;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 8px;
    padding: 10px 40px 10px 12px;
    min-height: 70px;
    align-items: center;
    width: 100%;
}
:where(#shop-checkout) .coupon-applied .btn-close-coupon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dc3545;
    background: white;
    color: #dc3545;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}
:where(#shop-checkout) .coupon-applied .btn-close-coupon:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.05);
}
:where(#shop-checkout) .coupon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
    overflow: hidden;
    width: 100%;
}
:where(#shop-checkout) .coupon-line-1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    width: 100%;
    overflow: hidden;
}
:where(#shop-checkout) .coupon-icon {
    color: #0f5132;
    font-size: 0.9rem;
    flex-shrink: 0;
}
:where(#shop-checkout) .coupon-code {
    font-weight: 700;
    color: #0f5132;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}
:where(#shop-checkout) .coupon-badge {
    background: #198754;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
:where(#shop-checkout) .coupon-line-2 {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    overflow: hidden;
}
:where(#shop-checkout) .coupon-min-icon {
    color: #6c757d;
    font-size: 0.7rem;
    flex-shrink: 0;
}
:where(#shop-checkout) .coupon-min-text {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
@media (max-width: 360px) {
    :where(#shop-checkout) .coupon-applied {
        padding: 8px 36px 8px 10px;
        min-height: 65px;
    }
    :where(#shop-checkout) .coupon-line-1 {
        gap: 6px;
        margin-bottom: 3px;
    }
    :where(#shop-checkout) .coupon-code {
        font-size: 0.9rem;
    }
    :where(#shop-checkout) .coupon-badge {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    :where(#shop-checkout) .coupon-min-text {
        font-size: 0.75rem;
    }
    :where(#shop-checkout) .coupon-applied .btn-close-coupon {
        width: 22px;
        height: 22px;
        top: 5px;
        right: 5px;
        font-size: 0.7rem;
    }
}
@media (max-width: 320px) {
    :where(#shop-checkout) .coupon-applied {
        padding: 6px 32px 6px 8px;
        min-height: 60px;
    }
    :where(#shop-checkout) .coupon-line-1 {
        flex-wrap: wrap;
        gap: 4px;
    }
    :where(#shop-checkout) .coupon-code {
        font-size: 0.85rem;
    }
    :where(#shop-checkout) .coupon-badge {
        font-size: 0.65rem;
        padding: 1px 5px;
    }
    :where(#shop-checkout) .coupon-min-text {
        font-size: 0.7rem;
    }
}
:where(#shop-checkout) .restaurant-order-details-final {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem;
    margin: 1rem 0;
    width: 100%;
}
:where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    width: 100%;
}
:where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail:last-child {
    border-bottom: none;
}
:where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail strong {
    color: #495057;
    font-weight: 600;
    min-width: 140px;
    text-align: left;
}
:where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail span {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
    flex: 1;
}
:where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail:nth-last-child(2) {
    border-top: 2px solid #2c3e50;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-weight: 700;
}
:where(#shop-checkout) .restaurant-order-details-final .badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-success-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-top: 1.5rem;
    width: 100%;
}
:where(#shop-checkout) .restaurant-success-actions .btn {
    flex: 1;
    max-width: 200px;
    padding: 12px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
:where(#shop-checkout) .restaurant-success-actions .btn-primary {
    background: var(--menu-primary-color, #FF6B93);
    color: white;
}
:where(#shop-checkout) .restaurant-success-actions .btn-outline-primary {
    background: white;
    color: var(--menu-primary-color, #FF6B93);
    border: 2px solid var(--menu-primary-color, #FF6B93);
}
@media (max-width: 576px) {
    :where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 0.75rem 0;
    }
    :where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail span {
        text-align: left;
        width: 100%;
    }
    :where(#shop-checkout) .restaurant-success-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    :where(#shop-checkout) .restaurant-success-actions .btn {
        max-width: 100%;
        width: 100%;
    }
}
:where(#shop-checkout) .restaurant-success-icon {
    font-size: 2.5rem;
    color: var(--menu-primary-color, #FF6B93) !important;
    margin-bottom: 1rem;
}
:where(#shop-checkout) .restaurant-success-title {
    color: var(--menu-primary-color, #FF6B93);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-order-details-final .restaurant-order-detail i {
    color: var(--menu-primary-color, #FF6B93);
    min-width: 20px;
    text-align: center;
}
:where(#shop-checkout) .restaurant-success-actions .btn i {
    margin-right: 8px;
}
:where(#shop-checkout) .tab-pane:not(.active) {
    display: none !important;
}
:where(#shop-checkout) .tab-pane.active {
    display: block !important;
}
#shop-checkout.tab-pane:not(.active) {
    display: none !important;
    height: 0;
    overflow: hidden;
}
:where(#shop-checkout) .vcard-container {
    min-height: auto !important;
    overflow: visible !important;
}
:where(#shop-checkout) .tab-content {
    min-height: auto !important;
    overflow: visible !important;
}
:where(#shop-checkout) .delivery-fee-preview-card {
    animation: slideDown 0.3s ease;
}
:where(#shop-checkout) .delivery-fee-preview-card .card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
:where(#shop-checkout) .delivery-status {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
:where(#shop-checkout) .delivery-status.free {
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
    border-left: 4px solid #22c55e;
}
:where(#shop-checkout) .delivery-status.paid {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
}
:where(#shop-checkout) .progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}
:where(#shop-checkout) .progress-bar {
    transition: width 0.3s ease;
}
:where(#shop-checkout) .alert-success {
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
    border: none;
    border-left: 4px solid #22c55e;
    border-radius: 8px;
}
:where(#shop-checkout) .alert-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: none;
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
:where(#shop-checkout) .restaurant-delivery-progress-section {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
:where(#shop-checkout) .restaurant-delivery-progress-section .section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}
:where(#shop-checkout) .delivery-progress-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid #0d6efd;
}
:where(#shop-checkout) .delivery-progress-card.success {
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
    border-left-color: #28a745;
}
:where(#shop-checkout) .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
:where(#shop-checkout) .icon-circle.bg-success {
    background: #28a745;
}
:where(#shop-checkout) .motivation-message {
    background: #fff3cd;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 13px;
}

/* ===== from restaurant/static/restaurant/css/stepper/step-verification-style.css ===== */
:where(#shop-checkout) .restaurant-auth-verification-container .auth-verification-container {
    max-width: 100%;
}
:where(#shop-checkout) .restaurant-method-btn.active {
    border-color: #28a745;
    background: #28a745;
}
:where(#shop-checkout) .restaurant-code-input:focus {
    border-color: #28a745;
}
:where(#shop-checkout) #shopVerificationStatus.verification-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.75rem;
    border-radius: 0.375rem;
}
:where(#shop-checkout) #shopVerificationStatus.verification-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 0.375rem;
}
:where(#shop-checkout) .restaurant-method-btn {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
:where(#shop-checkout) .restaurant-method-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}
:where(#shop-checkout) .restaurant-method-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
:where(#shop-checkout) .restaurant-code-input {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    margin: 0 5px;
}
:where(#shop-checkout) .restaurant-code-input.filled {
    border-color: #007bff;
}
:where(#shop-checkout) .restaurant-verification-status {
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}
:where(#shop-checkout) .restaurant-verification-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}
:where(#shop-checkout) .restaurant-verification-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
:where(#shop-checkout) .restaurant-timer-expired {
    color: #dc3545;
}
:where(#shop-checkout) .btn-resend {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 5px 10px;
}
:where(#shop-checkout) .btn-resend:disabled {
    color: #6c757d;
    cursor: not-allowed;
}

/* ===== from restaurant/static/restaurant/css/stepper/restaurant-progress.css ===== */
:where(#shop-checkout) .restaurant-progress {
    --rs-bubble: 2.5rem;
    --rs-line: 3px;
    --rs-idle: #e9ecef;
    --rs-idle-text: #6c757d;
    --rs-done: #28a745;
    --rs-accent: var(--menu-primary-color, var(--primary-color, #ff6b93));
    padding: 2rem 0 1rem;
}
:where(#shop-checkout) .restaurant-progress .restaurant-progress-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: var(--rs-bubble);
    position: relative;
    text-align: center;
}
:where(#shop-checkout) .restaurant-progress .restaurant-step-bubble {
    width: var(--rs-bubble);
    height: var(--rs-bubble);
    border-radius: 50%;
    border: var(--rs-line) solid var(--rs-idle);
    background: transparent;
    color: var(--rs-idle-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
:where(#shop-checkout) .restaurant-progress .restaurant-step-number {
    display: block;
    font-variant-numeric: tabular-nums;
}
:where(#shop-checkout) .restaurant-progress .restaurant-step-check {
    display: none;
    font-size: 0.85rem;
}
:where(#shop-checkout) .restaurant-progress .restaurant-step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rs-idle-text);
    white-space: nowrap;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.active .restaurant-step-bubble {
    border-color: var(--rs-accent);
    background: var(--rs-accent);
    color: #fff;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.active .restaurant-step-label {
    color: var(--rs-accent);
    font-weight: 600;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.completed .restaurant-step-bubble,
:where(#shop-checkout) .restaurant-progress .shop-progress-step.done .restaurant-step-bubble {
    border-color: var(--rs-done);
    background: var(--rs-done);
    color: #fff;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.completed .restaurant-step-number,
:where(#shop-checkout) .restaurant-progress .shop-progress-step.done .restaurant-step-number {
    display: none;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.completed .restaurant-step-check,
:where(#shop-checkout) .restaurant-progress .shop-progress-step.done .restaurant-step-check {
    display: block;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.completed .restaurant-step-label,
:where(#shop-checkout) .restaurant-progress .shop-progress-step.done .restaurant-step-label {
    color: var(--rs-done);
}
:where(#shop-checkout) .restaurant-progress::before,
:where(#shop-checkout) .restaurant-progress::after,
:where(#shop-checkout) .restaurant-progress .restaurant-progress-steps::before,
:where(#shop-checkout) .restaurant-progress .restaurant-progress-steps::after,
:where(#shop-checkout) .restaurant-progress .shop-progress-step::before,
:where(#shop-checkout) .restaurant-progress .shop-progress-step::after,
:where(#shop-checkout) .restaurant-progress .restaurant-step-bubble::before,
:where(#shop-checkout) .restaurant-progress .restaurant-step-bubble::after,
:where(#shop-checkout) .restaurant-progress .restaurant-step-connector::before,
:where(#shop-checkout) .restaurant-progress .restaurant-step-connector::after {
    content: none !important;
    display: none !important;
}
:where(#shop-checkout) .restaurant-progress .restaurant-step-connector {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}
:where(#shop-checkout) .restaurant-progress .restaurant-step-connector {
    flex: 1 1 auto;
    min-width: 12px;
    height: var(--rs-line);
    margin-block-start: calc(var(--rs-bubble) / 2 - var(--rs-line) / 2);
    margin-inline: 4px;
    background: var(--rs-idle);
    border-radius: var(--rs-line);
    transition: background-color .25s ease;
}
:where(#shop-checkout) .restaurant-progress .shop-progress-step.completed + .restaurant-step-connector,
:where(#shop-checkout) .restaurant-progress .shop-progress-step.done + .restaurant-step-connector {
    background: var(--rs-done);
}
@media (max-width: 400px) {
    :where(#shop-checkout) .restaurant-progress {
        --rs-bubble: 2.1rem;
    }
    :where(#shop-checkout) .restaurant-progress .restaurant-step-bubble {
        font-size: 0.8rem;
    }
    :where(#shop-checkout) .restaurant-progress .restaurant-step-label {
        font-size: 0.65rem;
    }
    :where(#shop-checkout) .restaurant-progress .restaurant-step-connector {
        min-width: 8px;
        margin-inline: 2px;
    }
}
:where(#shop-checkout) #shopStepperContainer {
    --rs-success: #198754;
    --rs-success-hover: #157347;
}
:where(#shop-checkout) #shopStepperContainer .restaurant-stepper-actions .btn-success,
:where(#shop-checkout) #shop_verifyCodeBtn {
    background: var(--rs-success) !important;
    border-color: var(--rs-success) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(25, 135, 84, .25) !important;
}
:where(#shop-checkout) #shopStepperContainer .restaurant-stepper-actions .btn-success:hover,
:where(#shop-checkout) #shop_verifyCodeBtn:hover {
    background: var(--rs-success-hover) !important;
    border-color: var(--rs-success-hover) !important;
}
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-icon,
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-icon i,
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-title {
    color: #198754 !important;
}
html[dir="rtl"] :where(#shop-checkout) .restaurant-stepper-actions .fa-arrow-left,
html[dir="rtl"] :where(#shop-checkout) .restaurant-stepper-actions .fa-arrow-right {
    transform: scaleX(-1);
}
:where(#shop-checkout) #shopTableNumberGroup,
:where(#shop-checkout) #shopDeliveryAddressGroup,
:where(#shop-checkout) #shopPickupTimeGroup {
    opacity: 1;
    transform: none;
}
#shop-checkout .tab-content-section {
    overflow: visible;
    overflow: clip;
}
:where(#shop-checkout) .restaurant-stepper-actions {
    position: sticky;
    bottom: var(--card-bar-bottom, calc(var(--bottom-nav-height, 60px) + env(safe-area-inset-bottom, 0px)));
    z-index: 20;
    margin-top: 1.5rem;
    padding: 12px 0;
    background: #fff;
    border-top: 1px solid #eef0f2;
    box-shadow: 0 -8px 12px -10px rgba(0, 0, 0, .18);
}
:where(#shop-checkout) .restaurant-stepper-actions > .d-flex {
    gap: 10px;
}
:where(#shop-checkout) .restaurant-stepper-actions .btn:last-child {
    flex: 1 1 auto;
}
:where(#shop-checkout) .restaurant-stepper-actions .btn:first-child:not(:last-child) {
    flex: 0 0 auto;
}

/* ===== from static/assets/css/step_verification_style.css ===== */
:where(#shop-checkout) {
    --verification-primary: var(--primary, #007bff);
    --verification-success: #28a745;
    --verification-error: #dc3545;
    --verification-warning: #ffc107;
    --verification-info: #17a2b8;
    --verification-light: #f8f9fa;
    --verification-dark: #343a40;
    --verification-border: #e9ecef;
    --verification-text: #6c757d;
    --verification-bg: white;
}
:where(#shop-checkout) .auth-verification-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}
:where(#shop-checkout) .shop-method-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
:where(#shop-checkout) .shop-method-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--verification-border);
    border-radius: 8px;
    background: var(--verification-bg);
    color: var(--verification-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
:where(#shop-checkout) .shop-method-btn:hover {
    border-color: var(--verification-primary);
}
:where(#shop-checkout) .shop-method-btn.active {
    border-color: var(--verification-primary);
    background: var(--verification-primary);
    color: white;
}
:where(#shop-checkout) .shop-method-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
:where(#shop-checkout) .code-input-group {
    margin-bottom: 1.5rem;
}
:where(#shop-checkout) .shop-code-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}
:where(#shop-checkout) .shop-code-input {
    width: 45px;
    height: 50px;
    border: 2px solid var(--verification-border);
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
:where(#shop-checkout) .shop-code-input:focus {
    border-color: var(--verification-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}
:where(#shop-checkout) .shop-code-input.filled {
    border-color: var(--verification-success);
    background-color: rgba(40, 167, 69, 0.05);
}
:where(#shop-checkout) .verification-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--verification-light);
    border-radius: 8px;
    font-size: 0.9rem;
}
:where(#shop-checkout) .timer-text {
    color: var(--verification-text);
}
:where(#shop-checkout) .timer-expired {
    color: var(--verification-error);
}
:where(#shop-checkout) .btn-resend {
    background: none;
    border: none;
    color: var(--verification-primary);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
}
:where(#shop-checkout) .btn-resend:disabled {
    color: var(--verification-text);
    cursor: not-allowed;
}
:where(#shop-checkout) .btn-resend:not(:disabled):hover {
    text-decoration: underline;
    color: var(--verification-primary);
}
:where(#shop-checkout) .verification-status {
    min-height: 24px;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: none;
}
:where(#shop-checkout) .verification-status.verification-success {
    color: var(--verification-success);
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    display: block;
}
:where(#shop-checkout) .verification-status.verification-error {
    color: var(--verification-error);
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    display: block;
}

/* ===== from restaurant/static/restaurant/css/stepper/restaurant-checkout-state.css ===== */
:where(#shop-checkout) {
    --rs-accent: var(--menu-primary-color, var(--primary-color, #dc2626));
    --rs-success: #198754;
}
:where(#shop-checkout) .restaurant-min-order-notice.alert {
    display: block;
    margin: 0 0 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: start;
}
:where(#shop-checkout) .rmo-head {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
:where(#shop-checkout) .rmo-head i {
    margin-top: 0.25rem;
    flex: 0 0 auto;
}
:where(#shop-checkout) .rmo-bar {
    height: 6px;
    margin-top: 0.55rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
:where(#shop-checkout) .rmo-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #d39e00;
    transition: width 0.3s ease;
}
:where(#shop-checkout) #shopCheckoutLoading {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2.5rem 1rem 2rem;
}
:where(#shop-checkout) .rs-spinner {
    position: relative;
    width: 72px;
    height: 72px;
    color: var(--rs-accent);
}
:where(#shop-checkout) .rs-spinner svg {
    width: 100%;
    height: 100%;
    animation: rs-rotate 1.4s linear infinite;
}
:where(#shop-checkout) .rs-spinner circle {
    fill: none;
    stroke-width: 4;
}
:where(#shop-checkout) .rs-track {
    stroke: color-mix(in srgb, currentColor 15%, transparent);
}
:where(#shop-checkout) .rs-arc {
    stroke: currentColor;
    stroke-linecap: round;
    stroke-dasharray: 90 150;
    animation: rs-dash 1.4s ease-in-out infinite;
}
:where(#shop-checkout) .rs-spinner i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}
:where(#shop-checkout) .rs-title {
    margin: 0.25rem 0 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #212529;
}
:where(#shop-checkout) .rs-steps {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    text-align: start;
    font-size: 0.9rem;
    color: #8a9099;
}
:where(#shop-checkout) .rs-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s ease;
}
:where(#shop-checkout) .rs-dot {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    border: 2px solid #d0d5dc;
    transition: all 0.3s ease;
}
:where(#shop-checkout) .rs-step.is-active {
    color: #212529;
    font-weight: 600;
}
:where(#shop-checkout) .rs-step.is-active .rs-dot {
    border-color: var(--rs-accent);
    border-top-color: transparent;
    animation: rs-rotate 0.8s linear infinite;
}
:where(#shop-checkout) .rs-step.is-done {
    color: var(--rs-success);
}
:where(#shop-checkout) .rs-step.is-done .rs-dot {
    border-color: var(--rs-success);
    background: var(--rs-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
:where(#shop-checkout) .rs-hint {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #8a9099;
}
@keyframes rs-rotate {
    to { transform: rotate(360deg); }
}
@keyframes rs-dash {
    0% { stroke-dasharray: 1 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90 150; stroke-dashoffset: -124; }
}
:where(#shop-checkout) #shopCheckoutSuccess {
    margin: 0;
    padding: 0.5rem 0 0;
    text-align: center;
}
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    font-size: 0;
}
:where(#shop-checkout) .restaurant-success-icon svg {
    width: 100%;
    height: 100%;
}
:where(#shop-checkout) .restaurant-success-icon circle {
    fill: #e8f6ee;
    stroke: var(--rs-success);
    stroke-width: 2;
}
:where(#shop-checkout) .restaurant-success-icon path {
    fill: none;
    stroke: var(--rs-success);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: rs-check 0.5s 0.15s ease-out forwards;
}
@keyframes rs-check {
    to { stroke-dashoffset: 0; }
}
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-title {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 700;
}
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-message {
    margin: 0 0 1rem;
    color: #6c757d;
    font-size: 0.92rem;
}
:where(#shop-checkout) #shopOrderDetailsFinal {
    margin: 0;
    text-align: start;
}
:where(#shop-checkout) .rs-card {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
:where(#shop-checkout) .rs-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: #495057;
    background: color-mix(in srgb, var(--rs-accent) 7%, #fff);
    border-bottom: 1px solid #eef0f2;
}
:where(#shop-checkout) .rs-order-no {
    font-weight: 700;
    color: #212529;
    letter-spacing: 0.3px;
}
:where(#shop-checkout) .rs-items {
    list-style: none;
    margin: 0;
    padding: 0.4rem 1rem;
    border-bottom: 1px dashed #eef0f2;
}
:where(#shop-checkout) .rs-items li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.92rem;
}
:where(#shop-checkout) .rs-qty {
    flex: 0 0 auto;
    min-width: 1.8rem;
    font-weight: 700;
    color: var(--rs-accent);
}
:where(#shop-checkout) .rs-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #212529;
}
:where(#shop-checkout) .rs-line {
    flex: 0 0 auto;
    color: #495057;
    white-space: nowrap;
}
:where(#shop-checkout) .rs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}
:where(#shop-checkout) .rs-row + .rs-row {
    border-top: 1px dashed #eef0f2;
}
:where(#shop-checkout) .rs-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    white-space: nowrap;
}
:where(#shop-checkout) .rs-label i {
    width: 1rem;
    text-align: center;
    color: var(--rs-accent);
}
:where(#shop-checkout) .rs-value {
    font-weight: 600;
    color: #212529;
    text-align: end;
}
:where(#shop-checkout) .rs-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-top: 1px solid #eef0f2;
    font-size: 1rem;
}
:where(#shop-checkout) .rs-total strong {
    color: var(--rs-success);
    font-size: 1.1rem;
}
:where(#shop-checkout) .rs-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    color: #6c757d;
}
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
}
:where(#shop-checkout) #shopCheckoutSuccess .restaurant-success-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
    :where(#shop-checkout) .rs-spinner svg,
    :where(#shop-checkout) .rs-arc,
    :where(#shop-checkout) .rs-step.is-active .rs-dot {
        animation-duration: 3s;
    }
}
