/* ==========================================================================
   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: 5.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(--blue-accent);
  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(--blue-accent);
  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;
}