/* PRAMAX India — shared styles. Most styling is inline in each page (from the original design). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #F7941D; outline-offset: 2px;
}
.lang-btn {
  font: inherit; font-size: 14px; font-weight: 600; border: 0; padding: 10px 14px; min-height: 44px;
  cursor: pointer; background: #FFFFFF; color: #10201F;
}
.lang-btn[aria-pressed="true"] { background: #0E7F86; color: #FFFFFF; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Product lists from the ERP (pipes-fittings.html, cp-fittings.html) */
.cat-top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cat-search { flex: 1 1 360px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1.5px solid #C9D6D4; border-radius: 10px; background: #FFFFFF; color: #4A5D5B; }
.cat-search:focus-within { border-color: #0E7F86; }
.cat-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 0; outline: 0; padding: 14px 0; background: transparent; color: #10201F; }
.cat-count { margin: 0; font-size: 15px; color: #3A4A49; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: thin; }
.cat-chip { flex: none; font: inherit; font-size: 14px; font-weight: 500; padding: 9px 16px; min-height: 40px; border-radius: 999px; border: 1px solid #C9D6D4; background: #FFFFFF; color: #10201F; cursor: pointer; }
.cat-chip span { color: #6A7C7A; font-size: 12px; }
.cat-chip[aria-pressed="true"] { background: #0E7F86; border-color: #0E7F86; color: #FFFFFF; font-weight: 600; }
.cat-chip[aria-pressed="true"] span { color: #CDE9EA; }
.cat-brands .cat-chip[aria-pressed="true"] { background: #10201F; border-color: #10201F; }
.cat-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.cat-list li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid #E3EAE9; border-radius: 12px; background: #FFFFFF; }
.cat-list li:hover { border-color: #B9D3D1; box-shadow: 0 4px 14px rgba(16, 32, 31, 0.06); }
.cat-name { font-weight: 600; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.cat-meta { grid-row: 2; font-size: 13px; color: #5A6B69; margin-top: 2px; }
.cat-ask { grid-row: 1 / span 2; grid-column: 2; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; min-height: 40px; border: 0; border-radius: 8px; background: #F7941D; color: #10201F; cursor: pointer; white-space: nowrap; }
.cat-ask:hover { background: #E98510; }
.cat-empty { margin: 24px 0 0; padding: 18px; border-radius: 12px; background: #EEF7F7; color: #3A4A49; }
.cat-more-wrap { text-align: center; margin-top: 22px; }
.cat-more { font: inherit; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 8px; border: 1.5px solid #0E7F86; background: #FFFFFF; color: #0E7F86; cursor: pointer; }
.cat-note { margin: 22px 0 0; font-size: 14px; color: #5A6B69; }

/* Panels that replace photo placeholders */
.panel-stat { border-radius: 14px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.panel-stat b { font-family: Sora, sans-serif; font-size: 34px; line-height: 1.1; }
.panel-stat span { font-size: 14px; }

/* Sample product cards (pipes, CP fittings) */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.pcard { display: flex; flex-direction: column; border: 1px solid #E3EAE9; border-radius: 16px; overflow: hidden; background: #FFFFFF; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: 0 12px 28px rgba(16, 32, 31, 0.10); transform: translateY(-2px); }
.pcard img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #EEF7F7; }
.pcard-b { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.pcard-k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #0E7F86; }
.pcard h3 { margin: 0; font-family: Sora, sans-serif; font-size: 18px; line-height: 1.3; }
.pcard p { margin: 0; font-size: 14.5px; color: #3A4A49; }
.pcard .pcard-br { font-size: 13.5px; color: #10201F; font-weight: 500; }
.pcard .pcard-br span { color: #5A6B69; font-weight: 400; }
.pcard-cta { margin-top: auto; text-align: center; background: #F7941D; color: #10201F !important; font-weight: 600; font-size: 15px; text-decoration: none; padding: 11px; border-radius: 8px; }
.pcard-cta:hover { background: #E98510; }

/* Brand boxes */
.bgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.bcard { background: #FFFFFF; border: 1px solid #E3EAE9; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.bcard.bown { background: #10201F; color: #FFFFFF; border-color: #10201F; }
.bname { font-family: Sora, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; color: #10201F; }
.bown .bname { color: #FFFFFF; }
.bname sup { font-size: 13px; }
.bsub { margin: 0 0 6px; font-size: 13.5px; color: #5A6B69; }
.bown .bsub { color: #C7D3D1; }
.bcard ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; color: #3A4A49; }
.bown ul { color: #DDE7E6; }
.bsrc { margin: auto 0 0; padding-top: 12px; font-size: 12.5px; color: #6A7C7A; }
.bown .bsrc a { color: #F7941D; font-weight: 600; }

/* Picture tiles (home hero, Made by PRAMAX) */
.ptile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #FFFFFF; text-decoration: none; }
.ptile img { display: block; width: 100%; height: 100%; min-height: 150px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.ptile[style*="span 2"] img { aspect-ratio: 16 / 7; }
.ptile:hover img { transform: scale(1.04); }
.ptile span { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 999px; background: rgba(16, 32, 31, 0.82); color: #FFFFFF; font-size: 13.5px; font-weight: 600; }
.ptile-dark span { background: rgba(247, 148, 29, 0.95); color: #10201F; }

/* Two maps in the contact block */
.maps { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.maps p { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.maps a { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: none; }

@media (max-width: 640px) {
  section.cat > div { padding-top: 0 !important; padding-bottom: 6px !important; }
  .cat-list { grid-template-columns: 1fr; }
  .cat-ask { padding: 9px 12px; }
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  section > div, section { padding-top: 48px !important; padding-bottom: 48px !important; }
}
.bcard ul a { color: #0E7F86; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.bcard ul a::after { content: " ↗"; font-size: 0.85em; text-decoration: none; }

/* Real product images (assets/photos) */
.pcard.ph img { aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; padding: 6px; border-bottom: 1px solid #EEF2F1; }
.pcard-link { font-size: 13.5px; font-weight: 600; color: #0E7F86; text-decoration: none; }
.pcard-link:hover { text-decoration: underline; }
.bhead { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; scroll-margin-top: 20px; }
.bhead h2 { margin: 0; font-family: Sora, sans-serif; font-size: 36px; letter-spacing: -0.01em; }
.bhead h2 sup { font-size: 16px; }
.bhead-k { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #F7941D; }
.bhead-sub { margin: 4px 0 0; font-size: 15px; color: #5A6B69; }
.bhead-intro { margin: 0; max-width: 520px; font-size: 16px; color: #3A4A49; }
.subhead { margin: 36px 0 14px; font-family: Sora, sans-serif; font-size: 20px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.mcard { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid #E3EAE9; border-radius: 14px; background: #FFFFFF; text-decoration: none; color: #10201F; transition: box-shadow .2s, transform .2s; }
.mcard:hover { box-shadow: 0 10px 24px rgba(16, 32, 31, 0.10); transform: translateY(-2px); }
.mcard img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; }
.mcard span { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.mcard small { font-size: 12.5px; color: #0E7F86; font-weight: 500; }
.mgrid-acc { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.jump { max-width: 1240px; margin: 0 auto; padding: 20px 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid #C9D6D4; color: #10201F; text-decoration: none; font-size: 14px; font-weight: 600; background: #FFFFFF; }
.jump a:hover { border-color: #0E7F86; color: #0E7F86; }
.jump-light { padding: 18px 0 0; }
.credit { margin: 28px 0 0; font-size: 12.5px; color: #6A7C7A; }
.ptile-ph { background: #FFFFFF; border: 1px solid #DCE8E6; }
.ptile-ph img { aspect-ratio: 1 / 1; object-fit: contain; }
.pstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.pstrip img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; border-radius: 12px; }
@media (max-width: 640px) { .bhead h2 { font-size: 28px; } .mgrid { grid-template-columns: repeat(2, 1fr); } }
