/* Product Management Plugin - Frontend Styles */

/* Category Filter Styles */
.pmp-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pmp-category-btn {
    padding: 12px 24px;
    background: #ffffff;
    color: #555;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    white-space: nowrap;
}

.pmp-category-btn:hover {
    border-color: #0872A3;
    color: #0872A3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 114, 163, 0.15);
}

.pmp-category-btn.active {
    background: linear-gradient(135deg, #0872A3 0%, #065d84 100%);
    color: #ffffff;
    border-color: #0872A3;
    box-shadow: 0 4px 16px rgba(8, 114, 163, 0.35);
}

.pmp-category-btn.active:hover {
    background: linear-gradient(135deg, #096b96 0%, #054a6b 100%);
    color: #ffffff;
}

/* Product card visibility for filtering */
.pmp-product-card.pmp-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .pmp-category-filter {
        padding: 15px;
        gap: 8px;
    }
    
    .pmp-category-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

.pmp-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.pmp-products-grid.columns-1 {
    grid-template-columns: 1fr;
}

.pmp-products-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.pmp-products-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pmp-products-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .pmp-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pmp-products-grid {
        grid-template-columns: 1fr;
    }
}

.pmp-product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 500px;
}

.pmp-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.pmp-product-content {
    flex: 1;
}

.pmp-product-title {
    color: #0872A3;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.pmp-product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.pmp-product-pricing {
    margin: 25px 0;
}

