/* ==========================================================================
   Rayya Embroidery — main stylesheet
   Plain, hand-written CSS. Section index:
     1. Variables & base        5. Buttons               9. Product cards & grids
     2. Layout helpers          6. Home page sections   10. Product detail page
     3. Header & navigation    7. Page headers          11. Contact page
     4. Footer & CTA band      8. Sidebar & category   12. Utilities & responsive
   Add site-specific overrides in custom.css, not here.
   ========================================================================== */

/* 1. Variables & base
   -------------------------------------------------------------------------- */
:root {
  --green:       #3ef78f;   /* primary accent */
  --green-dark:  #1acd8b;
  --green-deep:  #235342;   /* dark green text (top bar) */
  --green-ink:   #003a19;   /* CTA band heading */
  --lime:        #cbff46;   /* gradient partner of --green */
  --bg:          #f3f3f3;   /* page background */
  --ink:         #151515;   /* near-black text */
  --text:        #333333;
  --muted:       #757575;
  --line:        #efefef;   /* hairline borders */
  --white:       #ffffff;
  --radius:      12px;
  --radius-pill: 999px;
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md:   0 4px 14px rgba(0, 0, 0, .10);
  --font:        'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h:    158px;     /* marquee 44 + topbar 72 + nav 42 (desktop) */
}

* { box-sizing: border-box; }

/* The hidden attribute always wins, even over display rules below */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -0.02em; margin: 0 0 .5em; }
p  { line-height: 1.65; margin: 0 0 1em; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* 2. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }

.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading h2 { font-size: 1.75rem; font-weight: 700; }
.section-heading p  { color: var(--muted); }
@media (min-width: 768px) { .section-heading h2 { font-size: 2.25rem; } }

/* 3. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  transition: transform .3s ease;
}
.site-header.marquee-hidden { transform: translateY(-44px); }

.site-main { padding-top: var(--header-h); min-height: 60vh; }

/* Marquee banner */
.marquee {
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, var(--lime), var(--green));
  color: #000;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}
