/**
 * Twenty-Six Cart Modernization
 * Modern styling for cart sidebar and product cards
 */

/* ===== CSS VARIABLES (inherit from main template) ===== */
:root {
    --cart-primary: #00d4ff;
    --cart-secondary: #a855f7;
    --cart-accent: #c026d3;
    --cart-dark: #0f0a1a;
    --cart-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
    --cart-gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --cart-gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --cart-border: rgba(168, 85, 247, 0.15);
    --cart-shadow: 0 4px 30px rgba(0, 212, 255, 0.1);
    --cart-radius: 16px;
}

/* ===== CART LAYOUT IMPROVEMENTS ===== */
#order-standard_cart {
    padding: 40px 0 60px;
}

/* Make order content use 95% width instead of Bootstrap container max-widths */
body.template-orderforms-twenty-six_cart #wrapper {
    max-width: 95%;
    width: 95%;
}

#order-standard_cart .row {
    display: flex;
    flex-wrap: wrap;
}

/* ===== MODERN SIDEBAR ===== */
/* Fixed width sidebar (280px) on desktop */
#order-standard_cart .cart-sidebar {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
    padding-left: 0;
    padding-right: 20px;
}

/* Expand cart body to fill remaining space */
#order-standard_cart .cart-body {
    flex: 1 !important;
    max-width: calc(100% - 300px) !important;
}

/* Reset sidebar to full width on mobile */
@media (max-width: 991.98px) {
    #order-standard_cart .cart-sidebar {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-right: 0;
    }
    
    #order-standard_cart .cart-body {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .cart-sidebar .card-sidebar {
    background: #fff;
    border-radius: var(--cart-radius);
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#order-standard_cart .cart-sidebar .card:hover {
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.2);
}

/* Sidebar Header */
#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    border: none;
    padding: 16px 20px;
    position: relative;
}

#order-standard_cart .cart-sidebar .panel-heading::before,
#order-standard_cart .cart-sidebar .card-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cart-gradient);
}

#order-standard_cart .cart-sidebar .panel-title,
#order-standard_cart .cart-sidebar .card-header h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#order-standard_cart .cart-sidebar .panel-title i,
#order-standard_cart .cart-sidebar .card-header h3 i {
    font-size: 1rem;
    opacity: 0.9;
}

#order-standard_cart .cart-sidebar .panel-title .fa-chevron-up,
#order-standard_cart .cart-sidebar .card-header .fa-chevron-up,
#order-standard_cart .cart-sidebar .panel-minimise,
#order-standard_cart .cart-sidebar .card-minimise {
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

/* Sidebar List Items */
#order-standard_cart .cart-sidebar .list-group {
    padding: 8px;
}

#order-standard_cart .cart-sidebar .list-group-item {
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 2px 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#order-standard_cart .cart-sidebar .list-group-item i {
    width: 20px;
    text-align: center;
    color: var(--cart-secondary);
    font-size: 0.95rem;
}

#order-standard_cart .cart-sidebar .list-group-item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    color: var(--cart-secondary);
    transform: translateX(4px);
}

#order-standard_cart .cart-sidebar .list-group-item.active {
    background: var(--cart-gradient) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

#order-standard_cart .cart-sidebar .list-group-item.active i {
    color: #fff;
}

/* Sidebar Panel Body */
#order-standard_cart .cart-sidebar .panel-body,
#order-standard_cart .cart-sidebar .card-body {
    padding: 16px 20px;
}

/* ===== PAGE HEADER / CATEGORY TITLE ===== */
#order-standard_cart .header-lined {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    text-align: center;
}

#order-standard_cart .header-lined .category-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--cart-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

#order-standard_cart .header-lined .category-tagline {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== MODERN PRODUCT CARDS ===== */
#order-standard_cart .products {
    margin: 0;
}

#order-standard_cart .products .row {
    margin: -12px;
    align-items: stretch;
}

#order-standard_cart .products .col-md-6,
#order-standard_cart .products .col-lg-4 {
    padding: 12px;
    display: flex;
}

