/* ============================================================
   FurryPals — brand showcase site
   Primary: red | Headings: Baloo 2 | Body: Nunito Sans
   ============================================================ */

:root {
  --red: #e63946;
  --red-dark: #c42734;
  --red-soft: #fdeeee;
  --cream: #fdf8f4;
  --ink: #2a211b;
  --ink-soft: #6b5d53;
  --line: #f0e4dc;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(42, 33, 27, 0.08);
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* The off-canvas mobile menu is `position:fixed` and parked outside the
     viewport. A fixed box is still part of the document's scrollable area,
     which made the whole page scroll sideways on phones (390px viewport →
     694px document). Clipping on <body> — not <html> — suppresses that
     without turning <html> into a scroll container, so the sticky header
     and in-page anchor links keep working. */
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Grid and flex children default to a min-content width, so one long
   unbreakable string (an email address, a SKU, a URL) can push a track wider
   than the viewport and make the whole page scroll sideways on phones.
   Letting grid children shrink prevents that class of bug globally;
   `min-width:0` on a non-flex child is inert, so this is safe to apply
   broadly inside <main>. */
main :where(*) { min-width: 0; }

.container { width: min(1140px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand img { height: 38px; width: auto; display: block; }
.brand-footer img { height: 44px; }
.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--red); }
.btn-header { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats {
  display: flex;
  gap: 36px;
  list-style: none;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--red); line-height: 1.1; }
.hero-stats span { font-size: 0.85rem; color: var(--ink-soft); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  max-width: 420px;
}
.hero-card img { border-radius: 16px; }

.chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip-1 { top: 6%; left: 2%; }
.chip-2 { top: 26%; right: 0; }
.chip-3 { bottom: 26%; left: 0; }
.chip-4 { bottom: 6%; right: 6%; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Products ---------- */
.products { background: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; background: var(--white); }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 18px; }
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.product-body ul { list-style: none; margin-bottom: 18px; flex: 1; }
.product-body li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.product-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.75;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
}
.btn-card {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.15s;
}
.btn-card:hover { background: var(--red-dark); }

/* ---------- Why ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease;
}
.feature:hover { transform: translateY(-5px); }
.feature-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 14px;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-copy .btn { margin-top: 10px; }
.about-visual img {
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars {
  color: var(--red);
  font-size: 1.05rem;
  letter-spacing: 3px;
}
.review-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}
.reviewer { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.reviewer-meta { display: flex; flex-direction: column; line-height: 1.3; }
.reviewer-meta strong { font-size: 0.95rem; color: var(--ink); }
.reviewer-meta span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
/* Grid items default to min-content width, so a long unbreakable string (the
   email address in the contact card) can push a column wider than the
   viewport and make the page scroll sideways on phones. */
.contact-grid > * { min-width: 0; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.contact-copy > p { color: var(--ink-soft); margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.contact-card:hover { border-color: var(--red); transform: translateX(4px); }
.cc-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
}
.cc-value { font-weight: 600; color: var(--ink); }

.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
/* Rows that take the full two-column width: Name, Interested in, Message and
   Attachments. The submit button and the result note are direct grid children
   too, so they need the same treatment — otherwise they get squeezed into a
   single half-width track and stretch vertically into an oversized blob. */
.form-row:nth-child(1),
.form-row:nth-child(4),
.form-row:nth-child(5),
.form-row:nth-child(6),
.enquiry-form > button[type="submit"],
.enquiry-form > .form-note { grid-column: span 2; }

/* The submit sits on its own full-width row. Sized to its own label instead of
   filling the row, and left-aligned so it lines up with the inputs above; it
   still stretches full width on phones where thumb reach matters more. */
.enquiry-form > button[type="submit"] {
  justify-self: start;
  padding: 12px 30px;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .enquiry-form > button[type="submit"] { justify-self: stretch; }
}
label, .form-label { font-weight: 700; font-size: 0.85rem; }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
textarea { resize: vertical; }
.form-note { grid-column: span 2; font-size: 0.88rem; color: var(--red); font-weight: 600; text-align: center; min-height: 1.2em; }

/* ---------- Social icons ---------- */
.social-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.social {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8b8ac;
  padding: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}
.social:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}
.social svg { width: 14px; height: 14px; display: block; }

