/*
Theme Name: eStore WooCommerce Child
Theme URI: https://example.com
Description: Child theme for eStore WooCommerce
Author: Your Name
Author URI: https://example.com
Template: estore-woocommerce
Version: 1.0.0
Text Domain: estore-woocommerce-child
*/

/* Custom CSS Below */

/* =========================================
   CertsIQ Exam Info Box Styles
========================================= */

.ciq-exam-info-box {
    width: 100%;
    margin: 30px 0;
    padding: 25px;
    border-radius: 12px;
    background-color: #0a2540; /* Matching Theme Deep Navy */
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: #aab8c5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ciq-info-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    letter-spacing: 0.5px;
}

.ciq-exam-info-list {
    display: flex;
    flex-direction: column;
}

.ciq-info-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border-radius: 6px;
}

.ciq-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ciq-info-row:hover {
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 15px; /* Smooth slide effect */
}

.ciq-info-icon {
    font-size: 18px;
    margin-right: 15px;
    line-height: 1.2;
    opacity: 0.9;
}

.ciq-info-label {
    font-weight: 600;
    color: #ffffff;
    min-width: 120px;
    margin-right: 10px;
    line-height: 1.4;
}

.ciq-info-value {
    font-weight: 400;
    color: #e2e8f0;
    flex-grow: 1;
    line-height: 1.4;
}

