/* ==========================================================================
   Services & Products Catalog Styles — Clean White Luxury Theme
   ========================================================================== */

/* ── 0. Utility grid for this page ─────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ── 1. Services Hero ───────────────────────────────────────────────────── */
.services-hero {
  position: relative;
  padding: 8.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  min-height:83vh;
}

.services-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── 2. Services Grid & Cards ───────────────────────────────────────────── */
.service-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-detail-card:hover {
  border-color: var(--green-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-detail-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 1rem;
  color: var(--fg);
}

.service-features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.service-features li i,
.service-features li svg {
  width: 1rem;
  height: 1rem;
  color: var(--green-primary);
  flex-shrink: 0;
}

/* ── 3. How They Work Together (Workflow) ───────────────────────────────── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

.workflow-step {
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--border);
  border-radius: 6px !important;
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: var(--green-hover);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 2.4rem;
  background: var(--green-primary);
  color: #FFFFFF;
  font-family: var(--font-display);
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border);
}

/* ── 4. Bundle / Package Deals ───────────────────────────────────────────── */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .bundle-grid {
    grid-template-columns: 1fr;
  }
}

.bundle-card {
  padding: 2.5rem;
  border-radius: 6px !important;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bundle-badge {
  position: absolute;
  top: 1.2rem;
  right: -2.5rem;
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bundle-price {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--green-primary);
  margin: 1rem 0;
}

/* ── 5. Comparison Table ─────────────────────────────────────────────────── */
.comparison-wrapper {
  margin-top: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th {
  padding: 1.2rem 1.5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.comparison-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-highlight,
.comparison-table th.col-highlight {
  background: var(--green-soft);
  color: var(--green-primary);
  font-weight: 600;
}

.comp-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.comp-check {
  color: var(--green-primary);
}

.comp-cross {
  color: #DC2626;
}

/* ── 6. Support Grid ─────────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.support-item i,
.support-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--green-primary);
  flex-shrink: 0;
}

.support-item h4 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

/* ── 7. Quote Section ────────────────────────────────────────────────────── */
.quote-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .quote-section {
    grid-template-columns: 1fr;
  }
}

.decision-notes {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.note-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.note-item h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.note-item h4 i,
.note-item h4 svg {
  color: var(--green-primary);
}

/* ==========================================================================
   8. Product Detail (Inner Product) Page
   ========================================================================== */

/* Back Bar */
.back-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.back-btn:hover { color: var(--fg); }

.back-btn i, .back-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Product Wrapper visibility (JS also toggles inline display) */
.product-detail-wrapper {
  padding: 3rem 0 4.5rem;
}

.pd-wrapper-hidden { display: none; }
.pd-wrapper-visible { display: block; }

/* Top Layout: Gallery + Details (pd-style-3) */
.ec-layout,
.pd-style-3 {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .ec-layout,
  .pd-style-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* Gallery Column */
.ec-gallery-column {
  display: flex;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

@media (max-width: 900px) {
  .ec-gallery-column { position: static; }
}

@media (max-width: 560px) {
  .ec-gallery-column { flex-direction: column-reverse; }
}

.ec-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .ec-thumbnails { flex-direction: row; overflow-x: auto; }
}

.ec-thumb {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 6px !important;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
  flex-shrink: 0;
  background: var(--bg-2);
}

.ec-thumb:hover { opacity: 1; }

.ec-thumb.active {
  border-color: var(--blue-accent);
  opacity: 1;
}

.ec-main-image-container {
  flex: 1;
  min-width: 0;
  border-radius: 6px !important;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
}

.ec-main-image,
.pd-style-4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

/* Details Column */
.ec-details-column {
  min-width: 0;
}

.ec-brand {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-accent);
  text-decoration: none;
}

.ec-brand:hover { text-decoration: underline; }

.ec-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0 0.85rem;
  color: var(--fg);
}

.ec-reviews {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ec-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  color: #F5A623;
}

.ec-stars i, .ec-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #F5A623;
}

.ec-review-count {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Pricing */
.ec-pricing-section {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.ec-offer-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--fg);
  font-family: var(--font-sans);
}

.ec-discount-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border-radius: 4px !important;
  padding: 0.15rem 0.5rem;
}