.marquee-item { font-size: .85rem; font-weight: 500; margin-right: 3rem; }
.marquee-star { display: inline-block; margin-left: 3rem; animation: star-spin 3s linear infinite; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes star-spin { to { transform: rotate(360deg); } }

/* Top bar */
.topbar { border-bottom: 1px solid var(--line); background: var(--white); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
  min-height: 72px;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--green-deep);
  font-size: .85rem;
}
.topbar-logo img { width: 56px; height: 56px; object-fit: contain; background: #dcfce7; border-radius: 10px; padding: 4px; }
.topbar-actions { display: flex; align-items: center; gap: 1rem; }
.topbar-actions .btn.topbar-call-mobile { display: none; }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: 0;
}
.hamburger span { width: 24px; height: 2px; background: #000; transition: all .25s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Desktop nav */
.main-nav {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-list { display: flex; justify-content: center; gap: .25rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .65rem .8rem;
  font-size: .875rem;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}
.nav-link:hover { color: #16a34a; }
.nav-caret { transition: transform .2s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.submenu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 12rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  z-index: 50;
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu-link { display: block; padding: .55rem 1rem; font-size: .875rem; color: #444; }
.submenu-link:hover, .submenu-link.active { background: #f0fdf4; color: #16a34a; }

/* Mobile nav */
.mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: .5rem 1rem 1rem;
}
.mobile-nav-link,
.mobile-nav-group {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: .65rem .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: #000;
  background: none;
  border: 0;
  border-radius: 8px;
  text-align: left;
}
.mobile-nav-link:hover, .mobile-nav-group:hover { background: #f0fdf4; color: #16a34a; }
.mobile-submenu { border-left: 2px solid #16a34a; background: #fafafa; margin: 0 0 .25rem .75rem; padding-left: .5rem; }
.mobile-submenu a { display: block; padding: .5rem .75rem; font-size: .8rem; color: #555; border-radius: 6px; }
.mobile-submenu a:hover { background: #dcfce7; color: #16a34a; }
.mobile-nav-cta { display: flex; gap: .5rem; padding-top: .75rem; border-top: 1px solid var(--line); margin-top: .5rem; }
.mobile-nav-cta .btn { flex: 1; text-align: center; }

/* 4. Footer & CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(to right, var(--lime), var(--green)); }
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.cta-band h5 { font-size: 1.5rem; font-weight: 700; color: var(--green-ink); line-height: 1.25; margin: 0; }
@media (min-width: 640px) {
  .cta-band-inner { grid-template-columns: 1fr 1fr; }
  .cta-band h5 { font-size: 2.25rem; }
  .cta-band-action { text-align: center; }
}

.site-footer { background: #000; color: #d1d5db; padding: 3rem 0 2rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.site-footer p, .site-footer li { font-size: .875rem; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-bottom { border-top: 1px solid #374151; padding-top: 2rem; text-align: center; font-size: .875rem; }

/* 5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: .7rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background .2s ease, opacity .2s ease;
}
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { opacity: .85; }
.btn-dark { background: #000; color: var(--white); }
.btn-dark:hover { background: #252525; }
.btn-white { background: var(--white); color: #000; box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--bg); }
.btn-square { border-radius: 8px; }
.btn-lg { padding: 1rem 2.5rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* 6. Home page sections
   -------------------------------------------------------------------------- */
/* Hero */
.hero { position: relative; height: 24rem; overflow: hidden; border-radius: 0 0 10px 10px; }
@media (min-width: 768px) { .hero { height: 620px; } }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .33); }
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  max-width: 56rem;
}
@media (min-width: 768px) { .hero-content { padding: 4rem; } }
.hero-content h1 { color: var(--white); font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 768px) { .hero-content h1 { font-size: 3rem; } }
.hero-content .btn { margin-top: 1.5rem; }

/* Feature strip */
.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0; }
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 1.25rem .75rem; }
.feature-icon { color: var(--green-dark); margin-bottom: .5rem; }
.feature h3 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.feature p { color: var(--muted); font-size: .875rem; margin: 0; }

/* Collections row */
.collections-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .collections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .collections-grid { grid-template-columns: repeat(4, 1fr); } }
.collection-card {
  position: relative;
  height: 20rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: block;
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.collection-card:hover img { transform: scale(1.08); }
.collection-card-label {
  position: absolute;
  left: 1.5rem; bottom: 1.5rem;
  background: rgba(255, 255, 255, .89);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: .6rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: #000;
}

/* Two large image tiles */
.tiles { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; height: 320px; overflow: hidden; display: block; }
@media (min-width: 768px) { .tile { height: 580px; } }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: all .3s ease; }
.tile:hover img { filter: grayscale(0); transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.tile-label {
  position: absolute;
  left: 2rem; bottom: 2rem;
  z-index: 2;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Tabbed products (home) */
.tabs { display: flex; justify-content: center; margin-bottom: 2rem; }
.tabs-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; background: var(--white); border-radius: var(--radius-pill); padding: .35rem; }
.tab {
  padding: .6rem 1.5rem;
  border: 0;
  background: none;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 600;
  color: #444;
  text-transform: capitalize;
}
.tab:hover { background: rgba(62, 247, 143, .33); }
.tab.active { background: var(--green); color: var(--ink); }
.tab-panel[hidden] { display: none; }

/* Horizontal product scroller */
.scroller-wrap { position: relative; }
.scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { flex: 0 0 85%; scroll-snap-align: start; }
@media (min-width: 640px)  { .scroller > * { flex-basis: calc(50% - .75rem); } }
@media (min-width: 1024px) { .scroller > * { flex-basis: calc(33.333% - 1rem); } }
.scroller-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: #111827;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroller-btn:hover { background: #1f2937; }
.scroller-btn:disabled { background: #d1d5db; cursor: default; }
.scroller-btn.prev { left: -10px; }
.scroller-btn.next { right: -10px; }

/* 7. Page headers (breadcrumb + H1)
   -------------------------------------------------------------------------- */
.page-head { padding: 1.5rem 0 1rem; }
@media (min-width: 768px) { .page-head { padding: 3rem 0 1.5rem; } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8rem; color: #6b7280; margin-bottom: .5rem; }
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb .sep { color: #9ca3af; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }
.page-head h1 { font-size: 1.05rem; font-weight: 600; margin: 0; }
@media (min-width: 768px) { .page-head h1 { font-size: 1.15rem; } }

/* Simple centered page hero (about / contact) */
.page-hero { background: var(--bg); text-align: center; padding: 4rem 1rem; }
.page-hero h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: .5rem; }
.page-hero p { color: var(--ink); margin: 0; }

/* 8. Sidebar & category index
   -------------------------------------------------------------------------- */
.with-sidebar { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .with-sidebar { grid-template-columns: 240px 1fr; } }

.sidebar { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 1.5rem; align-self: start; display: none; }
@media (min-width: 768px) { .sidebar { display: block; } }
.sidebar-group { border-bottom: 1px solid var(--bg); }
.sidebar-group-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: .75rem .5rem;
  font-weight: 700;
  font-size: .875rem;
  color: #1f2937;
  text-transform: capitalize;
}
.sidebar-group-title svg { transition: transform .2s ease; }
.sidebar-group.open .sidebar-group-title svg { transform: rotate(180deg); }
.sidebar-group-items { display: none; padding: 0 0 .5rem 1rem; }
.sidebar-group.open .sidebar-group-items { display: block; }
.sidebar-group-items a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: #444;
  text-transform: capitalize;
}
.sidebar-group-items a:hover { color: #16a34a; background: rgba(240, 253, 244, .6); }
.sidebar-group-items a.active { color: #16a34a; background: #f0fdf4; }

/* Category index page */
.category-index { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 3rem; }
.category-index-group-title { background: #f9fafb; border-bottom: 1px solid var(--line); padding: 1rem 1.5rem; }
.category-index-group-title h2 { font-size: 1.1rem; margin: 0; text-transform: capitalize; }
.category-index-items { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .category-index-items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .category-index-items { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .category-index-items { grid-template-columns: repeat(4, 1fr); } }
.category-index-items a {
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 500;
  color: #444;
  text-transform: capitalize;
}
.category-index-items a:hover { background: rgba(203, 255, 70, .15); color: #000; }

/* 9. Product cards & grids
   -------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; padding-bottom: 3rem; }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1280px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .3s ease, transform .3s ease;
}
.product-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.product-card-image { position: relative; aspect-ratio: 1; background: var(--white); overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .3s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: .75rem; right: .75rem;
  background: var(--green-dark);
  color: var(--white);
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
}
.product-card-body { padding: .9rem; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.product-card-category { font-size: .75rem; color: var(--muted); text-transform: capitalize; margin-bottom: .5rem; }
.product-sizes { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .75rem; }
.product-sizes span { font-size: .7rem; background: #f3f4f6; color: #374151; padding: .2rem .5rem; border-radius: 4px; }
.product-card-body .btn { margin-top: auto; border-radius: 8px; padding: .55rem; font-size: .8rem; }

.empty-state { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 3rem; text-align: center; }

/* 10. Product detail page
   -------------------------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--bg);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail-image { position: relative; aspect-ratio: 1; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding: 1.5rem; }
.product-detail-info h1 { font-size: 1.5rem; font-weight: 700; }
@media (min-width: 768px) { .product-detail-info h1 { font-size: 1.875rem; } }
.category-pill {
  display: inline-block;
  background: var(--green);
  color: #000;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: .75rem;
}
.product-detail-block { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.product-detail-block h2, .product-detail-block h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.size-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.size-list span { border: 2px solid #d1d5db; padding: .45rem 1rem; border-radius: 8px; font-weight: 500; font-size: .85rem; }
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--green);
  color: var(--ink);
  padding: .85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1.25rem;
}
.btn-whatsapp:hover { opacity: .85; }

.related-heading { font-size: 1.25rem; font-weight: 600; margin: 3rem 0 1.5rem; }

/* 11. Contact page
   -------------------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 0; }
@media (min-width: 640px)  { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: var(--white);
  border: 1px solid var(--bg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  text-align: center;
  display: block;
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: #bbf7d0; }
.contact-card svg { color: #16a34a; margin: 0 auto 1rem; }
.contact-card h3 { color: var(--muted); font-size: 1rem; font-weight: 600; }
.contact-card p { color: #000; font-weight: 600; margin: 0; }

.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-form h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: .875rem; font-weight: 500; color: #374151; margin-bottom: .5rem; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid #16a34a; border-color: transparent; }
.form-field textarea { resize: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { padding: 1rem; border-radius: 8px; margin-top: 1rem; font-size: .9rem; }
.form-note.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.form-note.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.map-frame { position: relative; min-height: 320px; height: 100%; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); display: block; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 1.5rem; }
.faq-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.faq-card p { color: var(--muted); margin: 0; }

/* 12. Utilities & shared page pieces
   -------------------------------------------------------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(to top right, var(--lime), var(--green));
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 640px)  { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 3rem 1rem; border-right: 1px solid rgba(255, 255, 255, .13); }
.stat-number { font-size: 3rem; font-weight: 700; color: #000; }
.stat-label { color: #454545; font-weight: 500; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px)  { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 2rem; }
.card:hover { box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon { color: var(--ink); margin-bottom: 1rem; }

.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split-image img { border-radius: 12px; box-shadow: var(--shadow-md); width: 100%; height: 100%; max-height: 500px; object-fit: cover; }

.check-list { margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; margin-bottom: 1rem; font-weight: 500; color: #374151; }
.check-list svg { color: #22c55e; flex-shrink: 0; margin-top: 2px; }

.steps { counter-reset: step; }
.step-card { position: relative; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 2rem; height: 100%; }
.step-number {
  position: absolute;
  top: -1rem; left: -1rem;
  width: 2.5rem; height: 2.5rem;
  background: #111827;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Search / filter bar (products page) */
.filter-bar { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 1.25rem; margin-bottom: 1rem; }
.filter-search { display: flex; gap: .5rem; }
.filter-search .search-wrap { position: relative; flex: 1; }
.filter-search .search-wrap svg { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.filter-search input {
  width: 100%;
  padding: .7rem 1rem .7rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
}
.filter-toggle { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 1px solid var(--line); background: none; border-radius: 8px; font-size: .875rem; font-weight: 500; }
.filter-toggle:hover { background: #f9fafb; }
.filter-options { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .filter-options { grid-template-columns: 1fr 1fr; } }
.filter-options label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.filter-options select { width: 100%; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; font-family: inherit; background: var(--white); }
.results-count { font-size: .875rem; color: var(--muted); margin: 1rem 0; }
.results-count strong { color: var(--ink); }

/* 404 */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.error-page .code { font-size: 4rem; font-weight: 700; color: #000; margin: 0; }

/* Responsive header behavior */
@media (max-width: 767px) {
  :root { --header-h: 116px; } /* marquee 44 + topbar 72; nav hidden */
  .main-nav { display: none; }
  .topbar-email, .topbar-phone { display: none; }
  .topbar-actions .btn.topbar-call-mobile { display: inline-block; }
  .topbar-actions .btn { padding: .5rem 1rem; font-size: .75rem; }
  .hamburger { display: flex; }
  .topbar-actions { gap: .5rem; }
  .topbar-inner { min-height: 72px; }
}
@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}
