.checkout-page-wrapper {
    display: flex;
    flex-wrap: wrap;
    color: #333333;
    line-height: 1.5;
    font-size: 14px;
    background: #fafafa
}

.checkout-page-wrapper .select2-container .select2-selection--single {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffffff;
    color: #333333;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 44px
}

.checkout-left-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: unset;
    padding-left: 0
}

.checkout-page-wrapper *,
.checkout-page-wrapper *::before,
.checkout-page-wrapper *::after {
    box-sizing: border-box
}

.checkout-page-wrapper .checkout-left {
    width: 55%;
    padding: 0 80px 50px 50px;
    background-color: #ffffff;
    display: flex;
    justify-content: flex-end;
    border-right: 1px solid #e6e6e6
}

.checkout-page-wrapper .checkout-left-content {
    width: 100%;
    max-width: 600px
}

.checkout-page-wrapper .checkout-right {
    width: 45%;
    padding: 50px 50px 50px 40px;
    background-color: #fafafa;
    position: sticky;
    top: 145px;
    align-self: flex-start;
    height: 100%
}

.checkout-page-wrapper .checkout-right-content {
    width: 100%;
    max-width: 450px
}

.checkout-page-wrapper .express-checkout-title {
    text-align: center;
    color: #737373;
    font-size: 13px;
    margin-bottom: 12px
}

.checkout-page-wrapper .express-checkout-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px
}

.checkout-page-wrapper .btn-express {
    flex: 1;
    height: 45px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: opacity 0.2s
}

.checkout-page-wrapper .btn-express:hover {
    opacity: 0.9
}

.checkout-page-wrapper .btn-shop {
    background-color: #5a31f4;
    color: white
}

.checkout-page-wrapper .btn-paypal {
    background-color: #ffc439;
    color: #003087;
    font-style: italic
}

.checkout-page-wrapper .btn-gpay {
    background-color: #000000;
    color: white
}

.checkout-page-wrapper .checkout-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    color: #737373;
    font-size: 13px
}

.checkout-page-wrapper .checkout-divider::before,
.checkout-page-wrapper .checkout-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e6e6e6
}

.checkout-page-wrapper .checkout-divider:not(:empty)::before {
    margin-right: 15px
}

.checkout-page-wrapper .checkout-divider:not(:empty)::after {
    margin-left: 15px
}

.checkout-page-wrapper .section-title {
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0 15px 0
}

.checkout-page-wrapper .form-group {
    margin-bottom: 14px
}

.checkout-page-wrapper .form-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px
}

.checkout-page-wrapper .form-row .form-group {
    margin-bottom: 0;
    flex: 1
}

.checkout-page-wrapper .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffffff;
    color: #333333;
    transition: border-color 0.2s, box-shadow 0.2s
}

.checkout-page-wrapper .form-control:focus {
    outline: none;
    border-color: #8bb2d6;
    box-shadow: 0 0 0 2px rgba(139, 178, 214, 0.2)
}

.checkout-page-wrapper .form-control::placeholder {
    color: #737373
}

.checkout-page-wrapper select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px
}

.checkout-page-wrapper .form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #545454;
    cursor: pointer;
    margin-bottom: 10px
}

.checkout-page-wrapper .form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    cursor: pointer
}

.checkout-page-wrapper .shipping-method-box {
    background-color: #f5f5f5;
    padding: 18px;
    border-radius: 4px;
    color: #737373;
    font-size: 14px;
    text-align: center
}

.checkout-page-wrapper .payment-subtext {
    color: #737373;
    font-size: 13px;
    margin-bottom: 15px
}

.checkout-page-wrapper .payment-methods {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    overflow: hidden
}

.checkout-page-wrapper .payment-method {
    border-bottom: 1px solid #d9d9d9
}

.checkout-page-wrapper .payment-method:last-child {
    border-bottom: none
}

.checkout-page-wrapper .payment-method-header {
    display: flex;
    align-items: center;
    padding: 18px;
    background-color: #fafafa;
    cursor: pointer;
    margin-bottom: 0
}

.checkout-page-wrapper .payment-method-header input[type="radio"] {
    margin-right: 15px;
    width: 18px;
    height: 18px
}

.checkout-page-wrapper .payment-method-header span {
    font-weight: 500;
    flex: 1
}

.checkout-page-wrapper .payment-icons {
    display: flex;
    gap: 6px
}

.checkout-page-wrapper .payment-icons img {
    height: 24px;
    border-radius: 2px
}

