/*
Theme Name:   Fibre Glass
Theme URI:    https://www.hrnikunjprajapati.in/
Description:  Fibre Glass Theme
Author:       Hr Nikunj Prajapati
Author URI:   https://www.hrnikunjprajapati.in/
Template:     corporate-lite
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  fibreglass
*/

/* =============================================================================
   CONTAINER & LEGAL PAGES (TERMS OF SERVICE / PRIVACY POLICY)
   ============================================================================= */
body:not(.elementor-page) .fibre-page .site-full {
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
    box-sizing: border-box;
}

/* Page Background for Legal Pages */
.page-id-531 .fibre-page,
.page-id-464 .fibre-page {
    background-color: #f8f9fa;
}

/* Modern Card Container */
.legal-container-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 20px 0;
    box-sizing: border-box;
}

.legal-content-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 55px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    line-height: 1.8;
    color: #2d3748;
    font-size: 16px;
    box-sizing: border-box;
    text-align: left;
}

.legal-content-card .legal-badge {
    display: inline-block;
    background: #eef5f9;
    color: #117bb8;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #d0e4f2;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.legal-content-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 12px;
}

.legal-content-card h2,
.legal-content-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #117bb8;
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ebf4f9;
    letter-spacing: -0.2px;
}

.legal-content-card h2:first-of-type,
.legal-content-card h3:first-of-type {
    margin-top: 20px;
}

.legal-content-card p {
    margin-bottom: 16px;
    line-height: 1.85;
    color: #374151;
}

.legal-content-card ul {
    margin: 14px 0 22px 24px;
    padding: 0;
}

.legal-content-card ul li {
    margin-bottom: 10px;
    line-height: 1.75;
    color: #374151;
}

.legal-content-card a {
    color: #117bb8;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-content-card a:hover {
    color: #0b5077;
}

.legal-contact-box {
    background: #f0f7fb;
    border: 1px solid #cce5f4;
    border-left: 5px solid #117bb8;
    border-radius: 8px;
    padding: 24px 28px;
    margin-top: 30px;
}

.legal-contact-box p {
    margin-bottom: 10px;
    color: #2d3748;
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .legal-content-card {
        padding: 28px 20px;
        border-radius: 8px;
    }
    .legal-content-card h1 {
        font-size: 26px;
    }
    .legal-content-card h2,
    .legal-content-card h3 {
        font-size: 18px;
        margin-top: 28px;
    }
    .legal-contact-box {
        padding: 18px 16px;
    }
}

/* =============================================================================
   WOOCOMMERCE & YOAST BREADCRUMBS (MATCH OUR-PRODUCTS LOOK & FEEL)
   ============================================================================= */
.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs,
.woocommerce.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.3) inset;
    margin: 0 0 30px 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    clear: both;
}

.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb-trail,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb-trail,
.single-product .woocommerce-breadcrumb {
    max-width: 1170px;
    margin: 0 auto;
    padding: 13px 15px;
    box-sizing: border-box;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 0.85em;
    line-height: 1.5;
    color: #7A7A7A;
    text-align: left;
}

.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs a,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs a,
.single-product .woocommerce-breadcrumb a {
    color: #0D6EFD;
    text-decoration: none;
    font-family: "Roboto Slab", Sans-serif;
    font-weight: 400;
    transition: color 0.2s ease;
}

.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs a:hover,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs a:hover,
.single-product .woocommerce-breadcrumb a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb_last,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb_last,
.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs strong,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs strong {
    color: #54595F;
    font-family: "Roboto Slab", Sans-serif;
    font-weight: 400;
}

.woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs span,
.single-product .breadcrumb.breadcrumbs.woo-breadcrumbs span {
    font-family: "Roboto Slab", Sans-serif;
}

/* Adjust single-product main container spacing for balanced rhythm */
.single-product .product-container {
    margin-top: 30px;
}

@media screen and (max-width: 1200px) {
    .woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb-trail,
    .single-product .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb-trail,
    .single-product .woocommerce-breadcrumb {
        max-width: 94%;
        padding: 12px 10px;
    }
}