/* All columns get same top padding so cards align */
#order-standard_cart .products .col-lg-4,
#order-standard_cart .products .col-md-6 {
    padding-top: 28px;
}

/* Featured card - remove margin so it matches other cards height */

#order-standard_cart .products .product {
    background: #fff;
    border-radius: var(--cart-radius);
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: visible;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
}

#order-standard_cart .products .product:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.3);
}

/* ===== FEATURED / POPULAR CARD ===== */
#order-standard_cart .products .product.is-featured {
    border: 3px solid transparent;
    background: 
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f59e0b 100%) border-box;
    border-radius: var(--cart-radius);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.25);
    height: 100%;
}

#order-standard_cart .products .product.is-featured:hover {
    box-shadow: 0 15px 45px rgba(249, 115, 22, 0.35);
}

#order-standard_cart .products .product .featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

#order-standard_cart .products .product .featured-badge i {
    font-size: 0.85rem;
}

/* Product Header with Icon */
#order-standard_cart .products .product header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    padding: 30px 20px;
    margin: 0;
    border-radius: calc(var(--cart-radius) - 1px) calc(var(--cart-radius) - 1px) 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#order-standard_cart .products .product header span,
#order-standard_cart .products .product header h3,
#order-standard_cart .products .product header .product-name {
    color: #fff;
}

#order-standard_cart .products .product.is-featured header {
    border-radius: calc(var(--cart-radius) - 3px) calc(var(--cart-radius) - 3px) 0 0;
}

/* Product Icon in Header */
#order-standard_cart .products .product .product-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#order-standard_cart .products .product .product-icon svg {
    width: 56px;
    height: 56px;
}

/* Product Info Section */
#order-standard_cart .products .product .product-info {
    padding: 24px 20px 16px;
    text-align: center;
}

/* Product dropdown (e.g. Product Addons) */
#order-standard_cart .products .product .product-desc .form-group .form-control {
    height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

#order-standard_cart .products .product .product-info .product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 16px 0;
}

/* Product Pricing */
#order-standard_cart .products .product .product-pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

#order-standard_cart .products .product .product-pricing .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--cart-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

#order-standard_cart .products .product .product-pricing .billing-cycle {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

#order-standard_cart .products .product .product-pricing .setup-fee {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* Product Tagline */
#order-standard_cart .products .product .product-info .product-tagline {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

/* Product Description */
#order-standard_cart .products .product div.product-desc {
    flex: 1;
    width: 100%;
    float: none;
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: #4b5563;
    text-align: center;
}

#order-standard_cart .products .product div.product-desc p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #6b7280;
}

#order-standard_cart .products .product div.product-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#order-standard_cart .products .product div.product-desc ul li {
    padding: 6px 0;
    border-bottom: none;
    display: block;
    text-align: center;
    color: #4b5563;
}

#order-standard_cart .products .product div.product-desc ul li::before {
    display: none;
}

#order-standard_cart .products .product span.feature-value {
    color: #1e1b4b;
    font-weight: 700;
}

/* Product Footer */
#order-standard_cart .products .product footer {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0 24px 24px;
    background: transparent;
    text-align: center;
}

/* Order Button */
#order-standard_cart .products .product .btn-order-now {
    background: var(--cart-gradient);
    border: none;
    color: #fff;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
    width: 100%;
    max-width: 200px;
}

#order-standard_cart .products .product .btn-order-now:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
}

#order-standard_cart .products .product .btn-order-now i {
    font-size: 1rem;
}

/* ===== COLLAPSED SIDEBAR (Mobile) ===== */
#order-standard_cart .sidebar-collapsed {
    background: #fff;
    border-radius: var(--cart-radius);
    border: 1px solid rgba(168, 85, 247, 0.1);
    padding: 12px;
    margin-top: 0;
    margin-bottom: 25px;
}

#order-standard_cart .sidebar-collapsed .dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

#order-standard_cart .sidebar-collapsed .dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

#order-standard_cart .sidebar-collapsed .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
}

/* ===== ALERTS ===== */
#order-standard_cart .alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
}

#order-standard_cart .alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    color: #1e1b4b;
}