.ec-mrp {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pd-style-5 {
  margin-top: 0.5rem;
}

/* Offers */
.ec-offers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.ec-offer-card {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 6px !important;
  background: var(--green-soft);
}

.ec-offer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.3rem;
}

.ec-offer-title i, .ec-offer-title svg {
  width: 1rem;
  height: 1rem;
}

.ec-offer-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* About this item */
.pd-style-6 {
  margin-bottom: 1.75rem;
}

.pd-style-7 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--fg);
}

.ec-specs-list {
  list-style: disc;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ec-specs-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.ec-specs-list li:first-child {
  list-style: none;
  margin-left: -1.3rem;
  color: var(--fg);
  font-weight: 500;
}

/* Warranty Box (inline strip near CTA) */
.ec-warranty-box,
.pd-style-8 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 0;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border);
}

.ec-warranty-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.ec-warranty-item i, .ec-warranty-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--green-primary);
}

/* Actions (Add to Cart / Buy Now) */
.ec-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 480px) {
  .ec-actions { flex-direction: column; }
}

.ec-btn-cart,
.ec-btn-buy {
  flex: 1;
  padding: 0.95rem 1.5rem;
}

.ec-btn-cart {
  background: var(--bg-surface);
  border: 1px solid var(--fg);
  color: var(--fg);
}

.ec-btn-cart:hover {
  background: var(--fg);
  color: #FFFFFF;
}

.ec-btn-buy {
  background: var(--blue-accent);
  border: 1px solid var(--blue-accent);
  color: #FFFFFF;
}

.ec-btn-buy:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
}

/* Below-fold section title & spacing */
.pd-style-9 {
  padding-top: 3.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.ec-section-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.pd-style-10 {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px !important;
}

.ec-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ec-specs-table th,
.ec-specs-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ec-specs-table tr:last-child th,
.ec-specs-table tr:last-child td { border-bottom: none; }

.ec-specs-table th {
  width: 220px;
  background: var(--bg-2);
  font-weight: 700;
  color: var(--fg);
}

.ec-specs-table td { color: var(--muted); }

/* Generic below-fold section spacing (About Brand / Box / Warranty / Gallery / Reviews) */
.pd-style-11 {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

/* About the Brand */
.ec-about-brand-card,
.pd-style-12 {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .ec-about-brand-card,
  .pd-style-12 { flex-direction: column; text-align: center; }
}

.pd-style-13 {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border-radius: 6px !important;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.pd-style-14 {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.ec-about-brand-text { min-width: 0; }

.pd-style-15 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.pd-style-16 {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.pd-style-17 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .pd-style-17 { justify-content: center; }
}

.detail-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 4px !important;
  background: var(--blue-light);
  color: var(--blue-accent);
  font-size: 0.76rem;
  font-weight: 700;
}

/* What's in the Box */
.pd-style-18 {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pd-style-19 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--fg);
}

.pd-style-20 {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Warranty Details Cards */
.pd-style-21 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .pd-style-21 { grid-template-columns: minmax(0, 1fr); }
}

.pd-style-22 {
  padding: 1.75rem;
  text-align: center;
}

.pd-style-23 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.pd-style-24 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.pd-style-25 {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Product Gallery Strip */
.gallery-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .gallery-strip-grid { grid-template-columns: minmax(0, 1fr); }
}

.gallery-strip-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px !important;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-strip-img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Customer Reviews Summary */
.pd-style-26 {
  display: flex;
  gap: 3rem;
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .pd-style-26 { flex-direction: column; gap: 1.5rem; }
}

.pd-style-27 {
  flex-shrink: 0;
  text-align: center;
  padding-right: 3rem;
  border-right: 1px solid var(--border);
}

@media (max-width: 640px) {
  .pd-style-27 {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
}

.pd-style-28 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
}

.pd-style-29 {
  margin: 0.6rem 0;
  color: #F5A623;
  font-size: 1rem;
}

.pd-style-31 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}

.pd-style-32 {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2.75rem;
  align-items: center;
  gap: 0.75rem;
}

.pd-style-33 {
  font-size: 0.8rem;
  color: var(--muted);
}

.pd-style-34 {
  height: 0.5rem;
  border-radius: 4px;
  background: var(--bg-2);
  overflow: hidden;
}

.pd-style-35, .pd-style-37, .pd-style-38, .pd-style-39, .pd-style-40 {
  height: 100%;
  border-radius: 4px;
  background: #F5A623;
}

.pd-style-35 { width: 78%; }
.pd-style-37 { width: 14%; }
.pd-style-38 { width: 5%; }
.pd-style-39 { width: 2%; }
.pd-style-40 { width: 1%; }

.pd-style-36 {
  font-size: 0.78rem;
  text-align: right;
}

/* Review Cards */
.pd-style-41 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pd-style-42 {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
}

.pd-style-43 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pd-style-44 {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--blue-light);
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.pd-style-45 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}