@media screen and (max-width: 768px) {
    .woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs,
    .single-product .breadcrumb.breadcrumbs.woo-breadcrumbs,
    .single-product .woocommerce-breadcrumb {
        margin-bottom: 20px;
    }

    .woocommerce .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb-trail,
    .single-product .breadcrumb.breadcrumbs.woo-breadcrumbs .breadcrumb-trail,
    .single-product .woocommerce-breadcrumb {
        max-width: 95%;
        padding: 10px 10px;
        font-size: 0.8em;
    }

    .single-product .product-container {
        margin-top: 15px;
    }
}

/* =============================================================================
   BLOG POST & CONTENT STYLING (TABLES, CALLOUTS, FAQS)
   ============================================================================= */
.fibre-single .site-main {
    width: 100% !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 20px 20px 60px 20px;
    box-sizing: border-box;
}

.single-post .entry-header {
    margin-bottom: 20px;
}

.single-post .entry-title {
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 15px 0;
}

.single-post .postmeta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.single-post .post-thumb {
    margin-bottom: 30px;
}

.single-post .post-thumb img {
    border-radius: 8px;
    max-height: 480px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.single-post .entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.single-post .entry-content p.lead {
    font-size: 18px;
    line-height: 1.8;
    color: #1e293b;
    font-weight: 400;
    margin-bottom: 24px;
}

.single-post .entry-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0b5077;
    margin-top: 40px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.single-post .entry-content h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 28px;
    margin-bottom: 12px;
}

.single-post .entry-content p {
    margin-bottom: 18px;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin: 15px 0 24px 25px;
    padding: 0;
}

.single-post .entry-content li {
    margin-bottom: 10px;
    line-height: 1.75;
}

/* Modern Responsive Comparison Tables */
.blog-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    background: #ffffff;
    margin: 0;
}

.blog-table th {
    background-color: #0b5077;
    color: #ffffff;
    font-weight: 600;
    padding: 13px 16px;
    border: 1px solid #0b5077;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.blog-table td {
    padding: 13px 16px;
    border: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: top;
}

.blog-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.blog-table tr:hover {
    background-color: #f0f7ff;
}

/* High-Converting Callout Box */
.blog-callout {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 5px solid #0D6EFD;
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 35px 0;
    box-shadow: 0 2px 12px rgba(13, 110, 253, 0.06);
}

.blog-callout h4 {
    margin: 0 0 10px 0;
    font-size: 19px;
    font-weight: 700;
    color: #0b5077;
}

.blog-callout p {
    margin: 0 0 14px 0;
    color: #334155;
    line-height: 1.7;
}

.blog-callout a.btn-cta {
    display: inline-block;
    background: #0D6EFD;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.25);
}

.blog-callout a.btn-cta:hover {
    background: #0a58ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.35);
}

/* FAQ Box */
.blog-faq-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px;
    margin: 40px 0 20px 0;
}

.blog-faq-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0b5077;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 10px;
    font-size: 21px;
}

.blog-faq-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.blog-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-faq-question {
    font-weight: 600;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 6px;
}

.blog-faq-answer {
    color: #475569;
    line-height: 1.75;
}

@media screen and (max-width: 768px) {
    .single-post .entry-title {
        font-size: 24px;
    }
    .single-post .entry-content h2 {
        font-size: 20px;
    }
    .blog-callout {
        padding: 18px 20px;
    }
    .blog-faq-section {
        padding: 20px 16px;
    }
}

/* =============================================================================
   ACCESSIBILITY & CUMULATIVE LAYOUT SHIFT (CLS) OPTIMIZATIONS
   ============================================================================= */

/* Reserve space for slider to eliminate CLS (Cumulative Layout Shift) */
.slider-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 700;
    min-height: 250px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.nivoSlider {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 700;
    overflow: hidden;
}

.nivoSlider img {
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 700;
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1440 / 700;
}

/* Ensure animation slices do not cause layout jumps or accessibility noise */
.nivo-slice, .nivo-box {
    pointer-events: none;
}

/* Accessible hidden text for screen readers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
/* =============================================================================
   TOUCH TARGET & INTERACTION ACCESSIBILITY (WCAG 2.5.5 / 2.5.8 & LIGHTHOUSE)
   ============================================================================= */

/* 1. Category & Nav widget links (Quick Links, Connect with us, etc.) */
.copyright-wrapper aside.widget_nav_menu ul.menu li,
.widget_nav_menu ul.menu li {
    margin-bottom: 2px;
}