.checkout-page-wrapper .payment-method-body {
    padding: 18px;
    background-color: #fcfcfc;
    border-top: 1px solid #d9d9d9
}

.checkout-page-wrapper .checkout-footer {
    margin-top: 30px
}

.checkout-page-wrapper .save-info-text {
    font-size: 13px;
    color: #737373;
    margin-bottom: 20px
}

.checkout-page-wrapper .btn-submit {
    width: 100%;
    padding: 18px;
    background-color: #93B4E9;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s
}

.checkout-page-wrapper .btn-submit:hover {
    background-color: #e3a6ab
}

.checkout-page-wrapper .btn-mobile-only,
.checkout-page-wrapper .mobile-only-btn-wrap {
    display: none
}

.checkout-page-wrapper .product-list {
    margin-bottom: 25px
}

.checkout-page-wrapper .product-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px
}

.checkout-page-wrapper .product-image-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px
}

.checkout-page-wrapper .product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px
}

.checkout-page-wrapper .product-quantity {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: #737373;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500
}

.checkout-page-wrapper .product-info {
    flex: 1
}

.checkout-page-wrapper .product-name {
    font-weight: 500;
    color: #333333;
    margin-bottom: 4px
}

.checkout-page-wrapper .product-variant {
    font-size: 12px;
    color: #737373
}

.checkout-page-wrapper .product-price {
    font-weight: 500;
    color: #333333;
    margin-left: 15px
}

.checkout-page-wrapper .product-item--gift .product-image-wrapper {
    overflow: visible
}

.checkout-page-wrapper .product-image-wrapper .gift-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #ff7a00;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    z-index: 2;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1)
}

.checkout-page-wrapper .product-gift-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb
}

.checkout-page-wrapper .product-gift-title {
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px
}

.checkout-page-wrapper .product-gift-qty {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    margin-left: 15px;
    white-space: nowrap
}

.checkout-page-wrapper .discount-code {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-top: 25px;
    border-top: 1px solid #e6e6e6
}

.checkout-page-wrapper .discount-code .form-control {
    flex: 1
}

.checkout-page-wrapper .btn-apply {
    padding: 0 20px;
    background-color: #f5f5f5;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #a0a0a0;
    font-weight: 500;
    cursor: not-allowed
}

.checkout-page-wrapper .btn-apply.active {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    cursor: pointer
}

.checkout-page-wrapper .summary-rows {
    padding-top: 25px;
    border-top: 1px solid #e6e6e6
}

.checkout-page-wrapper .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #545454
}

.checkout-page-wrapper .summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
    font-size: 20px;
    font-weight: 500;
    color: #333333;
    align-items: center
}

.checkout-page-wrapper .summary-row.total .total-price {
    font-size: 24px
}

.checkout-page-wrapper .summary-row.total .currency {
    font-size: 14px;
    color: #737373;
    margin-right: 5px
}

.checkout-page-wrapper .summary-taxes {
    font-size: 12px;
    color: #737373;
    margin-top: 5px
}

.checkout-page-wrapper .checkout-mobile-header {
    display: none
}

.checkout-page-wrapper .mobile-add-discount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: #fff;
    margin-bottom: 15px
}

.checkout-page-wrapper .mobile-add-discount svg {
    width: 14px;
    height: 14px
}

.checkout-page-wrapper .mobile-summary-bar {
    display: flex;
    align-items: center;
    width: 100%
}

.checkout-page-wrapper .mobile-summary-images {
    position: relative;
    margin-right: 15px
}

.checkout-page-wrapper .mobile-img-wrap {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    box-shadow: 4px 0 0 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px
}

.checkout-page-wrapper .mobile-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px
}

.checkout-page-wrapper .mobile-summary-text {
    flex: 1
}

.checkout-page-wrapper .mobile-summary-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.2
}

.checkout-page-wrapper .mobile-summary-count {
    font-size: 13px;
    color: #737373
}

.checkout-page-wrapper .mobile-summary-price-wrap {
    display: flex;
    align-items: center;
    gap: 5px
}

.checkout-page-wrapper .mobile-summary-price-wrap .currency {
    font-size: 12px;
    color: #737373
}

.checkout-page-wrapper .mobile-summary-price-wrap .price {
    font-size: 16px;
    font-weight: 500;
    color: #333
}

.checkout-page-wrapper .mobile-summary-price-wrap svg {
    width: 16px;
    height: 16px;
    color: #333;
    margin-left: 5px
}