.pd-style-46 {
  margin-left: auto;
  color: #F5A623;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pd-style-47 {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.pd-style-48 {
  color: var(--border-2);
}

/* Footer powered-by line */
.pd-style-50 {
  margin-left: 0.5rem;
  opacity: 0.9;
}

.pd-style-51 {
  color: var(--purple-accent);
  font-weight: 600;
  text-decoration: none;
}

/* ── Pagination (appears only when a grid has more than 6 items) ─────────── */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pager[hidden] { display: none; }

.pager-btn {
  min-width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: var(--fg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px !important;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}

/* Prev / Next: wider pills with a chevron */
.pager-btn.pager-arrow {
  padding: 0 1.3rem;
  background: var(--bg-2, #F7F8FA);
}

.pager-btn svg,
.pager-btn i {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.pager-btn:hover:not(:disabled):not(.active) {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* Current page: solid dark circle */
.pager-btn.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.12));
}

.pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Filters (services + products) ─────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem 1.25rem;
  margin: 0 0 2.25rem;
}
.filter-search {
  position: relative;
  flex: 1 1 100%;
  max-width: 420px;
  margin: 0 auto;
  min-width: 200px;
}
.filter-search svg,
.filter-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted, var(--fg));
  opacity: 0.7;
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-search input:focus {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 100%;
}
.filter-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.filter-chip:hover {
  border-color: var(--purple-accent);
  transform: translateY(-1px);
}
.filter-chip.active {
  background: var(--purple-accent);
  border-color: var(--purple-accent);
  color: #fff;
}
.filter-chip:focus-visible {
  outline: 2px solid var(--purple-accent);
  outline-offset: 2px;
}
.filter-count {
  flex: 1 1 100%;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}
.is-filtered { display: none !important; }
.filter-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}
.filter-empty[hidden],
.product-grid[hidden],
.grid-3[hidden] { display: none; }
.filter-empty p { margin: 0 0 1rem; opacity: 0.8; }

@media (max-width: 600px) {
  .filter-bar { gap: 0.85rem; margin-bottom: 1.5rem; }
  .filter-search { flex: 1 1 100%; min-width: 0; }
  /* 16px stops iOS Safari from zooming the page when the field is focused */
  .filter-search input { font-size: 16px; padding: 0.8rem 1rem 0.8rem 2.5rem; }
  /* chips wrap onto several rows so every category is visible without hidden scrolling */
  .filter-chips { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
  .filter-chip { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
  .filter-count { text-align: center; }
}

/* ── 24-Product Section Grid & Pagination System ── */
#products .prd-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem !important;
  margin-top: 2rem !important;
  overflow-x: visible !important;
  flex-wrap: wrap !important;
  transition: opacity 0.22s ease;
  min-height: 480px;
}

#products .prd-grid .product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}

#products .prd-grid .product-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-accent, #6366f1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

#products .prd-grid .product-slider {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--bg-3, #f1f5f9);
}

#products .prd-grid .product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.5s ease;
}