/* ---------- Category blocks ---------- */
.category-block { margin-bottom: 56px; }
.category-block:last-child { margin-bottom: 0; }
.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.category-head h3 {
  font-size: 1.4rem;
  font-weight: 700;
}
.category-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
}
.category-count:empty { display: none; }

/* ---------- Detail page ---------- */
.detail-cat {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.detail-section { padding: 56px 0 88px; }
.back-link {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  margin-bottom: 30px;
}
.back-link:hover { color: var(--red-dark); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-media {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.detail-media img { width: 100%; border-radius: 14px; }
.detail-media .product-tag { top: 22px; left: 22px; }
.detail-info h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.detail-lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 22px; }
.detail-points {
  list-style: none;
  margin-bottom: 32px;
}
.detail-points li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.detail-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--red);
  font-size: 0.95rem;
}
.detail-h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  font-weight: 700;
  width: 38%;
  color: var(--ink-soft);
}
.detail-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-media { padding: 28px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e8ddd4;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.brand-footer { color: #fff; }
.brand-footer span { color: var(--red); }
.footer-tag { font-size: 0.92rem; margin-top: 10px; color: #b9a99d; max-width: 30ch; }
.site-footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: #fff;
}
.site-footer a {
  display: block;
  font-size: 0.92rem;
  color: #b9a99d;
  margin-bottom: 9px;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.85rem;
  color: #8f8177;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 60;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ----------
   The static catalogue and the detail-page notice are plain markup that
   ships in every page. They are shown only when scripting is unavailable
   (`html.js` is added by main.js), so a blocked or failed script leaves the
   visitor with a readable page instead of four invisible product sections. */
.nojs-only { display: none; }
html:not(.js) .nojs-only { display: block; }

html:not(.js) .nojs-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 14px 0 34px;
}
html:not(.js) .nojs-list a { font-weight: 600; }
html:not(.js) .nojs-list a:hover { color: var(--red); }
/* Controls that only work with JS are hidden rather than left inert. */
html:not(.js) .banner-arrow,
html:not(.js) .banner-dots,
html:not(.js) .nav-toggle,
html:not(.js) .file-drop { display: none !important; }
/* Without JS the carousel can't switch, so stack all three slides visibly. */
html:not(.js) .banner-track { min-height: 0; }
html:not(.js) .banner-slide {
  position: relative;
  opacity: 1;
  visibility: visible;
  margin-bottom: 18px;
}
html:not(.js) #prodTrigger { display: none; }
html:not(.js) .nav-dropdown .dropdown-panel {
  display: block;
  position: static;
  opacity: 1;
  visibility: visible;
  width: 100%;
  box-shadow: none;
  border: none;
  padding: 0;
}
/* No-JS: the hamburger is inert, so lay the links out inline in the header. */
html:not(.js) .main-nav {
  display: flex !important;
  position: static;
  flex-direction: row;
  width: auto;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
html:not(.js) .main-nav a,
html:not(.js) .main-nav .dropdown-item {
  padding: 8px 12px;
  font-size: 0.9rem;
}

/* ---------- Reveal animation ----------
   Gated behind `html.js` (set by main.js as the very first thing it does).
   Without JS the elements must stay fully visible — otherwise the four
   product sections would be stuck at opacity:0 and the page looks empty. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ----------
   Honour the OS "reduce motion" setting: no reveals, no smooth scroll,
   no carousel slide, no hover lift. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .reveal.in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .banner-slide:hover .banner-cta { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { order: -1; }
  .about-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Off-canvas menu.
     The closed state uses `display: none` rather than being parked offscreen
     with a negative offset or a transform. A `position: fixed` box is laid
     out against the viewport and is NOT clipped by `overflow` on <html> or
     <body>, so any "hide it just outside the edge" approach still widened
     the document and let the whole page scroll sideways on phones
     (390px viewport → 694px document). Removing it from the box tree
     entirely is the only approach that actually works; the open/close
     animation is kept by transitioning the inner content instead. */
  .main-nav {
    display: none;
    position: fixed;
    /* sits just under the sticky header; main.js keeps --header-h in sync,
       68px is the pre-script fallback */
    top: var(--header-h, 68px);
    right: 0;
    width: min(280px, 80vw);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-radius: 0 0 0 18px;
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .main-nav.open {
    display: flex;
    animation: navSlideIn 0.25s ease;
  }
  @keyframes navSlideIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: none; }
  }
  .main-nav a { padding: 13px 26px; font-size: 1rem; }
  .nav-toggle { display: flex; margin-left: auto; }
  .btn-header { display: none; }
  .product-grid, .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 22px; }
  .enquiry-form { grid-template-columns: 1fr; padding: 24px; }
  .form-row, .form-row:nth-child(n) { grid-column: span 1; }
  /* The submit button and note are given `span 2` on wide screens so they get
     their own full-width row. In this single-column layout that would force
     an implicit second column to exist and squeeze every field into it, so
     they must drop back to `span 1`. */
  .enquiry-form > button[type="submit"],
  .enquiry-form > .form-note { grid-column: span 1; }
  .form-note { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip { display: none; }
}

/* ============================================================
   BANNER CAROUSEL
   ============================================================ */
.banner {
  position: relative;
  background: linear-gradient(135deg, #fdf1ee 0%, #fbe6e2 45%, #f7d9d4 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.banner-track { position: relative; min-height: 440px; }
.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.banner-slide.active { opacity: 1; visibility: visible; position: relative; }
.banner-grid {
  display: grid;
  /* image gets the larger half — the product family shot is the hero */
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: center;
  padding: 46px 0 52px;
}
.banner-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(230, 57, 70, 0.1);
}
.banner-copy h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.14;
}
/* short highlight line only — the detail lives on the product page */
.banner-copy p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 34ch;
  margin-bottom: 18px;
}
/* compact bullet highlights */
.banner-highlights {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.banner-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.banner-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 3px #fff;
}
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
  transition: gap 0.18s;
}
.banner-slide:hover .banner-cta { gap: 12px; }
.banner-media {
  display: grid;
  place-items: center;
}
.banner-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 20px 52px rgba(42, 33, 27, 0.14);
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.banner-arrow:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.28);
  border-color: var(--red);
}
.banner-prev { left: 18px; }
.banner-next { right: 18px; }
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(42, 33, 27, 0.22);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.banner-dot.active { background: var(--red); width: 26px; border-radius: 999px; }