@media (max-width:991px) {
    .checkout-page-wrapper .checkout-right {
        order: 1
    }

    .checkout-page-wrapper .checkout-left {
        order: 2
    }

    .checkout-page-wrapper {
        flex-direction: column-reverse
    }

    .checkout-page-wrapper .checkout-left,
    .checkout-page-wrapper .checkout-right {
        width: 100%;
        padding: 20px 10px 0;
        justify-content: center
    }

    .checkout-page-wrapper .checkout-right {
        border-left: none;
        position: unset
    }

    .checkout-page-wrapper .checkout-left-content,
    .checkout-page-wrapper .checkout-right-content {
        max-width: 100%
    }

    .checkout-page-wrapper .checkout-mobile-header {
        display: block;
        cursor: pointer
    }

    .checkout-page-wrapper .checkout-right-body {
        display: none
    }

    .checkout-page-wrapper .checkout-right-content.is-expanded .checkout-right-body {
        display: block;
        padding-top: 20px;
        border-top: 1px solid #e6e6e6;
        margin-top: 20px
    }

    .checkout-page-wrapper .checkout-mobile-header-expanded {
        display: none
    }

    .checkout-page-wrapper .checkout-right-content.is-expanded .checkout-mobile-header-expanded {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 500;
        font-size: 16px;
        color: #333
    }

    .checkout-page-wrapper .checkout-right-content.is-expanded .checkout-mobile-header-collapsed {
        display: none
    }

    .checkout-page-wrapper .checkout-mobile-header-expanded svg {
        width: 16px;
        height: 16px
    }

    .checkout-page-wrapper .btn-desktop-only {
        display: none
    }

    .checkout-page-wrapper .btn-mobile-only,
    .checkout-page-wrapper .mobile-only-btn-wrap {
        display: block;
        width: 100%
    }

    .checkout-page-wrapper .mobile-only-btn-wrap {
        margin-top: 20px
    }
}

@media (max-width:575px) {
    .checkout-page-wrapper .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0
    }

    .checkout-page-wrapper .form-row .form-group {
        margin-bottom: 14px
    }
}

.error-message {
    color: #e3a6ab;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 500
}

.form-control.is-invalid {
    border-color: #e3a6ab !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em+.1875rem) center;
    background-size: calc(.75em+.375rem) calc(.75em+.375rem)
}

.is-invalid-container {
    border: 1px solid #e3a6ab;
    border-radius: 8px
}

.shipping-discount-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 10px 14px;
    border-radius: 8px 8px 0 0;
    font-size: 13px;
    font-weight: 500
}

.shipping-discount-notice__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #22c55e
}

.shipping-fee-original {
    color: #999999;
    margin-right: 4px;
    font-size: 13px
}

.shipping-fee-effective {
    font-weight: 600;
    color: #16a34a
}

.shipping-discount-badge {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    display: inline-block
}

.checkout-page-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 9px;
    right: 9px;
    width: 20px
}

.cp-address-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 13px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05)
}

.cp-address-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.cp-address-box__title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 0
}

.cp-address-box__change-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2586c6;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.15s
}

.cp-address-box__change-btn:hover {
    color: #1a6294
}

.cp-address-box__info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 13px
}

.cp-address-box__info-row:last-child {
    margin-bottom: 0
}

.cp-address-box__icon {
    flex-shrink: 0;
    margin-top: 2px
}

.cp-address-box__icon svg {
    display: block
}

.cp-address-box__info-content {
    flex: 1;
    min-width: 0
}

.cp-address-box__name-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap
}

.cp-address-box__name {
    font-size: 14px;
    font-weight: 600;
    color: #111827
}

.cp-address-box__badge {
    font-size: 12px;
    font-weight: 500;
    color: #f97316;
    border: 1px solid #fdba74;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fffaf5
}

.cp-address-box__badge--blue {
    color: #2586c6;
    border-color: #93c5fd;
    background: #eff6ff
}

.cp-address-box__subtext {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5
}

.cp-address-box__address-main {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px
}

.cp-address-box__note {
    margin-top: 20px
}

.cp-address-box__textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    background: #f9fafb;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s, background 0.15s
}

.cp-address-box__textarea:focus {
    border-color: #2586c6;
    background: #ffffff
}

.cp-address-box__textarea::placeholder {
    color: #9ca3af
}

.cp-address-box__checkbox-wrap {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6
}

.cp-address-box__checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer
}

.cp-address-box__checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2586c6
}

