/* ==========================================================================
   DHANSREE WHOLESALE CATALOGUE — style.css
   Mobile-first. No frameworks, no external fonts.
   Brand colours live in :root below — change them there.
   ========================================================================== */

:root {
  --brown-950: #170f0b;
  --brown-900: #211610;
  --brown-800: #2d1f16;
  --brown-700: #3d2b1f;
  --brown-500: #6b5140;
  --beige-50: #fcfaf6;
  --beige-100: #f6f0e6;
  --beige-200: #ece2d2;
  --beige-300: #dccdb6;
  --gold-300: #e6cb96;
  --gold-500: #c89d56;
  --gold-600: #9c7536;
  --ink: #241911;
  --muted: #6b5b4d;
  --wa: #25d366;
  --wa-dark: #128c4a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(36, 25, 17, .05), 0 4px 12px rgba(36, 25, 17, .05);
  --shadow: 0 18px 40px -18px rgba(36, 25, 17, .35);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;

  --container: 1200px;
  --gutter: 16px;
  --header-h: 60px;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--beige-50);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold-300);
  color: var(--brown-900);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .85rem 1.75rem; font-size: 1rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--brown-900);
  box-shadow: 0 10px 24px -10px rgba(200, 157, 86, .7);
}
.btn-gold:hover { background: linear-gradient(135deg, #f0d9ab, #d3aa64); }

.btn-outline-light {
  border-color: rgba(230, 203, 150, .5);
  background: rgba(255, 255, 255, .03);
  color: var(--beige-100);
}
.btn-outline-light:hover { border-color: var(--gold-300); background: rgba(230, 203, 150, .1); }

.btn-dark { background: var(--brown-800); color: var(--beige-100); }
.btn-dark:hover { background: var(--brown-700); }

.btn-light { background: var(--beige-100); border-color: var(--beige-300); color: var(--brown-800); }
.btn-light:hover { background: var(--beige-200); }

.icon-wa { color: var(--wa); }
.btn-gold .icon { color: var(--brown-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(33, 22, 16, .95);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(230, 203, 150, .14);
  color: var(--beige-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--brown-900);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #fff;
}
.brand-sub {
  margin-top: 5px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .38em;
  color: var(--gold-300);
}

.header-wa { min-height: 44px; padding: .5rem .95rem; font-size: .85rem; gap: .45rem; white-space: nowrap; }

@media (max-width: 399px) {
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 1.2rem; }
  .brand-name { font-size: 1rem; letter-spacing: .1em; }
  .brand-sub { letter-spacing: .3em; }
  .header-wa { padding: .5rem .8rem; font-size: .8rem; }
}
@media (max-width: 339px) {
  .header-wa .icon { display: none; }
}

@media (min-width: 768px) {
  .brand-mark { width: 42px; height: 42px; font-size: 1.45rem; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: .66rem; }
  .header-wa { padding: .6rem 1.2rem; font-size: .92rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--beige-100);
  background:
    radial-gradient(110% 70% at 90% 0%, rgba(200, 157, 86, .22), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(200, 157, 86, .10), transparent 60%),
    linear-gradient(180deg, var(--brown-900), var(--brown-950));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(230, 203, 150, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 203, 150, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding-block: 36px 52px;
}

.hero .eyebrow { color: var(--gold-300); }

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 7.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
}
.hero h1 .accent {
  display: block;
  color: var(--gold-300);
  background: linear-gradient(90deg, #f1dbab, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 34rem;
  margin: 18px 0 0;
  font-size: 1.02rem;
  color: rgba(246, 240, 230, .8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions .btn { flex: 1 1 190px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  color: rgba(246, 240, 230, .88);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.tick {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(200, 157, 86, .2);
  color: var(--gold-300);
  font-size: .7rem;
  font-weight: 700;
}

/* Collage */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.collage {
  padding: 12px;
  border: 1px solid rgba(230, 203, 150, .22);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
}
.collage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 12px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.collage-dots { display: inline-flex; gap: 5px; }
.collage-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(230, 203, 150, .45); }

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--beige-200);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { display: none; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--beige-50);
  color: var(--brown-900);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
}
.float-chip .tick { background: var(--brown-900); color: var(--gold-300); width: 18px; height: 18px; }
.float-chip .icon { width: 16px; height: 16px; color: var(--wa-dark); }
.chip-top { top: -14px; right: 12px; }
.chip-bottom { bottom: -16px; left: 12px; }

@media (max-width: 559px) {
  .float-chip { display: none; }
}

@media (min-width: 560px) {
  .hero-visual { max-width: 420px; }
  .collage { padding: 16px; }
  .collage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { border-radius: 16px; }
  .tile figcaption {
    display: block;
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(33, 22, 16, .85);
    color: var(--beige-100);
    font-size: .7rem;
    font-weight: 600;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: 56px;
    padding-block: 72px 88px;
  }
  .hero-lead { font-size: 1.12rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-visual { max-width: 500px; margin-right: 0; }
  .collage { transform: rotate(1.5deg); }
  .tile:nth-child(odd) { transform: translateY(14px); }
  .collage-grid { padding-bottom: 14px; }
}

/* ---------- Catalogue ---------- */
.catalogue { padding-block: 44px 24px; }

.section-head { max-width: 640px; margin-bottom: 20px; }
.section-head h2,
.cta h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown-900);
}
.section-sub { margin: 10px 0 0; color: var(--muted); }

/* Search */
.search { position: relative; max-width: 560px; margin: 0; }
.search input {
  width: 100%;
  height: 52px;
  padding: 0 50px 0 48px;
  border: 1.5px solid var(--beige-300);
  border-radius: 999px;
  background: #fff;
  font-size: 16px; /* 16px prevents iOS zoom on focus */
  box-shadow: var(--shadow-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: #9a8a7b; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(200, 157, 86, .2); }
.search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 5px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.search-clear:hover { background: var(--beige-100); }
.search-clear svg { width: 18px; height: 18px; }

/* Category bar (sticky under the header while browsing products) */
.category-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin-top: 14px;
  background: rgba(252, 250, 246, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-200);
}
.category-list {
  display: flex;
  gap: 8px;
  padding-block: 10px;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-list::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border: 1.5px solid var(--beige-300);
  border-radius: 999px;
  background: #fff;
  color: var(--brown-700);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--gold-500); }
.chip .count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--beige-100);
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}
.chip[aria-pressed="true"] { background: var(--brown-800); border-color: var(--brown-800); color: var(--beige-100); }
.chip[aria-pressed="true"] .count { background: rgba(230, 203, 150, .2); color: var(--gold-300); }

