/* Elmuko Rubber product catalogue
   Brand colours come from the Elmuko logo. */
:root {
  --green: #027041;
  --green-dark: #01552F;
  --green-tint: #E6F2EC;
  --red: #BD1E2D;
  --red-dark: #9A1724;
  --red-tint: #FBEBEC;
  --ink: #1C211E;
  --muted: #5B635E;
  --line: #E1E5E2;
  --paper: #FFFFFF;
  --soft: #F5F7F5;
  --dark: #10241A;
  --radius: 12px;
  --wrap: 1200px;
  --font: "Poppins", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 12px; }

/* utility bar */
.utility { background: var(--green); color: #fff; font-size: .82rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; font-weight: 500; }
.utility a:hover { text-decoration: underline; color: #fff; }
.ucontact { display: flex; gap: 20px; flex-wrap: wrap; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(16, 36, 26, .05); }
.header .wrap { display: flex; align-items: center; gap: 22px; min-height: 80px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand .sub { color: var(--muted); font-size: .78rem; font-weight: 500; border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.2; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-tint); color: var(--green); }
.nav a.main-site { color: var(--red); }
.nav a.main-site::after { content: " →"; }
.nav a.main-site:hover { background: var(--red-tint); color: var(--red-dark); }
.search { position: relative; }
.search input { width: 220px; font: inherit; font-size: .9rem; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.search input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-tint); }
.suggest { position: absolute; right: 0; top: calc(100% + 8px); width: 360px; max-height: 60vh; overflow: auto; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(16, 36, 26, .16); display: none; z-index: 60; }
.suggest.open { display: block; }
.suggest a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.suggest a small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.suggest a:hover, .suggest a.active { background: var(--green-tint); }
.suggest .none { padding: 10px 12px; color: var(--muted); font-size: .88rem; }
.menu-btn { display: none; margin-left: auto; font: inherit; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 8px; border: 2px solid var(--green); background: var(--green); color: #fff; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn.wa { background: var(--red); border-color: var(--red); }
.btn.wa:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.outline { background: transparent; color: var(--green); }
.btn.outline:hover { background: var(--green-tint); color: var(--green-dark); }
.btn.light { background: #fff; border-color: #fff; color: var(--green); }
.btn.light:hover { background: var(--green-tint); color: var(--green-dark); }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn.outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn.small { padding: 9px 16px; font-size: .88rem; margin-top: 10px; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* hero */
.hero { background: linear-gradient(180deg, var(--green-tint), #fff); border-bottom: 1px solid var(--line); }
.hgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; padding: 72px 0; }
.hero h1 { max-width: 18ch; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hero .btns { margin-top: 26px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stats li { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 18px 22px; }
.stats strong { display: block; font-size: 1.9rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9rem; }

/* sections */
.sec { padding: 72px 0; }
.sec.tight { padding: 40px 0 64px; }
.sec.alt { background: var(--soft); border-block: 1px solid var(--line); }
.shead { margin-bottom: 28px; }
.shead p { color: var(--muted); margin: 0; }
.shead.row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.hint { margin-top: 22px; color: var(--muted); }
.eyebrow { display: block; color: var(--red); font-size: .8rem; font-weight: 600; margin-bottom: 4px; }

/* guide cards */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gcard { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.gcard:hover { border-color: var(--green); color: var(--ink); box-shadow: 0 8px 24px rgba(2, 112, 65, .1); }
.gcard strong { font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; }
.gcard span { color: var(--muted); font-size: .92rem; }
.gcard em { font-style: normal; color: var(--green); font-weight: 600; font-size: .9rem; margin-top: auto; padding-top: 14px; }

/* category cards */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.ccard:hover { border-color: var(--green); color: var(--ink); box-shadow: 0 10px 28px rgba(16, 36, 26, .1); }
.cimg { aspect-ratio: 16 / 9; background: #242624; overflow: hidden; }
.cimg img { width: 100%; height: 100%; object-fit: cover; }
.cbody { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.cbody strong { font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.csum { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.cfoot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; font-size: .85rem; font-weight: 600; color: var(--green); }
.arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--green-tint); display: grid; place-items: center; }
.ccard:hover .arrow { background: var(--green); color: #fff; }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.pcard:hover { border-color: var(--green); color: var(--ink); box-shadow: 0 10px 28px rgba(16, 36, 26, .1); }
.pimg { aspect-ratio: 4 / 3; background: #242624; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pbody { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pbody strong { font-weight: 600; font-size: 1.02rem; line-height: 1.3; margin-bottom: 6px; }
.psum { color: var(--muted); font-size: .87rem; margin-bottom: 14px; }
.more { margin-top: auto; font-weight: 600; font-size: .87rem; color: var(--green); }
.badge { position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; }
.badge.rpl { background: var(--red); }
.pinfo .badge, .note .badge { position: static; display: inline-block; margin-bottom: 10px; }
.note .badge { margin: 0 2px; }

/* filters */
.filters { display: grid; gap: 10px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: #fff; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.chip.small { font-size: .8rem; padding: 5px 12px; }
.empty { grid-column: 1 / -1; padding: 30px; background: var(--soft); border-radius: var(--radius); }

/* split + features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feats strong { display: block; font-weight: 600; color: var(--green); }
.feats span { color: var(--muted); font-size: .88rem; }

/* faq */
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--red); }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: .94rem; }

/* quote */
.quote { background: var(--green); color: #fff; }
.qgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 56px 0; }
.quote p { color: rgba(255, 255, 255, .88); margin: 0; }
.quote .btns { justify-content: flex-end; }

/* page header */
.phead { background: var(--soft); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.phead.slim { padding: 16px 0; }
.phead p { color: var(--muted); max-width: 70ch; margin: 0; }
.phead .note { margin-top: 12px; font-size: .9rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.phead.slim .crumbs { margin: 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs .sep { opacity: .5; }

/* product page */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; padding: 40px 0 64px; align-items: start; }
.gallery { position: sticky; top: 104px; }
.mainimg { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #242624; border: 1px solid var(--line); }
.mainimg img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 78px; height: 60px; padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.thumb.on { border-color: var(--green); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .93rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; background: var(--soft); font-weight: 500; color: var(--muted); }
.supply { display: inline-block; font-size: .85rem; font-weight: 500; padding: 7px 14px; border-radius: 8px; background: var(--green-tint); color: var(--green-dark); }
.supply.rpl { background: var(--red-tint); color: var(--red-dark); }
.small { font-size: .88rem; color: var(--muted); margin-top: 14px; }

.prose { padding: 40px 0 64px; max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; color: var(--green); }

/* footer */
.footer { background: var(--dark); color: #C5D1CA; font-size: .9rem; }
.fgrid { display: grid; grid-template-columns: 1.2fr 1.7fr .9fr 1.1fr; gap: 40px; padding: 56px 0 40px; }
.fcats ul { column-count: 2; column-gap: 28px; }
.fcats li { break-inside: avoid; }
.flogo { height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.footer h2 { font-size: .98rem; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer a { color: #E8F0EB; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .btn.wa, .footer .btn.wa:hover { color: #fff; text-decoration: none; }
.legal { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.legal .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 24px; }
.legal a + a { margin-left: 16px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 8px; background: #25D366; color: #fff; font-weight: 600; text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.wa-float:hover { background: #1DA851; color: #fff; }
.wa-float svg { width: 22px; height: 22px; }

/* responsive */
@media (max-width: 1100px) {
  .search input { width: 170px; }
  .nav a { padding: 8px 8px; }
  .brand .sub { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .header .wrap { flex-wrap: wrap; padding: 10px 0; min-height: 0; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; padding: 6px 0 10px; }
  .nav.open { display: flex; }
  .search { order: 3; width: 100%; }
  .search input, .suggest { width: 100%; }
  .brand img { height: 44px; }
  .hgrid, .split, .product, .qgrid { grid-template-columns: 1fr; }
  .hgrid { padding: 48px 0; gap: 32px; }
  .gallery { position: static; }
  .quote .btns { justify-content: flex-start; }
  .ggrid, .faqs { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fcats { grid-column: 1 / -1; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .utility .tag { display: none; }
  .feats { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .fcats ul { column-gap: 16px; }
  .sec { padding: 52px 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pbody { padding: 12px; }
  .psum { display: none; }
  .badge { top: 8px; left: 8px; font-size: .68rem; }
  .btns .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
@media print { .utility, .header, .wa-float, .quote, .footer { display: none; } }

/* full-width hero photo (1920 x 600, uploaded in Admin > Settings) */
.hero-photo { position: relative; overflow: hidden; background: var(--dark); border-bottom: 0; min-height: 600px; display: flex; align-items: center; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 20, .88) 0%, rgba(10, 30, 20, .7) 45%, rgba(10, 30, 20, .25) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 72px 0; }
.hero-photo h1 { color: #fff; max-width: 16ch; }
.hero-photo .lead { color: rgba(255, 255, 255, .9); max-width: 56ch; }
.hero-photo .btns { margin-top: 28px; }
@media (max-width: 920px) {
  .hero-photo { min-height: 480px; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(10, 30, 20, .75), rgba(10, 30, 20, .88)); }
  .hero-inner { padding: 56px 0; }
}