#order-standard_cart .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    #order-standard_cart .cart-body {
        padding: 0 15px;
    }
}

@media (max-width: 991px) {
    #order-standard_cart .products .product footer {
        padding: 16px 20px;
    }
    
    #order-standard_cart .products .product div.product-pricing span.price {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    #order-standard_cart .products .col-md-6 {
        padding: 10px 15px;
    }
    
    #order-standard_cart .header-lined h1 {
        font-size: 1.5rem;
    }
}

/* ===== DOMAIN REGISTER (SEARCH + RESULTS) ===== */
/* Search hero */
#order-standard_cart .domain-checker-container {
    margin: 10px 0 30px;
}

#order-standard_cart .domain-checker-bg {
    background: linear-gradient(135deg, rgba(30,27,75,1) 0%, rgba(49,46,129,1) 50%, rgba(30,27,75,1) 100%);
    border-radius: var(--cart-radius);
    padding: 28px 18px 32px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.5);
}

#order-standard_cart .domain-checker-bg .input-group-box {
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    overflow: hidden;
}

#order-standard_cart .domain-checker-bg .form-control {
    border-radius: 999px 0 0 999px;
    border: none;
    padding-left: 20px;
    font-size: 1rem;
}

#order-standard_cart .domain-checker-bg .btn-primary {
    border-radius: 0 999px 999px 0;
    padding: 0 26px;
    font-weight: 600;
}

/* Primary result headline */
#order-standard_cart #DomainSearchResults {
    margin-top: 25px;
}

#order-standard_cart .domain-checker-result-headline {
    background: #0f172a;
    border-radius: var(--cart-radius);
    padding: 18px 20px;
    color: #e5e7eb;
    box-shadow: 0 16px 40px rgba(15,23,42,0.55);
}

#order-standard_cart .domain-checker-result-headline p {
    margin-bottom: 0.35rem;
}

#order-standard_cart .domain-checker-result-headline .domain-available {
    color: #22c55e;
    font-weight: 600;
}

#order-standard_cart .domain-checker-result-headline .domain-checker-unavailable {
    color: #f97316;
}

#order-standard_cart .domain-checker-result-headline .btn {
    margin-top: 0.5rem;
}

/* Spotlight and suggested domains panels */
#order-standard_cart .spotlight-tlds,
#order-standard_cart .suggested-domains {
    margin-top: 24px;
}

#order-standard_cart .spotlight-tld {
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(15,23,42,0.45);
}

#order-standard_cart .suggested-domains .panel-heading.card-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: #fff;
}

#order-standard_cart .suggested-domains .panel-footer.card-footer {
    border-top: none;
}

#order-standard_cart .domain-lookup-result.list-group .list-group-item {
    border-left: none;
    border-right: none;
}

/* TLD pricing table tweaks */
#order-standard_cart .domain-pricing {
    margin-top: 35px;
}

#order-standard_cart .domain-pricing h4 {
    font-weight: 700;
    color: #111827;
}

#order-standard_cart .tld-filters .badge {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
}

#order-standard_cart .domain-pricing .bg-white {
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(15,23,42,0.12);
    overflow: hidden;
}

#order-standard_cart .tld-pricing-header {
    background: #f3f4f6;
    color: #111827 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

#order-standard_cart .tld-pricing-header .tld-column,
#order-standard_cart .tld-pricing-header .col-4 {
    padding: 0.75rem 1rem;
}

#order-standard_cart .tld-pricing-header .tld-column {
    border-right: 1px solid rgba(148, 163, 184, 0.5);
}

#order-standard_cart .tld-row {
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    transition: background 0.25s ease;
}

#order-standard_cart .tld-row:nth-child(even) {
    background: #f9fafb;
}

#order-standard_cart .tld-row:hover {
    background: rgba(168, 85, 247, 0.03);
}

/* ===== VIEW CART ITEMS (Checkout Page) ===== */
#order-standard_cart .view-cart-items-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    border-radius: var(--cart-radius) var(--cart-radius) 0 0;
    padding: 14px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

