/* ===================================================================================

* Theme Name: Curious Check Child
* Theme URI: https://curiouscheck.com/
* Author: Curious Check
* Author URI: https://curiouscheck.com/
* Description: Curious Check Child Theme
* Version: 1.0
* Template: lexend
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* ========================================
   Curious Check Single Product Styles
======================================== */

:root {
    --cc-primary: #33D886;
    --cc-primary-dark: #2bc770;
    --cc-secondary: #f8f9fa;
    --cc-text: #333333;
    --cc-text-light: #666666;
    --cc-text-muted: #999999;
    --cc-border: #e9ecef;
    --cc-success: #28a745;
    --cc-warning: #ffc107;
    --cc-danger: #dc3545;
    --cc-white: #ffffff;
    --cc-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --cc-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cc-single-product {
    max-width: 1440px;
    margin: 40px auto;
}

.cc-product-info-wrap {
    display: flex
;
    flex-direction: column;
    gap: 30px;
}

form.product-actions {
    width: 100% !important;
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: block;
}

.quantity {
    display: none;
}

button.cc-btn-primary.button.alt {
    width: 100%;
    padding: 15px;
    background-color: #33D886;
    border-radius: 14px;
    color: #fff;
    transition: all 0.3s ease;
} 

button.cc-btn-primary.button.alt:hover {
    background-color: #2bc770;
}



/* Breadcrumb */
.cc-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--cc-text-light);
}

.cc-breadcrumb a {
    color: var(--cc-primary);
    text-decoration: none;
}

.cc-breadcrumb a:hover {
    text-decoration: underline;
}

.cc-breadcrumb .separator {
    margin: 0 8px;
    color: var(--cc-text-muted);
}

.cc-breadcrumb .current {
    color: var(--cc-text);
}

/* Product Header */
.cc-product-header {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 40px;
}

.cc-product-info {
    display: flex;
    gap: 20px;
}

.cc-product-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--cc-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cc-product-icon svg {
    width: 32px;
    height: 32px;
}

.cc-product-details {
    flex: 1;
}

.cc-product-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--cc-text);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cc-product-description {
    font-size: 16px;
    color: var(--cc-text-light);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.cc-product-features-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.cc-feature-badge {
    background: var(--cc-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cc-product-rating {
    margin-top: 16px;
}

.cc-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-stars .star {
    color: #ffd700;
    font-size: 16px;
}

.cc-stars .rating-text {
    font-size: 14px;
    color: var(--cc-text-light);
    margin-left: 8px;
}

/* Pricing Card */
.cc-pricing-card {
    background: var(--cc-white);
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    box-shadow: var(--cc-shadow);
}

.cc-price-section {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cc-border);
    margin-bottom: 20px;
}

.cc-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.cc-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--cc-primary);
}

.cc-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--cc-primary);
}

.cc-price-original {
    font-size: 18px;
    color: var(--cc-text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.cc-price-label {
    font-size: 14px;
    color: var(--cc-text-light);
}

.cc-savings-badge {
    background: #fff2f2;
    color: #d63638;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

.cc-pricing-details {
    margin-bottom: 24px;
}

.cc-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--cc-border);
}

.cc-detail-row:last-child {
    border-bottom: none;
}

.cc-detail-label {
    font-size: 14px;
    color: var(--cc-text-light);
}

.cc-detail-value {
    font-size: 14px;
    color: var(--cc-text);
    font-weight: 500;
    text-align: right;
}

/* Add to Cart Section */


.cc-add-to-cart .cart {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cc-add-to-cart .quantity {
    flex: 0 0 80px;
}

.cc-add-to-cart .quantity input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--cc-border);
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.cc-add-to-cart .single_add_to_cart_button {
    flex: 1;
    background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cc-add-to-cart .single_add_to_cart_button:hover {
    background: var(--cc-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--cc-shadow-hover);
}

/* Benefits List */
.cc-benefits-list {
    padding-top: 20px;
    border-top: 1px solid var(--cc-border);
}

.cc-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    color: #0369a1;
    font-size: 14px;
    font-weight: 500;
}

.cc-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--cc-text);
}

