/* Products and Sub-pages White Theme */

body,
.product-page-content,
.breadcrumb-area,
.products-grid-area,
.tools-section,
.related-links-section {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* ==========================================================================
   SHOP BY CATEGORIES - E-commerce Grid Layout
   ========================================================================== */
.shop-categories-section {
    background: #fff;
    padding: 60px 0 80px;
}

.shop-cat-header {
    text-align: center;
    margin-bottom: 50px;
}

.shop-cat-title {
    color: #b8860b;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.shop-cat-tagline {
    color: #777;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* Category Card - Reference Style */
.shop-cat-card {
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-cat-card:hover {
    text-decoration: none;
}

/* Image Box - Full width banner style */
.shop-cat-img {
    width: 100%;
    height: 160px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.shop-cat-img-inner {
    width: 90%;
    height: 80%;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: inset 0 0 0 1px #eeeeee;
}

.shop-cat-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.shop-cat-card:hover .shop-cat-img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #b8860b;
}

.shop-cat-card:hover .shop-cat-img-inner img {
    transform: scale(1.05);
}

/* Category Name - Below the image box */
.shop-cat-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.shop-cat-card:hover .shop-cat-name {
    color: #b8860b;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .shop-categories-section {
        padding: 50px 0 60px;
    }

    .shop-cat-title {
        font-size: 36px;
    }

    .shop-cat-img {
        height: 140px;
    }

    .shop-cat-name {
        font-size: 14px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .shop-categories-section {
        padding: 40px 0 50px;
    }

    .shop-cat-header {
        margin-bottom: 30px;
    }

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

    .shop-cat-tagline {
        font-size: 14px;
    }

    .shop-cat-img {
        /* Increased height for better visibility on mobile */
        height: 150px;
        border-radius: 6px;
        margin-bottom: 8px;
    }

    .shop-cat-name {
        font-size: 11px;
        padding: 5px 0;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .shop-categories-section {
        padding: 30px 0 40px;
    }

    .shop-cat-title {
        font-size: 24px;
    }

    .shop-cat-img {
        /* Small mobile: still larger than before but fits narrow screens */
        height: 120px;
        margin-bottom: 6px;
    }

    .shop-cat-name {
        font-size: 10px;
        padding: 4px 0;
    }
}

/* Breadcrumb Adjustments */
.breadcrumb-area {
    display: none !important;
    /* Screenshot doesn't show breadcrumbs */
}

.breadcrumb-area h1 {
    color: #333333 !important;
}

.breadcrumb-area ul li a {
    color: #666666 !important;
}

.breadcrumb-area ul li.active {
    color: var(--pvc-gold-dark) !important;
}

/* Sidebar Styles */
.product-sidebar {
    background: #f9f9f9 !important;
    border: 1px solid #eeeeee !important;
    padding: 25px !important;
    border-radius: 10px !important;
}

.filter-widget h4 {
    color: #222222 !important;
    border-bottom: 2px solid var(--pvc-gold-mid) !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

.filter-list li label {
    color: #555555 !important;
}

/* Product Cards */
.hik-product-card {
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: 0.3s ease !important;
}

.hik-product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px) !important;
}

.hik-product-info h3 {
    color: #222222 !important;
}

.hik-product-info p {
    color: #666666 !important;
}

.hik-product-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 25px;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.hik-product-specs span {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 14px !important;
    color: #666 !important;
    text-align: left !important;
    line-height: 1.2 !important;
}

.hik-product-specs i {
    color: var(--pvc-gold-dark) !important;
    font-size: 16px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

/* Category Grid on Products Page */
.cat-section-header {
    text-align: center;
    margin: 0px 0 40px;
}

.cat-grid-title {
    color: #b8860b !important;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 6px;
    position: relative;
    padding-bottom: 0;
    display: inline-block;
}

.cat-grid-title::after {
    display: none;
}

.cat-section-tagline {
    color: #777;
    font-size: 17px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.3px;
}

.cat-card,
.hik-product-card {
    background: #fff !important;
    border: 1px solid var(--pvc-gold-mid) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

.cat-card:hover,
.hik-product-card:hover {
    border-width: 3px !important;
    padding: 29px !important;
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 20px rgba(212, 175, 55, 0.2) !important;
}

.cat-card img,
.hik-product-img img {
    max-width: 85%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
    z-index: 2;
    mix-blend-mode: multiply;
    filter: brightness(1.05) contrast(1.05);
}

.cat-card:hover img,
.hik-product-card:hover img {
    transform: scale(1.05);
}

.cat-card h3,
.hik-product-info h3 {
    font-size: 21px;
    font-weight: 700;
    color: #222 !important;
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cat-card:hover h3,
.hik-product-card:hover h3 {
    color: var(--pvc-gold-mid) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.product-view-btn {
    background: transparent;
    color: var(--pvc-gold-dark);
    border: 2px solid var(--pvc-gold-dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cat-card:hover .product-view-btn,
.hik-btn-main:hover {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C) !important;
    background-size: 200% auto !important;
    color: #000 !important;
    /* Black text for clarity on gold */
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
    text-decoration: none !important;
}

/* Base style for in-page buttons to match the look */
.hik-btn-main {
    background: transparent !important;
    color: var(--pvc-gold-dark) !important;
    border: 2px solid var(--pvc-gold-dark) !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.4s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

/* Pagination Adjustments */
.pagination .page-link {
    background: #ffffff !important;
    border-color: #eeeeee !important;
    color: #666666 !important;
}

.pagination .page-item.active .page-link {
    background: var(--pvc-gold-dark) !important;
    border-color: var(--pvc-gold-dark) !important;
    color: #ffffff !important;
}

/* Tools & Related Sections */
.tools-section p,
.related-links-section p {
    color: #666666 !important;
}

.tool-content h3,
.related-content h3 {
    color: #ffffff !important;
    /* Keep text white on image overlays */
}

/* Tools & Related Sections Style Refinement */
.tool-card,
.related-card {
    height: 350px !important;
    border: 1px solid #eeeeee !important;
    background: #fff !important;
}

.tool-bg,
.related-bg {
    filter: brightness(0.7) contrast(1.1);
}

.tool-content,
.related-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%) !important;
}

/* Horizontal Divider */
.section-divider {
    border-top: 1px solid #eeeeee !important;
}

/* Hero Content on Products Page */
.products-hero {
    height: 50vh !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background-color: #050a1a !important;
    /* Dark blue background */
    background-position: center !important;
    background-size: cover !important;
    position: relative;
    overflow: hidden;
    margin-top: 80px !important;
    margin-bottom: 0 !important;
}

.products-hero h1 {
    color: #ffffff !important;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.products-hero p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 24px;
    max-width: 900px;
    margin: 0;
}

/* Main Header - Should follow global header_styles.css */



/* Category Nav - Static positioning */
.category-nav {
    background: rgb(255, 255, 255) !important;
    padding: 12px 0;
    position: relative !important;
    z-index: 99 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f0f0f0;
    margin-top: 0 !important;
}


/* Tool & Related Card refinements */
.tool-card,
.related-card {
    overflow: hidden;
    border-radius: 12px !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s ease !important;
}

.tool-card:hover,
.related-card:hover {
    border: 3px solid var(--pvc-gold-mid) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.tool-card:hover .tool-bg,
.related-card:hover .related-bg {
    transform: scale(1.1);
}

.tool-bg,
.related-bg {
    transition: transform 0.5s ease;
}

.category-nav .nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.category-nav .nav-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-right: 40px;
    padding-right: 40px;
    border-right: 1px solid #eee;
}

.category-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px;
}

.category-nav ul li a {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.category-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pvc-gold-dark);
    transition: width 0.3s ease;
}

.category-nav ul li a:hover::after,
.category-nav ul li a.active::after {
    width: 100%;
}

.category-nav ul li a:hover,
.category-nav ul li a.active {
    color: var(--pvc-gold-dark) !important;
}

/* Sidebar Floating Icons */
.floating-sidebar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-icon {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #333;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.float-icon:hover {
    background: var(--pvc-gold-dark);
    color: #fff;
    transform: scale(1.15) translateX(-5px);
}

.float-icon i {
    font-size: 22px;
}

.float-icon.red-icon {
    background: var(--pvc-gold-dark);
    color: #fff;
}

.float-icon.red-icon:hover {
    background: #333;
}

/* Tooltip for float icons */
.float-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    pointer-events: none;
}

.float-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.products-hero-slider,
.products-hero-slider .owl-stage-outer,
.products-hero-slider .owl-stage,
.products-hero-slider .owl-item,
.products-hero-slider .item {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.products-hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer Section for Products pages */

.footer3-section-area {
    background-color: #000 !important;
    /* Keep footer dark for better frame */
}

/* ==========================================================================
   MOBILE RESPONSIVE - Product Categories Heading
   ========================================================================== */
@media (max-width: 767px) {
    .cat-grid-title {
        white-space: nowrap;
        font-size: 28px;
    }

    /* Category Cards - 2 per row mobile layout */
    .cat-card,
    .hik-product-card {
        padding: 15px !important;
        min-height: 180px;
        border-radius: 10px !important;
    }

    .cat-card:hover,
    .hik-product-card:hover {
        padding: 14px !important;
    }

    .cat-card img,
    .hik-product-img img {
        max-width: 90%;
        max-height: 100px;
        margin-bottom: 12px;
    }

    .cat-card h3,
    .hik-product-info h3 {
        font-size: 14px;
        margin: 0;
        line-height: 1.3;
    }

    /* Hide View Products button on mobile */
    .cat-card .product-view-btn {
        display: none !important;
    }

    /* Reduce gap between cards on mobile */
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
}