#order-standard_cart .view-cart-items {
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-top: none;
    border-radius: 0 0 var(--cart-radius) var(--cart-radius);
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--cart-secondary);
}

#order-standard_cart .view-cart-items .item {
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
    transition: background 0.2s ease;
}

#order-standard_cart .view-cart-items .item:nth-child(even) {
    background: #faf5ff;
}

#order-standard_cart .view-cart-items .item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
}

#order-standard_cart .view-cart-items .item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1b4b;
}

#order-standard_cart .view-cart-items .item-group {
    color: var(--cart-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

#order-standard_cart .view-cart-items .item-domain {
    color: #06b6d4 !important;
}

#order-standard_cart .view-cart-items .item-price span {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--cart-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#order-standard_cart .view-cart-items .item-price .cycle {
    font-size: 0.8rem;
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: #6b7280;
    color: #6b7280;
}

#order-standard_cart .btn-remove-from-cart {
    color: #9ca3af;
    transition: all 0.2s ease;
}

#order-standard_cart .btn-remove-from-cart:hover {
    color: #ef4444 !important;
    transform: scale(1.1);
}

#order-standard_cart .empty-cart {
    margin: -15px 20px 15px 0;
}

#order-standard_cart .empty-cart .btn {
    background: var(--cart-gradient);
    border: none;
    border-radius: 0 0 10px 10px;
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* ===== ORDER SUMMARY ===== */
#order-standard_cart .order-summary {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    border-radius: var(--cart-radius);
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

#order-standard_cart .order-summary h2 {
    padding: 18px 20px;
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#order-standard_cart .summary-container {
    background: #fff;
    border-radius: 0;
    padding: 20px;
    min-height: auto;
}

#order-standard_cart .order-summary .product-name {
    color: #1e1b4b;
    font-size: 1rem;
}

#order-standard_cart .order-summary .product-group {
    color: var(--cart-secondary);
}

#order-standard_cart .order-summary .summary-totals {
    border-color: rgba(168, 85, 247, 0.15);
    padding: 12px 0;
}

#order-standard_cart .order-summary .total-due-today .amt {
    font-size: 2rem;
    font-weight: 800;
    background: var(--cart-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#order-standard_cart .order-summary .btn-continue-shopping {
    color: var(--cart-secondary);
}

/* Checkout Button */
#order-standard_cart .btn-checkout {
    background: var(--cart-gradient);
    border: none;
    color: #fff;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
    transition: all 0.3s ease;
}

#order-standard_cart .btn-checkout:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.45);
}

/* ===== PROMO CODE TAB ===== */
#order-standard_cart .view-cart-tabs {
    margin-bottom: 25px;
}

#order-standard_cart .view-cart-tabs .nav-tabs {
    border: none;
    padding-left: 15px;
}

#order-standard_cart .view-cart-tabs .nav-tabs .nav-link {
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    background: #fff;
    color: #6b7280;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

#order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active,
#order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected=true] {
    background: #faf5ff;
    color: var(--cart-secondary);
    border-color: rgba(168, 85, 247, 0.15);
}

#order-standard_cart .view-cart-tabs .tab-content {
    background: #faf5ff;
    border-radius: 0 var(--cart-radius) var(--cart-radius) var(--cart-radius);
    border: 1px solid rgba(168, 85, 247, 0.1);
    padding: 20px;
}

#order-standard_cart .view-cart-promotion-code {
    background: #fff;
    border: 2px dashed rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
}

/* ===== GATEWAY CHECKOUT ===== */
#order-standard_cart .view-cart-gateway-checkout {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: var(--cart-radius);
    border: 1px solid rgba(168, 85, 247, 0.1);
    padding: 25px;
}

/* ===== FORM INPUTS ===== */
#order-standard_cart .form-control {
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 5px 16px;
    transition: all 0.2s ease;
}

#order-standard_cart .form-control:focus {
    border-color: var(--cart-secondary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

#order-standard_cart .btn-primary {
    background: var(--cart-gradient);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

#order-standard_cart .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

#order-standard_cart .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
}

