/* ============================================================
   PRODUCT CATEGORY — Product Listing Section
   ============================================================ */

/* Section wrapper */
.pcat-section {
    padding: 30px 0 40px;
    background-color: #ffffff;
}

/* ---- Section Header ---- */
.pcat-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

/* Green underline accent */
.pcat-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Product Grid ---- */
.pcat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ---- Product Card ---- */
.pcat-card {
    background-color: #ffffff;
    border: 1px solid #e8edf0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Image Area */
.pcat-card-img-wrap {
    position: relative;
    background-color: #edf2ee;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* padding: 32px 24px; */
    /* min-height: 200px; */
}

.pcat-card-img-wrap .wrap-img {
    padding-bottom: 100%;
}

.pcat-card-img {
    width: auto;
    max-width: 100%;
    /* max-height: 160px; */
    object-fit: contain;
    display: block;
}

/* Badge */
.pcat-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #f26e1f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Card Body */
.pcat-card-body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 1px solid #edf2ee;
}

.pcat-card-name {
    font-size: 18px;
    font-weight: 700;
    /* color: #1a1a1a; */
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pcat-card-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 18px 0;
    flex: 1;
}

/* Specs List */
.pcat-card-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.pcat-card-specs li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.pcat-card-specs li svg {
    color: var(--color-3);
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA Button */
.pcat-card-btn {
    display: inline-block;
    background-color: var(--color-3);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    align-self: flex-start;
}

.pcat-card-btn:hover {
    background-color: #006f37;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 139, 70, 0.28);
    transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 2 columns */
@media (max-width: 992px) {
    .pcat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .pcat-header {
        margin-bottom: 40px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .pcat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pcat-header {
        margin-bottom: 32px;
    }

    .pcat-card-body {
        padding: 18px 18px 22px;
    }

    .pcat-card-name {
        font-size: 17px;
    }


    .pcat-card-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .pcat-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}

/* ============================================================
   PRODUCT CATEGORY — Key Features & Benefits Section
   ============================================================ */

.pcat-features {
    padding: 45px 0;
    background-color: #f4f7f9;
}

/* ---- Features Header ---- */
.pcat-features-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-features-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pcat-features-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-features-subtitle {
    font-size: 15px;
    color: #5a6b7c;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Feature Cards Grid ---- */
.pcat-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Feature Card ---- */
.pcat-feat-card {
    background-color: #ffffff;
    border-radius: 12px;
    border-top: 3px dashed var(--color-3);
    padding: 40px 28px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcat-feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 139, 70, 0.1);
}

/* Icon */
.pcat-feat-icon {
    color: var(--color-3);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
}

.pcat-feat-icon svg {
    width: 100%;
    height: 100%;
}

/* Title */
.pcat-feat-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px 0;
}

/* Description */
.pcat-feat-desc {
    font-size: 14px;
    color: #5a6b7c;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   RESPONSIVE — Features Section
   ============================================================ */

@media (max-width: 992px) {
    .pcat-features {
        padding: 55px 0 65px;
    }

    .pcat-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pcat-features-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .pcat-features {
        padding: 44px 0 52px;
    }

    .pcat-features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pcat-features-header {
        margin-bottom: 32px;
    }

    .pcat-feat-card {
        padding: 32px 22px 28px;
    }
}

/* ============================================================
   PRODUCT CATEGORY — Thông số kỹ thuật Section
   ============================================================ */

.pcat-specs {
    padding: 72px 0 80px;
    background-color: #ffffff;
}

/* ---- Header ---- */
.pcat-specs-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-specs-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pcat-specs-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-specs-subtitle {
    font-size: 15px;
    color: #5a6b7c;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Two-column body ---- */
.pcat-specs-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 52px;
    align-items: center;
}

/* ---- Left: Image / Visual panel ---- */
.pcat-specs-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pcat-specs-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 320px;
    background-color: #eef2f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pcat-specs-img-box svg {
    width: 40%;
    height: auto;
}

/* ---- Right: Spec List ---- */
.pcat-specs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Spec Item ---- */
.pcat-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #e8edf0;
    border-left: 3px solid var(--color-3);
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pcat-spec-item:hover {
    box-shadow: 0 6px 20px rgba(0, 139, 70, 0.09);
    transform: translateX(4px);
}

/* Icon */
.pcat-spec-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #eef7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-3);
    margin-top: 2px;
}

.pcat-spec-icon svg {
    width: 20px;
    height: 20px;
}

/* Text */
.pcat-spec-content {
    flex: 1;
    min-width: 0;
}

.pcat-spec-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.pcat-spec-desc {
    font-size: 13.5px;
    color: #5a6b7c;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   RESPONSIVE — Specs Section
   ============================================================ */

@media (max-width: 992px) {
    .pcat-specs {
        padding: 55px 0 65px;
    }

    .pcat-specs-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pcat-specs-visual {
        order: -1;
        /* image on top on tablet */
    }

    .pcat-specs-img-box {
        max-width: 260px;
        margin: 0 auto;
    }

    .pcat-specs-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .pcat-specs {
        padding: 44px 0 52px;
    }

    .pcat-specs-header {
        margin-bottom: 32px;
    }

    .pcat-spec-item {
        padding: 14px 16px;
    }

    .pcat-specs-img-box {
        max-width: 200px;
    }

    .pcat-spec-item:hover {
        transform: none;
    }
}

/* ============================================================
   PRODUCT CATEGORY — Ứng dụng công nghiệp Section
   ============================================================ */

.pcat-apps {
    padding: 72px 0 80px;
    background-color: #f8fafc;
}

/* ---- Header ---- */
.pcat-apps-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-apps-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pcat-apps-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-apps-subtitle {
    font-size: 15px;
    color: #5a6b7c;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Grid ---- */
.pcat-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Card ---- */
.pcat-app-card {
    background-color: #ffffff;
    border: 1px solid #e8edf0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pcat-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.pcat-app-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.pcat-app-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

/* ---- Checklist ---- */
.pcat-app-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 100%;
}

.pcat-app-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #444;
    font-weight: 500;
}

.pcat-app-check {
    flex-shrink: 0;
    color: var(--color-3);
}

 .product.service-page {
   padding: 30px 0;
}

/* Horizontal Filter Bar Styling */
.filter-horizontal-wrapper {
  margin-bottom: 24px;
}

.filter-horizontal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.filter-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-right: 4px;
  white-space: nowrap;
}

.filter-bar-label svg {
  color: var(--color-3, #004c8f);
}

/* Multi-Select Dropdown Filter Styling */
.filter-dropdown-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  transition: all 0.22s ease;
}

.filter-dropdown-btn:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.filter-dropdown-group.is-selected .filter-dropdown-btn {
  border-color: var(--color-3, #004c8f);
  background-color: #f0f7ff;
  color: var(--color-3, #004c8f);
  font-weight: 700;
  padding-right: 32px;
}

.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-3, #004c8f);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50px;
  margin-left: 4px;
}

.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  max-height: 280px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 10px;
  z-index: 100;
  display: none;
}

.filter-dropdown-menu.is-right-aligned {
  left: auto !important;
  right: 0 !important;
}

.filter-dropdown-menu.is-open {
  display: block;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 13.5px;
  color: #334155;
  user-select: none;
}

.filter-checkbox-item:hover {
  background: #f1f5f9;
}

.ajax-filter-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-box {
  width: 17px;
  height: 17px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  background: #fff;
  flex-shrink: 0;
}

.ajax-filter-checkbox:checked+.checkbox-box {
  background: var(--color-3, #004c8f);
  border-color: var(--color-3, #004c8f);
}

.ajax-filter-checkbox:checked+.checkbox-box::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.ajax-filter-checkbox:checked~.checkbox-label {
  font-weight: 700;
  color: var(--color-3, #004c8f);
}

.btn-clear-group {
  position: absolute;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 2;
}

.btn-clear-group:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
}

.btn-clear-all-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #ef4444;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.22s ease;
  margin-left: auto;
}

.btn-clear-all-filters:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

@media (max-width: 768px) {
  .filter-horizontal-bar {
    padding: 12px 14px;
    gap: 10px;
  }

  .filter-dropdown-btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .filter-dropdown-group.is-selected .filter-dropdown-btn {
    padding-right: 28px;
  }

  .btn-clear-all-filters {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Subcategories */
.category-sub {
  margin-bottom: 30px;
}

.category-sub.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.category-sub.is-slider {
  display: block;
  margin-left: -10px;
  margin-right: -10px;
}

.category-sub.is-slider .category-sub__wrap {
  padding: 0 10px;
}

.category-sub__item {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.category-sub__item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: #ddd;
}

.category-sub__img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 4px;
}

.category-sub__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-sub__title {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

/* Category Description */
.category-desc {
  /* margin-top: 25px; */
  background: #fff;
  /* margin-bottom: 30px; */
  color: #555;
  line-height: 1.6;
}

/* Filter Sidebar Styles */
.filter-sidebar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 20px;
  position: sticky;
  top: 20px;
}

.filter-widget {
  margin-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
}

.filter-widget:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.filter-widget__title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-list__item {
  display: block;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  margin-right: 10px;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
  border-color: #007bff;
}

.custom-checkbox input:checked~.checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.custom-checkbox input:checked~.label-text {
  font-weight: 500;
  color: #007bff;
}

/* Category Header & Sort Buttons */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}

.category-header .pt_title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.category-header .product-count {
  font-size: 14px;
  font-weight: 400;
  color: #777;
  white-space: nowrap;
}

.sort-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-actions__label {
  font-size: 14px;
  color: #555;
}

.custom-select-wrapper {
  position: relative;
  width: 180px;
}

.custom-sort-select {
  width: 100%;
  appearance: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 30px 8px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.custom-sort-select:hover,
.custom-sort-select:focus {
  border-color: #007bff;
  outline: none;
}

.custom-select-wrapper::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  pointer-events: none;
}

/* Mobile Filter */
.mobile-filter-bar {
  margin-bottom: 20px;
}

.btn-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.btn-filter-toggle svg {
  color: #555;
}

.d-md-none {
  display: none !important;
}

@media (max-width: 991px) {
  .product-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    z-index: 1050;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .product-sidebar.is-open {
    left: 0;
  }

  .filter-sidebar {
    box-shadow: none;
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
    padding: 0;
  }

  .filter-sidebar__header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .filter-sidebar__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }

  .filter-sidebar__close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #555;
  }

  .filter-sidebar form {
    padding: 20px;
  }

  .d-md-none {
    display: block !important;
  }

  .filter-widget--submit {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px 0 0 0;
    margin-bottom: 0;
    border-top: 1px solid #eee;
    border-bottom: none;
  }

  .btn-primary {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
  }
}