.cp-address-box__checkbox-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.5
}

@media (max-width:768px) {
    .cp-address-box {
        padding: 16px
    }

    .cp-address-box__title {
        font-size: 16px
    }

    .cp-address-box__name,
    .cp-address-box__address-main {
        font-size: 14.5px
    }

    .cp-address-box__subtext,
    .cp-address-box__checkbox-text {
        font-size: 13.5px
    }
}

.cp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center
}

.cp-modal.is-active {
    display: flex
}

.cp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4)
}

.cp-modal__content {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    margin: 20px
}

.cp-modal__header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f3f4f6
}

.cp-modal__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0
}

.cp-modal__close {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s
}

.cp-modal__close:hover {
    background: #f3f4f6;
    color: #4b5563
}

.cp-modal__body {
    padding: 20px;
    overflow-y: auto;
    flex: 1
}

.cp-address-list,
.cp-invoice-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.cp-address-item,
.cp-invoice-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    background: #ffffff;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, #f3f4f6 5px, #f3f4f6 6px);
    transition: border-color 0.2s, background-color 0.2s
}

.cp-address-item:hover,
.cp-invoice-item:hover {
    border-color: #d1d5db
}

.cp-address-item--selected,
.cp-invoice-item--selected {
    background: #ffffff;
    background-image: none;
    border-color: #2586c6
}

.cp-address-item__radio,
.cp-invoice-item__radio {
    margin-top: 4px;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #2586c6;
    cursor: pointer;
    flex-shrink: 0
}

.cp-address-item__content,
.cp-invoice-item__content {
    flex: 1;
    min-width: 0
}

.cp-address-item__header,
.cp-invoice-item__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap
}

.cp-address-item__name,
.cp-invoice-item__name {
    font-weight: 600;
    font-size: 15px;
    color: #111827
}

.cp-address-item__sep,
.cp-invoice-item__sep {
    color: #d1d5db;
    font-size: 14px
}

.cp-address-item__phone,
.cp-invoice-item__phone {
    color: #6b7280;
    font-size: 14px
}

.cp-address-item__badge,
.cp-invoice-item__badge {
    font-size: 11px;
    font-weight: 500;
    color: #f97316;
    border: 1px solid #fdba74;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fffaf5;
    margin-left: auto
}

.cp-address-item__set-default,
.cp-invoice-item__set-default {
    background: transparent;
    border: none;
    color: #f97316;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    margin-left: auto;
    cursor: pointer;
    text-decoration: none
}

.cp-address-item__set-default:hover,
.cp-invoice-item__set-default:hover {
    text-decoration: underline
}

.cp-address-item__address,
.cp-invoice-item__address {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 2px
}

.cp-modal__footer {
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.cp-modal__btn-confirm {
    width: 100%;
    background: #0369a1;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s
}

.cp-modal__btn-confirm:hover {
    background: #e3a6ab
}

.cp-modal__btn-add {
    width: 100%;
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 24px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, border-color 0.2s
}

.cp-modal__btn-add:hover {
    background: #e0f2fe;
    border-color: #7dd3fc
}

.cp-modal__form-group {
    margin-bottom: 16px
}

.cp-modal__form-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827
}

.cp-modal__input {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: background 0.2s, border-color 0.2s
}

.cp-modal__input:focus {
    background: #ffffff;
    border-color: #e3a6ab
}

.cp-modal__input::placeholder {
    color: #9ca3af
}

select.cp-modal__input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px
}

.cp-modal__checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 24px
}

.cp-modal__checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: #0369a1;
    cursor: pointer
}

.cp-modal__btn-submit {
    width: 100%;
    background: #0277b6;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s
}

.cp-modal__btn-submit:hover {
    background: #026398
}

.checkout-voucher-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease
}

.checkout-voucher-bar:hover {
    border-color: #0284c7;
    background: #f8fafc
}

.checkout-voucher-bar__left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px
}

.checkout-voucher-bar__icon {
    color: #0284c7;
    font-size: 20px
}

.checkout-voucher-bar__right {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #0284c7;
    font-size: 13px;
    font-weight: 500
}

.checkout-voucher-bar__arrow {
    font-size: 18px;
    color: #94a3b8
}

.cp-modal__content--coupon {
    max-width: 840px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    background: #ffffff
}

.coupon-modal-top {
    padding: 16px 24px 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9
}

.coupon-modal-search {
    display: flex;
    gap: 10px;
    background: #f3f4f6;
    border-radius: 25px;
    padding: 4px 4px 4px 16px;
    align-items: center;
    border: 1px solid #e5e7eb
}

