/* ========================================= */
/* 1. CSS Variables & General Styles         */
/* ========================================= */
:root {
    --primary-color: #007bff;
    --secondary-color: #212529;
    --text-dark: #212529;
    --text-body: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ========================================= */
/* 8. Advanced Header Styles (Large Version) */
/* ========================================= */
.fixed-top-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Top Bar Styles */
.top-header {
    background-color: #212529;
    color: #f8f9fa;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-header .social-link {
    color: #f8f9fa;
    margin-left: 1rem;
    transition: color 0.3s;
}
.top-header .social-link:hover {
    color: var(--primary-color);
}

/* Main Header Styles */
.main-header .navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.logo-img {
    max-height: 55px; /* Increased logo size */
}

.main-header .nav-link {
    font-size: 1.1rem; /* Increased font size */
    font-weight: 600;
    padding: 0.5rem 1rem !important;
}

.main-header .btn-primary {
    font-size: 1rem; /* Increased button font size */
}


/* Adjust main content padding */
main#main-content {
    padding-top: 160px; /* Increased padding */
}

/* ========================================= */
/* Mega Menu Styles (Corrected)              */
/* ========================================= */

/* This targets the <li> item and makes it full-width */
.mega-menu-item {
    position: static;
}

/* This styles the dropdown itself to span the full width */
.mega-menu-item .mega-menu-dropdown {
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    border-top: 1px solid var(--primary-color);
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 2rem 0;
}

.mega-menu-dropdown .dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mega-menu-dropdown .dropdown-item:hover {
    color: var(--primary-color);
    background-color: transparent;
    padding-left: 2rem;
}
/* ========================================= */
/* 3. Homepage Sections                      */
/* ========================================= */

/* Hero Banner */
.hero-banner .carousel-item {
    height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-banner .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.hero-banner .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    left: 8%;
    right: auto;
    width: 50%;
    color: var(--white);
}

/* Features Section */
.feature-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.feature-box h6 {
    margin-bottom: 0;
    font-weight: 700;
}
.feature-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Featured Product Showcase */
.featured-product-image {
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 2rem;
}

.featured-product-content h4 {
    letter-spacing: 2px;
}

/* Product Card */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-card .card-img-top {
    height: 220px;
    object-fit: contain;
    padding: 1.5rem;
}

.product-card .card-footer {
    background: none;
    border-top: 1px solid var(--border-color);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--secondary-color);
    background-image: linear-gradient(45deg, #29323c, #485563);
    color: var(--white);
    padding: 5rem;
    border-radius: 15px;
    text-align: center;
}

/* ========================================= */
/* 4. Sidebar Styles                         */
/* ========================================= */

.sidebar-widget {
    margin-bottom: 2.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* Category List */
.category-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
}

/* Featured Products List */
.featured-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text-dark);
}

.featured-product-item:last-child {
    margin-bottom: 0;
}

.featured-product-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.featured-product-item .name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.featured-product-item .price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Sidebar Banner */
.sidebar-banner img {
    border-radius: 10px;
}

/* Main Content Section Title */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}


/* ========================================= */
/* 5. Modern Product Page (products.php)     */
/* ========================================= */