.category-sub.is-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
}
.row-gap {
  row-gap: 15px;
}
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.products-grid>* {
  width: calc((100% - 64px) / 4);
}
@media (max-width: 1024px) {
  .products-grid>* {
    width: calc((100% - 32px) / 3);
  }
}

@media (max-width: 700px) {
  .products-grid>* {
    width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 420px) {
  .products-grid {
    gap: 8px;
  }

  .products-grid>* {
    width: calc((100% - 8px) / 2);
  }
}

@media (max-width: 375px) {
  .products-grid>* {
    width: 100%;
  }
}








/* ============================================================
   RESPONSIVE — Apps Section
   ============================================================ */

@media (max-width: 992px) {
    .pcat-apps {
        padding: 55px 0 65px;
    }

    .pcat-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pcat-apps-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .pcat-apps {
        padding: 44px 0 52px;
    }

    .pcat-apps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pcat-apps-header {
        margin-bottom: 32px;
    }

    .pcat-app-card {
        padding: 30px 20px;
    }

    .pcat-app-name {
        font-size: 17px;
    }
}

/* ============================================================
   PRODUCT CATEGORY — CTA Section
   ============================================================ */
.pcat-cta {
    padding: 40px 0;
    background-color: #ffffff;
}

.pcat-cta-inner {
    background-color: var(--color-3);
    border-radius: 8px;
    padding: 70px 40px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 139, 70, 0.15);
}

.pcat-cta-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px 0;
    line-height: 1.35;
}

.pcat-cta-desc {
    font-size: clamp(14px, 1.8vw, 16px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin: 0 auto 32px auto;
    line-height: 1.75;
}

.pcat-cta-action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pcat-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-3);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    border: 2px solid #ffffff;
}

.pcat-cta-btn:hover {
    background-color: #e6f3ec;
    color: #006f37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive CTA styles */
@media (max-width: 992px) {
    .pcat-cta-inner {
        padding: 55px 30px;
    }
}

@media (max-width: 768px) {
    .pcat-cta-inner {
        padding: 45px 24px;
    }

    .pcat-cta-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .pcat-cta-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .pcat-cta-btn {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {


    .pcat-cta-inner {
        padding: 35px 20px;
        border-radius: 6px;
    }

    .pcat-cta-title {
        font-size: 20px;
    }
}