:root {
  --primary-brand: #711b3c; /* Maroon */
  --secondary-brand: #222222; /* Charcoal */
  --bg-light: #f9fafb;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --border-color: #e0e0e0;
}

.products-page-section {
  width:100%;
  padding: 80px 0;
  background-color: var(--bg-light);
}

.products-page-container {
  max-width: 1350px !important;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==============================
       SIDEBAR STYLING
       ============================== */
.catalog-sidebar {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 35px;
}
.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary-brand);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.sidebar-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-brand);
}

/* Search Box */
.sidebar-search {
  position: relative;
  display: flex;
}
.sidebar-search input {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.sidebar-search input:focus {
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 3px rgba(113, 27, 60, 0.1);
}
.sidebar-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: var(--primary-brand);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.sidebar-search button:hover {
  background: #5a152f;
}

/* Categories List */
.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-list li {
  border-bottom: 1px dashed var(--border-color);
  padding: 12px 0;
}
.cat-list li:last-child {
  border-bottom: none;
}
.cat-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.cat-list a:hover,
.cat-list a.active {
  color: var(--primary-brand);
  font-weight: 700;
}
.cat-list span {
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

/* Sidebar Banner */
.support-banner {
  background: rgba(113, 27, 60, 0.05);
  padding: 25px 20px;
  border-radius: 12px;
  border: 1px dashed rgba(113, 27, 60, 0.3);
}
.banner-icon {
  font-size: 35px;
  color: var(--primary-brand);
  margin-bottom: 15px;
}
.support-banner h5 {
  font-weight: 800;
  color: var(--secondary-brand);
  margin-bottom: 10px;
}
.support-banner p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.support-banner a {
  color: var(--primary-brand);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
}
.support-banner a:hover {
  color: var(--secondary-brand);
}

/* ==============================
       MAIN CONTENT STYLING
       ============================== */
.filter-bar {
  background: #ffffff;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.filter-result-count {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.filter-result-count span {
  color: var(--secondary-brand);
  font-weight: 700;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-box select {
  padding: 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  color: var(--text-muted);
  cursor: pointer;
}
.sort-box select:focus {
  border-color: var(--primary-brand);
}

/* Updated Card Hover Styles */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(113, 27, 60, 0.2) !important;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}
.view-details-link:hover {
  color: var(--secondary-brand) !important;
}
.btn-quote-full:hover {
  background-color: var(--primary-brand) !important;
  color: #fff !important;
}

/* Pagination Matches Brand Colors */
.k2k-pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 50px 0 0 0;
  gap: 8px;
  flex-wrap: wrap;
}
.k2k-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: #ffffff;
  color: var(--secondary-brand);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}
.k2k-pagination li a:hover {
  background: var(--secondary-brand);
  color: #ffffff;
  border-color: var(--secondary-brand);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 34, 34, 0.2);
}
.k2k-pagination li.active a {
  background: var(--primary-brand);
  color: #ffffff;
  border-color: var(--primary-brand);
  box-shadow: 0 5px 15px rgba(113, 27, 60, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
    /* ==============================
       1. PRODUCT GALLERY (LEFT SIDE)
       ============================== */
    .pd-image-gallery {
        position: sticky;
        top: 100px; /* Sticky effect when scrolling description */
    }

    .pd-main-img {
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        margin-bottom: 15px;
        background: #f9f9f9;
    }

    .pd-main-img img {
        width: 100%;
        height: auto;
        aspect-ratio: 4/4;
        object-fit: contain; /* Pura product dikhne ke liye */
        transition: transform 0.4s ease;
    }

    .pd-main-img:hover img {
        transform: scale(1.05); /* Slight zoom on main image */
    }

    .pd-thumbnails {
        display: flex;
        gap: 10px;
    }

    .pd-thumb {
        width: calc(25% - 7.5px);
        aspect-ratio: 1/1;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid var(--border-color);
        background: #f9f9f9;
        transition: all 0.3s ease;
    }

    .pd-thumb.active {
        border-color: var(--primary-green);
        opacity: 0.7;
    }

    .pd-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* ==============================
       2. PRODUCT INFO (RIGHT SIDE)
       ============================== */
    .pd-category {
        color: var(--accent-orange);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 13px;
        margin-bottom: 10px;
        display: block;
    }

    .pd-title {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .pd-overview {
        font-size: 1.05rem;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px dashed var(--border-color);
    }

    /* Action Buttons */
    .pd-action-btns {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .btn-lg-quote {
        background: var(--primary-brand);
        color: #ffffff !important;
        padding: 15px 35px;
        border-radius: 8px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
        border: 2px solid var(--primary-brand);
    }

    .btn-lg-quote:hover {
        background: transparent;
        color: var(--secondary-brand) !important;
    }

    .btn-lg-call {
        background: transparent;
        color: var(--primary-brand) !important;
        padding: 15px 30px;
        border-radius: 8px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
        border: 2px solid var(--primary-brand);
    }

    .btn-lg-call:hover {
        background: var(--primary-brand);
        color: #ffffff !important;
    }

    /* ==============================
       3. TABS SECTION (DETAILS)
       ============================== */
    .pd-tabs-section {
        margin-top: 60px;
    }

    .nav-tabs.custom-tabs {
        border-bottom: 2px solid #f0f0f0;
        gap: 20px;
    }

    .nav-tabs.custom-tabs .nav-link {
        border: none;
        color: var(--text-muted);
        font-weight: 600;
        font-size: 1.1rem;
        padding: 15px 5px;
        position: relative;
        background: transparent;
    }

    .nav-tabs.custom-tabs .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0%;
        height: 3px;
        background-color: var(--primary-brand);
        transition: width 0.3s ease;
    }

    .nav-tabs.custom-tabs .nav-link:hover {
        color: var(--primary-green);
    }

    .nav-tabs.custom-tabs .nav-link.active {
        color: var(--primary-green);
    }

    .nav-tabs.custom-tabs .nav-link.active::after {
        width: 100%;
    }

    .tab-content {
        padding: 30px 0;
        color: var(--text-muted);
        line-height: 1.8;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .pd-action-btns { flex-direction: column; }
        .btn-lg-quote, .btn-lg-call { justify-content: center; width: 100%; }
        .pd-title { font-size: 1.8rem; }
    }