/* Advanced Checkout Styles */
.ac-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
}

/* Dark Theme (Default) */
.ac-container.ac-theme-dark {
    background: #0b1628;
    color: #ffffff;
}


/* Tab Navigation */
.ac-tab-navigation {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
}

.ac-theme-dark .ac-tab-navigation {
    background: #2a2a2a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ac-theme-light .ac-tab-navigation {
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.ac-tab-button {
    background: transparent;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.ac-theme-dark .ac-tab-button {
    color: #888;
}

.ac-theme-light .ac-tab-button {
    color: #666;
}

.ac-tab-button.active {
    background: #00C8C8;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 200, 200, 0.3);
}

.ac-theme-dark .ac-tab-button:hover:not(.active) {
    background: #333;
    color: #fff;
}

.ac-theme-light .ac-tab-button:hover:not(.active) {
    background: #e9ecef;
    color: #333;
}

/* Tab Content */
.ac-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.ac-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main Layout */
.ac-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Checkout Layout - Two Column Layout */
.ac-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.ac-checkout-section {
    padding: 20px;
    border-radius: 10px;
}

.ac-theme-dark .ac-checkout-section {
    background: #141414;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ac-theme-light .ac-checkout-section {
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.ac-order-payment-section {
    padding: 20px;
    border-radius: 10px;
}

.ac-theme-dark .ac-order-payment-section {
    background: #141414;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ac-theme-light .ac-order-payment-section {
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .ac-main-layout,
    .ac-checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Product Section */
.ac-product-section {
    padding: 20px;
    border-radius: 10px;
}

.ac-theme-dark .ac-product-section {
    background: #141414;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ac-theme-light .ac-product-section {
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Section Titles */
.ac-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ac-option-main{
    text-indent: 20px;
}

.ac-theme-dark .ac-section-title {
    color: #fff;
}

.ac-theme-light .ac-section-title {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
}

/* Option Groups */
.ac-option-group {
    margin-bottom: 30px;
}

.ac-option-group-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.ac-theme-dark .ac-option-group-title {
    color: #fff;
}

.ac-theme-light .ac-option-group-title {
    color: #007bff;
}

/* Options Grid */
.ac-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Option Buttons */
.ac-option-button {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ac-theme-dark .ac-option-button {
    background: #333;
    border: 2px solid #444;
}

.ac-theme-light .ac-option-button {
    background: #ffffff;
    border: 2px solid #e9ecef;
}

.ac-theme-dark .ac-option-button:hover {
    border-color: #00C8C8;
    box-shadow: 0 4px 8px rgba(0, 200, 200, 0.3);
}

.ac-theme-light .ac-option-button:hover {
    border-color: #00C8C8;
    box-shadow: 0 4px 8px rgba(0, 200, 200, 0.3);
}

.ac-option-button input[type="radio"] {
    display: none;
}

.ac-option-button input[type="radio"]:checked + label {
    background: #00C8C8;
    color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(0, 200, 200, 0.4);
}

.ac-option-button label {
    display: block;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Select Fields Styling */
.ac-form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' 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 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.ac-theme-dark .ac-form-select {
    background-color: #0F1A2F;
    border-color: #333;
    color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' 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 15px center;
    background-size: 16px;
}

.ac-theme-light .ac-form-select {
    background-color: #fff;
    border-color: #ddd;
    color: #333;
}

.ac-form-select:focus {
    outline: none;
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.1);
}

.ac-theme-dark .ac-form-select:focus {
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.2);
}

.ac-theme-light .ac-form-select:focus {
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.1);
}

/* Select field options styling */
.ac-form-select option {
    background: #fff;
    color: #333;
    padding: 10px;
}

.ac-theme-dark .ac-form-select option {
    background: #333;
    color: #fff;
}

/* Ensure select fields are visible and properly styled */
.ac-categories-container select {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin-bottom: 15px;
}

/* Popular Badge */
.ac-popular-badge {
    position: absolute;
    top: 16px;
    right: 3px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

/* Addons Section */
.ac-addons-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 200, 200, 0.05);
    border: 1px solid rgba(0, 200, 200, 0.2);
    border-radius: 8px;
}

/* Addons Row Layout */
.ac-addons-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
}

.ac-addon-compact {
    flex: 1;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ac-addon-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background: #333;
    border: 2px solid #444;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 60px;
    position: relative;
}

.ac-addon-option:hover {
    border-color: #00C8C8;
    box-shadow: 0 4px 8px rgba(0, 200, 200, 0.3);
    transform: translateY(-2px);
}

.ac-addon-option input[type="radio"],
.ac-addon-option input[type="checkbox"] {
    display: none;
}

/* Custom checkbox styling for addons */
.ac-addon-option input[type="checkbox"] + .ac-addon-label::before {
    content: '';
    position: relative;
    width: 32px;
    height: 22px;
    border: 2px solid #00C8C8;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.ac-addon-option input[type="checkbox"]:checked + .ac-addon-label::before {
    background: #00C8C8;
    border-color: #00C8C8;
}

.ac-addon-option input[type="checkbox"]:checked + .ac-addon-label::after {
    content: '✓';
    position: absolute;
    left: 30px;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 15px;
    line-height: 1;
}

.ac-addon-option input[type="checkbox"]:checked ~ .ac-addon-label {
    color: #00C8C8;
}

.ac-addon-option:has(input[type="checkbox"]:checked) {
    background: rgba(0, 200, 200, 0.1);
    border-color: #00C8C8;
}

.ac-addon-label {
    flex: 1;
    font-weight: 600;
    color: #fff;
    margin-left: 35px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin: 0px!important;
}

.ac-addon-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-left: 20px;
}