.pmp-price-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.pmp-price-option {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pmp-price-option:hover {
    border-color: #0872A3;
}

.pmp-price-option.active {
    border-color: #0872A3;
    background-color: #f0f7ff;
}

.pmp-price-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.pmp-price-amount {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.pmp-price-display {
    text-align: center;
    margin: 15px 0;
}

.pmp-current-price {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.pmp-price-per {
    font-size: 14px;
    color: #0872A3;
    margin-left: 5px;
}

.pmp-product-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.pmp-product-features li {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}

.pmp-feature-icon {
    color: #0872A3;
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.pmp-product-actions {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.pmp-get-quote-btn {
    background-color: #28a745 !important;
    color: #ffffff !important;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 0 0 auto;
    outline: none;
}

.pmp-get-quote-btn:hover {
    background-color: #218838 !important;
    color: #ffffff !important;
}

.pmp-get-quote-btn:focus,
.pmp-get-quote-btn:active,
.pmp-get-quote-btn:visited {
    background-color: #28a745 !important;
    color: #ffffff !important;
    outline: none;
    box-shadow: none;
}

.pmp-get-quote-btn:focus:hover,
.pmp-get-quote-btn:active:hover {
    background-color: #218838 !important;
    color: #ffffff !important;
}

.pmp-add-to-cart-btn {
    background-color: #0872A3;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 0 0 auto;
}

.pmp-add-to-cart-btn:hover {
    background-color: #065d84;
}

.pmp-add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Quote Popup Styles */
.pmp-quote-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.pmp-quote-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.pmp-quote-popup-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    margin: 5vh auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 100000;
}

.pmp-quote-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 1;
    z-index: 100001;
    transition: color 0.3s ease;
}

.pmp-quote-popup-close:hover {
    color: #000;
}

.pmp-quote-popup-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.pmp-quote-popup-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.pmp-quote-popup-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.pmp-quote-popup-body .pmp-quote-shortcode-content {
    width: 100%;
}

/* Floating Cart Icon */
.pmp-floating-cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #0872A3;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.pmp-floating-cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.pmp-floating-cart-icon svg {
    width: 28px;
    height: 28px;
}

.pmp-cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #ffffff;
    min-width: 24px;
}

.pmp-cart-count-badge:empty {
    display: none;
}

.pmp-cart-bounce {
    animation: pmpCartBounce 0.6s ease;
}

@keyframes pmpCartBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .pmp-floating-cart-icon {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .pmp-floating-cart-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Cart Page Styles */
.pmp-cart-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.pmp-cart-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    padding: 0;
}

.pmp-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.pmp-cart-item-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pmp-cart-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pmp-cart-item-info {
    flex: 1;
    min-width: 0;
}

.pmp-cart-item-name {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.pmp-cart-item-duration {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.pmp-cart-item-details {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

.pmp-cart-item-price-unit {
    min-width: 100px;
    text-align: left;
}

.pmp-unit-price {
    font-size: 16px;
    font-weight: 600;
    color: #0872A3;
    white-space: nowrap;
}

.pmp-duration-period {
    color: #0872A3;
}

.pmp-cart-item-quantity-wrapper {
    display: flex;
    align-items: center;
}

.pmp-quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.pmp-quantity-decrease,
.pmp-quantity-increase {
    background: #fff;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.pmp-quantity-decrease:hover,
.pmp-quantity-increase:hover {
    background: #f5f5f5;
}

.pmp-quantity-input {
    width: 45px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
    padding: 0;
}

.pmp-quantity-input::-webkit-outer-spin-button,
.pmp-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pmp-cart-item-total {
    min-width: 70px;
    text-align: right;
}

.pmp-item-total-price {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.pmp-remove-item {
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.pmp-remove-item:hover {
    opacity: 0.7;
}

.pmp-remove-item svg {
    width: 18px;
    height: 18px;
}

.pmp-cart-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 8px;
}

.pmp-cart-empty p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}


/* Cart Summary Card */
.pmp-cart-summary-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pmp-order-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px 0;
}

.pmp-order-summary-items {
    margin-bottom: 20px;
}

.pmp-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.pmp-summary-label {
    font-size: 14px;
    color: #666;
}

.pmp-summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.pmp-order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    margin-top: 20px;
}

.pmp-total-label {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.pmp-total-value {
    font-size: 20px;
    font-weight: 700;
    color: #0872A3;
}

.pmp-total-duration {
    color: #0872A3;
}

.pmp-cart-vat-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pmp-cart-vat-warning svg {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

.pmp-cart-vat-warning p {
    margin: 0;
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

.pmp-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pmp-checkout-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    background: #0872A3;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pmp-checkout-btn:hover {
    background: #065d84;
    color: #ffffff;
}

.pmp-checkout-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.pmp-continue-shopping-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pmp-continue-shopping-btn:hover {
    background: #f8f9fa;
    color: #333;
}

/* Checkout Page Styles - Professional Modern Design */
.pmp-checkout-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.pmp-checkout-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0;
}

.pmp-checkout-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0872A3;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.pmp-checkout-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.pmp-checkout-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.pmp-checkout-main {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin: 0;
}

.pmp-checkout-section {
    padding-left: 40px !important;
    padding-right: 40px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid #e8eaed;
    background: #ffffff;
    transition: background 0.3s ease;
}

.pmp-checkout-section:hover {
    background: #fafbfc;
}

.pmp-checkout-section:last-of-type {
    border-bottom: none;
}

.pmp-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0;
}

.pmp-section-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0872A3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(8, 114, 163, 0.3);
    position: relative;
}

.pmp-section-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    top: 0;
    left: 0;
}

.pmp-section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.pmp-section-title p {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.pmp-checkout-form {
    margin-top: 0;
}

.pmp-form-group {
    margin-bottom: 20px;
}

.pmp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.pmp-form-group .required {
    color: #dc3545;
}

.pmp-form-group input,
.pmp-form-group textarea,
.pmp-form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #1a1a1a;
    font-weight: 400;
}

.pmp-form-group input:hover,
.pmp-form-group textarea:hover,
.pmp-form-group select:hover {
    border-color: #c0c0c0;
}

.pmp-form-group input:focus,
.pmp-form-group textarea:focus,
.pmp-form-group select:focus {
    outline: none;
    border-color: #0872A3;
    box-shadow: 0 0 0 4px rgba(8, 114, 163, 0.15);
    background: #ffffff;
    transform: translateY(-1px);
}

.pmp-form-group input::placeholder,
.pmp-form-group textarea::placeholder {
    color: #999;
}

.pmp-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.pmp-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.pmp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Payment Method Cards */
.pmp-payment-methods {
    margin: 24px 0;
}

.pmp-payment-method-card {
    margin-bottom: 0;
}

.pmp-payment-method-card.pmp-payment-selected .pmp-payment-label {
    border-color: #0872A3;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    box-shadow: 0 4px 20px rgba(8, 114, 163, 0.2), 0 0 0 3px rgba(8, 114, 163, 0.1);
    transform: translateY(-2px);
}

.pmp-payment-method-card input[type="radio"] {
    display: none;
}

.pmp-payment-label {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border: 2.5px solid #e0e0e0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.pmp-payment-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0872A3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pmp-payment-method-card.pmp-payment-selected .pmp-payment-label::before {
    transform: scaleX(1);
}

.pmp-payment-label:hover {
    border-color: #c0c0c0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pmp-payment-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #0872A3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(8, 114, 163, 0.3);
    position: relative;
    overflow: hidden;
}

.pmp-payment-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    top: 0;
    left: 0;
}