.cc-benefit-item i::before {
    content: "✓";
    color: var(--cc-success);
    font-weight: bold;
}

/* Product Tabs */
.cc-product-tabs {
    background: var(--cc-white);
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--cc-shadow);
}

.cc-tab-nav {
    display: flex;
    background: var(--cc-secondary);
    border-bottom: 1px solid var(--cc-border);
}

.cc-tab-button {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--cc-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.cc-tab-button:hover {
    color: var(--cc-text);
    background: rgba(51, 216, 134, 0.1);
}

.cc-tab-button.active {
    color: var(--cc-primary);
    background: var(--cc-white);
    border-bottom-color: var(--cc-primary);
}

.cc-tab-content {
    padding: 32px;
}

.cc-tab-pane {
    display: none;
}

.cc-tab-pane.active {
    display: block;
}

.cc-tab-pane h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--cc-text);
    margin: 0 0 20px 0;
}

.cc-tab-pane h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--cc-text);
    margin: 24px 0 16px 0;
}

.cc-tab-pane h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--cc-text);
    margin: 16px 0 8px 0;
}

/* Service Description */
.cc-service-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--cc-text-light);
    margin-bottom: 32px;
}

/* Features Grid */
.cc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.cc-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--cc-text);
}

.cc-feature-item i::before {
    content: "✓";
    color: var(--cc-success);
    font-weight: bold;
    font-size: 16px;
}

/* Key Features */
.cc-key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.cc-key-features .cc-feature-item {
    padding: 16px;
    background: var(--cc-secondary);
    border-radius: 8px;
    border: 1px solid var(--cc-border);
}

/* Requirements List */

.cc-requirement-item {
    background: var(--cc-white);
    border: 1px solid var(--cc-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.cc-requirement-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cc-field-icon {
    width: 24px;
    height: 24px;
    background: #fff3cd;
    color: #856404;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.cc-field-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--cc-text);
    flex: 1;
}

.cc-required-badge {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.cc-requirement-description {
    font-size: 14px;
    color: var(--cc-text-light);
    line-height: 1.5;
}

/* Reviews */
.cc-reviews-summary {
    margin-bottom: 32px;
}

.cc-rating-overview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--cc-secondary);
    border-radius: 8px;
}

.cc-rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--cc-text);
}

.cc-rating-stars {
    display: flex;
    gap: 4px;
}

.cc-rating-stars .star {
    color: #ffd700;
    font-size: 20px;
}

.cc-rating-count {
    font-size: 16px;
    color: var(--cc-text-light);
}

.cc-reviews-placeholder {
    padding: 40px;
    text-align: center;
    color: var(--cc-text-light);
    background: var(--cc-secondary);
    border-radius: 8px;
}

/* Disclaimer */
.cc-disclaimer {
    background: #fff8e1;
    border: 1px solid #ffcc02;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
}

.cc-disclaimer h5 {
    color: #f57c00;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

.cc-disclaimer p {
    margin: 0;
    font-size: 14px;
    color: #e65100;
    line-height: 1.5;
}

/* Icons */
.icon-clock::before { content: "🕒"; }
.icon-check::before { content: "✓"; }
.icon-shield::before { content: "🛡️"; }
.icon-database::before { content: "📊"; }
.icon-user::before { content: "👤"; }
.icon-building::before { content: "🏢"; }
.icon-list::before { content: "📋"; }
.icon-map::before { content: "🗺️"; }

/* Responsive Design */
@media (max-width: 768px) {
    .cc-single-product {
        padding: 0 16px;
        margin: 20px auto;
    }

    .cc-product-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cc-product-info {
        flex-direction: column;
        gap: 16px;
    }

    .cc-product-icon {
        width: 56px;
        height: 56px;
        align-self: flex-start;
    }

    .cc-product-title {
        font-size: 24px;
    }

    .cc-pricing-card {
        order: -1;
    }

    .cc-tab-nav {
        flex-direction: column;
    }

    .cc-tab-button {
        text-align: left;
    }

    .cc-tab-content {
        padding: 24px 16px;
    }

    .cc-features-grid {
        grid-template-columns: 1fr;
    }

    .cc-key-features {
        grid-template-columns: 1fr;
    }

    .cc-add-to-cart .cart {
        flex-direction: column;
        gap: 12px;
    }

    .cc-add-to-cart .quantity {
        flex: none;
        width: 100%;
    }
}

/* ========================================
   Curious Check Shop/Services Page Styles
======================================== */

.cc-shop-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.cc-shop-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid var(--cc-border);
}