.ac-addon-price-text {
    font-size: 14px;
    font-weight: 500;
    color: #00C8C8;
}

.ac-addon-price {
    background: #00C8C8;
    color: #1a1a1a;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
}

/* Price Section */
.ac-price-section {
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

.ac-theme-dark .ac-price-section {
    background: #141414;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ac-theme-light .ac-price-section {
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Main Price Display */
.ac-main-price {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #00C8C8;
}

.ac-strikethrough-price {
    font-size: 24px;
    text-align: center;
    text-decoration: line-through;
    color: #888;
    margin-bottom: 20px;
}

.ac-price-description {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

/* Coupon Section */
.ac-coupon-section {
    margin: 30px 0;
    padding: 20px;
    border-radius: 8px;
    background: rgba(180, 180, 180, 0.1);
    border: 1px solid rgba(119, 119, 119, 0.3);
}

.ac-coupon-promo {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ac-coupon-input-group {
    display: flex;
    gap: 10px;
}

.ac-coupon-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #333;
}

.ac-coupon-input:focus {
    outline: none;
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.1);
}

.ac-apply-coupon {
    padding: 12px 20px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ac-apply-coupon:hover {
    background: #fff;
    transform: translateY(-2px);
}

.ac-copy-coupon {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ac-copy-coupon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Order Summary */
.ac-order-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.ac-order-title {
    font-size: 15px !important;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #fff !important;
}

.ac-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-order-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

.ac-order-label {
    font-weight: 600;
}

.ac-order-value {
    text-align: right;
}

/* Continue Button */
.ac-continue-btn {
    width: 100%;
    padding: 20px;
    background: #00C8C8;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.ac-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 5px rgba(255, 255, 255, 0.4);
        background: #fff;
        color: #000;
}

/* Checkout Form */
.ac-checkout-form {
    padding: 20px;
    border-radius: 10px;
}

.ac-theme-dark .ac-checkout-form {
    background: #0f0f10;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
}

/* Ensure text inside inputs, selects, placeholders are white-ish on dark */
.ac-theme-dark .ac-form-label { color: #ffffff; }
.ac-theme-dark .ac-form-input,
.ac-theme-dark .ac-form-select { background: #0F1A2F; color: #ffffff; border-color: #333; }
.ac-theme-dark .ac-form-input::placeholder { color: #bbbbbb; }
.ac-theme-dark .ac-form-input:focus,
.ac-theme-dark .ac-form-select:focus { border-color: #ffd700; box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2); }

/* Darken terms text and other texts inside form */
.ac-theme-dark .ac-terms-text,
.ac-theme-dark .ac-payment-title,
.ac-theme-dark .ac-order-title,
.ac-theme-dark .ac-order-label,
.ac-theme-dark .ac-order-value { color: #ffffff; }

.ac-theme-light .ac-checkout-form {
    background: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

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

.ac-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.ac-form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 16px;
    background: #0F1A2F;
    color: #fff;
    transition: all 0.3s ease;
}

.ac-form-input:focus {
    outline: none;
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.2);
}

.ac-form-input.error {
    border-color: #ff6b6b;
}

.ac-form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' 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 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.ac-form-select:focus {
    outline: none;
    border-color: #00E0E0;
    box-shadow: 0 0 0 3px rgba(0, 224, 224, 0.2);
}

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

@media (max-width: 768px) {
    .ac-form-row {
        grid-template-columns: 1fr;
    }
}

/* Payment Methods */
.ac-payment-methods {
    margin: 30px 0;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.ac-payment-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.ac-payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background: #333;
    border: 2px solid #444;
    transition: all 0.3s ease;
    cursor: pointer;
    color:#fafafa;
}

.ac-payment-option:hover {
    border-color: #fff;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.ac-payment-option input[type="radio"] {
    display: none;
}

.ac-payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.ac-payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    background: #333;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.ac-payment-logo img {
    width: 90%;
    object-fit: contain;
}

.ac-payment-logo span {
    font-size: 22px;
    font-weight: 600;
    color: #888;
}

.ac-theme-dark .ac-payment-logo {
    background: #fff;
}



.payment-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

.payment-icon-placeholder {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

/* Error States */
.ac-form-input.error,
.ac-form-select.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.ac-theme-dark .ac-form-input.error,
.ac-theme-dark .ac-form-select.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.ac-theme-light .ac-form-input.error,
.ac-theme-light .ac-form-select.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Place Order Button */
.ac-place-order-btn {
    width: 100%;
    padding: 20px;
    background: #00C8C8; /* default brand teal */
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
}

.ac-place-order-btn:hover:not(:disabled) {
    transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
        background: #0EA5FF; /* brand blue on hover */
        color: #fff;
}

.ac-place-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Terms Checkbox */
.ac-terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.ac-terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
}

.ac-terms-text {
    font-size: 14px;
    line-height: 1.5;
    color: #888;
}

.ac-terms-text a {
    color: #0EA5FF;
    text-decoration: none;
}

.ac-terms-text a:hover {
    text-decoration: underline;
}

/* Custom Radio Button Styling */
.ac-option-button input[type="radio"],
.ac-addon-option input[type="radio"],
.ac-addon-option input[type="checkbox"] {
    display: none;
}

.ac-option-button label,
.ac-addon-option label {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ac-option-button label::before,
.ac-addon-option input[type="radio"] + label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.ac-option-button label::after,
.ac-addon-option input[type="radio"] + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 21px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: all 0.3s ease;
}

.ac-option-button input[type="radio"]:checked + label,
.ac-addon-option input[type="radio"]:checked + label {
    background: #00C8C8;
    color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.4);
}

.ac-option-button input[type="radio"]:checked + label::before,
.ac-addon-option input[type="radio"]:checked + label::before {
    border-color: #1a1a1a;
    background: #1a1a1a;
}

.ac-option-button input[type="radio"]:checked + label::after,
.ac-addon-option input[type="radio"]:checked + label::after {
    opacity: 1;
    background: #fff;
}

.ac-option-button label:hover,
.ac-addon-option input[type="radio"] + label:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Light Theme Adjustments */
.ac-theme-light .ac-option-button label,
.ac-theme-light .ac-addon-option label {
    color: #333;
}

.ac-theme-light .ac-option-button label::before,
.ac-theme-light .ac-addon-option label::before {
    border-color: #ccc;
}

.ac-theme-light .ac-option-button input[type="radio"]:checked + label,
.ac-theme-light .ac-addon-option input[type="radio"]:checked + label {
    background: #00C8C8;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(203, 204, 204, 0.4);
}

.ac-theme-light .ac-option-button input[type="radio"]:checked + label::before,
.ac-theme-light .ac-addon-option input[type="radio"]:checked + label::before {
    border-color: #ffffff;
    background: #ffffff;
}

.ac-theme-light .ac-option-button input[type="radio"]:checked + label::after,
.ac-theme-light .ac-addon-option input[type="radio"]:checked + label::after {
    background: #00C8C8;
}

.ac-theme-light .ac-option-button label:hover,
.ac-theme-light .ac-addon-option label:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Option Content Styling */
.ac-option-button label,
.ac-addon-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}



.ac-addon-price {
    background: #fff;
    color: #1a1a1a;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.ac-option-price {
    display: none;
    background: #fff;
    color: #1a1a1a;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

/* Enhanced Section Titles */
.ac-section-title {
    font-size: 12px !important;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}



.ac-section-title:hover::before {
    left: 100%;
}

.ac-theme-dark .ac-section-title {
    
    color: #fff;
    
}

.ac-theme-light .ac-section-title {
    background: #00C8C8;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.3);
}

/* Container Enhancements */
.ac-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    position: relative;
}

.ac-theme-light .ac-container {
    background: #ffffff;
    color: #333333;
}

/* Theme-specific text colors */
.ac-theme-dark .ac-section-title,
.ac-theme-dark .ac-option-button label,
.ac-theme-dark .ac-addon-option label {
    color: #ffffff;
}

.ac-theme-dark .ac-price-description,
.ac-theme-dark .ac-order-row {
    color: #cccccc;
}

.ac-theme-dark .ac-order-row .ac-order-label {
    color: #ffffff;
}

.ac-theme-dark .ac-order-row .ac-order-value {
    color: #fff;
}

/* Form Input Enhancements */
.ac-form-input,
.ac-form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ac-form-input:focus,
.ac-form-select:focus {
    outline: none;
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.1);
    transform: translateY(-1px);
}

.ac-theme-light .ac-form-input,
.ac-theme-light .ac-form-select {
    background: #ffffff;
    border-color: #e9ecef;
    color: #333333;
}

.ac-theme-light .ac-form-input:focus,
.ac-theme-light .ac-form-select:focus {
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ac-container {
        padding: 10px;
    }
    
    .ac-main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ac-tab-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .ac-tab-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .ac-options-grid {
        grid-template-columns: 1fr;
    }
    
    .ac-option-button label,
    .ac-addon-option label {
        padding: 15px;
        font-size: 14px;
    }
    
    .ac-option-button label::before,
    .ac-addon-option label::before {
        left: 10px;
        width: 16px;
        height: 16px;
    }
    
    .ac-option-button label::after,
    .ac-addon-option label::after {
        left: 14px;
        width: 6px;
        height: 6px;
    }
    
    .ac-form-row {
        grid-template-columns: 1fr;
    }
    
    .ac-form-group {
        margin-bottom: 15px;
    }
    
    .ac-form-input,
    .ac-form-select {
        padding: 12px;
        font-size: 14px;
    }
    
    .ac-order-summary {
        margin-bottom: 20px;
    }
    
    .ac-payment-methods {
        margin: 20px 0;
    }
    
    .ac-place-order-btn,
    .ac-continue-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .ac-price-section {
        position: static;
        margin-top: 20px;
    }
    
    .ac-main-price {
        font-size: 36px;
    }
    
    .ac-coupon-input-group {
        flex-direction: column;
    }
    
    .ac-coupon-input {
        margin-bottom: 10px;
    }
    
    .ac-apply-coupon {
        width: 100%;
    }
    
    .ac-addon-name {
        margin-left: 30px;
    }
}

@media (max-width: 480px) {
    .ac-container {
        padding: 5px;
    }
    
    .ac-tab-button {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .ac-option-button label,
    .ac-addon-option label {
        padding: 12px;
        font-size: 12px;
    }
    
    .ac-form-input,
    .ac-form-select {
        padding: 10px;
        font-size: 12px;
    }
    
    .ac-place-order-btn,
    .ac-continue-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .ac-main-price {
        font-size: 28px;
    }
    
    .ac-section-title {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .ac-order-title,
    .ac-payment-title {
        font-size: 16px;
    }
}

/* Loading States */
.ac-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.ac-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

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

/* Coupon Messages */
.ac-coupon-message {
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.ac-coupon-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.ac-coupon-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Order Summary Enhancements */
.ac-order-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-order-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ac-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ac-order-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.ac-order-label {
    font-weight: 600;
    color: #ffffff;
}

.ac-order-value {
    text-align: right;
    color: #fff;
}

.ac-order-row:last-child .ac-order-value {
    font-size: 20px;
    font-weight: 700;
}

.ac-discount-row {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px 10px;
    margin: 5px 0;
}

.ac-coupon-code {
    color: #28a745;
    font-weight: 600;
}

/* Coupon Input Enhancements */
.ac-coupon-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ac-coupon-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
}

.ac-coupon-input:focus {
    outline: none;
    border-color: #00C8C8;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.1);
}

.ac-apply-coupon {
    padding: 12px 20px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ac-apply-coupon:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.ac-apply-coupon:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Order Breakdown */
.ac-order-breakdown {
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 5px;
    border-left: 3px solid #fff;
}

.ac-breakdown-row {
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-breakdown-row:last-child {
    border-bottom: none;
}

.ac-breakdown-row .ac-order-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
}

.ac-breakdown-row .ac-order-value {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}

/* Light theme adjustments for breakdown */
.ac-theme-light .ac-order-breakdown {
    background: rgba(0, 0, 0, 0.02);
    border-left: 3px solid #fff;
}

.ac-theme-light .ac-breakdown-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ac-theme-light .ac-breakdown-row .ac-order-label {
    color: #666;
}

.ac-theme-light .ac-breakdown-row .ac-order-value {
    color: #333;
}

.ac-price-positive {
    color: #28a745;
}

.ac-price-negative {
    color: #dc3545;
}

.ac-base-price {
    color: #888;
    font-size: 14px;
} 

/* Price update animation - DISABLED */
/* .price-updated {
    animation: price-highlight 1s ease;
}

@keyframes price-highlight {
    0% {
        color: #ffffff;
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    }
    50% {
        color: #ffffff;
        text-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
    }
    100% {
        color: inherit;
        text-shadow: none;
    }
}

/* Order breakdown loading state */
.ac-order-breakdown.ac-loading {
    position: relative;
    opacity: 0.7;
}

.ac-order-breakdown.ac-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

/* Order Invoice Styles */
.ac-order-invoice {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.ac-theme-light .ac-order-invoice {
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.ac-invoice-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #fff;
}

.ac-order-number {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
}

.ac-invoice-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.ac-invoice-section {
    background: #141414;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #444;
}

.ac-theme-light .ac-invoice-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.ac-invoice-section h3 {
        color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.ac-invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #444;
}

.ac-theme-light .ac-invoice-row {
    border-bottom: 1px solid #e9ecef;
}

.ac-invoice-row:last-child {
    border-bottom: none;
}

.ac-invoice-label {
    font-weight: 600;
    color: #ccc;
    font-size: 14px;
}

.ac-theme-light .ac-invoice-label {
    color: #666;
}

.ac-invoice-value {
    font-weight: 500;
    color: #fff;
    text-align: right;
    font-size: 14px;
}

.ac-theme-light .ac-invoice-value {
    color: #333;
}

.ac-invoice-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.ac-proceed-payment-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.ac-proceed-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
}

.ac-new-order-btn {
    background: transparent;
    color: #00C8C8;
    border: 2px solid #ffd700;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ac-new-order-btn:hover {
    background: #00C8C8;
    color: #1a1a1a;
}

.ac-order-error {
    background: #ff4444;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* Responsive Invoice */
@media (max-width: 768px) {
    .ac-invoice-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ac-invoice-actions {
        flex-direction: column;
    }
    
    .ac-proceed-payment-btn,
    .ac-new-order-btn {
        width: 100%;
    }
}

/* Validation Summary Styles */
.ac-validation-summary {
    background: #ff4444;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
}

.ac-validation-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ac-validation-message {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
}

.ac-clear-errors-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ac-clear-errors-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Enhanced Error Message Styles */
.ac-error-message {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    display: block;
    animation: errorShake 0.5s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.ac-form-input.error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
    animation: errorShake 0.5s ease;
}

/* Responsive Validation */
@media (max-width: 768px) {
    .ac-validation-summary {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .ac-validation-message {
        font-size: 14px;
    }
    
    .ac-clear-errors-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Privacy Policy */
.ac-privacy-policy {
    font-size: 14px;
    color: #888;
    margin: 20px 0;
    line-height: 1.5;
}

.ac-theme-dark .ac-privacy-policy {
    color: #ccc;
}

.ac-theme-light .ac-privacy-policy {
    color: #666;
}

.ac-privacy-policy a {
    color: #00C8C8;
    text-decoration: none;
}

.ac-privacy-policy a:hover {
    text-decoration: underline;
}

/* Accepted Payments */
.ac-accepted-payments {
    margin: 20px 0;
}

.ac-crypto-payments,
.ac-digital-payments {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

.ac-theme-dark .ac-crypto-payments,
.ac-theme-dark .ac-digital-payments {
    color: #ccc;
}

.ac-theme-light .ac-crypto-payments,
.ac-theme-light .ac-digital-payments {
    color: #666;
}

.ac-crypto-payments span,
.ac-digital-payments span {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Support & Guarantee */
.ac-support-guarantee {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-theme-light .ac-support-guarantee {
    border-top: 1px solid #e9ecef;
}

.ac-support-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
}

.ac-theme-dark .ac-support-item {
    color: #ccc;
}

.ac-theme-light .ac-support-item {
    color: #666;
}

.ac-support-icon {
    font-size: 16px;
}

/* Payment Content */
.ac-payment-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ac-payment-name {
    font-weight: 600;
    font-size: 14px;
    color:#fff
}

.ac-payment-flag {
    font-size: 16px;
    margin-left: 8px;
}

.ac-payment-logos {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ac-payment-logos img {
    height: 20px;
    width: auto;
} 

/* Dark theme – unify all input controls */
.ac-theme-dark input[type="text"],
.ac-theme-dark input[type="email"],
.ac-theme-dark input[type="tel"],
.ac-theme-dark input[type="number"],
.ac-theme-dark input[type="password"],
.ac-theme-dark input[type="search"],
.ac-theme-dark input[type="url"],
.ac-theme-dark input[type="date"],
.ac-theme-dark input[type="time"],
.ac-theme-dark input[type="datetime-local"],
.ac-theme-dark select,
.ac-theme-dark textarea,
.ac-theme-dark .ac-form-input,
.ac-theme-dark .ac-form-select,
.ac-theme-dark .ac-coupon-input {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #333 !important;
}

.ac-theme-dark input::placeholder,
.ac-theme-dark textarea::placeholder,
.ac-theme-dark .ac-form-input::placeholder,
.ac-theme-dark .ac-coupon-input::placeholder {
    color: #bbbbbb !important;
}

.ac-theme-dark input:focus,
.ac-theme-dark select:focus,
.ac-theme-dark textarea:focus,
.ac-theme-dark .ac-form-input:focus,
.ac-theme-dark .ac-form-select:focus,
.ac-theme-dark .ac-coupon-input:focus {
    border-color: #00C8C8 !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.2) !important;
    outline: none !important;
} 