#products .prd-grid .product-card:hover .product-slide {
  transform: scale(1.04);
}

#products .prd-grid .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--purple-accent, #6366f1);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#products .prd-filter-bar {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

#products .prd-count {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

#products .prd-pagination {
  margin-top: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

#products .prd-pagination[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  #products .prd-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
  }
}

@media (max-width: 640px) {
  #products .prd-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
  }
  #products .prd-grid > * {
    flex: none !important;
    width: 100% !important;
  }
}

/* ── Force-centre the filter bars on every screen size ── */
#services-list .filter-bar,
#products .filter-bar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  text-align: center;
}
#services-list .filter-chips,
#products .filter-chips {
  display: flex !important;
  flex: 1 1 100% !important;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center !important;
  margin-left: auto;
  margin-right: auto;
}
#services-list .filter-search { margin: 0 auto; }
#products .filter-count,
#services-list .filter-count { width: 100%; text-align: center !important; }

/* ── Filter bar + pagination refresh (rounded-square style, dark-green active) ── */
.filter-search { max-width: 525px; }
.filter-search svg,
.filter-search i { left: 1.1rem; width: 1.15rem; height: 1.15rem; }
.filter-search input {
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-surface);
}
.filter-search input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 45, 36, 0.12);
}
.filter-chips { gap: 0.75rem; }
.filter-chip {
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
}
.filter-chip:hover { border-color: var(--green-primary); }
.filter-chip.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  font-weight: 600;
}
.filter-chip:focus-visible { outline-color: var(--green-primary); }
.filter-count { font-size: 0.95rem; opacity: 0.75; }

.pager-btn,
#productsPagination button {
  border-radius: 8px !important;
}
.pager-btn.pager-arrow,
#productsPagination button[aria-label*="rev"],
#productsPagination button[aria-label*="ext"] {
  padding: 0 1.4rem;
}
.pager-btn:disabled { opacity: 0.55; }
/* ==========================================================================
   Services & Products Catalog Styles — Clean White Luxury Theme
   ========================================================================== */

/* ── 0. Utility grid for this page ─────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ── 1. Services Hero ───────────────────────────────────────────────────── */
.services-hero {
  position: relative;
  padding: 8.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  min-height:83vh;
}

.services-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── 2. Services Grid & Cards ───────────────────────────────────────────── */
.service-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-detail-card:hover {
  border-color: var(--green-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-detail-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 1rem;
  color: var(--fg);
}

.service-features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.service-features li i,
.service-features li svg {
  width: 1rem;
  height: 1rem;
  color: var(--green-primary);
  flex-shrink: 0;
}

/* ── 3. How They Work Together (Workflow) ───────────────────────────────── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

.workflow-step {
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--border);
  border-radius: 6px !important;
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: var(--green-hover);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 2.4rem;
  background: var(--green-primary);
  color: #FFFFFF;
  font-family: var(--font-display);
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border);
}

/* ── 4. Bundle / Package Deals ───────────────────────────────────────────── */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .bundle-grid {
    grid-template-columns: 1fr;
  }
}