.cc-shop-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--cc-text);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.cc-shop-description {
    max-width: 600px;
    margin: 0 auto;
}

.cc-shop-description p {
    font-size: 16px;
    color: var(--cc-text-light);
    line-height: 1.6;
    margin: 0;
}

.cc-services-container {
    margin: 40px 0;
}

/* No Products State */
.cc-no-products {
    text-align: center;
    padding: 80px 20px;
    background: var(--cc-secondary);
    border-radius: 12px;
    margin: 40px 0;
}

.cc-no-products-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--cc-text);
    margin: 0 0 16px 0;
}

.cc-no-products-content p {
    font-size: 16px;
    color: var(--cc-text-light);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.cc-btn-primary {
    display: inline-block;
    background: var(--cc-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cc-btn-primary:hover {
    background: var(--cc-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--cc-shadow-hover);
    color: white;
    text-decoration: none;
}

/* Hide default WooCommerce elements we're not using */
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-pagination {
    display: none;
}

/* Override any conflicting WooCommerce styles */
.woocommerce .cc-shop-page {
    margin: 0 auto;
}

.woocommerce .cc-services-container .cc-services-grid {
    /* Ensure our custom grid styles take precedence */
    display: grid !important;
}

/* Responsive adjustments for shop page */
@media (max-width: 768px) {
    .cc-shop-page {
        padding: 0 16px;
    }

    .cc-shop-header {
        padding: 24px 16px;
        margin-bottom: 24px;
    }

    .cc-shop-title {
        font-size: 28px;
    }

    .cc-shop-description {
        padding: 0 16px;
    }

    .cc-no-products {
        padding: 40px 16px;
        margin: 24px 0;
    }
}

/* ========================================
   Curious Check Dedicated Services Page Styles
======================================== */

.cc-services-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.cc-services-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--cc-secondary) 0%, var(--cc-white) 100%);
    border-radius: 16px;
    border: 1px solid var(--cc-border);
}

.cc-page-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--cc-text);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.cc-page-description {
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.cc-page-description p {
    font-size: 18px;
    color: var(--cc-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Services Stats */
.cc-services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.cc-stat-item {
    text-align: center;
    padding: 16px;
    background: var(--cc-white);
    border-radius: 12px;
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
}

.cc-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 4px;
}

.cc-stat-label {
    font-size: 12px;
    color: var(--cc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cc-services-content {
    margin: 50px 0;
}

/* Trust Section */
.cc-trust-section {
    margin-top: 60px;
    padding: 50px 0;
    background: var(--cc-secondary);
    border-radius: 16px;
    text-align: center;
}

.cc-trust-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--cc-text);
    margin: 0 0 40px 0;
}

.cc-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.cc-trust-item {
    background: var(--cc-white);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--cc-shadow-hover);
}

.cc-trust-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.cc-trust-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--cc-text);
    margin: 0 0 12px 0;
}

.cc-trust-item p {
    font-size: 14px;
    color: var(--cc-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
    .cc-services-page {
        padding: 0 16px;
    }

    .cc-services-page-header {
        padding: 30px 16px;
        margin-bottom: 30px;
    }

    .cc-page-title {
        font-size: 32px;
    }

    .cc-page-description {
        padding: 0 16px;
    }

    .cc-services-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cc-trust-section {
        margin-top: 40px;
        padding: 30px 16px;
    }

    .cc-trust-section h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .cc-trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .cc-trust-item {
        padding: 20px 16px;
    }
}