/**
 * Amarpal Custom Tables Styles - Modern Gradient Design
 */

/* Admin Styles */
.act-admin .form-table th {
    vertical-align: top;
    padding-top: 20px;
}

.act-admin .form-table select[multiple] {
    min-height: 120px;
}

.act-admin .select2-container {
    min-width: 300px;
    max-width: 100%;
}

.act-admin .select2-container .select2-selection--multiple {
    min-height: 120px;
    border: 1px solid #8c8f94;
}

.act-admin .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #2271b1;
    border-color: #2271b1;
    color: #fff;
    padding: 2px 8px;
    margin: 2px;
}

.act-admin .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 5px;
}

.act-admin .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

/* Modern Container Design */
.act-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin:20px 0px 0px 0px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, var(--act-gradient-start, #007bff) 0%, var(--act-gradient-end, #ff6b9d) 100%);
    border-radius: var(--act-border-radius, 20px);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.act-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.act-product-table-container {
    flex: 1 1 50%;
    position: relative;
    z-index: 2;
    background: var(--act-product-list-bg, transparent);
    border-radius: var(--act-border-radius, 12px);
    padding: 20px;
}

.act-order-summary-container {
    flex: 1 1 30%;
    position: relative;
    z-index: 2;
}

.act-table-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--act-text-color, #ffffff);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.act-intro-text {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--act-text-color, #ffffff);
    opacity: 0.9;
}

@media (max-width: 620px) {
    .act-container {
        padding: 20px;
    }
    
    .act-product-table-container {
        flex: 1 1 60%;
    }
    
    .act-order-summary-container {
        flex: 1 1 35%;
    }
}

@media (max-width: 480px) {
    .act-container {
        padding: 15px;
        gap: 20px;
    }
    
    .act-product-table-container {
        flex: 1 1 100%;
        order: 1;
    }
    
    .act-order-summary-container {
        flex: 1 1 100%;
        order: 2;
    }
    
    .act-order-summary {
        position: static;
        margin-top: 0;
    }
}

/* Modern Product Table */
.act-product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-bottom: 20px;
}

.act-product-table tr {
    background: var(--act-table-bg, rgba(255, 255, 255, 0.95));
    border-radius: var(--act-border-radius, 12px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.act-product-table tr:hover {
    transform: translateY(-2px);
}

.act-product-table td {
    padding:5px;
    text-align: left;
    vertical-align: middle;
    border: none;
    color: #333;
    font-weight: 500;
}

.act-product-table td:first-child {
    border-radius: var(--act-border-radius, 12px) 0 0 var(--act-border-radius, 12px);
}

.act-product-table td:last-child {
    border-radius: 0 var(--act-border-radius, 12px) var(--act-border-radius, 12px) 0;
}

.act-product-image img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}



.act-product-price {
    font-weight: 700;
    color: #ffffff!important;
    font-size: 18px;
}

.act-product-price .amount {
    font-weight: 700;
}

.act-product-price-total {
    font-weight: 700;
    color: #333;
    font-size: 18px;
}

.act-product-stock .in-stock {
    color: #28a745;
    font-weight: 600;
}

.act-product-stock .out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

/* Custom Dropdown Styling */
.act-product-attribute {
    min-width: 140px;
}

.act-select-wrapper {
    position: relative;
}

.act-select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--act-dropdown-text, #333);
    pointer-events: none;
    font-size: 12px;
}