/* Sidebar Navigation */
.sidebar-nav .sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.sidebar-nav .list-group-item {
    font-weight: 500;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.sidebar-nav .list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.sidebar-nav .list-group-item:not(.active):hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Product Grid Title */
.product-grid-title {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Attractive Product Card */
.product-card-attractive {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.product-card-attractive:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card-attractive .product-image-container {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-attractive .card-img-top {
    max-height: 100%;
    object-fit: contain;
}

.product-card-attractive .card-body {
    padding: 1.5rem;
}

.product-card-attractive .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-card-attractive .product-sku {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: monospace;
    margin-bottom: 1rem;
}

/* ========================================= */
/* 6. Classic Product Details Page           */
/* ========================================= */

.product-breadcrumb .breadcrumb {
    background-color: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

.product-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: var(--primary-color);
}

.product-breadcrumb .breadcrumb-item.active {
    color: var(--text-light);
}

.product-gallery-classic .main-image-container {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.main-image-container img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.thumbnail-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s;
}

.thumbnail-image:hover, .thumbnail-image.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-details-panel {
    padding-left: 1.5rem;
}

.product-title-main {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.product-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #343a40;
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background-color: #1DA851;
    border-color: #1DA851;
}

.btn i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* ========================================= */
/* 7. Footer                                 */
/* ========================================= */
.site-footer {
    background-color: var(--secondary-color);
}

.footer-logo {
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.footer-heading {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: background-color 0.3s;
}

.social-icons .social-icon:hover {
    background-color: var(--primary-color);
    
}
/* ========================================= */
/* 7. Sidebar Styles                         */
/* ========================================= */

.sidebar-widget {
    margin-bottom: 2.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* Category List */
.category-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    transition: color 0.3s, padding-left 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Featured Products List */
.featured-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s;
    padding: 0.5rem;
    border-radius: 8px;
}

.featured-product-item:last-child {
    margin-bottom: 0;
}

.featured-product-item:hover {
    background-color: var(--bg-light);
}

.featured-product-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.featured-product-item .name {
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}

.featured-product-item .price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Sidebar Banner */
.sidebar-banner img {
    border-radius: 10px;
    transition: transform 0.3s;
}
.sidebar-banner a:hover img {
    transform: scale(1.03);
}

/* Main Content Section Title */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}
/* ========================================= */
/* 7. Footer Styles                          */
/* ========================================= */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
}

.footer-logo {
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons .social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}
/* ========================================= */
/* 10. Custom Banner Title Color             */
/* ========================================= */

/* Targets all banner titles */
.hero-banner .carousel-caption h1,
.promo-banner-center .promo-content h3,
.cta-banner .cta-content .display-6.fw-bold {
    color: #FFA300 !important; /* PANTONE 137 C Yellow */
}
/* ========================================= */
/* 22. Modern Rep Product Details Page       */
/* ========================================= */
.product-details-modern-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.product-details-modern-card .product-image-section {
    background-color: #f8f9fa;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.product-details-modern-card .product-info-section {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.product-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    display: block;
}

.info-grid p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.product-description {
    margin-bottom: 1.5rem;
}

.variations-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.variations-table-wrapper {
    margin-top: auto; /* Pushes table to the bottom */
}

.variations-table-wrapper .table {
    margin-bottom: 0;
}

.variations-table-wrapper .price {
    font-weight: 700;
    color: var(--primary-color);
}

.single-price-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}
/* ================================================= */
/* 23. Rep Products Page - Variations in Card        */
/* ================================================= */

.product-card-rep {
    border: 1px solid #dee2e6;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-card-rep:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image-container-rep {
    position: relative;
    background-color: #f8f9fa;
    padding: 2rem;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-card-rep .card-img-top {
    max-height: 100%;
    object-fit: contain;
}

.pieces-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ffc107; /* Bootstrap's warning yellow */
    color: #000;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.variations-table-rep {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.variations-table-rep .table {
    margin-bottom: 0;
}

.variations-table-rep .price {
    font-weight: 700;
}

.product-price-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}  
/* ================================================= */
/* 24. Rep Products Page - SKU with Pieces Badge     */
/* ================================================= */

.product-sku .pieces-badge {
    background-color: #ffc107; /* Bootstrap's warning yellow */
    color: #000;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 5px;
    margin-left: 0.5rem;
}
/* ========================================= */
/* 22. Modern Rep Product Details Page       */
/* ========================================= */
.product-details-modern-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.product-details-modern-card .product-image-section {
    background-color: #f8f9fa;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.product-details-modern-card .product-info-section {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.product-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    display: block;
}

.info-grid p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.product-description {
    margin-bottom: 1.5rem;
}

.variations-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.variations-table-wrapper {
    margin-top: auto; /* Pushes table to the bottom */
}

.variations-table-wrapper .table {
    margin-bottom: 0;
}

.variations-table-wrapper .price {
    font-weight: 700;
    color: var(--primary-color);
}

.single-price-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}
/* ========================================= */
/* 27. Modern Product Details Page           */
/* ========================================= */
.product-details-card-modern {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}