.coupon-modal-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #1f2937;
    padding: 6px 0
}

.coupon-modal-search__btn {
    background: #5ba4cf;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s
}

.coupon-modal-search__btn:hover {
    background: #0284c7
}

.coupon-modal-notice {
    margin-top: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #0369a1;
    line-height: 1.4
}

.coupon-modal-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    flex-shrink: 0
}

.coupon-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 24px;
    background: #ffffff
}

.coupon-modal-section {
    margin-bottom: 24px
}

.coupon-modal-section__title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0
}

.coupon-modal-section__title--muted {
    color: #374151;
    margin-top: 24px
}

.coupon-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.coupon-ticket {
    position: relative;
    display: flex;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    min-height: 112px;
    cursor: pointer;
    transition: all 0.2s ease
}

.coupon-ticket:hover {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1)
}

.coupon-ticket--selected {
    border-color: #0284c7;
    box-shadow: 0 0 0 1px #0284c7, 0 4px 12px rgba(2, 132, 199, 0.15)
}

.coupon-ticket--disabled {
    border-color: #e2e8f0;
    opacity: 0.72;
    cursor: default
}

.coupon-ticket--disabled:hover {
    box-shadow: none
}

.coupon-ticket__left {
    width: 95px;
    min-width: 95px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-right: 1px dashed #cbd5e1;
    position: relative
}

.coupon-ticket__left img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain
}

.coupon-ticket__placeholder-icon {
    color: #0284c7;
    font-size: 32px
}

.coupon-ticket__discount-display {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.coupon-ticket__discount-value {
    font-size: 16px;
    font-weight: 800;
    color: #0284c7;
    line-height: 1.2
}

.coupon-ticket__discount-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-top: 2px
}

.coupon-ticket__notch {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 1px solid #38bdf8;
    border-radius: 50%;
    left: 88px;
    z-index: 2
}

.coupon-ticket--disabled .coupon-ticket__notch {
    border-color: #e2e8f0
}

.coupon-ticket--selected .coupon-ticket__notch {
    border-color: #0284c7
}

.coupon-ticket__notch--top {
    top: -8px
}

.coupon-ticket__notch--bottom {
    bottom: -8px
}

.coupon-ticket__right {
    flex: 1;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-right: 32px
}

.coupon-ticket__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px
}

.coupon-ticket__tag {
    font-size: 13px;
    font-weight: 700
}

.coupon-ticket__tag--orange {
    color: #ea580c
}

.coupon-ticket__tag--blue {
    color: #0284c7
}

.coupon-ticket__tag--muted {
    color: #64748b
}

.coupon-ticket__badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px
}

.coupon-ticket__badge--blue {
    background: #e0f2fe;
    color: #0284c7
}

.coupon-ticket__badge--muted {
    background: #f1f5f9;
    color: #64748b
}

.coupon-ticket__title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px
}

.coupon-ticket__status {
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px
}

.coupon-ticket__status--success {
    color: #475569;
    font-weight: 500
}

.coupon-ticket__status--warning {
    color: #dc2626
}

.coupon-ticket__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    margin-top: auto
}

.coupon-ticket__terms-link {
    background: none;
    border: none;
    padding: 0;
    color: #1e293b;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500
}

.coupon-ticket__terms-link:hover {
    color: #0284c7
}

.coupon-ticket__terms-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    grid-column: span 2
}

.coupon-ticket__check {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center
}

.coupon-ticket__check input[type="checkbox"],
.coupon-ticket__check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0284c7;
    cursor: pointer
}

.coupon-modal-empty {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280
}

.coupon-modal-footer {
    padding: 14px 24px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03)
}

.coupon-modal-footer__summary {
    font-size: 13px;
    color: #374151
}

.coupon-modal-footer__count {
    font-weight: 500;
    margin-bottom: 2px
}

.coupon-modal-footer__discount {
    color: #111827
}

.coupon-modal-footer__discount strong {
    color: #0284c7;
    font-size: 15px
}

.coupon-modal-footer__btn {
    background: #0277b6;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s
}

.coupon-modal-footer__btn:hover {
    background: #026398
}

@media(max-width:990px) {
    main#page-cart {
        padding-bottom: 30px
    }

    .coupon-modal-grid {
        grid-template-columns: 1fr
    }

    .coupon-ticket__terms-box {
        grid-column: span 1
    }
}