.copyright-wrapper aside.widget_nav_menu ul.menu li a,
.widget_nav_menu ul.menu li a,
#menu-quick-links li a,
#menu-social-menu li a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 6px;
    box-sizing: border-box;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright-wrapper aside.widget_nav_menu ul.menu li a:hover,
#menu-quick-links li a:hover,
#menu-social-menu li a:hover {
    color: #4ade80;
}

/* 2. Top-bar Header Contact & Social touch targets */
.top-bar {
    padding: 0;
}

.top-bar .top-left {
    float: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 2px 0;
}

.top-bar .top-left p {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.top-bar .top-left p.call,
.top-bar .top-left p.mail {
    padding-left: 22px;
    background-position: 0 center;
}

.top-bar .top-left p a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 8px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
}

.top-bar .top-left p a:hover {
    color: #4ade80;
}

.top-bar .top-right {
    float: right;
    display: flex;
    align-items: center;
    padding: 2px 0;
}

#menu-social {
    height: auto;
}

#menu-social ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu-social ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

#menu-social li a,
.top-right #menu-social-items li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    box-sizing: border-box;
    position: relative;
    border-radius: 4px;
    text-decoration: none;
}

#menu-social li a::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 20px;
    margin: 0;
    padding: 0;
}

/* 3. Footer Contact Info touch targets */
.footer-grid address p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-grid address p a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 6px 4px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
}

.footer-grid address p a:hover {
    color: #4ade80;
}

/* 4. Footer Menu touch targets */
.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.footer-menu ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.footer-menu ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
}

.footer-menu ul li a:hover {
    color: #4ade80;
}

/* Grey strip buy button hover styling */
.grey-strip a.buy-button {
    transition: all 0.25s ease !important;
}

.grey-strip a.buy-button:hover {
    color: #ffffff !important;
    background-color: seagreen !important;
}

/* Copyright wrapper bottom bar (second inner: display flex & align-items center) */
.copyright-wrapper .inner.copyright-bottom,
.copyright-wrapper .inner:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}

.copyright-wrapper .inner.copyright-bottom .footer-menu,
.copyright-wrapper .inner:last-child .footer-menu {
    float: none !important;
    margin: 0 !important;
}

.copyright-wrapper .inner.copyright-bottom .copyright,
.copyright-wrapper .inner:last-child .copyright {
    float: none !important;
    margin: 0 !important;
    text-align: right !important;
}

.copyright-wrapper .inner.copyright-bottom .copyright p,
.copyright-wrapper .inner:last-child .copyright p {
    margin: 0 !important;
    line-height: 1.5 !important;
}

.copyright-wrapper .inner.copyright-bottom .clear,
.copyright-wrapper .inner:last-child .clear {
    display: none !important;
}