.gallery-container {
    padding: 2rem;
    background-color: #f8f9fa;
}

.main-image-view {
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.main-image-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-scroller {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.thumbnail-image:hover, .thumbnail-image.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.details-container {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
}

.info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.variations-area, .contact-area {
    margin-top: 1.5rem;
}

.variations-title, .contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
/* ========================================= */
/* 28. Modern Agents Page Styles             */
/* ========================================= */
.agent-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.agent-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.agent-location {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.agent-details-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
}

.agent-details-list li {
    margin-bottom: 0.75rem;
}

.agent-details-list strong {
    color: var(--text-dark);
    display: block;
}

.agent-details-list a {
    text-decoration: none;
    color: var(--primary-color);
}

.agent-card .card-footer {
    background-color: transparent;
    border-top: none;
    padding: 0 1.25rem 1.25rem;
}
/* ========================================= */
/* 29. Modern Contact Us Page                */
/* ========================================= */
.contact-info-card, .contact-form-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    text-decoration: none;
    color: var(--text-body);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
}
/* ========================================= */
/* 30. Modern About Us Page                  */
/* ========================================= */
.page-header-section {
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}

.page-header-section .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
}

.section-heading-left {
    text-align: left;
    font-size: 2.2rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.section-heading-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.info-card .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-box-about {
    text-align: center;
    padding: 1.5rem;
}
.feature-box-about .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
/* ========================================= */
/* 31. Modern 404 Error Page                 */
/* ========================================= */
.error-404-container {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 2rem auto;
}

.error-404-container .error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

/* ========================================= */
/* 27. Modern Product Details Page (revisited) */
/* ========================================= */
.product-details-modern-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.product-image-section {
    background-color: #f8f9fa;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}
.product-image-section img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.thumbnail-container-modern {
    display: flex;
    gap: 10px;
    padding: 1rem 0;
    overflow-x: auto;
    justify-content: center;
}

.thumbnail-image-modern {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-image-modern:hover, 
.thumbnail-image-modern.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-info-section {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 0.25rem;
    display: block;
}

.info-grid p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.product-description-block {
    margin-top: 1.5rem;
}

.variations-table-wrapper, .product-specs-table-wrapper {
    margin-top: 2rem;
}

.variations-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-specs-table-wrapper .table th, 
.product-specs-table-wrapper .table td {
    padding: 0.75rem;
}

/* New specs table styles */
.specs-recursive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}
.specs-recursive-table th,
.specs-recursive-table td {
    text-align: left;
    padding: 10px 15px;
}
.specs-recursive-table th {
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
}
.specs-recursive-table td {
    color: var(--text-body);
}
.specs-recursive-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Social share icons */
.social-share-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-icon-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Specific colors for social icons */
.share-icon-large.share-facebook {
    background-color: #3b5998;
}

.share-icon-large.share-whatsapp {
    background-color: #25d366;
}

.share-icon-large.share-twitter {
    background-color: #000000;
}

.share-icon-large.share-linkedin {
    background-color: #0077b5;
}

/* Image Zoom Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* ========================================= */
/* 36. Rectangular Button Link Style */
/* ========================================= */
.btn-link-rectangle {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-body);
    background-color: var(--bg-light);
    transition: all 0.2s ease;
}

.btn-link-rectangle:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}
/* ========================================= */
/* 37. Collapsible Section Styles */
/* ========================================= */
.variations-title {
    cursor: pointer;
    user-select: none;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variations-title:not(.collapsed) {
    border-bottom: none;
}

.variations-title .bi {
    transition: transform 0.3s ease;
}

.variations-title.collapsed .bi {
    transform: rotate(-90deg);
}