/* ============================================================
   PRODUCTS DROPDOWN NAV
   Works via CSS :hover / :focus-within as the base layer, plus a
   JS-toggled .open class. Both paths show the same panel, so the
   menu can never get stuck closed.
   ============================================================ */
.nav-dropdown { position: relative; }
.main-nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0;
  transition: color 0.15s;
}
.main-nav .nav-trigger:hover { color: var(--red); }
.main-nav .nav-trigger svg { transition: transform 0.2s; }
.nav-dropdown.open .nav-trigger,
.nav-dropdown:hover .nav-trigger { color: var(--red); }
.nav-dropdown.open .nav-trigger svg,
.nav-dropdown:hover .nav-trigger svg { transform: rotate(180deg); }

/* Compact single-column panel: category name + product count only.
   Anchored to the RIGHT edge of the trigger so it grows leftwards and can
   never overflow the viewport. */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  right: -150px;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(42, 33, 27, 0.16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
/* invisible hover bridge so the cursor can travel from the trigger to the panel */
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-dropdown.open .dropdown-panel,
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* hard safety net: never taller than the space under the header */
.dropdown-panel { max-height: calc(100vh - 110px); overflow-y: auto; }

.dropdown-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-size: 0.93rem !important;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: var(--red-soft); color: var(--red) !important; }
.dropdown-title { white-space: nowrap; }
.dropdown-count {
  flex: none;
  font-size: 0.71rem;
  color: var(--ink-soft);
  font-weight: 700;
  background: var(--cream);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.dropdown-item:hover .dropdown-count { background: var(--white); color: var(--red); }

/* ============================================================
   PRODUCT GALLERY (detail page)
   ============================================================ */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  min-height: 380px;
  display: grid;
  place-items: center;
}
.gallery-main img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 9px;
}
.thumb {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 5px;
  cursor: pointer;
  display: grid;
  place-items: center;
  height: 68px;
  transition: border-color 0.15s, transform 0.15s;
}
.thumb img { max-height: 100%; max-width: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); border-color: var(--red); }
.thumb.active { border-color: var(--red); background: var(--red-soft); }