.pmp-payment-info {
    flex: 1;
}

.pmp-payment-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.pmp-payment-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.pmp-payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.pmp-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(8, 114, 163, 0.1);
    color: #0872A3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(8, 114, 163, 0.2);
}

.pmp-payment-security {
    margin-top: 24px;
    padding: 16px;
    background: #f0f7ff;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(8, 114, 163, 0.1);
}

.pmp-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0872A3;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.pmp-security-text {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Compliance Notice */
.pmp-compliance-notice {
    background: #fff9e6;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 16px;
    margin: 24px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pmp-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pmp-notice-content {
    flex: 1;
}

.pmp-notice-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

.pmp-notice-content p:last-child {
    margin-bottom: 0;
}

/* Checkout Note */
.pmp-checkout-note {
    background: #e8f4fd;
    border: 1px solid #b3d9f2;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pmp-note-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.pmp-checkout-note p {
    margin: 0;
    font-size: 13px;
    color: #004578;
    line-height: 1.5;
}

/* Checkout Actions */
.pmp-checkout-actions {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #e8eaed;
}

.pmp-submit-order {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: #0872A3;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(8, 114, 163, 0.3);
    overflow: hidden;
}

.pmp-submit-order:hover:not(:disabled) {
    background: #065d84;
}

.pmp-submit-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pmp-submit-order:hover:not(:disabled)::before {
    left: 100%;
}

.pmp-submit-order:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 114, 163, 0.4);
}

.pmp-submit-order:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(8, 114, 163, 0.3);
}

.pmp-submit-order:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pmp-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pmp-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pmp-checkout-terms {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin: 12px 0 0 0;
}

/* Order Summary Sidebar */
.pmp-checkout-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.pmp-order-summary-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.pmp-order-summary-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8eaed;
    letter-spacing: -0.3px;
}

.pmp-order-items {
    margin-bottom: 20px;
}

.pmp-order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pmp-order-item:last-child {
    border-bottom: none;
}

.pmp-item-info {
    flex: 1;
}

.pmp-item-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 4px;
}

.pmp-item-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pmp-item-duration,
.pmp-item-quantity {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.pmp-item-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pmp-item-price {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
    white-space: nowrap;
    margin-left: 16px;
}

.pmp-order-total-section {
    padding-top: 16px;
    border-top: 2px solid #e8eaed;
}

.pmp-order-total-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.pmp-order-total-final {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 2px solid #e8eaed;
    letter-spacing: -0.5px;
}

.pmp-tax-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.pmp-checkout-features {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.pmp-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pmp-feature-item:hover {
    color: #0872A3;
}

.pmp-feature-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.pmp-feature-item svg {
    color: #0872A3;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pmp-feature-item:hover {
    color: #0872A3;
}

.pmp-feature-item:hover svg {
    transform: scale(1.1);
}

/* Wire Transfer Details */
.pmp-wire-transfer-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin: 24px 0;
}

.pmp-bank-details h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #1a1a1a;
}

.pmp-bank-details-content {
    white-space: pre-wrap;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Message Display */
#pmp-checkout-message {
    max-width: 1200px;
    margin: 20px auto;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
}

#pmp-checkout-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#pmp-checkout-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form Validation Styles */
.pmp-field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.pmp-field-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

/* Ensure consistent spacing throughout - All sections align perfectly */
.pmp-checkout-main,
.pmp-checkout-sidebar {
    margin: 0;
}

.pmp-checkout-form {
    padding: 0;
    margin: 0;
    width: 100%;
}

.pmp-section-title {
    padding: 0;
    margin: 0;
}