.ciq-exam-shortcode {
    font-weight: 700;
    color: #00d4ff; /* Tech Cyan Accent */
    margin-left: 6px;
    background-color: rgba(0, 212, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/*
 * End CSS for exam info shortcode
 */
 /* Theme Name: eStore WooCommerce Child
Template: estore-woocommerce 
*/

/* =========================================
   CertsIQ Custom Homepage Styles
========================================= */
/* =========================================
   CertsIQ Modern Custom Homepage Styles
========================================= */

:root {
    --ciq-primary: #0a2540;   /* Deep Navy for Trust */
    --ciq-accent: #00d4ff;    /* Tech Cyan for CTAs */
    --ciq-text: #425466;
    --ciq-light: #f6f9fc;
}

.certsiq-home-modern { font-family: 'Inter', 'Open Sans', sans-serif; color: var(--ciq-text); line-height: 1.7; }
.ciq-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ciq-section { padding: 80px 0; }
.ciq-bg-light { background-color: var(--ciq-light); }
.ciq-bg-dark { background-color: var(--ciq-primary); color: #fff; }

/* Section Headers */
.ciq-section-header { text-align: center; margin-bottom: 50px; }
.ciq-section-header h2 { font-size: 32px; color: var(--ciq-primary); font-weight: 800; margin-bottom: 10px; }
.ciq-bg-dark .ciq-section-header h2 { color: #fff; }
.ciq-section-header p { font-size: 18px; color: var(--ciq-text); }

/* Hero Section */
.ciq-hero-modern { background: linear-gradient(135deg, #0a2540 0%, #173d63 100%); padding: 100px 0; color: #fff; overflow: hidden; }
.ciq-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.ciq-badge { display: inline-block; background: rgba(0, 212, 255, 0.15); color: var(--ciq-accent); padding: 5px 15px; border-radius: 50px; font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.ciq-h1 { font-size: 46px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; color: #fff; }
.ciq-lead { font-size: 18px; color: #c3d4e6; margin-bottom: 35px; max-width: 90%; }
.ciq-hero-image img { width: 100%; height: auto; animation: float 6s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Search Box */
.ciq-search-box { margin-bottom: 25px; }
.ciq-search-form { display: flex; max-width: 500px; background: #fff; padding: 5px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.ciq-search-field { flex: 1; border: none; padding: 15px; font-size: 16px; border-radius: 5px; outline: none; }
.ciq-search-btn { background: var(--ciq-accent); color: var(--ciq-primary); border: none; padding: 0 30px; font-weight: bold; font-size: 16px; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.ciq-search-btn:hover { background: #00bce6; }

/* Trust Mini */
.ciq-trust-mini { display: flex; gap: 20px; font-size: 13px; color: #aab8c5; }

/* Vendor Grid */
.ciq-vendor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.ciq-vendor-card { background: #fff; padding: 30px 20px; text-align: center; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); text-decoration: none; border: 1px solid #eaeaea; transition: transform 0.3s, box-shadow 0.3s; }
.ciq-vendor-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent; }
.ciq-vendor-card img { height: 60px; margin-bottom: 15px; }
.ciq-vendor-card h3 { color: var(--ciq-primary); font-size: 18px; margin: 0; font-weight: 700; }

/* Features Grid */
.ciq-features-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.ciq-feature-card { text-align: center; }
.ciq-feature-card .icon { font-size: 45px; margin-bottom: 20px; }
.ciq-feature-card h4 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.ciq-feature-card p { color: #aab8c5; font-size: 15px; }

/* SEO Block */
.ciq-seo-block h2, .ciq-seo-block h3 { color: var(--ciq-primary); margin-bottom: 15px; }
.ciq-seo-block p { margin-bottom: 20px; font-size: 16px; color: #555; }
.ciq-seo-block a { color: var(--ciq-primary); text-decoration: underline; font-weight: bold; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .ciq-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .ciq-lead { margin: 0 auto 30px; }
    .ciq-search-form { margin: 0 auto; }
    .ciq-trust-mini { justify-content: center; flex-wrap: wrap; }
    .ciq-h1 { font-size: 36px; }
}
@media (max-width: 576px) {
    .ciq-search-form { flex-direction: column; }
    .ciq-search-btn { padding: 15px; margin-top: 5px; }
}

/* =========================================
   CertsIQ Custom Modern Header
========================================= */

/* Reset body margins that might cause gaps */
body { margin: 0; padding: 0; }

.ciq-site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}

.ciq-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Fixes */
.ciq-logo img {
    max-height: 45px;
    width: auto;
}

/* Navigation Styles */
.ciq-main-navigation .ciq-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.ciq-main-navigation .ciq-nav-list li a {
    text-decoration: none;
    color: #425466;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.ciq-main-navigation .ciq-nav-list li a:hover {
    color: #00d4ff;
}

/* Header Actions (My Account & Cart) */
.ciq-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ciq-action-btn {
    text-decoration: none;
    color: #0a2540;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ciq-cart-btn {
    background-color: #f6f9fc;
    padding: 8px 15px;
    border-radius: 50px;
    transition: background 0.3s;
}

.ciq-cart-btn:hover {
    background-color: #e2e8f0;
}

.ciq-cart-count {
    background: #00d4ff;
    color: #0a2540;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .ciq-header-container {
        flex-direction: column;
        gap: 15px;
    }
    .ciq-main-navigation .ciq-nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* =========================================
   CertsIQ Custom Modern Footer
========================================= */

.ciq-site-footer {
    background-color: #0a2540; /* Deep Navy to match Hero */
    color: #aab8c5;
    font-family: 'Inter', 'Open Sans', sans-serif;
    padding-top: 70px;
    border-top: 4px solid #00d4ff; /* Tech Cyan Accent Line */
}

.ciq-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ciq-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.ciq-footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ciq-footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ciq-trust-badges span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #00d4ff;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Footer Links List */
.ciq-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ciq-footer-links li {
    margin-bottom: 12px;
}

.ciq-footer-links a {
    text-decoration: none;
    color: #aab8c5;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.ciq-footer-links a:hover {
    color: #00d4ff;
    padding-left: 5px; /* Nice sliding effect on hover */
}

/* Footer Bottom Strip */
.ciq-footer-bottom {
    background-color: #06192d; /* Slightly darker shade for the bottom strip */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ciq-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #7b8e9d;
}

/* Responsive Grid for Mobile/Tablets */
@media (max-width: 991px) {
    .ciq-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .ciq-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ciq-footer-links a:hover {
        padding-left: 0; /* Remove sliding effect on mobile for better touch experience */
    }
    .ciq-trust-badges {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =========================================
   CertsIQ Mini Cart Dropdown
========================================= */

.ciq-cart-wrapper {
    position: relative;
    display: inline-block;
}

/* Dropdown Container Hidden by Default */
.ciq-mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

/* Show Dropdown on Hover */
.ciq-cart-wrapper:hover .ciq-mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(15px); /* Keeps it just below the header */
}

/* Invisible bridge so hover doesn't break when moving mouse down */
.ciq-cart-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

/* Overriding WooCommerce Default Mini Cart Styles */
.ciq-mini-cart-dropdown ul.cart_list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ciq-mini-cart-dropdown ul.cart_list li {
    position: relative;
    padding: 12px 0 12px 35px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.ciq-mini-cart-dropdown ul.cart_list li:last-child {
    border-bottom: none;
}

/* The Remove Item (X) Button */
.ciq-mini-cart-dropdown ul.cart_list li a.remove {
    position: absolute;
    left: 0;
    top: 15px;
    color: #ff4d4f !important;
    background: transparent !important;
    font-size: 20px !important;
    font-weight: bold;
    text-decoration: none;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.ciq-mini-cart-dropdown ul.cart_list li a.remove:hover {
    color: #fff !important;
    background: #ff4d4f !important;
}

/* Item Name */
.ciq-mini-cart-dropdown ul.cart_list li a {
    color: #0a2540;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.ciq-mini-cart-dropdown ul.cart_list li a:hover {
    color: #00d4ff;
}

/* Quantity and Price */
.ciq-mini-cart-dropdown .quantity {
    color: #7b8e9d;
    font-size: 13px;
    margin-top: 5px;
}

/* Subtotal Section */
.ciq-mini-cart-dropdown .woocommerce-mini-cart__total {
    text-align: center;
    padding: 15px 0;
    margin: 10px 0;
    border-top: 2px solid #f6f9fc;
    font-weight: 800;
    color: #0a2540;
}

/* View Cart & Checkout Buttons */
.ciq-mini-cart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.ciq-mini-cart-dropdown .woocommerce-mini-cart__buttons a {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s ease;
}

.ciq-mini-cart-dropdown .woocommerce-mini-cart__buttons a.button:not(.checkout) {
    background: #f6f9fc;
    color: #0a2540;
}

.ciq-mini-cart-dropdown .woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
    background: #e2e8f0;
}

.ciq-mini-cart-dropdown .woocommerce-mini-cart__buttons a.checkout {
    background: #00d4ff;
    color: #0a2540;
}

.ciq-mini-cart-dropdown .woocommerce-mini-cart__buttons a.checkout:hover {
    background: #00bce6;
}

/* Empty Cart Text */
.ciq-mini-cart-dropdown .woocommerce-mini-cart__empty-message {
    text-align: center;
    color: #7b8e9d;
    padding: 20px 0;
    margin: 0;
}

/* =========================================
   CertsIQ All Vendors Page Styles
========================================= */

.ciq-vendor-certs-container {
    padding: 60px 20px;
    font-family: 'Inter', 'Open Sans', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

/* Modern Search Bar */
.ciq-search-bar {
    text-align: center;
    margin-bottom: 50px;
}

#ciq-cert-search {
    width: 100%;
    max-width: 600px;
    padding: 18px 30px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background-color: #f6f9fc;
    color: #0a2540;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

#ciq-cert-search:focus {
    border-color: #00d4ff;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

#ciq-cert-search::placeholder {
    color: #aab8c5;
}

/* Grid Layout */
.ciq-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Individual Vendor Box */
.ciq-cert-box {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: block;
}

.ciq-cert-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #00d4ff; /* Tech Cyan on hover */
}

.ciq-cert-name {
    color: #0a2540; /* Deep Navy */
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 800;
}

/* Exam Count Badge Style */
.ciq-cert-exams {
    color: #7b8e9d;
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    display: inline-block;
    background: #f6f9fc;
    padding: 6px 15px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.ciq-no-vendors {
    text-align: center;
    font-size: 18px;
    color: #7b8e9d;
    grid-column: 1 / -1;
}
  /**
 * End All Vendor Page
 */
 
 /* =========================================
   CertsIQ Homepage New Sections
========================================= */

/* Stats Bar */
.ciq-stats-bar {
    background-color: #00d4ff;
    padding: 20px 0;
    color: #0a2540;
}
.ciq-stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}
.ciq-stats-grid .stat-item {
    font-size: 16px;
    margin: 10px;
}
.ciq-stats-grid .stat-item strong {
    font-size: 24px;
    font-weight: 900;
    display: block;
    margin-bottom: 5px;
}

/* Vendor Showcase Section */
.ciq-vendor-showcase .showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.ciq-vendor-showcase h2 {
    color: #0a2540;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}
.view-all-btn {
    color: #1e5ba9;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.view-all-btn:hover {
    color: #00d4ff;
}

@media (max-width: 768px) {
    .ciq-vendor-showcase .showcase-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}