/* ==========================================================================
   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: #C9962E;
}

.ec-stars i, .ec-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #C9962E;
}

.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: #C9962E;
  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: #C9962E;
}

.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: #C9962E;
  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 (services & products) ───────────────────────────────────── */
.page-hidden { display: none !important; }

.cards-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 3rem;
}

.cards-pagination button {
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.cards-pagination button:hover:not(:disabled):not(.active) {
  border-color: var(--purple-accent);
  color: var(--purple-accent);
  transform: translateY(-1px);
}

.cards-pagination button.active {
  background: var(--purple-accent);
  border-color: var(--purple-accent);
  color: #fff;
  cursor: default;
}

.cards-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.cards-pagination svg { width: 1rem; height: 1rem; }

@media (max-width: 600px) {
  .cards-pagination button { min-width: 2.4rem; height: 2.4rem; padding: 0 .75rem; }
}

/* ===== Services filter bar ===== */
.services-filter { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-bottom: 2.5rem; }
.sf-search { position: relative; width: 100%; max-width: 420px; }
.sf-search i, .sf-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted); pointer-events: none; }
.sf-search input { width: 100%; padding: .85rem 1rem .85rem 2.6rem; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--fg); font-family: var(--font-sans); font-size: .95rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.sf-search input::placeholder { color: var(--muted); }
.sf-search input:focus { border-color: var(--purple-accent, #b5121b); box-shadow: 0 0 0 3px rgba(181, 18, 27, .12); }
.sf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.sf-chip { padding: .7rem 1.3rem; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--fg); font-family: var(--font-sans); font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.sf-chip:hover { border-color: var(--purple-accent, #b5121b); transform: translateY(-1px); }
.sf-chip.active { background: var(--purple-accent, #b5121b); border-color: var(--purple-accent, #b5121b); color: #fff; font-weight: 600; }
.sf-count { margin: 0; font-size: .85rem; color: var(--muted); }
.sf-empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.sf-hidden { display: none !important; }
@media (max-width: 640px) {
  .sf-chips { gap: .45rem; }
  .sf-chip { padding: .55rem 1rem; font-size: .85rem; }
}

/* ===== Pagination buttons: squares / rounded rectangles ===== */
[class*="pagin"] button,
[class*="pagin"] a,
[class*="pagin"] li,
[class*="pagin"] span[class*="btn"],
[class*="pagin"] [class*="page"],
[class*="pagin"] [class*="prev"],
[class*="pagin"] [class*="next"] {
  border-radius: 6px !important;
}
/* ── Product grid: same responsive behavior as the service cards (.grid-3) ── */
#productsGrid.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

#productsGrid .product-card {
  min-width: 0;
  height: 100%;
}

/* Tablet: 2 columns (matches .grid-3 at 900px) */
@media (max-width: 900px) {
  #productsGrid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: 1 column (matches .grid-3 at 600px) */
@media (max-width: 600px) {
  #productsGrid.product-grid { grid-template-columns: 1fr; }
}

/* Tablet & below: center the price above the stacked buttons */
@media (max-width: 900px) {
  #productsGrid .product-footer {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #productsGrid .product-price {
    width: 100%;
    text-align: center;
  }
}


/* ==========================================================================
   FURNORA — Navy × Champagne Gold theme for Services & Product Detail
   Scoped to body.home-lux so it reuses the Home page tokens (--hx-*).
   ========================================================================== */

/* Hero */
body.home-lux .services-hero { background: var(--hx-surface-soft); }

/* Section backgrounds (mirrors Home) */
body.home-lux :is(#services-list, #bundles) {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(201, 150, 46, 0.11) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(12, 34, 80, 0.08) 0%, transparent 70%),
    #FFFFFF;
}
body.home-lux :is(#products, #comparison) { background: linear-gradient(135deg, #F0F3FA 0%, #FFFFFF 50%, #FBF4E1 100%); }
body.home-lux :is(#workflow, #support) { background: linear-gradient(180deg, #FFFFFF 0%, #F3F6FB 55%, #FBF4E1 100%); }
body.home-lux #custom-quote { background: linear-gradient(180deg, #F3F6FB 0%, #FFFFFF 50%, #FBF4E1 100%); }
body.home-lux .materials-strip { padding: 3.5rem 0; background: linear-gradient(135deg, #FFFFFF 0%, #F3F6FB 55%, #FBF4E1 100%); }

/* Gradient hairline cards */
body.home-lux :is(.service-detail-card, .workflow-step, .bundle-card, .support-item, .note-item, .quote-form-card,
                  .pd-style-22, .pd-style-42, .ec-offer-card, .ec-about-brand-card, .pd-style-10) {
  border-color: transparent;
  background: var(--hx-surface) padding-box, var(--hx-bd) border-box;
}
body.home-lux :is(.service-detail-card, .workflow-step, .bundle-card, .support-item, .note-item, .pd-style-22, .ec-offer-card):hover {
  --hx-bd: var(--hx-bd-strong);
  border-color: transparent;
}
body.home-lux .bundle-featured {
  background: var(--hx-g-dark) padding-box, linear-gradient(135deg, #F6E7B8 0%, #C9962E 55%, #94701F 100%) border-box;
  box-shadow: 0 24px 60px rgba(5, 15, 42, 0.28);
}
body.home-lux .bundle-featured :is(h3, .bundle-price) { background: none; -webkit-text-fill-color: #FFF8E6; color: #FFF8E6; }
body.home-lux .bundle-featured .muted, body.home-lux .bundle-featured .service-features li { color: rgba(255, 255, 255, 0.86); }
body.home-lux .bundle-featured .service-features li svg { stroke: #E2C06B; }
body.home-lux .bundle-badge { background: var(--hx-g-gold); color: #3B2A06; }
body.home-lux .bundle-price {
  color: #0C2250; background-image: var(--hx-g-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; width: fit-content; font-size: 2.1rem;
}
.bundle-list { margin: 0 0 1.75rem; flex: 1; }
.bundle-card .btn { margin-top: auto; }
@media (min-width: 992px) { .bundle-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card headings + icons */
body.home-lux :is(.service-detail-card h3, .workflow-step h3, .bundle-card h3, .support-item h4, .note-item h4) {
  width: fit-content; max-width: 100%; color: #091B40;
  background-image: linear-gradient(100deg, #091B40 0%, #0C2250 60%, #1D3F85 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.home-lux .workflow-step h3 { margin-inline: auto; }
body.home-lux :is(.service-features li svg, .support-item svg, .note-item h4 svg, .ec-warranty-item svg, .ec-offer-title svg,
                  .ec-stars svg, .ec-quickspecs svg, .product-dims svg, .back-btn svg, .pd-style-23 svg) { stroke: url(#hxStroke); color: #0C2250; }
body.home-lux .ec-stars svg { fill: #C9962E; stroke: #B8892B; }
.wf-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; color: #0C2250; }
body.home-lux .step-number { background: var(--hx-g-btn); color: #FFF8E6; border-color: rgba(226, 192, 107, 0.7); }
body.home-lux .comparison-table th.col-highlight { background: var(--hx-g-btn); color: #FFF8E6; }
body.home-lux .comparison-table td.col-highlight { background: rgba(201, 150, 46, 0.10); }

/* Materials row */
.materials-label { letter-spacing: 0.04em; }
.materials-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; margin-top: 1.5rem;
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); color: #0C2250; }
.materials-row span { position: relative; }
.materials-row span + span::before { content: ""; position: absolute; left: -1.7rem; top: 50%; width: 6px; height: 6px;
  border-radius: 50%; background: var(--hx-g-gold); transform: translateY(-50%); }
@media (max-width: 600px) { .materials-row span + span::before { display: none; } }

/* Filters */
body.home-lux .sf-search input:focus { border-color: #C9962E; box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.18); }
body.home-lux .sf-chip { border-color: rgba(201, 150, 46, 0.40); }
body.home-lux .sf-chip:hover { border-color: #C9962E; }
body.home-lux .sf-chip.active { background: var(--hx-g-btn); border-color: rgba(226, 192, 107, 0.6); color: #FFF8E6; }

/* Product card extras */
.product-dims { display: flex; align-items: center; gap: 0.45rem; margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--muted); }
.product-dims svg { width: 0.95rem; height: 0.95rem; flex-shrink: 0; }
.product-card:focus-visible { outline: 2px solid #C9962E; outline-offset: 3px; }

/* ── Product detail page ───────────────────────────────────────────────── */
body.home-lux .ec-title { margin-inline: 0; width: auto; }
body.home-lux .ec-section-title { margin-inline: 0; width: fit-content; }
body.home-lux .ec-brand { color: #94701F; }
body.home-lux .ec-offer-price { color: #0C2250; }
body.home-lux .ec-discount-badge { color: #94701F; background: #FBF3E4; border: 1px solid rgba(201, 150, 46, 0.5); }
body.home-lux .ec-btn-cart { background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, var(--hx-bd-strong) border-box; border: 1px solid transparent; color: #091B40; }
body.home-lux .ec-btn-cart:hover { background: var(--hx-g-btn); color: #FFFFFF; }
body.home-lux .ec-btn-buy { background: var(--hx-g-btn); border-color: rgba(226, 192, 107, 0.55); color: #FFFFFF; }
body.home-lux .ec-btn-buy:hover { background: var(--hx-g-btn); border-color: rgba(246, 231, 184, 0.9); filter: brightness(1.12); box-shadow: 0 10px 28px rgba(148, 112, 31, 0.30); }
body.home-lux .ec-thumb.active { border-color: #C9962E; }
.ec-quickspecs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.5rem; }
.ec-quickspecs span { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; font-size: 0.82rem; font-weight: 600;
  color: #091B40; background: #FBF6EC; border: 1px solid rgba(201, 150, 46, 0.45); border-radius: 6px; }
.ec-quickspecs svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.ec-enquire { margin-top: 0.9rem; justify-content: center; }
.pd-style-23 svg { width: 1.6rem; height: 1.6rem; }
body.home-lux .ec-specs-table th { color: #091B40; background: #FBF6EC; }
body.home-lux .detail-badge { border-color: rgba(201, 150, 46, 0.5); color: #94701F; background: #FBF3E4; }
@media (prefers-reduced-motion: reduce) {
  body.home-lux .service-detail-card, body.home-lux .workflow-step { transition: none; }
}