/* Product detail page — division theme is selected by the page template. */
.product-page {
  --product-accent: #1e4620;
  --product-accent-dark: #103a1b;
  --product-soft: #E9EEE8;
  --product-line: #DDE2DA;
  color: #171A18;
}
.product-page.product-theme-blower {
  --product-accent: #171A18;
  --product-accent-dark: #171A18;
  --product-soft: #E9EEE8;
  --product-line: #DDE2DA;
}
.product-page a { text-decoration: none; }
.product-page .container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.product-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  padding-top: 18px; padding-bottom: 20px; color: #5C625D; font-size: .84rem;
}
.product-breadcrumbs a { color: var(--product-accent); }
.product-breadcrumbs [aria-current="page"] { color: #343c42; }
.product-detail-main { padding-bottom: 12px; }
.product-top { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.product-gallery-main {
  position: relative; overflow: hidden; aspect-ratio: 1.42 / 1; border-radius: 9px;
  background: #FAFAF7; border: 1px solid #DDE2DA;
}
.product-gallery-slide { display: none; width: 100%; height: 100%; }
.product-gallery-slide.is-active { display: block; }
.product-gallery-slide > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-image-placeholder {
  width: 100%; height: 100%; min-height: 280px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: #7c858b;
  background: linear-gradient(135deg, #f0f1f2, #FAFAF7); font-size: .9rem;
}
.placeholder-mark { color: #b8c0c4; font-size: 3.3rem; line-height: 1; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: #FAFAF7;
  color: #28343b; box-shadow: 0 2px 10px #00000012; cursor: pointer; font-size: 1.7rem;
}
.gallery-prev { left: 14px; } .gallery-next { right: 14px; }
.product-gallery-layout { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.product-gallery-thumbnails { display: flex; flex-direction: column; gap: 9px; align-items: stretch; }
.gallery-thumb-empty { cursor: default; }
.gallery-thumb {
  aspect-ratio: 1 / 1; width: 100%; padding: 3px; display: grid; place-items: center; overflow: hidden;
  border: 1px solid #DDE2DA; border-radius: 6px; background: #FAFAF7; cursor: pointer;
}
.gallery-thumb.is-active { border: 2px solid var(--product-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-placeholder { color: #b8c0c4; font-size: 1.7rem; }
.product-summary { padding: 2px 0 0; }
.product-category {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 13px;
  color: #FAFAF7; background: var(--product-accent); font-size: .78rem; font-weight: 700; line-height: 1.2;
}
.product-summary h1 { margin: 12px 0 7px; color: #171A18; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
.product-description { margin: 0; max-width: 700px; color: #424e58; font-size: 1rem; line-height: 1.62; }
.product-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-cta {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 15px; border: 1px solid var(--product-accent); border-radius: 7px;
  font-size: .92rem; font-weight: 700; text-align: center; transition: background .15s ease, color .15s ease;
}
.product-cta-primary { background: var(--product-accent); color: #FAFAF7 !important; }
.product-cta-primary:hover { background: var(--product-accent-dark); }
.product-cta-secondary { background: #FAFAF7; color: var(--product-accent) !important; }
.product-cta-secondary:hover { background: var(--product-soft); }
.whatsapp-mark { color: #19b765; font-size: 1.25rem; }
.product-information { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; }
.product-info-panel { min-width: 0; padding: 22px 24px; border-radius: 9px; background: var(--product-soft); }
.product-info-panel h2, .related-products h2 {
  margin: 0 0 13px; color: var(--product-accent); font-size: 1.28rem; line-height: 1.25;
}
.product-spec-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #FAFAF7; border: 1px solid var(--product-line); border-radius: 6px; font-size: .88rem; }
.product-spec-table th, .product-spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--product-line); text-align: left; vertical-align: top; }
.product-spec-table tr:last-child th, .product-spec-table tr:last-child td { border-bottom: 0; }
.product-spec-table th { width: 42%; font-weight: 500; background: #FAFAF7; color: #171A18; }
.product-spec-table td { overflow-wrap: anywhere; }
.product-applications { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.product-applications li { display: flex; align-items: flex-start; gap: 11px; font-size: .93rem; }
.application-bullet { flex: 0 0 21px; color: var(--product-accent); font-weight: 800; }
.product-info-empty { color: #5e6970; margin: 0; font-size: .92rem; }
.related-products { margin-top: 25px; }
.related-products-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.related-products-heading h2 { margin: 0; }
.related-products-heading > a { color: var(--product-accent); font-weight: 700; font-size: .86rem; }
.related-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-product-card {
  position: relative; min-width: 0; display: grid; grid-template-columns: 100px minmax(0, 1fr) 18px;
  align-items: center; gap: 12px; padding: 11px; border: 1px solid #e1e7e9;
  border-radius: 8px; background: #FAFAF7; color: inherit; box-shadow: 0 2px 7px #00000005;
}
.related-product-image { height: 112px; display: grid; place-items: center; overflow: hidden; border-radius: 5px; background: #f0f1f2; color: #b8c0c4; }
.related-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.related-product-copy { min-width: 0; }
.related-product-copy h3 { margin: 0 0 4px; color: #171A18; font-size: .87rem; line-height: 1.3; }
.related-product-copy p { margin: 0; color: #65717a; font-size: .75rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-product-arrow { color: var(--product-accent); font-size: 1.2rem; }
@media (max-width: 900px) {
  .product-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-product-card { grid-template-columns: 84px minmax(0, 1fr) 16px; }
}
@media (max-width: 680px) {
  .product-page .container { width: min(100% - 28px, 560px); }
  .product-breadcrumbs { gap: 6px; padding-top: 13px; padding-bottom: 14px; font-size: .75rem; }
  .product-top, .product-information { grid-template-columns: 1fr; }
  .product-top { gap: 22px; }
  .product-gallery-layout { grid-template-columns: 58px minmax(0, 1fr); gap: 8px; }
  .product-gallery-main { aspect-ratio: 1 / 1; }
  .product-gallery-thumbnails { gap: 6px; }
  .product-summary h1 { font-size: 1.85rem; }
  .product-ctas { gap: 8px; }
  .product-cta { padding: 11px 7px; font-size: .8rem; gap: 6px; }
  .product-information { gap: 12px; margin-top: 18px; }
  .product-info-panel { padding: 18px 15px; }
  .related-products-heading { align-items: flex-start; }
  .related-products-heading > a { max-width: 48%; text-align: right; font-size: .76rem; }
  .related-products-grid { grid-template-columns: 1fr; }
  .related-product-card { grid-template-columns: 90px minmax(0, 1fr) 18px; }
}


/* Shared Paras Engg. Works color strategy: charcoal + off-white + forest green */
:root {
  --brand-charcoal: #171A18;
  --brand-offwhite: #FAFAF7;
  --brand-green: #1E4620;
  --brand-sage: #E9EEE8;
}

body { background-color: #FAFAF7; }

.product-page.product-theme-blower {
  --product-accent: #1E4620;
  --product-accent-dark: #17391E;
  --product-soft: #E9EEE8;
  --product-line: #DDE2DA;
}


/* Product detail refinements — locked Paras brand palette */
.product-page { color: #171A18; background: #FAFAF7; }
.product-page.product-theme-blower { --product-accent: #1E4620; --product-accent-dark: #17391E; --product-soft: #E9EEE8; --product-line: #DDE2DA; }
.product-gallery-main { background: #FAFAF7; border-color: #DDE2DA; }
.product-gallery-slide > img { object-position: center; }
.gallery-thumb:focus-visible, .gallery-arrow:focus-visible, .product-cta:focus-visible, .related-product-card:focus-visible { outline: 3px solid #719772; outline-offset: 3px; }
.related-product-image { background: #FAFAF7; border: 1px solid #DDE2DA; }
.related-product-image img { object-fit: contain; }
.product-image-placeholder { background: #FAFAF7; color: #5C625D; }
@media (max-width: 680px) {
  .product-gallery-layout { grid-template-columns: 1fr; }
  .product-gallery-thumbnails { order: 2; flex-direction: row; overflow-x: auto; padding-bottom: 3px; }
  .gallery-thumb { flex: 0 0 58px; }
  .product-gallery-main { order: 1; }
}


/* Requested product-detail refinements */
.product-top { align-items: stretch; }
.product-gallery { min-width: 0; }
.product-gallery-main { min-width: 0; }
.product-summary { display: flex; flex-direction: column; min-height: 100%; }
.product-summary-copy { min-width: 0; }
.product-ctas { margin-top: auto; padding-top: 22px; }
.whatsapp-icon { width: 18px; height: 18px; flex: 0 0 18px; color: #1E4620; }
.product-cta-secondary:hover .whatsapp-icon { color: #1E4620; }
.gallery-zoom {
  position: absolute; z-index: 3; right: 12px; bottom: 12px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid #DDE2DA; border-radius: 7px;
  color: #171A18; background: rgba(250,250,247,.96);
  box-shadow: 0 2px 8px #171A1818; cursor: zoom-in;
}
.gallery-zoom svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery-zoom:hover { background: #E9EEE8; }
.product-image-lightbox {
  position: fixed; inset: 0; width: min(94vw, 1400px); height: min(92vh, 1000px);
  max-width: none; max-height: none; padding: 24px; border: 1px solid #DDE2DA;
  border-radius: 12px; background: #FAFAF7; color: #171A18; overflow: visible;
}
.product-image-lightbox::backdrop { background: rgba(23,26,24,.86); }
.lightbox-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 42px; height: 42px;
  border: 1px solid #DDE2DA; border-radius: 50%; background: #FAFAF7; color: #171A18;
  font-size: 30px; line-height: 1; cursor: pointer;
}
.product-application-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.product-application-card { min-width: 0; overflow: hidden; border: 1px solid #DDE2DA; border-radius: 7px; background: #FAFAF7; }
.product-application-card > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #FAFAF7; }
.application-image-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #E9EEE8; color: #1E4620; font-weight: 800; letter-spacing: .12em; }
.product-application-card-copy { padding: 10px 11px 12px; }
.product-application-card-copy h3 { margin: 0; color: #171A18; font-size: .86rem; line-height: 1.35; }
.product-info-panel { min-height: 100%; }
.product-information { width: 100%; }
@media (max-width: 900px) {
  .product-application-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .product-summary { min-height: 0; }
  .product-ctas { margin-top: 0; padding-top: 18px; }
  .product-application-cards { grid-template-columns: 1fr; }
  .product-image-lightbox { padding: 14px; width: 96vw; height: 88vh; }
}


/* Available models: table-first layout using the site's established green palette. */
.available-models { margin: 28px 0 24px; padding: clamp(18px, 2.2vw, 28px); background: #E9EEE8; border: 1px solid #DDE2DA; border-radius: 12px; }
.available-models-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.available-models-heading h2 { margin: 0; color: #1E4620; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.025em; }
.available-models-heading > p { margin: 0 0 2px; color: #5C625D; font-size: .9rem; }
.available-models-table-wrap { overflow-x: auto; border: 1px solid #DDE2DA; border-radius: 8px; background: #FAFAF7; }
.available-models-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .84rem; text-align: left; }
.available-models-table th, .available-models-table td { padding: 12px 13px; border-bottom: 1px solid #DDE2DA; border-right: 1px solid #DDE2DA; vertical-align: middle; }
.available-models-table thead th { color: #1E4620; background: #F1F4EF; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.available-models-table tbody tr:last-child > * { border-bottom: 0; }
.available-models-table tr > *:last-child { border-right: 0; }
.available-models-table tbody th { color: #171A18; font-weight: 750; white-space: nowrap; }
.available-models-table tbody td { color: #5C625D; }
.available-models-table tbody tr { transition: background-color .16s ease; }
.available-models-table input[type="radio"] { accent-color: #1E4620; width: 16px; height: 16px; cursor: pointer; }
@media (max-width: 700px) { .available-models-heading { align-items: start; flex-direction: column; gap: 6px; } .available-models-table { min-width: 760px; } .available-models { padding: 16px; } }


/* Hero hierarchy: product title, description, specifications and CTAs stay together on the right. */
.product-top { align-items: stretch; }
.product-summary { gap: 0; }
.product-summary-copy { flex: 0 0 auto; }
.product-hero-specifications { margin-top: 16px; padding: 16px 17px; min-height: 0; }
.product-hero-specifications h2 { margin-bottom: 10px; font-size: 1.12rem; }
.product-hero-specifications .product-spec-table { font-size: .84rem; }
.product-hero-specifications .product-spec-table th,
.product-hero-specifications .product-spec-table td { padding: 8px 10px; }
.product-summary .product-ctas { margin-top: auto; padding-top: 16px; }
.product-information { grid-template-columns: minmax(0, 1fr); }
.product-information > .product-info-panel { min-height: 0; }
@media (max-width: 680px) {
  .product-hero-specifications { margin-top: 14px; padding: 15px 13px; }
  .product-summary .product-ctas { margin-top: 0; padding-top: 14px; }
}


/* Align the product gallery and the complete right-hand product summary as one hero row. */
@media (min-width: 901px) {
  .product-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: stretch;
    gap: clamp(28px, 3.2vw, 48px);
  }
  .product-gallery,
  .product-gallery-layout {
    height: 100%;
    min-height: 0;
  }
  .product-gallery-layout {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: stretch;
  }
  .product-gallery-main {
    height: 100%;
    min-height: 560px;
    aspect-ratio: auto;
  }
  .product-gallery-thumbnails {
    align-self: start;
  }
  .product-summary {
    height: 100%;
    min-height: 0;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .product-gallery-main { min-height: 500px; }
  .product-gallery-layout { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 900px) {
  .product-gallery-main { min-height: 0; }
}

/* Compact desktop hero: keep the gallery, specifications and CTAs in view together. */
@media (min-width: 901px) {
  .product-page .product-breadcrumbs {
    padding-top: 12px;
    padding-bottom: 13px;
    font-size: .78rem;
    gap: 7px;
  }
  .product-page .product-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(22px, 2.7vw, 38px);
    align-items: stretch;
  }
  .product-page .product-gallery-layout {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
  .product-page .product-gallery-main {
    height: 440px;
    min-height: 0;
    max-height: 440px;
    aspect-ratio: auto;
  }
  .product-page .product-gallery-thumbnails { gap: 7px; }
  .product-page .gallery-thumb { max-height: 64px; }
  .product-page .product-summary { height: auto; min-height: 0; }
  .product-page .product-category { padding: 4px 10px; font-size: .72rem; }
  .product-page .product-summary h1 {
    margin: 8px 0 6px;
    font-size: clamp(1.7rem, 2.3vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -.03em;
  }
  .product-page .product-description {
    font-size: .9rem;
    line-height: 1.45;
  }
  .product-page .product-hero-specifications {
    margin-top: 12px;
    padding: 12px 14px;
  }
  .product-page .product-hero-specifications h2 {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.2;
  }
  .product-page .product-hero-specifications .product-spec-table { font-size: .78rem; }
  .product-page .product-hero-specifications .product-spec-table th,
  .product-page .product-hero-specifications .product-spec-table td { padding: 6px 9px; }
  .product-page .product-summary .product-ctas {
    margin-top: 0;
    padding-top: 12px;
    gap: 10px;
  }
  .product-page .product-cta {
    min-height: 42px;
    padding: 9px 10px;
    font-size: .82rem;
    gap: 7px;
  }
}
@media (min-width: 901px) and (max-height: 900px) {
  .product-page .product-gallery-main { height: 400px; max-height: 400px; }
  .product-page .product-summary h1 { font-size: clamp(1.65rem, 2.1vw, 2rem); }
  .product-page .product-description { font-size: .86rem; line-height: 1.4; }
  .product-page .product-hero-specifications { margin-top: 10px; padding: 10px 12px; }
  .product-page .product-hero-specifications h2 { margin-bottom: 6px; font-size: .96rem; }
  .product-page .product-hero-specifications .product-spec-table th,
  .product-page .product-hero-specifications .product-spec-table td { padding: 5px 8px; }
  .product-page .product-summary .product-ctas { padding-top: 10px; }
}

/* Second content row: Available Models and Applications side by side. */
.product-page .product-model-applications {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  margin-top: 22px;
}
.product-page .product-model-applications > .available-models,
.product-page .product-model-applications > .product-info-panel {
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 18px;
}
.product-page .product-model-applications .available-models-heading {
  display: block;
  margin-bottom: 12px;
}
.product-page .product-model-applications .available-models-heading > p {
  margin-top: 6px;
  line-height: 1.4;
}
.product-page .product-model-applications .available-models-table {
  font-size: .78rem;
}
.product-page .product-model-applications .available-models-table th,
.product-page .product-model-applications .available-models-table td {
  padding: 9px 10px;
}
.product-page .product-model-applications .product-application-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-page .product-model-applications .product-application-card > img,
.product-page .product-model-applications .application-image-placeholder {
  aspect-ratio: 5 / 3;
}
.product-page .product-model-applications .product-application-card-copy {
  padding: 8px 9px 10px;
}
.product-page .product-model-applications .product-application-card-copy h3 {
  font-size: .8rem;
}
@media (max-width: 900px) {
  .product-page .product-model-applications {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Compact second section: keep model table and applications visible together. */
@media (min-width: 901px) {
  .product-page .product-model-applications {
    gap: 12px;
    margin-top: 14px;
    align-items: stretch;
  }
  .product-page .product-model-applications > .available-models,
  .product-page .product-model-applications > .product-info-panel {
    padding: 12px;
  }
  .product-page .product-model-applications .available-models-heading {
    margin-bottom: 8px;
  }
  .product-page .product-model-applications .product-page .product-model-applications .available-models-heading h2,
  .product-page .product-model-applications > .product-info-panel > h2 {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .product-page .product-model-applications .available-models-heading > p {
    margin-top: 4px;
    font-size: .72rem;
    line-height: 1.3;
  }
  .product-page .product-model-applications .available-models-table {
    font-size: .68rem;
    line-height: 1.25;
  }
  .product-page .product-model-applications .available-models-table th,
  .product-page .product-model-applications .available-models-table td {
    padding: 6px 7px;
  }
  .product-page .product-model-applications .available-models-table thead th {
    font-size: .62rem;
  }
  .product-page .product-model-applications .available-models-table input[type="radio"] {
    width: 13px;
    height: 13px;
  }
  .product-page .product-model-applications .product-page .product-model-applications .product-page .product-model-applications > .product-info-panel > h2 {
    margin-bottom: 8px;
  }
  .product-page .product-model-applications .product-application-cards {
    gap: 7px;
  }
  .product-page .product-model-applications .product-application-card > img,
  .product-page .product-model-applications .application-image-placeholder {
    aspect-ratio: 2.8 / 1;
  }
  .product-page .product-model-applications .product-application-card-copy {
    padding: 5px 7px 7px;
  }
  .product-page .product-model-applications .product-application-card-copy h3 {
    font-size: .68rem;
    line-height: 1.25;
  }
}


/* Applications: compact tick-list treatment, no imagery. */
.product-page .product-model-applications > .product-info-panel {
  padding: 12px;
}
.product-page .product-model-applications > .product-info-panel > h2 {
  margin-bottom: 8px;
}
.product-page .product-application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-page .product-application-list-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding: 5px 0;
  color: #171A18;
  font-size: .78rem;
  line-height: 1.3;
}
.product-page .product-application-check {
  display: inline-flex;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  border-radius: 50%;
  background: #E9EEE8;
  color: #1E4620;
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 900px) {
  .product-page .product-application-list { grid-template-columns: 1fr; }
}