.bundle-card {
  padding: 2.5rem;
  border-radius: 6px !important;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bundle-badge {
  position: absolute;
  top: 1.2rem;
  right: -2.5rem;
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bundle-price {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--green-primary);
  margin: 1rem 0;
}

/* ── 5. Comparison Table ─────────────────────────────────────────────────── */
.comparison-wrapper {
  margin-top: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th {
  padding: 1.2rem 1.5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.comparison-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-highlight,
.comparison-table th.col-highlight {
  background: var(--green-soft);
  color: var(--green-primary);
  font-weight: 600;
}

.comp-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.comp-check {
  color: var(--green-primary);
}

.comp-cross {
  color: #DC2626;
}

/* ── 6. Support Grid ─────────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.support-item i,
.support-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--green-primary);
  flex-shrink: 0;
}

.support-item h4 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

/* ── 7. Quote Section ────────────────────────────────────────────────────── */
.quote-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .quote-section {
    grid-template-columns: 1fr;
  }
}

.decision-notes {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.note-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.note-item h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.note-item h4 i,
.note-item h4 svg {
  color: var(--green-primary);
}

/* ==========================================================================
   8. Product Detail (Inner Product) Page
   ========================================================================== */

/* Back Bar */
.back-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.back-btn:hover { color: var(--fg); }

.back-btn i, .back-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Product Wrapper visibility (JS also toggles inline display) */
.product-detail-wrapper {
  padding: 3rem 0 4.5rem;
}

.pd-wrapper-hidden { display: none; }
.pd-wrapper-visible { display: block; }

/* Top Layout: Gallery + Details (pd-style-3) */
.ec-layout,
.pd-style-3 {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .ec-layout,
  .pd-style-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* Gallery Column */
.ec-gallery-column {
  display: flex;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

@media (max-width: 900px) {
  .ec-gallery-column { position: static; }
}

@media (max-width: 560px) {
  .ec-gallery-column { flex-direction: column-reverse; }
}

.ec-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .ec-thumbnails { flex-direction: row; overflow-x: auto; }
}

.ec-thumb {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 6px !important;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
  flex-shrink: 0;
  background: var(--bg-2);
}

.ec-thumb:hover { opacity: 1; }

.ec-thumb.active {
  border-color: var(--blue-accent);
  opacity: 1;
}

.ec-main-image-container {
  flex: 1;
  min-width: 0;
  border-radius: 6px !important;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
}

.ec-main-image,
.pd-style-4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

/* Details Column */
.ec-details-column {
  min-width: 0;
}

.ec-brand {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-accent);
  text-decoration: none;
}

.ec-brand:hover { text-decoration: underline; }

.ec-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0 0.85rem;
  color: var(--fg);
}

.ec-reviews {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ec-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  color: #F5A623;
}

.ec-stars i, .ec-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #F5A623;
}

.ec-review-count {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Pricing */
.ec-pricing-section {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.ec-offer-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--fg);
  font-family: var(--font-sans);
}

.ec-discount-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border-radius: 4px !important;
  padding: 0.15rem 0.5rem;
}

.ec-mrp {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pd-style-5 {
  margin-top: 0.5rem;
}

/* Offers */
.ec-offers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.ec-offer-card {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 6px !important;
  background: var(--green-soft);
}

.ec-offer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.3rem;
}

.ec-offer-title i, .ec-offer-title svg {
  width: 1rem;
  height: 1rem;
}

.ec-offer-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* About this item */
.pd-style-6 {
  margin-bottom: 1.75rem;
}

.pd-style-7 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--fg);
}

.ec-specs-list {
  list-style: disc;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ec-specs-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.ec-specs-list li:first-child {
  list-style: none;
  margin-left: -1.3rem;
  color: var(--fg);
  font-weight: 500;
}

/* Warranty Box (inline strip near CTA) */
.ec-warranty-box,
.pd-style-8 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 0;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border);
}

.ec-warranty-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.ec-warranty-item i, .ec-warranty-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--green-primary);
}

/* Actions (Add to Cart / Buy Now) */
.ec-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 480px) {
  .ec-actions { flex-direction: column; }
}

.ec-btn-cart,
.ec-btn-buy {
  flex: 1;
  padding: 0.95rem 1.5rem;
}

.ec-btn-cart {
  background: var(--bg-surface);
  border: 1px solid var(--fg);
  color: var(--fg);
}

.ec-btn-cart:hover {
  background: var(--fg);
  color: #FFFFFF;
}

.ec-btn-buy {
  background: var(--blue-accent);
  border: 1px solid var(--blue-accent);
  color: #FFFFFF;
}

.ec-btn-buy:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
}

