/* WooCommerce Custom Styling for Broadband Fabric Theme */

/* Product Grid */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0ea5e9, #00d4ff);
    background-size: 200% 100%;
    animation: techGlow 4s ease-in-out infinite;
}

@keyframes techGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

/* Price */
.woocommerce ul.products li.product .price {
    color: #00d4ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .price del {
    color: #64748b;
    font-size: 1rem;
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #00d4ff;
}

/* Consulting Badge */
.product .consulting-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #00d4ff, #0ea5e9);
    color: #0f172a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

/* Buttons */
.woocommerce ul.products li.product .button,
.woocommerce button.button,
.woocommerce a.button {
    background: linear-gradient(135deg, #00d4ff 0%, #0ea5e9 100%);
    color: #0f172a;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: linear-gradient(135deg, #33dfff 0%, #00d4ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Single Product Page */
.woocommerce div.product {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.woocommerce div.product .product_title {
    color: #0f172a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.woocommerce div.product .price {
    color: #00d4ff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Consulting Details Tab */
.consulting-details-tab {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.consulting-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.1);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 600;
}

.delivery-methods,
.consulting-process,
.consulting-benefits {
    margin-bottom: 30px;
}

.delivery-methods h3,
.consulting-process h3,
.consulting-benefits h3 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.delivery-methods ul,
.consulting-process ol,
.consulting-benefits ul {
    margin-left: 20px;
}

.delivery-methods li,
.consulting-process li,
.consulting-benefits li {
    margin-bottom: 10px;
    color: #0f172a;
}

/* Cart & Checkout */
.woocommerce-cart,
.woocommerce-checkout {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.woocommerce table.shop_table {
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.woocommerce table.shop_table th {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border: none;
}

.woocommerce table.shop_table td {
    border-color: rgba(0, 212, 255, 0.1);
}

/* Checkout Form */
.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    outline: none;
}

/* Thank You Page */
.consulting-thankyou {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #00d4ff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.consulting-thankyou h3 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.consulting-thankyou ol {
    margin-left: 20px;
}

.consulting-thankyou li {
    margin-bottom: 8px;
    color: #0f172a;
}

/* Purchase Hours Page Styles */
.purchase-intro {
    padding: 3rem 0;
    text-align: center;
}

.purchase-intro h2 {
    color: #0f172a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0ea5e9);
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step p {
    color: #64748b;
    font-size: 0.9rem;
}

.all-packages {
    padding: 3rem 0;
    background: #f8fafc;
}

.packages-grid.detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.package-card.detailed {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.package-card.detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #00d4ff, #0ea5e9);
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.package-header h3 {
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.hourly-rate {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: #0f172a;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-savings {
    margin: 1.5rem 0;
}

.savings-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.package-comparison {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.package-comparison h3 {
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-table th {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: #0f172a;
}

.comparison-table tr:hover {
    background: #f8fafc;
}

.consulting-faq {
    padding: 3rem 0;
}

.consulting-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0f172a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.faq-item h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

.consulting-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
}

.consulting-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.consulting-cta p {
    color: #33dfff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        padding: 20px;
    }
    
    .woocommerce div.product {
        padding: 20px;
    }
    
    .consulting-specs {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-cart,
    .woocommerce-checkout {
        padding: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .packages-grid.detailed {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