.pmp-section-header {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.pmp-form-group {
    margin-bottom: 20px;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.pmp-form-row {
    gap: 16px;
    margin: 0;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pmp-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .pmp-checkout-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .pmp-checkout-page-wrapper {
        padding: 20px 15px;
    }
    
    .pmp-checkout-header h1 {
        font-size: 28px;
    }
    
    .pmp-checkout-section {
        padding: 24px 20px;
    }
    
    .pmp-form-row {
        grid-template-columns: 1fr;
    }
    
    .pmp-section-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* Legacy Checkout Page Styles (for backwards compatibility) */
.pmp-checkout-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
}

.pmp-checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.pmp-checkout-form-wrapper {
    background: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.pmp-checkout-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0872A3;
    padding-bottom: 10px;
}

.pmp-form-group {
    margin-bottom: 20px;
}

.pmp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.pmp-form-group .required {
    color: #dc3545;
}

.pmp-form-group input,
.pmp-form-group textarea,
.pmp-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.pmp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pmp-compliance-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
}

.pmp-compliance-notice p {
    margin: 5px 0;
}

.pmp-payment-methods {
    margin: 20px 0;
}

.pmp-payment-method {
    margin-bottom: 15px;
}

.pmp-payment-method input[type="radio"] {
    margin-right: 10px;
}

.pmp-payment-method label {
    font-weight: 500;
    cursor: pointer;
}

.pmp-wire-transfer-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.pmp-bank-details h4 {
    margin-top: 0;
    color: #333;
}

.pmp-bank-details-content {
    white-space: pre-wrap;
    color: #666;
}

.pmp-checkout-note {
    background: #e7f3ff;
    border: 1px solid #0872A3;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
}

.pmp-checkout-note p {
    margin: 0;
    color: #004578;
}

.pmp-checkout-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.pmp-checkout-summary h3 {
    margin-top: 0;
    color: #333;
}

.pmp-order-items {
    margin: 20px 0;
}

.pmp-order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.pmp-order-item:last-child {
    border-bottom: none;
}

.pmp-item-name {
    font-weight: 500;
}

.pmp-item-duration {
    color: #666;
    font-size: 12px;
}

.pmp-order-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding-top: 15px;
    border-top: 2px solid #333;
    margin-top: 15px;
}

.pmp-submit-order {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
}

#pmp-checkout-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
}

#pmp-checkout-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#pmp-checkout-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Notification */
#pmp-cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

#pmp-cart-notification a {
    color: #fff;
    text-decoration: underline;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pmp-products-grid.columns-3,
    .pmp-products-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pmp-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .pmp-form-row {
        grid-template-columns: 1fr;
    }
    
    .pmp-products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pmp-products-grid.columns-1,
    .pmp-products-grid.columns-2,
    .pmp-products-grid.columns-3,
    .pmp-products-grid.columns-4 {
        grid-template-columns: 1fr !important;
    }
    
    .pmp-cart-page {
        padding: 20px 15px;
    }
    
    .pmp-cart-title {
        font-size: 28px;
    }
    
    .pmp-cart-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        position: relative;
    }
    
    .pmp-cart-item-info {
        width: 100%;
        padding-right: 40px;
    }
    
    .pmp-cart-item-details {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .pmp-cart-item-price-unit {
        width: auto;
    }
    
    .pmp-cart-item-quantity-wrapper {
        width: auto;
    }
    
    .pmp-cart-item-total {
        width: auto;
        text-align: left;
    }
    
    .pmp-remove-item {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    .pmp-product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .pmp-get-quote-btn,
    .pmp-add-to-cart-btn {
        width: 100%;
    }
    
    .pmp-quote-popup-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 96vh;
    }
}

/* Airwallex Embedded Payment Form Styles */
.pmp-airwallex-payment-form {
    margin-top: 24px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.pmp-payment-form-header {
    margin-bottom: 20px;
}

.pmp-payment-form-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #0872A3;
}

.pmp-payment-form-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Airwallex Card Element Container */
#airwallex-card-element {
    min-height: 60px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin: 20px 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: block !important;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
}

#airwallex-card-element:focus-within {
    border-color: #0872A3;
    box-shadow: 0 0 0 4px rgba(8, 114, 163, 0.15);
}

/* Ensure Airwallex input fields are visible and styled */
#airwallex-card-element input,
#airwallex-card-element iframe {
    width: 100% !important;
    min-height: 50px !important;
    display: block !important;
    visibility: visible !important;
}

