/* ============================================
   Dharlait WHMCS Custom Theme - Premium Products Only
   ============================================ */

/* ── Brand Colors for Products ── */
:root {
    --brand-primary: #004aad;
    --brand-secondary: #f37021;
    --brand-secondary-dark: #d65f1a;
    --brand-green: #10b981;
    --brand-dark: #0f172a;
    --brand-gradient: linear-gradient(135deg, #004aad 0%, #0ea5e9 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --radius-lg: 16px;
}

/* ── Products / Store Page ── */

/* Product Cards */
#order-standard_cart .product {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#order-standard_cart .product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

#order-standard_cart .product header {
    background: var(--brand-gradient);
    color: #ffffff;
    padding: 24px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    border-radius: 0;
}

#order-standard_cart .product header span {
    color: #ffffff !important;
}

#order-standard_cart .product header .qty {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 4px;
}

#order-standard_cart .product .product-desc {
    padding: 24px;
    flex-grow: 1;
}

#order-standard_cart .product .product-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#order-standard_cart .product .product-desc ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

#order-standard_cart .product .product-desc ul li:last-child {
    border-bottom: none;
}

#order-standard_cart .product .product-desc ul li .feature-value {
    font-weight: 700;
    color: var(--brand-primary);
}

#order-standard_cart .product .product-desc ul li::before {
    content: "✓";
    color: var(--brand-green);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

#order-standard_cart .product footer {
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    background: #fafbfc;
}

#order-standard_cart .product .product-pricing {
    margin-bottom: 16px;
}

#order-standard_cart .product .product-pricing .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -1px;
}

/* Order Now Button */
#order-standard_cart .btn-order-now {
    background: var(--brand-secondary) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 32px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.02em;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(243, 112, 33, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
    display: inline-block;
}

#order-standard_cart .btn-order-now:hover {
    background: var(--brand-secondary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.4);
}

/* ── Responsive Tweaks ── */
@media (max-width: 768px) {
    #order-standard_cart .product header {
        font-size: 1.1rem;
        padding: 18px;
    }
}

/* ── Domain Search Form Redesign ── */
.home-domain-search.bg-white {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    margin: 40px auto;
    position: relative;
    z-index: 10;
}

.home-domain-search h2 {
    font-weight: 800;
    color: var(--brand-dark, #0f172a);
    margin-bottom: 25px;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.home-domain-search .input-group-wrapper {
    background: #f8fafc;
    border-radius: 12px;
    padding: 8px;
    border: 2px solid var(--brand-primary, #004aad) !important;
    transition: all 0.3s ease;
}

.home-domain-search .input-group-wrapper:focus-within {
    border-color: var(--brand-primary, #004aad);
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.1);
    background: #ffffff;
}

.home-domain-search .form-control,
.home-domain-search textarea {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.15rem;
    padding: 15px 20px;
    color: #334155;
    resize: none;
}

.home-domain-search .form-control:focus,
.home-domain-search textarea:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Modernizing the Search & Transfer Buttons */
.home-domain-search .btn-primary {
    background: var(--brand-gradient, linear-gradient(135deg, #004aad 0%, #0ea5e9 100%)) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 35px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.25) !important;
    transition: all 0.3s ease !important;
}

.home-domain-search .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.35) !important;
    filter: brightness(1.1);
}

.home-domain-search .btn-success {
    background: #10b981 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25) !important;
    transition: all 0.3s ease !important;
}

.home-domain-search .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35) !important;
    filter: brightness(1.1);
}

/* Adjust advanced options checkboxes */
.home-domain-search label {
    font-weight: 500;
    color: #64748b;
    margin-top: 10px;
    cursor: pointer;
}

/* Fix for View All Pricing overlapping */
.home-domain-search .input-group-wrapper {
    margin-bottom: 25px !important;
}
.home-domain-search a.btn-link {
    margin-top: 25px !important;
    clear: both !important;
    display: inline-block !important;
    float: none !important;
    text-align: left !important;
    position: relative;
    z-index: 100;
}


/* Placeholder Animation */
@keyframes placeholderPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; color: var(--brand-primary, #004aad); }
    100% { opacity: 0.5; }
}
.home-domain-search .form-control::placeholder {
    animation: placeholderPulse 2s infinite;
    color: #94a3b8;
}



/* Homepage Hosting Pricing Tables */
.pricing-section {
    padding: 60px 0;
    background: #f8fafc;
}
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
    border-color: var(--brand-primary, #004aad);
}
.pricing-card.popular {
    border: 2px solid var(--brand-primary, #004aad);
    position: relative;
}
.pricing-card.popular .badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient, linear-gradient(135deg, #004aad 0%, #0ea5e9 100%));
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}
.pricing-icon {
    font-size: 3rem;
    color: var(--brand-primary, #004aad);
    margin-bottom: 20px;
}
.pricing-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark, #0f172a);
    margin-bottom: 15px;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-primary, #004aad);
    margin-bottom: 20px;
}
.pricing-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}
.pricing-features li {
    padding: 10px 0;
    color: #475569;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}
.pricing-features li i {
    color: var(--brand-green, #10b981);
    margin-right: 10px;
}
.pricing-card .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
}