/* Mobile Alignment adjustments */
@media screen and (max-width: 768px) {
    .top-bar .top-left,
    .top-bar .top-right {
        float: none;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    #menu-social ul {
        justify-content: center;
    }
    .footer-menu ul {
        justify-content: center;
    }
    .copyright-wrapper .inner.copyright-bottom,
    .copyright-wrapper .inner:last-child {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .copyright-wrapper .inner.copyright-bottom .copyright,
    .copyright-wrapper .inner:last-child .copyright {
        text-align: center !important;
    }
}

/* =============================================================================
   CATEGORY & TAG ARCHIVE PAGES (FULL WIDTH IN CONTAINER)
   ============================================================================= */

/* 1. Main Container Wrapper */
.woocommerce.archive .fibre-header,
.tax-product_cat .fibre-header,
.tax-product_tag .fibre-header,
.category .fibre-category,
.tag .fibre-archive,
.archive.category .fibre-category,
.archive.tag .fibre-archive,
.archive .fibre-archive {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 30px 20px 60px 20px !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* 2. Full Width Content Area & Remove Sidebar Void */
.woocommerce.archive #primary,
.tax-product_cat #primary,
.tax-product_tag #primary,
.woocommerce.archive .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main,
.woocommerce.archive #main,
.tax-product_cat #main,
.tax-product_tag #main,
.category .site-main,
.tag .site-main,
.archive.category .site-main,
.archive.tag .site-main,
.fibre-category .site-main,
.fibre-archive .site-main,
.fibre-category .middle-align,
.fibre-archive .middle-align,
.fibre-category .content_sidebar,
.fibre-archive .content_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 3. Hide Unused / Empty Sidebar on Archive, Category & Tag Pages */
.woocommerce.archive #sidebar,
.tax-product_cat #sidebar,
.tax-product_tag #sidebar,
.category #sidebar,
.tag #sidebar,
.archive.category #sidebar,
.archive.tag #sidebar,
.fibre-category #sidebar,
.fibre-archive #sidebar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

/* 4. WooCommerce Category & Tag Page Headers */
.woocommerce-products-header,
.page-header {
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-products-header__title.page-title,
.page-header .page-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 12px 0 !important;
}

.term-description,
.taxonomy-description {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    margin: 0 0 15px 0 !important;
}

/* 5. WooCommerce Catalog Result Count & Ordering */
.woocommerce.archive .woocommerce-notices-wrapper {
    margin-bottom: 15px;
}

.woocommerce-result-count {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 0 20px 0 !important;
    float: left !important;
}

.woocommerce-ordering {
    margin: 0 0 20px 0 !important;
    float: right !important;
}

.woocommerce-ordering select {
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* 6. WooCommerce Responsive Product Grid (4 columns desktop, full width) */
.woocommerce.archive ul.products,
.tax-product_cat ul.products,
.tax-product_tag ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 25px 0 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.woocommerce.archive ul.products::before,
.woocommerce.archive ul.products::after,
.tax-product_cat ul.products::before,
.tax-product_cat ul.products::after,
.tax-product_tag ul.products::before,
.tax-product_tag ul.products::after {
    display: none !important;
}

.woocommerce.archive ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    text-align: center !important;
}

.woocommerce.archive ul.products li.product:hover,
.tax-product_cat ul.products li.product:hover,
.tax-product_tag ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link,
.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link,
.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
}

.woocommerce.archive ul.products li.product img,
.tax-product_cat ul.products li.product img,
.tax-product_tag ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin: 0 0 12px 0 !important;
    background-color: #f8fafc !important;
}

.woocommerce.archive ul.products li.product h2.woocommerce-loop-product__title,
.tax-product_cat ul.products li.product h2.woocommerce-loop-product__title,
.tax-product_tag ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    line-height: 1.4 !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

.woocommerce.archive ul.products li.product:hover h2.woocommerce-loop-product__title,
.tax-product_cat ul.products li.product:hover h2.woocommerce-loop-product__title,
.tax-product_tag ul.products li.product:hover h2.woocommerce-loop-product__title {
    color: #16a34a !important;
}

/* 7. WooCommerce Pagination (Clean & Centered) */
.woocommerce nav.woocommerce-pagination {
    margin: 40px 0 20px 0 !important;
    text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #1a202c !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #16a34a !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}

/* 8. Blog Category & Tag Posts (Clean Card Layout) */
.fibre-category .blog-post-repeat,
.fibre-archive .blog-post-repeat {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.2s ease !important;
}

.fibre-category .blog-post-repeat:hover,
.fibre-archive .blog-post-repeat:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

.fibre-category .post-thumb img,
.fibre-archive .post-thumb img {
    border-radius: 6px !important;
}

.fibre-category .read-more a,
.fibre-archive .read-more a {
    display: inline-block !important;
    padding: 8px 18px !important;
    background-color: #16a34a !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
}

.fibre-category .read-more a:hover,
.fibre-archive .read-more a:hover {
    background-color: #15803d !important;
    color: #ffffff !important;
}

/* 9. Responsive Grid Breakpoints */
@media screen and (max-width: 1024px) {
    .woocommerce.archive ul.products,
    .tax-product_cat ul.products,
    .tax-product_tag ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media screen and (max-width: 768px) {
    .woocommerce.archive ul.products,
    .tax-product_cat ul.products,
    .tax-product_tag ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .woocommerce-result-count,
    .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 12px !important;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce.archive ul.products,
    .tax-product_cat ul.products,
    .tax-product_tag ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .woocommerce.archive ul.products li.product img,
    .tax-product_cat ul.products li.product img,
    .tax-product_tag ul.products li.product img {
        height: 200px !important;
    }
}