/* ============================================================
   A+ CONTENT (detail page)
   ============================================================ */
.a-plus { margin-top: 76px; padding-top: 56px; border-top: 1px solid var(--line); }
.aplus-grid { display: flex; flex-direction: column; gap: 22px; }
.aplus-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}
.aplus-item:nth-child(even) { grid-template-columns: 0.9fr 1.1fr; }
.aplus-item:nth-child(even) .aplus-imgs { order: 2; }
.aplus-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aplus-imgs img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--cream);
}
.aplus-3col { grid-template-columns: repeat(3, 1fr); }
.aplus-text h3 { font-size: 1.32rem; margin-bottom: 9px; }
.aplus-text p { color: var(--ink-soft); font-size: 0.97rem; }
.aplus-full { grid-template-columns: 1fr; }
.aplus-full .aplus-text { max-width: 68ch; text-align: center; margin-inline: auto; }

/* ============================================================
   RELATED PRODUCTS (detail page)
   ============================================================ */
.related { margin-top: 76px; padding-top: 56px; border-top: 1px solid var(--line); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-media {
  background: var(--cream);
  padding: 22px;
  display: grid;
  place-items: center;
  height: 170px;
}
.related-media img { max-height: 126px; width: auto; object-fit: contain; }
.related-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; }
.related-body h3 { font-size: 1.06rem; }
.related-body .btn-card { margin-top: 4px; }

/* ============================================================
   FILE ATTACHMENTS (enquiry form)
   ============================================================ */
.label-hint {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.file-drop {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.file-drop:hover { border-color: var(--red); background: var(--red-soft); }
/* The visible label sits on top and forwards clicks to the input through
   `for`/`id`. The input itself is laid out inline at zero visual size but
   stays focusable, so keyboard and screen-reader users can still reach it
   (a display:none input would be unreachable and unlabelled). */
.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.file-drop input[type="file"]:focus-visible ~ .file-drop-label {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 10px;
}
.file-drop:hover { border-color: var(--red); background: var(--red-soft); }
.file-drop:has(input:focus-visible) { border-color: var(--red); background: var(--red-soft); }
.file-drop-label {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 22px 16px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.89rem;
  font-weight: 600;
  margin: 0 !important;
}
.file-drop-label svg { color: var(--red); }
.file-list { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.file-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.85rem;
}
.file-icon { font-size: 1.05rem; }
.file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.file-size { color: var(--ink-soft); font-size: 0.78rem; }
.file-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 3px;
}
.file-remove:hover { color: var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  /* keep the compact panel clear of the viewport edge on narrower screens */
  .dropdown-panel {
    right: -60px;
    width: 280px;
  }
}
@media (max-width: 900px) {
  .banner-grid { grid-template-columns: 1fr; gap: 24px; padding: 34px 0 42px; }
  .banner-copy { order: 2; }
  .banner-media { order: 1; }
  .banner-copy p { max-width: none; }
  .banner-track { min-height: 0; }
  .banner-arrow { display: none; }
  .banner-dots { position: static; transform: none; justify-content: center; padding-bottom: 20px; }
  /* on mobile the nav is a slide-in panel — show the categories inline */
  .dropdown-panel {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 4px 0 10px 18px;
    display: none;
  }
  .nav-dropdown.open .dropdown-panel { display: block; }
  .dropdown-panel::before { display: none; }
  .dropdown-cat-list { border: none; padding: 0; margin: 0; }
  .aplus-item,
  .aplus-item:nth-child(even) { grid-template-columns: 1fr; }
  .aplus-item:nth-child(even) .aplus-imgs { order: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .aplus-3col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .banner-highlights li { font-size: 0.86rem; }
  .aplus-3col { grid-template-columns: 1fr; }
  .aplus-imgs img { min-height: 150px; }
  .gallery-main { min-height: 260px; padding: 20px; }
  .gallery-main img { max-height: 230px; }
  .thumb { height: 56px; }
}