@media (min-width: 1024px) {
  .category-list { flex-wrap: wrap; overflow: visible; }
}

/* Result meta */
.catalogue-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 18px 0 14px;
  scroll-margin-top: calc(var(--header-h) + 80px);
}
.result-count { margin: 0; font-size: .88rem; font-weight: 600; color: var(--brown-700); }
.price-note { margin: 0; font-size: .76rem; color: var(--muted); }
.price-note::before { content: "ⓘ "; color: var(--gold-600); }

/* Product grid: 2 per row on phones, 3 on tablets, 4 on desktop */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 339px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--beige-200);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--beige-300); }
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--beige-100);
}
/* "contain" shows the whole product photo. Change to "cover" to fill/crop. */
.product-media img { width: 100%; height: 100%; object-fit: contain; }

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--brown-900);
  color: var(--gold-300);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.product-category {
  margin: 0 0 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.product-name {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--brown-900);
}
.product-desc {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  font-size: .78rem;
  line-height: 1.42;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px 8px;
  margin-top: auto;
  padding-top: 12px;
}
.price { display: flex; flex-direction: column; margin: 0; line-height: 1.1; }
.price-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-value { margin-top: 2px; font-size: 1.22rem; font-weight: 800; color: var(--brown-900); }
.moq {
  margin: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--beige-100);
  color: var(--brown-700);
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-card {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: .55rem .5rem;
  border-radius: 12px;
  font-size: .78rem;
  gap: 6px;
}
.btn-card .icon { width: 17px; height: 17px; }

@media (max-width: 379px) {
  .product-body { padding: 10px; }
  .btn-card { font-size: .74rem; padding-inline: .35rem; }
  .btn-card .icon { width: 15px; height: 15px; }
}

@media (min-width: 700px) {
  .product-body { padding: 16px; }
  .product-category { font-size: .66rem; }
  .product-name { font-size: 1.02rem; }
  .product-desc { font-size: .85rem; }
  .price-value { font-size: 1.35rem; }
  .moq { font-size: .74rem; }
  .btn-card { font-size: .88rem; }
  .badge { top: 12px; left: 12px; font-size: .62rem; }
}

/* Empty state */
.empty-state {
  padding: 36px 20px;
  border: 1.5px dashed var(--beige-300);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.empty-state h3 { margin: 0; font-family: var(--font-serif); font-size: 1.3rem; color: var(--brown-900); }
.empty-state p { max-width: 420px; margin: 8px auto 0; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

.noscript {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--beige-100);
  text-align: center;
}

/* ---------- CTA ---------- */
.cta { padding-block: 32px 60px; }
.cta-card {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: 32px 22px;
  border-radius: var(--radius-lg);
  color: var(--beige-100);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(200, 157, 86, .28), transparent 55%),
    linear-gradient(160deg, var(--brown-800), var(--brown-950));
  box-shadow: var(--shadow);
}
.cta .eyebrow { color: var(--gold-300); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
.cta-text { max-width: 36rem; margin: 14px 0 24px; color: rgba(246, 240, 230, .8); font-size: 1.02rem; }
.cta-copy .btn { width: 100%; }

.cta-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cta-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(230, 203, 150, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  font-size: .92rem;
  color: rgba(246, 240, 230, .9);
}
.step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--brown-900);
  font-family: var(--font-serif);
  font-weight: 700;
}

@media (min-width: 600px) {
  .cta-card { padding: 44px 40px; }
  .cta-copy .btn { width: auto; }
}
@media (min-width: 960px) {
  .cta-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 56px; padding: 60px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 40px;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); /* room for the floating button */
  background: var(--brown-950);
  color: rgba(246, 240, 230, .7);
}
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-tagline { margin: 12px 0 0; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .92rem;
  text-decoration: none;
  color: var(--beige-100);
}
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(230, 203, 150, .12);
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--wa-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7), 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform .2s, background-color .2s;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--wa);
  opacity: .5;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float:hover { background: #0f7a40; transform: translateY(-2px); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float-label { display: none; }

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .45; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; width: auto; padding: 0 22px 0 16px; }
  .wa-float .icon { width: 26px; height: 26px; }
  .wa-float-label { display: inline; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