/* Below-fold section title & spacing */
.pd-style-9 {
  padding-top: 3.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.ec-section-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.pd-style-10 {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px !important;
}

.ec-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ec-specs-table th,
.ec-specs-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ec-specs-table tr:last-child th,
.ec-specs-table tr:last-child td { border-bottom: none; }

.ec-specs-table th {
  width: 220px;
  background: var(--bg-2);
  font-weight: 700;
  color: var(--fg);
}

.ec-specs-table td { color: var(--muted); }

/* Generic below-fold section spacing (About Brand / Box / Warranty / Gallery / Reviews) */
.pd-style-11 {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

/* About the Brand */
.ec-about-brand-card,
.pd-style-12 {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .ec-about-brand-card,
  .pd-style-12 { flex-direction: column; text-align: center; }
}

.pd-style-13 {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border-radius: 6px !important;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.pd-style-14 {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.ec-about-brand-text { min-width: 0; }

.pd-style-15 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.pd-style-16 {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.pd-style-17 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .pd-style-17 { justify-content: center; }
}

.detail-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 4px !important;
  background: var(--blue-light);
  color: var(--blue-accent);
  font-size: 0.76rem;
  font-weight: 700;
}

/* What's in the Box */
.pd-style-18 {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pd-style-19 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--fg);
}

.pd-style-20 {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Warranty Details Cards */
.pd-style-21 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .pd-style-21 { grid-template-columns: minmax(0, 1fr); }
}

.pd-style-22 {
  padding: 1.75rem;
  text-align: center;
}

.pd-style-23 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.pd-style-24 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.pd-style-25 {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Product Gallery Strip */
.gallery-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .gallery-strip-grid { grid-template-columns: minmax(0, 1fr); }
}

.gallery-strip-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px !important;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-strip-img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Customer Reviews Summary */
.pd-style-26 {
  display: flex;
  gap: 3rem;
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .pd-style-26 { flex-direction: column; gap: 1.5rem; }
}

.pd-style-27 {
  flex-shrink: 0;
  text-align: center;
  padding-right: 3rem;
  border-right: 1px solid var(--border);
}

@media (max-width: 640px) {
  .pd-style-27 {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
}

.pd-style-28 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
}

.pd-style-29 {
  margin: 0.6rem 0;
  color: #F5A623;
  font-size: 1rem;
}

.pd-style-31 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}

.pd-style-32 {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2.75rem;
  align-items: center;
  gap: 0.75rem;
}

.pd-style-33 {
  font-size: 0.8rem;
  color: var(--muted);
}

.pd-style-34 {
  height: 0.5rem;
  border-radius: 4px;
  background: var(--bg-2);
  overflow: hidden;
}

.pd-style-35, .pd-style-37, .pd-style-38, .pd-style-39, .pd-style-40 {
  height: 100%;
  border-radius: 4px;
  background: #F5A623;
}

.pd-style-35 { width: 78%; }
.pd-style-37 { width: 14%; }
.pd-style-38 { width: 5%; }
.pd-style-39 { width: 2%; }
.pd-style-40 { width: 1%; }

.pd-style-36 {
  font-size: 0.78rem;
  text-align: right;
}

/* Review Cards */
.pd-style-41 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pd-style-42 {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px !important;
}

.pd-style-43 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pd-style-44 {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--blue-light);
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.pd-style-45 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}

.pd-style-46 {
  margin-left: auto;
  color: #F5A623;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pd-style-47 {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.pd-style-48 {
  color: var(--border-2);
}

/* Footer powered-by line */
.pd-style-50 {
  margin-left: 0.5rem;
  opacity: 0.9;
}

.pd-style-51 {
  color: var(--purple-accent);
  font-weight: 600;
  text-decoration: none;
}

/* ── Pagination (appears only when a grid has more than 6 items) ─────────── */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pager[hidden] { display: none; }