#order-standard_cart .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* ===== SERVICE RENEWAL CARDS ===== */
#order-standard_cart .header-lined h1 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--cart-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-renewals,
.domain-renewals {
    border-top: none !important;
    background: transparent !important;
    margin: 0 !important;
}

.service-renewals .service-renewal,
.domain-renewals .domain-renewal {
    background: #fff !important;
    border: 1px solid rgba(168, 85, 247, 0.1) !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 0.75rem !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.service-renewals .service-renewal:hover,
.domain-renewals .domain-renewal:hover {
    border-color: rgba(168, 85, 247, 0.2) !important;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.08);
    transform: translateY(-2px);
}

.service-renewals .service-renewal:nth-child(even),
.domain-renewals .domain-renewal:nth-child(even),
.addon-renewals .service-renewal:nth-child(even) {
    background: #fff !important;
}

.service-renewals .service-renewal h3,
.domain-renewals .domain-renewal h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    margin: 0 0 0.15rem !important;
}

.service-renewals .service-renewal h4,
.domain-renewals .domain-renewal h4 {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #a855f7 !important;
    margin: 0 0 0.5rem !important;
}

.service-renewals .service-renewal p,
.domain-renewals .domain-renewal p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

/* Renewal status badges */
.service-renewals .service-renewal .label,
.domain-renewals .domain-renewal .label {
    border-radius: 20px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

.service-renewals .service-renewal .label-warning,
.domain-renewals .domain-renewal .label-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #fff !important;
    border: none;
}

.service-renewals .service-renewal .label-info,
.domain-renewals .domain-renewal .label-info {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%) !important;
    color: #fff !important;
    border: none;
}

.service-renewals .service-renewal .label-danger,
.domain-renewals .domain-renewal .label-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    color: #fff !important;
    border: none;
}

.service-renewals .service-renewal .label-success,
.domain-renewals .domain-renewal .label-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    color: #fff !important;
    border: none;
}

/* Renewal period label */
.service-renewals .div-renewal-period-label {
    color: #a855f7 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

/* Ineligible */
.service-renewals .div-renewal-ineligible {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-renewals .div-renewal-ineligible i {
    color: #64748b;
}

/* Add to Cart button */
.service-renewals .btn-add-renewal-to-cart,
.domain-renewals .btn-add-renewal-to-cart {
    background: #fff !important;
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
    color: #374151 !important;
    border-radius: 10px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.15rem !important;
    transition: all 0.25s ease !important;
}

.service-renewals .btn-add-renewal-to-cart:hover,
.domain-renewals .btn-add-renewal-to-cart:hover {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.service-renewals .btn-add-renewal-to-cart .added,
.domain-renewals .btn-add-renewal-to-cart .added {
    color: #10b981 !important;
}

/* Addon renewals */
.addon-renewals {
    margin-top: 1rem !important;
}

.addon-renewals > div {
    border: 1px solid rgba(168, 85, 247, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.addon-renewals h4 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.addon-renewals .service-renewal {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    margin-bottom: 0 !important;
}

/* Hide/Show filter button */
.service-renewals-quick-filter {
    background: #fff !important;
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
    color: #374151 !important;
    border-radius: 10px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 0.45rem 1rem !important;
    transition: all 0.25s ease !important;
}

.service-renewals-quick-filter:hover {
    background: rgba(168, 85, 247, 0.05) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    color: #7c3aed !important;
}

/* Search filter */
.form-control.service-renewals-filter {
    border-radius: 10px !important;
    border: 1px solid rgba(168, 85, 247, 0.15) !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 0.85rem 0.5rem 2.5rem !important;
    background-position: 12px center !important;
    transition: all 0.25s ease !important;
}

.form-control.service-renewals-filter:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
}

/* View Cart button on renewal page */
#btnGoToCart {
    background: var(--cart-gradient) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease !important;
}

#btnGoToCart:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.4) !important;
}

/* Fix billing cycle dropdown width */
#inputBillingcycle,
select.select-inline,
.field-container select.form-control {
    width: auto !important;
    min-width: 250px !important;
    max-width: 100% !important;
    padding-right: 2.5rem !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