/* Airwallex Elements iframe styling */
#airwallex-card-element iframe {
    border: none !important;
    width: 100% !important;
    min-height: 60px !important;
    display: block !important;
}

/* Airwallex Elements container classes */
#airwallex-card-element [class*="airwallex"],
#airwallex-card-element [class*="card"] {
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
}

/* Airwallex loading state */
.pmp-airwallex-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.pmp-airwallex-loading .pmp-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0872A3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Payment form error display */
.pmp-payment-error {
    padding: 12px 16px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
    margin: 16px 0;
}

.pmp-payment-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.pmp-payment-form-note {
    margin-top: 16px;
    padding: 12px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #0872A3;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pmp-payment-form-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0872A3;
}

.pmp-payment-form-note small {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   NEW E-COMMERCE CHECKOUT PAGE STYLES
   Professional Modern Design
   ======================================== */

.pmp-ecommerce-checkout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.pmp-ecommerce-checkout .pmp-checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Progress Indicator */
.pmp-checkout-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
}

.pmp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.pmp-progress-step .pmp-progress-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pmp-progress-step.pmp-progress-active .pmp-progress-number {
    background: #0872A3;
    color: #ffffff;
}

.pmp-progress-step span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.pmp-progress-step.pmp-progress-active span {
    color: #0872A3;
    font-weight: 600;
}

.pmp-progress-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
    margin-top: -20px;
}

/* Checkout Main Form */
.pmp-ecommerce-checkout .pmp-checkout-main {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pmp-checkout-message {
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pmp-checkout-message p {
    margin: 0;
}

.pmp-checkout-message strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.pmp-checkout-message small {
    opacity: 0.85;
}

.pmp-checkout-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
    border: 2px solid #81c784;
    color: #1b5e20;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.pmp-checkout-message.error {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border: 2px solid #e57373;
    color: #b71c1c;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.15);
}

/* Section Styles */
.pmp-ecommerce-checkout .pmp-checkout-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e8eaed;
}

.pmp-ecommerce-checkout .pmp-checkout-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pmp-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

.pmp-section-title svg {
    color: #0872A3;
    flex-shrink: 0;
}

/* Form Styles */
.pmp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.pmp-form-group {
    margin-bottom: 20px;
}

.pmp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.pmp-form-group .required {
    color: #dc3545;
    margin-left: 2px;
}

.pmp-form-group input,
.pmp-form-group textarea,
.pmp-form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
    background: #fafbfc;
    color: #1a1a1a;
}

.pmp-form-group input:hover,
.pmp-form-group textarea:hover,
.pmp-form-group select:hover {
    border-color: #c0c0c0;
    background: #ffffff;
}

.pmp-form-group input:focus,
.pmp-form-group textarea:focus,
.pmp-form-group select:focus {
    outline: none;
    border-color: #0872A3;
    box-shadow: 0 0 0 4px rgba(8, 114, 163, 0.12);
    background: #ffffff;
}

.pmp-form-group input:not(:placeholder-shown),
.pmp-form-group textarea:not(:placeholder-shown),
.pmp-form-group select:valid {
    background: #ffffff;
    border-color: #c8d4e0;
}

.pmp-form-group input::placeholder,
.pmp-form-group textarea::placeholder {
    color: #999;
}

.pmp-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.pmp-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

/* Compliance Notice */
.pmp-compliance-notice {
    margin-top: 20px;
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pmp-compliance-notice svg {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

.pmp-compliance-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #856404;
}

.pmp-compliance-notice p {
    margin: 0;
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

/* Payment Section */
.pmp-payment-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e8eaed;
}

.pmp-payment-info {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #e8eaed;
}

.pmp-payment-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #e3f2fd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmp-payment-info-icon svg {
    color: #0872A3;
}

.pmp-payment-info-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.pmp-payment-info-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Payment Form Container */
.pmp-payment-form-container {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
}

.pmp-payment-form-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.pmp-payment-form-header p {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
}

.pmp-card-element-wrapper {
    min-height: 60px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin: 16px 0;
    position: relative;
    display: block !important;
    visibility: visible !important;
}

.pmp-card-element-wrapper:focus-within {
    border-color: #0872A3;
    box-shadow: 0 0 0 3px rgba(8, 114, 163, 0.1);
}