.pager-btn {
  min-width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: var(--fg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px !important;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}

/* Prev / Next: wider pills with a chevron */
.pager-btn.pager-arrow {
  padding: 0 1.3rem;
  background: var(--bg-2, #F7F8FA);
}

.pager-btn svg,
.pager-btn i {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.pager-btn:hover:not(:disabled):not(.active) {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* Current page: solid dark circle */
.pager-btn.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.12));
}

.pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Filters (services + products) ─────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem 1.25rem;
  margin: 0 0 2.25rem;
}
.filter-search {
  position: relative;
  flex: 1 1 100%;
  max-width: 420px;
  margin: 0 auto;
  min-width: 200px;
}
.filter-search svg,
.filter-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted, var(--fg));
  opacity: 0.7;
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-search input:focus {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 100%;
}
.filter-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.filter-chip:hover {
  border-color: var(--purple-accent);
  transform: translateY(-1px);
}
.filter-chip.active {
  background: var(--purple-accent);
  border-color: var(--purple-accent);
  color: #fff;
}
.filter-chip:focus-visible {
  outline: 2px solid var(--purple-accent);
  outline-offset: 2px;
}
.filter-count {
  flex: 1 1 100%;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}
.is-filtered { display: none !important; }
.filter-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}
.filter-empty[hidden],
.product-grid[hidden],
.grid-3[hidden] { display: none; }
.filter-empty p { margin: 0 0 1rem; opacity: 0.8; }

@media (max-width: 600px) {
  .filter-bar { gap: 0.85rem; margin-bottom: 1.5rem; }
  .filter-search { flex: 1 1 100%; min-width: 0; }
  /* 16px stops iOS Safari from zooming the page when the field is focused */
  .filter-search input { font-size: 16px; padding: 0.8rem 1rem 0.8rem 2.5rem; }
  /* chips wrap onto several rows so every category is visible without hidden scrolling */
  .filter-chips { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
  .filter-chip { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
  .filter-count { text-align: center; }
}

/* ── 24-Product Section Grid & Pagination System ── */
#products .prd-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem !important;
  margin-top: 2rem !important;
  overflow-x: visible !important;
  flex-wrap: wrap !important;
  transition: opacity 0.22s ease;
  min-height: 480px;
}

#products .prd-grid .product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}

#products .prd-grid .product-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-accent, #6366f1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

#products .prd-grid .product-slider {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--bg-3, #f1f5f9);
}

#products .prd-grid .product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.5s ease;
}

#products .prd-grid .product-card:hover .product-slide {
  transform: scale(1.04);
}

#products .prd-grid .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--purple-accent, #6366f1);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#products .prd-filter-bar {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

#products .prd-count {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

#products .prd-pagination {
  margin-top: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

#products .prd-pagination[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  #products .prd-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
  }
}

@media (max-width: 640px) {
  #products .prd-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
  }
  #products .prd-grid > * {
    flex: none !important;
    width: 100% !important;
  }
}

/* ── Force-centre the filter bars on every screen size ── */
#services-list .filter-bar,
#products .filter-bar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  text-align: center;
}
#services-list .filter-chips,
#products .filter-chips {
  display: flex !important;
  flex: 1 1 100% !important;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center !important;
  margin-left: auto;
  margin-right: auto;
}
#services-list .filter-search { margin: 0 auto; }
#products .filter-count,
#services-list .filter-count { width: 100%; text-align: center !important; }

/* ── Filter bar + pagination refresh (rounded-square style, dark-green active) ── */
.filter-search { max-width: 525px; }
.filter-search svg,
.filter-search i { left: 1.1rem; width: 1.15rem; height: 1.15rem; }
.filter-search input {
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-surface);
}
.filter-search input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 45, 36, 0.12);
}
.filter-chips { gap: 0.75rem; }
.filter-chip {
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
}
.filter-chip:hover { border-color: var(--green-primary); }
.filter-chip.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  font-weight: 600;
}
.filter-chip:focus-visible { outline-color: var(--green-primary); }
.filter-count { font-size: 0.95rem; opacity: 0.75; }

.pager-btn,
#productsPagination button {
  border-radius: 8px !important;
}
.pager-btn.pager-arrow,
#productsPagination button[aria-label*="rev"],
#productsPagination button[aria-label*="ext"] {
  padding: 0 1.4rem;
}
.pager-btn:disabled { opacity: 0.55; }

@media (max-width: 600px) {
  .filter-chip { padding: 0.55rem 1rem; font-size: 0.85rem; }
  .filter-search input { padding: 0.85rem 1rem 0.85rem 2.8rem; }
}


