/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* GLOBAL CONTAINER */
.elementor-widget .elementor-icon-list-icon svg {
    height: var(--e-icon-list-icon-size, 1em);
    width: var(--e-icon-list-icon-size, 1em);
}
.elementor-element ul.elementor-icon-list-items {
    padding: 0;
    list-style: none;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* --- HERO SECTION --- */
.product-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                url('https://nexuscables.com/wp-content/uploads/2026/02/page.jpg'); /* Placeholder: Replace with industrial background if available */
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #ffffff;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.hero-breadcrumb {
    font-size: 16px;
    font-weight: 500;
}

.hero-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero-breadcrumb a:hover {
    opacity: 0.8;
}

/* --- MAIN PRODUCT LAYOUT --- */
.single-product-container {
    padding: 80px 0;
    background-color: #ffffff;
}

.product-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* --- LEFT SIDE: IMAGE & SWATCHES --- */
.product-left {
    width: 40%;
}

.main-product-img {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
}

.product-color-swatches {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: flex-start;
}

.swatch-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.swatch-circle:hover {
    transform: scale(1.1);
}

.swatch-black { background-color: #000000; }
.swatch-blue  { background-color: #1b4d8d; }
.swatch-green { background-color: #009641; }
.swatch-red   { background-color: #e31e24; }
.swatch-yellow { background-color: #ffde00; }

/* --- RIGHT SIDE: CONTENT & TABS --- */
.product-right {
    width: 60%;
}

.product-entry-title {
    font-size: 38px;
    font-weight: 600;
    color: #333;
    margin: 0 0 40px 0;
    line-height: 1.25;
}

/* TABS STYLING */
.product-tabs-nav {
    display: flex;
    background-color: #eeeeee;
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.tab-trigger {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tab-trigger.active {
    background-color: #5d9e28;
    color: #fff;
}
button.tab-trigger {
    background: #dbe7f3;
    color: #1b4d8d;
}
.product-tabs-content {
    background-color: transparent;
    padding: 30px 0;
    border-bottom: 2px solid #eeeeee;
    margin-bottom: 50px;
}

.tab-pane {
    display: none;
}

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

/* LIST STYLES IN TABS */
.tab-pane ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-pane li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #555;
    font-weight: 500;
}

.tab-pane li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 24px;
    line-height: 1;
    color: #333;
}

/* --- ACTION BUTTONS --- */
.product-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}


.btn-action-pill {
    display: inline-block;
    padding: 14px 35px;
    background-color: #0b4d82;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    min-width: 240px;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-action-pill:hover {
    background-color: #083a62;
    transform: translateY(-2px);
}
.product-hero h1.hero-title {
    color: #fff;
    font-size: 42px;
}
.products-catalog {
    padding: 100px 0;
}
.product-category .products-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.product-image img.attachment-medium.size-medium.wp-post-image {
    width: 100%;
    padding: 20px;
    height: 270px;
    object-fit: contain;
}
.products-grid .product-item {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    color: #000;
    width: 25%;
    border-radius: 20px;
    overflow: hidden;
}

.products-grid .product-item h3 {
    color: #5d9e28;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
}

.product-category h2 {
    text-align: center;
    margin-bottom: 30px;
}

.product-category {
    margin-bottom: 50px;
}
.products-grid .product-item .product-image {
    margin-bottom: 20px;
}
/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .product-layout {
        gap: 40px;
    }
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
    }
    .product-left, .product-right {
        width: 100%;
    }
    .hero-title {
        font-size: 36px;
    }
    .product-actions {
        align-items: center;
                flex-direction: column;
    }
    .product-entry-title {
        font-size: 28px;
        margin-top: 20px;
    }
    .products-grid .product-item {
    width: 100%;
    text-align: center;
}
}