/* Order Summary Sidebar */
.pmp-ecommerce-checkout .pmp-checkout-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.pmp-order-summary {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e3e7;
}

.pmp-order-summary h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #0872A3;
    letter-spacing: -0.3px;
}

.pmp-order-items {
    margin-bottom: 24px;
}

.pmp-order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pmp-order-item:last-child {
    border-bottom: none;
}

.pmp-item-details {
    flex: 1;
}

.pmp-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.pmp-item-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 8px;
}

.pmp-item-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-left: 16px;
}

.pmp-order-total {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #e8eaed;
}

.pmp-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
}

.pmp-total-row.pmp-subtotal-row {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.pmp-total-row.pmp-total-final {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #0872A3;
}

.pmp-total-row.pmp-total-final .pmp-total-amount {
    color: #0872A3;
    font-size: 24px;
}

.pmp-order-features {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8eaed;
}

.pmp-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
}

.pmp-feature svg {
    color: #0872A3;
    flex-shrink: 0;
}

/* Submit Button */
.pmp-checkout-actions {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e8eaed;
}

.pmp-submit-button {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #0872A3 0%, #065d84 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(8, 114, 163, 0.35), 0 3px 8px rgba(8, 114, 163, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.pmp-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.pmp-submit-button:hover {
    background: linear-gradient(135deg, #096b96 0%, #054a6b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(8, 114, 163, 0.45), 0 4px 12px rgba(8, 114, 163, 0.25);
}

.pmp-submit-button:hover::before {
    left: 100%;
}

.pmp-submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 114, 163, 0.3);
}

.pmp-submit-button:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: none;
}

.pmp-submit-button:disabled::before {
    display: none;
}

.pmp-submit-button svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.pmp-checkout-terms {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Payment Section Styles */
/* Payment Section - Drop-in Container */
#pmp-payment-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fbff 100%);
    padding: 28px;
    border-radius: 16px;
    border: 2px solid #0872A3;
    margin-top: 32px;
    box-shadow: 0 4px 20px rgba(8, 114, 163, 0.1);
}

#pmp-payment-section .pmp-section-title {
    margin-bottom: 20px;
    color: #065d84;
}

.pmp-payment-security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 10px;
    border: 1px solid #a5d6a7;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
}

.pmp-payment-security-badge svg {
    color: #43a047;
    flex-shrink: 0;
}

.pmp-dropin-container {
    min-height: 250px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pmp-dropin-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    gap: 16px;
    color: #666;
    font-size: 15px;
}

.pmp-payment-error {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    color: #c62828;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #ef9a9a;
    margin-bottom: 20px;
    font-weight: 500;
}

.pmp-accepted-cards {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.pmp-card-icons {
    display: flex;
    gap: 10px;
}

.pmp-card-icon {
    padding: 6px 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Airwallex iframe styling */
#airwallex-dropin iframe {
    width: 100% !important;
    min-height: 300px !important;
    border: none !important;
}

.pmp-payment-info-notice {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #0872A3;
    margin: 24px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pmp-payment-info-notice .pmp-notice-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #0872A3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.pmp-payment-info-notice .pmp-notice-icon svg {
    width: 28px;
    height: 28px;
}

.pmp-payment-info-notice .pmp-notice-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.pmp-payment-info-notice .pmp-notice-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.pmp-payment-info-notice .pmp-accepted-cards-text {
    margin: 12px 0 0 0;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.pmp-payment-info-notice .pmp-accepted-cards-text strong {
    color: #0872A3;
}

.pmp-card-element-wrapper {
    min-height: 120px;
    display: block;
    visibility: visible;
    opacity: 1;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

#airwallex-card-element iframe {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 60px !important;
    opacity: 1 !important;
}

.pmp-payment-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e8eaed;
    margin-top: 8px;
}

.pmp-payment-security-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #1565c0;
}

.pmp-payment-security-notice svg {
    flex-shrink: 0;
    color: #1976d2;
}