/* ── Products: compact search + filters ── */
#products .prd-filter-bar { gap: 0.7rem 1rem; margin-top: 1rem; margin-bottom: 1.5rem; }
#products .filter-search { max-width: 360px; min-width: 0; }
#products .filter-search svg,
#products .filter-search i { left: 0.85rem; width: 0.95rem; height: 0.95rem; }
#products .filter-search input {
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  font-size: 0.88rem;
}
#products .filter-chips { gap: 0.45rem; }
#products .filter-chip {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}
#products .prd-count { font-size: 0.82rem; margin-top: 0.1rem; }


/* ── Hero background: image + veil — inherits global style from style.css (same as about page) ── */
.services-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.services-hero .hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.services-hero .hero-bg--image .hero-bg-video,
.services-hero .hero-bg--video .hero-bg-image { display: none; }
.services-hero .hero-title,
.services-hero .hero-title .grad {
  color: var(--fg);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}
.services-hero .hero-title .grad { font-style: italic; }
.services-hero .chip {
  background: rgba(247, 242, 235, 0.9);
  border: 1px solid rgba(34, 45, 36, 0.08);
  box-shadow: 0 4px 14px rgba(34, 45, 36, 0.06);
}
.services-hero .chip .dot { background: var(--green-primary); }
@media (max-width: 600px) {
  .filter-chip { padding: 0.55rem 1rem; font-size: 0.85rem; }
  .filter-search input { padding: 0.85rem 1rem 0.85rem 2.8rem; }
}


/* ── Products: compact search + filters ── */
#products .prd-filter-bar { gap: 0.7rem 1rem; margin-top: 1rem; margin-bottom: 1.5rem; }
#products .filter-search { max-width: 360px; min-width: 0; }
#products .filter-search svg,
#products .filter-search i { left: 0.85rem; width: 0.95rem; height: 0.95rem; }
#products .filter-search input {
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  font-size: 0.88rem;
}
#products .filter-chips { gap: 0.45rem; }
#products .filter-chip {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}
#products .prd-count { font-size: 0.82rem; margin-top: 0.1rem; }
/* ── "Supplying businesses across the UAE" strip: size only (overrides inline styles) ── */
section.section[style*="rgba(255, 255, 255, 0.01)"] > .container > div[style*="flex-wrap"] {
  gap: 1.5rem 2rem !important;
  font-size: 1.5rem !important;
}
@media (max-width: 600px) {
  section.section[style*="rgba(255, 255, 255, 0.01)"] {
    padding: 3rem 0 !important;
  }
  section.section[style*="rgba(255, 255, 255, 0.01)"] > .container > div[style*="flex-wrap"] {
    gap: 1.1rem 1.5rem !important;
    font-size: 1.2rem !important;
    margin-top: 1.5rem !important;
  }
}

/* ── Product image popup: image + prev / next / close only ──────────────── */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 12, 12, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.pm-box {
  position: relative;
  line-height: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
}

.pm-box img {
  display: block;
  max-width: min(88vw, 420px);
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pm-close,
.pm-nav {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, color 0.2s;
}

.pm-close svg,
.pm-nav svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  pointer-events: none;
}

.pm-close:hover,
.pm-nav:hover {
  background: var(--purple-accent, #BE111B);
  color: #fff;
}

/* same inset from the edge for all three buttons; arrows centred vertically */
.pm-close { top: 0.75rem; right: 0.75rem; }
.pm-nav { top: 50%; margin-top: -1.25rem; }
.pm-prev { left: 0.75rem; }
.pm-next { right: 0.75rem; }

@media (max-width: 480px) {
  .pm-close,
  .pm-nav { width: 2.25rem; height: 2.25rem; }
  .pm-close svg,
  .pm-nav svg { width: 1.1rem; height: 1.1rem; }
  .pm-nav { margin-top: -1.125rem; }
  .pm-close { top: 0.5rem; right: 0.5rem; }
  .pm-prev { left: 0.5rem; }
  .pm-next { right: 0.5rem; }
}

body.pm-lock { overflow: hidden; }