/* 
 * Jiinubi Standard Cart Deep Enhancement 
 * Primary Brand Color: #3D6092
 * Namespace: #order-standard_cart
 */

:root {
    --jiinubi-primary: #3D6092;
    --jiinubi-primary-dark: #2D4B72;
    --jiinubi-primary-light: #4F7BB8;
    --jiinubi-border-soft: rgba(0, 0, 0, 0.08);
    --jiinubi-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --jiinubi-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 1. Global Product Selection Grid (products.tpl) */
#order-standard_cart.products {
    padding: 2rem 0;
}

#order-standard_cart.product {
    background: #ffffff;
    border: 1px solid var(--jiinubi-border-soft);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--jiinubi-shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

#order-standard_cart.product:hover {
    border-color: var(--jiinubi-primary);
    box-shadow: var(--jiinubi-shadow-lg);
    transform: translateY(-8px);
}

#order-standard_cart.product header {
    background: transparent;
    border-bottom: 1px solid var(--jiinubi-border-soft);
    margin: -2.5rem -1.5rem 1.5rem;
    padding: 1.5rem;
}

#order-standard_cart.product header span {
    color: var(--jiinubi-primary);
    font-weight: 800;
    font-size: 1.3rem;
}

#order-standard_cart.product.price {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
}

/* 2. Order Summary Sidebar Optimization (ordersummary.tpl) */
#order-standard_cart.order-summary {
    background-color: #ffffff!important;
    border: 1px solid var(--jiinubi-border-soft)!important;
    border-radius: 12px!important;
    box-shadow: var(--jiinubi-shadow-md)!important;
    padding: 2rem!important;
    position: sticky;
    top: 20px;
}

#order-standard_cart.summary-container {
    font-size: 0.95rem!important;
    color: #475569;
}

#order-standard_cart.summary-container.total-due-today {
    background-color: rgba(61, 96, 146, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(61, 96, 146, 0.1);
}

#order-standard_cart.summary-container.total-due-today.amt {
    color: var(--jiinubi-primary);
    font-weight: 800;
    font-size: 2rem;
}

/* 3. Review & Checkout Table (viewcart.tpl) */
#order-standard_cart.view-cart-items-header {
    background-color: var(--jiinubi-primary)!important;
    color: #ffffff!important;
    border-radius: 12px 12px 0 0!important;
    padding: 1.25rem 1.5rem!important;
    font-weight: 600;
    border: none!important;
}

#order-standard_cart.view-cart-item {
    background: #ffffff;
    border: 1px solid var(--jiinubi-border-soft);
    border-top: none;
    padding: 1.5rem;
    transition: background-color 0.2s ease;
}

#order-standard_cart.view-cart-item:last-child {
    border-radius: 0 0 12px 12px;
}

#order-standard_cart.view-cart-item:hover {
    background-color: #f8fafc;
}

/* 4. Product Configuration & Modern Controls (configureproduct.tpl) */
#order-standard_cart.field-container {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--jiinubi-border-soft);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

#order-standard_cart.sub-heading {
    border-bottom: 2px solid var(--jiinubi-primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--jiinubi-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

#order-standard_cart select.form-control, 
#order-standard_cart input.form-control {
    height: 50px!important;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

#order-standard_cart.form-control:focus {
    border-color: var(--jiinubi-primary);
    box-shadow: 0 0 0 4px rgba(61, 96, 146, 0.1);
}

/* 5. Domain Registration UI (domainregister.tpl) */
#order-standard_cart.domain-selection-area {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--jiinubi-shadow-md);
    margin-bottom: 2rem;
}

#order-standard_cart.tld-pricing-table thead th {
    background-color: var(--jiinubi-primary);
    color: #ffffff;
    padding: 1.25rem;
    border: none;
}

#order-standard_cart.domain-promo-box {
    border: 2px dashed var(--jiinubi-primary-light);
    border-radius: 12px;
    background: rgba(61, 96, 146, 0.03);
    padding: 1.5rem;
}

/* 6. Checkout & Payment Selection (checkout.tpl) */
#order-standard_cart.payment-methods-container.cc-input-container {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

#order-standard_cart.payment-methods-container.cc-input-container.active {
    border-color: var(--jiinubi-primary);
    background-color: rgba(61, 96, 146, 0.02);
    box-shadow: var(--jiinubi-shadow-sm);
}

/* 7. Buttons & Conversions */
#order-standard_cart.btn-checkout, 
#order-standard_cart.btn-add-to-cart {
    background-color: var(--jiinubi-primary)!important;
    border: none!important;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(61, 96, 146, 0.25);
}

#order-standard_cart.btn-checkout:hover {
    background-color: var(--jiinubi-primary-dark)!important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(61, 96, 146, 0.35);
}