.pmp-card-element-wrapper {
    min-height: 60px;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 8px;
    position: relative;
    display: block !important;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pmp-card-element-wrapper:focus-within {
    border-color: #0872A3;
    box-shadow: 0 0 0 3px rgba(8, 114, 163, 0.1);
}

/* Ensure Airwallex Elements are visible */
.pmp-card-element-wrapper iframe,
.pmp-card-element-wrapper input,
.pmp-card-element-wrapper [class*="airwallex"],
.pmp-card-element-wrapper [class*="card"] {
    width: 100% !important;
    min-height: 50px !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    background: transparent !important;
}

/* Ensure iframe from Airwallex is visible */
.pmp-card-element-wrapper > iframe {
    width: 100% !important;
    min-height: 60px !important;
    height: 60px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pmp-accepted-cards {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8eaed;
    font-size: 13px;
    color: #666;
}

.pmp-card-icons {
    display: flex;
    gap: 8px;
}

.pmp-card-icon {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    border: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pmp-ecommerce-checkout .pmp-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .pmp-ecommerce-checkout .pmp-checkout-sidebar {
        position: static;
        order: -1;
    }
    
    .pmp-checkout-progress {
        flex-wrap: wrap;
    }
    
    .pmp-progress-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .pmp-ecommerce-checkout {
        padding: 20px 15px;
    }
    
    .pmp-ecommerce-checkout .pmp-checkout-main {
        padding: 24px;
    }
    
    .pmp-form-row {
        grid-template-columns: 1fr;
    }
    
    .pmp-checkout-progress {
        margin-bottom: 24px;
    }
    
    .pmp-progress-step span {
        font-size: 12px;
    }
    
    .pmp-section-title {
        font-size: 18px;
    }
}

/* Card Payment Information Notice */
.pmp-card-info-notice {
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #0872A3;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pmp-notice-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #0872A3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.pmp-notice-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.pmp-notice-content {
    flex: 1;
}

.pmp-notice-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.pmp-notice-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.pmp-card-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.pmp-card-requirements li {
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    position: relative;
    padding-left: 28px;
}

.pmp-card-requirements li:before {
    content: '✓';
    position: absolute;
    left: 10px;
    color: #0872A3;
    font-weight: 700;
}

/* Payment Form Header Improvements */
.pmp-payment-form-header {
    margin-bottom: 20px;
}

.pmp-payment-form-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #0872A3;
}

.pmp-payment-form-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
}

.pmp-required-fields-notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    font-size: 13px;
    color: #856404;
    margin-top: 8px;
}

.pmp-required-indicator {
    color: #dc3545;
    font-weight: 700;
    font-size: 16px;
}

@media (max-width: 768px) {
    .pmp-card-requirements {
        grid-template-columns: 1fr;
    }
    
    .pmp-card-info-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .pmp-notice-icon-wrapper {
        align-self: center;
    }
}

/* Ensure Airwallex Elements are properly displayed */
.pmp-airwallex-element {
    position: relative;
    width: 100%;
}

.pmp-airwallex-element * {
    box-sizing: border-box;
}

/* Payment Success Popup Styles */
.pmp-payment-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmp-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.pmp-popup-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: pmp-popup-fadein 0.3s ease-out;
}

@keyframes pmp-popup-fadein {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.pmp-popup-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    animation: pmp-popup-icon-bounce 0.5s ease-out;
}

@keyframes pmp-popup-icon-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.pmp-popup-icon svg {
    width: 50px;
    height: 50px;
    stroke-width: 3;
}

.pmp-popup-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.pmp-popup-message {
    font-size: 18px;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.pmp-popup-order-id {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    font-size: 16px;
    color: #333;
    border: 2px solid #e9ecef;
}

.pmp-popup-order-id strong {
    color: #0872A3;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pmp-popup-order-id span {
    font-size: 24px;
    font-weight: 700;
    color: #0872A3;
    display: block;
    font-family: 'Courier New', monospace;
}

.pmp-popup-redirect {
    font-size: 14px;
    color: #888;
    margin: 25px 0 0 0;
}

.pmp-popup-redirect #pmp-countdown {
    font-weight: 700;
    color: #0872A3;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pmp-popup-content {
        padding: 40px 30px;
        border-radius: 16px;
    }
    
    .pmp-popup-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .pmp-popup-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .pmp-popup-title {
        font-size: 26px;
    }
    
    .pmp-popup-message {
        font-size: 16px;
    }
    
    .pmp-popup-order-id {
        padding: 15px;
    }
    
    .pmp-popup-order-id span {
        font-size: 20px;
    }
}