.act-product-attribute select,
.act-variation-dropdown {
    width: 100%;
    padding: 10px!important;
    border: 1px solid white;
    background: var(--act-dropdown-bg, rgba(255, 255, 255, 0.9));
    border-radius: 5px;
    color: var(--act-dropdown-text, #333);
    font-size: 14px;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.act-product-attribute select:hover,
.act-variation-dropdown:hover {
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.act-product-attribute select:focus,
.act-variation-dropdown:focus {
    outline: none;
    border-color: var(--act-button-bg, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.act-no-variations {
    color: #999;
    font-style: italic;
    text-align: center;
}

/* Modern Quantity Input */
.act-quantity-input {
    display: flex;
    align-items: center;
    max-width: 120px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.act-quantity-input button {
    display: inline-block;
    width: 36px;
    height: 40px;
    background: transparent;
    border: none;
    text-align: center;
    font-weight: 600;
    color: var(--act-button-bg, #007bff);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-size: 18px;
    transition: all 0.2s ease;
}

.act-quantity-input button:hover {
    background: linear-gradient(135deg, var(--act-button-bg, #007bff) 0%, var(--act-button-bg-end, #9c27b0) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
}

.act-quantity-input input[type="number"] {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    margin: 0;
    padding: 0 5px;
    -moz-appearance: textfield;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    color: #333;
}

.act-quantity-input input[type="number"]::-webkit-inner-spin-button,
.act-quantity-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.act-quantity-input input[type="number"]:focus {
    outline: none;
}

/* Modern Add to Cart Buttons */
.act-add-to-cart,
.act-add-variation-to-cart {
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* background: linear-gradient(135deg, var(--act-button-bg, #6f42c1) 0%, var(--act-button-bg-end, #9c27b0) 100%); */
    color: var(--act-button-text, #ffffff);
    background: transparent;
    border: 1px solid white;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.act-add-to-cart::before,
.act-add-variation-to-cart::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;
}

.act-add-to-cart:hover::before,
.act-add-variation-to-cart:hover::before {
    left: 100%;
}

.act-add-to-cart:hover,
.act-add-variation-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.5);
    background: linear-gradient(135deg, var(--act-button-bg-end, #9c27b0) 0%, var(--act-button-bg, #6f42c1) 100%);
}

.act-add-to-cart.loading,
.act-add-variation-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.act-add-variation-to-cart[disabled],
.act-add-variation-to-cart.act-button-disabled,
.act-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent !important;
    color: #ffffff !important;
    padding: 12px 24px;
    font-weight: 600;
    border: 1px solid #b6b6b6;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}

.act-button-disabled:hover,
.act-add-variation-to-cart[disabled]:hover,
.act-add-variation-to-cart.act-button-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #6c757d !important;
}

/* Hide any "Choose an option" placeholder text */
.act-variation-dropdown option[value=""] {
    display: none !important;
}

.act-variation-dropdown option:first-child[value=""] {
    display: none !important;
}

/* Product Info Styling */
.act-product-main {
    min-width: 200px;
}

.act-product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.act-product-title {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.3;
}

.act-product-title a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.act-product-title a:hover {
    color: var(--act-button-bg, #007bff);
}

.act-product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    opacity: 0.8;
}

/* Modern Order Summary */
.act-order-summary {
    background: transparent;
    border: none;
    border-radius: var(--act-border-radius, 16px);
    padding: 30px;
    position: sticky;
    top: 20px;
}

.act-order-summary h3 {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
}

.act-cart-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.act-cart-items th,
.act-cart-items td {
    padding: 15px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.act-cart-items th {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

.act-cart-item-name {
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}

.act-cart-item-quantity {
    width: 120px;
}

.act-cart-item-price {
    text-align: right;
    font-weight: 600;
    color: #ffffff;
}

.act-cart-item-remove {
    width: 20px;
    text-align: center;
}

.act-cart-item-remove a {
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

.act-cart-item-remove a:hover {
    color: #c82333;
}

.act-cart-subtotal th,
.act-cart-shipping th,
.act-cart-tax th,
.act-cart-fee th,
.act-cart-total th {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.act-cart-subtotal td,
.act-cart-shipping td,
.act-cart-tax td,
.act-cart-fee td,
.act-cart-total td {
    text-align: right;
    font-weight: 600;
    color: #ffffff;
}

.act-cart-total {
    font-weight: bold;
    font-size: 1.2em;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.act-cart-total th,
.act-cart-total td {
    padding-top: 20px;
    color: #ffffff;
}

.act-vat-notice {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: none;
    letter-spacing: normal;
}

.act-vat-info td {
    padding: 10px 8px 5px 8px;
    text-align: center;
    border-bottom: none;
}

.act-vat-info small {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 12px;
}

/* Email Section Styles */
.act-email-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.act-email-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.act-email-section label .required {
    color: #ff6b9d;
    font-weight: 700;
}

.act-email-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.act-email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.act-email-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.act-email-input.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.act-email-error {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
}

/* Readonly email styles */
.act-email-input[readonly] {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.act-email-readonly-notice {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

/* Loading button styles */
.act-checkout-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.act-checkout-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: act-spin 1s linear infinite;
}

.act-cart-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.act-checkout-button,
.act-view-cart-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.act-checkout-button {
    background: transparent;
    color: var(--act-button-text, #ffffff);
    border: 1px solid white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.act-checkout-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, var(--act-button-bg-end, #9c27b0) 0%, var(--act-button-bg, #007bff) 100%);
}

.act-view-cart-button {
    background: transparent;
    color: #333;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.act-view-cart-button:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.act-empty-cart {
    text-align: center;
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-style: italic;
}

/* Explicit Niches Section */
.act-explicit-niches {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.act-explicit-niches h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.act-explicit-niches p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.act-explicit-niches a {
    color: var(--act-button-bg, #007bff);
    font-weight: 600;
    text-decoration: none;
}

.act-explicit-niches a:hover {
    text-decoration: underline;
}

/* Cart Quantity Controls in Summary */
.act-cart-quantity-input {
    width: 60px;
    padding: 6px 8px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
}

.act-cart-quantity-increase,
.act-cart-quantity-decrease {
    background: linear-gradient(135deg, var(--act-button-bg, #007bff) 0%, var(--act-button-bg-end, #9c27b0) 100%);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
}

.act-cart-quantity-increase:hover,
.act-cart-quantity-decrease:hover {
    opacity: 0.8;
}

/* Mobile-First Responsive Design */

/* Mobile styles (default) */
@media (max-width: 767px) {
    .act-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .act-product-table-container {
        order: 1;
        flex: 1 1 100%;
        padding: 10px;
    }
    
    .act-order-summary-container {
        order: 2;
        flex: 1 1 100%;
    }
    
    .act-table-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .act-intro-text {
        font-size: 14px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* Compact mobile table layout */
    .act-product-table {
        border-spacing: 0 8px;
    }
    
    .act-product-table tr {
        background: var(--act-table-bg, rgba(255, 255, 255, 0.95));
        border-radius: var(--act-border-radius, 12px);
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 8px;
    }
    
    .act-product-table tr:hover {
        transform: none; /* Disable hover transform on mobile */
    }
    
    .act-product-table td {
        padding: 0;
        border: none;
        border-radius: 0 !important;
    }
    
    /* Hide table headers on mobile */
    .act-product-table th {
        display: none;
    }
    
    /* Mobile product layout structure - matches your image */
    .act-product-table tr {
        display: block !important;
    }
    
    .act-product-table td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Top row with product info on left, price/quantity on right */
    .act-mobile-product-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        margin-bottom: 8px;
    }
    
    .act-mobile-left-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .act-mobile-right-col {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        min-width: 100px;
    }
    
    /* Bottom row for add button */
    .act-mobile-button-row {
        width: 100%;
        margin-top: 8px;
    }
    
    /* Product title styling */
    .act-product-table .act-product-main {
        margin: 0;
    }
    
    .act-product-title {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        line-height: 1.3;
    }
    
    .act-product-title a {
        color: #ffffff;
    }
    
    .act-product-description {
        font-size: 12px;
        color: #ffffff;
        margin: 2px 0 0 0;
        line-height: 1.3;
    }
    
    /* Variation dropdowns side by side in left column */
    .act-product-table .act-product-attribute {
        margin: 0;
    }
    
    /* Container for multiple variations */
    .act-mobile-variations-container {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .act-mobile-variations-container .act-product-attribute {
        flex: 1;
        min-width: calc(50% - 3px);
    }
    
    .act-product-attribute select,
    .act-variation-dropdown {
        width: 100%;
        min-width: auto;
        padding: 10px;
        font-size: 14px;
        margin: 0;
        border-radius: 6px;
        border: 1px solid #ffffff!important;
    }
    
    /* For single variation, still use full width */
    .act-product-attribute:only-child {
        flex: 1 1 100%;
    }
    
    /* Price in right column */
    .act-product-table .act-product-price {
        text-align: right;
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        color: #ffffff !important;
    }
    
    /* Quantity input in right column */
    .act-product-table .act-product-quantity {
        margin: 0;
        display: flex;
        justify-content: flex-end;
    }
    
    .act-quantity-input {
        max-width: 100px;
        height: 36px;
    }
    
    .act-quantity-input button {
        width: 28px;
        height: 32px;
        font-size: 16px;
    }
    
    .act-quantity-input input[type="number"] {
        width: 44px;
        height: 32px;
        font-size: 14px;
    }
    
    /* Add button spanning full width at bottom */
    .act-product-table .act-product-actions {
        margin: 0;
    }
    
    .act-add-to-cart,
    .act-add-variation-to-cart {
        width: 100%;
        padding: 10px 16px;
        font-size: 14px;
        margin: 0;
        min-height: 40px;
        border-radius: 6px;
    }
    
    /* Stock display */
    .act-product-table .act-product-stock {
        font-size: 12px;
        margin: 0;
        text-align: right;
    }
    
    /* Hide product image on mobile for more compact design */
    .act-product-table .act-product-image {
        display: none;
    }
    
    /* Mobile order summary adjustments */
    .act-order-summary {
        position: static;
        margin-top: 0;
        padding: 15px;
    }
    
    .act-order-summary h3 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .act-cart-items td,
    .act-cart-items th {
        padding: 8px 4px;
        font-size: 13px;
    }
    
    .act-cart-item-quantity {
        width: auto;
    }
    
    .act-checkout-button,
    .act-view-cart-button {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .act-email-section {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .act-email-input {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .act-container {
        padding: 20px;
        gap: 25px;
    }
    
    .act-product-table {
        border-spacing: 0 10px;
    }
    
    .act-product-table td {
        padding: 5px;
    }
    
    .act-product-attribute {
        min-width: 120px;
    }
    
    .act-product-attribute select,
    .act-variation-dropdown {
        padding: 10px;
        font-size: 14px;
    }
    
    .act-add-to-cart,
    .act-add-variation-to-cart {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .act-order-summary {
        padding: 25px;
    }
    
    .act-email-section {
        margin-top: 18px;
        margin-bottom: 18px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .act-container {
        padding: 30px;
        border-radius: 20px;
		max-width:1500px !important;
    }
    
    .act-table-title {
        font-size: 28px;
    }
    
    .act-product-table {
        border-spacing: 0 12px;
    }
    
    .act-product-table td {
        padding: 5px;
    }
    
    .act-product-attribute {
        min-width: 140px;
    }
    
    .act-product-attribute select,
    .act-variation-dropdown {
        padding: 10px!important;
        font-size: 14px;
    }
    
    .act-add-to-cart,
    .act-add-variation-to-cart {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .act-order-summary {
        padding: 30px;
        position: sticky;
        top: 20px;
    }
    
    .act-product-table-container {
        padding: 20px;
    }
    
    .act-email-section {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Loading States */
.act-loading {
    position: relative;
}

.act-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: act-spin 1s linear infinite;
}

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

/* Custom scrollbar for webkit browsers */
.act-order-summary::-webkit-scrollbar {
    width: 6px;
}

.act-order-summary::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.act-order-summary::-webkit-scrollbar-thumb {
    background: var(--act-button-bg, #007bff);
    border-radius: 3px;
}

.act-order-summary::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.8);
} 