.checkout-order-popup.swal2-popup {
    width: min(620px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 32px);
    padding: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    letter-spacing: 0;
}
.checkout-order-popup .order-dialog-title {
    grid-row: 1;
    grid-column: 1 / -1;
    padding: 22px 60px 18px 24px !important;
    font-size: 21px !important;
    line-height: 1.4 !important;
    text-align: left;
    letter-spacing: 0 !important;
    border-bottom: 1px solid #e5eaf0;
}
.checkout-order-popup .order-dialog-close { position: absolute; top: 0; right: 0; margin: 10px; width: 40px; height: 40px; }
.checkout-order-popup .order-dialog-html { grid-row: 2; grid-column: 1 / -1; margin: 0 !important; padding: 22px 24px !important; overflow-y: auto; min-height: 0; }
.checkout-order-popup .order-sheet-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.checkout-order-popup .order-sheet-top { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 14px; align-items: center; margin: 0; }
.checkout-product-image { width: 64px; height: 64px; object-fit: contain; background: #f7f9fb; border-radius: 6px; }
.checkout-order-popup .order-sheet-label { font-size: 12px; letter-spacing: 0; color: #64748b; }
.checkout-order-popup .order-sheet-name { margin-top: 4px; font-size: 17px; line-height: 1.45; }
.checkout-order-popup .order-sheet-stock { min-width: 64px; width: auto; padding: 0; background: none; border: 0; border-radius: 0; text-align: right; }
.checkout-order-popup .order-sheet-stock .k { color: #64748b; letter-spacing: 0; font-size: 12px; }
.checkout-order-popup .order-sheet-stock .v { color: #059669; font-size: 22px; line-height: 1.3; }
.checkout-description { margin: 16px 0; border-bottom: 1px solid #e5eaf0; padding-bottom: 14px; }
.checkout-description summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #475569; }
.checkout-description summary:focus-visible { outline: 2px solid #4f46e5; outline-offset: 4px; }
.checkout-order-popup .order-sheet-desc { max-height: 180px; overflow: auto; margin-top: 10px; padding: 0; border: 0; border-radius: 0; background: none; line-height: 1.7; }
.checkout-order-popup .order-sheet-rule { border: 0; border-radius: 0; background: #f8fafc; padding: 12px; margin: 14px 0; }
.checkout-order-popup .order-sheet-rule-title { color: #475569; }
.checkout-order-popup .order-sheet-rule-chip { border-radius: 4px; color: #475569; border-color: #dce3ed; background: #fff; }
.checkout-order-popup .order-sheet-rule-chip b { color: inherit; }
.checkout-order-popup .order-sheet-rule-chip.active { color: #4338ca; border-color: #a5b4fc; background: #eef2ff; box-shadow: none; }
.checkout-order-popup .order-sheet-rule-fade { display: none; }
.checkout-order-popup .order-sheet-qty { margin: 20px 0; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: center; }
.checkout-order-popup .order-sheet-row { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
.checkout-order-popup .order-sheet-qty .order-sheet-row { margin: 0; }
.checkout-order-popup .order-sheet-row-label { font-size: 13px; font-weight: 600; }
.checkout-order-popup .order-sheet-qty-control { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 6px; }
.checkout-order-popup .order-sheet-input { border-radius: 6px; font-size: 16px; height: 44px; font-weight: 500; }
.checkout-order-popup .order-sheet-step { width: 42px; height: 44px; border-radius: 6px; font-size: 20px; }
.checkout-order-popup .order-sheet-summary { padding: 0; border: 0; border-radius: 0; background: none; text-align: right; overflow-wrap: anywhere; }
.checkout-order-popup .order-sheet-summary .muted { color: #64748b; font-weight: 400; line-height: 1.6; }
.checkout-order-popup .order-sheet-summary .total { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: baseline; gap: 8px; color: #334155; font-size: 13px; }
.checkout-order-popup #dyn-t { color: #dc2626; font-size: 26px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.checkout-order-popup .order-dialog-actions { grid-row: 4; grid-column: 1 / -1; width: auto; margin: 0 !important; padding: 16px 24px; border-top: 1px solid #e5eaf0; gap: 10px; flex-direction: row; background: #f8fafc; }
.checkout-order-popup .order-dialog-btn { height: 44px; border-radius: 6px; font-size: 14px; letter-spacing: 0; box-shadow: none; margin: 0; }
.checkout-order-popup .order-dialog-btn-primary { order: 3; flex: 1.5 1 0; }
.checkout-order-popup .order-dialog-btn-secondary { order: 2; background: #fff; border-color: #cbd5e1; color: #334155; }
.checkout-order-popup .order-dialog-btn-muted { order: 1; flex: .65 1 0; background: transparent; border-color: transparent; }
.checkout-order-popup .order-submit-status { border-radius: 6px; font-weight: 500; font-size: 13px; }
.checkout-order-popup .checkout-return-notice { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid #0891b2; background: #ecfeff; color: #155e75; font-size: 13px; line-height: 1.6; }
.checkout-order-popup .checkout-return-notice[hidden] { display: none; }
.checkout-order-popup .swal2-validation-message { grid-row: 3; grid-column: 1 / -1; margin: 0 !important; padding: 12px 24px; font-size: 13px; }
.store-service-footer { border-top: 1px solid #e2e8f0; background: #fff; }
.store-service-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; padding-top: 32px; padding-bottom: 32px; }
.store-service-footer h2 { margin: 0 0 16px; font-size: 17px; line-height: 1.5; font-weight: 750; color: #0f172a; }
.store-service-footer h3 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #334155; }
.store-service-footer p { margin: 0 0 10px; color: #64748b; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.store-service-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 14px; color: #0369a1; font-size: 13px; font-weight: 600; }
.store-service-links a:hover, .store-service-links button:hover { text-decoration: underline; }
@media (max-width: 720px) {
    .store-service-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media (max-width: 480px) {
    .checkout-order-popup.swal2-popup { max-height: calc(100dvh - 20px); }
    .checkout-order-popup .order-dialog-title { padding: 18px 52px 14px 16px !important; font-size: 20px !important; }
    .checkout-order-popup .order-dialog-html { padding: 16px !important; }
    .checkout-order-popup .order-sheet-top { grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; }
    .checkout-product-image { width: 48px; height: 48px; }
    .checkout-order-popup .order-sheet-name { font-size: 15px; }
    .checkout-order-popup .order-sheet-stock { min-width: 48px; }
    .checkout-order-popup .order-sheet-qty { gap: 12px; }
    .checkout-order-popup .order-sheet-qty-control { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 4px; }
    .checkout-order-popup .order-sheet-step { width: 34px; }
    .checkout-order-popup .order-sheet-qty-control input { padding: 0 4px; }
    .checkout-order-popup #dyn-t { font-size: 23px; }
    .checkout-order-popup .order-dialog-actions { padding: 14px 16px; gap: 6px; }
    .checkout-order-popup .order-dialog-btn { width: auto; font-size: 13px; }
}
