/* =========================================================
   Glowiva — Perfume & Cosmetics
   Custom theme layer on top of Bootstrap 5.3
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ec-ink: #181818;
  --ec-body: #5c5c5c;
  --ec-muted: #8a8a8a;
  --ec-line: #e8e8e8;
  --ec-line-strong: #d8d8d8;
  --ec-surface: #ffffff;
  --ec-surface-2: #f7f7f7;
  --ec-surface-3: #f6eff0;
  --ec-brand: #a84f63;        /* deep rose — from the logo, AA 5.30:1 with white text */
  --ec-brand-dark: #8e4257;
  --ec-brand-soft: #f7e7ea;
  --ec-gold: #b8974e;         /* logo gold — decorative only, fails AA as text on white */
  --ec-danger: #d43f3f;
  --ec-star: #f5a623;
  --ec-radius: 6px;
  --ec-radius-lg: 14px;
  --ec-shadow: 0 10px 30px rgba(24, 24, 24, .08);
  --ec-shadow-lg: 0 18px 50px rgba(24, 24, 24, .14);
  --ec-header-h: 94px;
  --ec-ease: cubic-bezier(.4, .2, .2, 1);
}

/* ---------- 2. Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ec-body);
  background: var(--ec-surface);
  font-size: 15px;
  line-height: 1.65;
}

/* `overflow-x: hidden` on <body> makes it a scroll container, which leaves the
   document scroller ambiguous and breaks programmatic scrollTop animation.
   `clip` clips without creating one; browsers that lack it simply skip the rule. */
html, body { overflow-x: clip; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: inherit;
  color: var(--ec-ink);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

a { color: var(--ec-ink); text-decoration: none; transition: color .25s var(--ec-ease); }
a:hover { color: var(--ec-brand); }
img { max-width: 100%; height: auto; }
::selection { background: var(--ec-brand); color: #fff; }

.container { max-width: 1440px; padding-inline: 20px; }
.container-narrow { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }

.section { padding: 70px 0; }
.section-sm { padding: 46px 0; }
@media (max-width: 767.98px) { .section { padding: 46px 0; } }

.section-head { margin-bottom: 32px; }
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}
.section-sub { color: var(--ec-muted); margin: 8px 0 0; font-size: 14px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ec-muted);
}

/* ---------- 3. Buttons ---------- */
.btn {
  --bs-btn-font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: 13px 30px;
  border: 1px solid transparent;
  transition: all .28s var(--ec-ease);
  line-height: 1.2;
}
.btn-dark-pill { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }
.btn-dark-pill:hover { background: var(--ec-brand); border-color: var(--ec-brand); color: #fff; }

.btn-light-pill { background: #fff; color: var(--ec-ink); border-color: #fff; }
.btn-light-pill:hover { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }

.btn-outline-ink { background: transparent; color: var(--ec-ink); border-color: var(--ec-ink); }
.btn-outline-ink:hover { background: var(--ec-ink); color: #fff; }

.btn-outline-light-pill { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light-pill:hover { background: #fff; color: var(--ec-ink); border-color: #fff; }

.btn-brand { background: var(--ec-brand); color: #fff; border-color: var(--ec-brand); }
.btn-brand:hover { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }

.btn-icon-arrow i { font-size: 15px; margin-left: 8px; vertical-align: -1px; }

.link-underline-ink {
  font-weight: 600;
  color: var(--ec-ink);
  border-bottom: 1px solid var(--ec-ink);
  padding-bottom: 2px;
  display: inline-block;
}
.link-underline-ink:hover { color: var(--ec-brand); border-color: var(--ec-brand); }

/* ---------- 4. Announcement bar ---------- */
.announce {
  background: #2f2c29;
  color: #fff;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.announce .announce-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; min-height: 40px; text-align: center;
}
.announce-slides { position: relative; min-width: 260px; height: 20px; }
.announce-slides .announce-item {
  position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ec-ease);
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
}
.announce-slides .announce-item.active { opacity: 1; }
.announce-arrow, .announce-close {
  background: none; border: 0; color: rgba(255,255,255,.75); padding: 4px; line-height: 1;
  transition: color .25s var(--ec-ease);
}
.announce-arrow:hover, .announce-close:hover { color: #fff; }
.announce-close { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; }
@media (max-width: 575.98px) { .announce-close { right: 8px; } .announce-slides { min-width: 200px; font-size: 12px; } }

/* ---------- 5. Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 1030;
  transition: box-shadow .3s var(--ec-ease);
}
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--ec-header-h);
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 66px; width: auto; display: block; transition: opacity .25s var(--ec-ease); }
.brand:hover img { opacity: .82; }
.site-footer .brand img { height: 84px; }
.offcanvas-header .brand img { height: 48px; }

.main-nav { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  font-size: 14px; font-weight: 600; color: var(--ec-ink); display: inline-flex; align-items: center; gap: 5px;
  padding: 26px 0;
}
.main-nav > li > a i { font-size: 11px; opacity: .6; transition: transform .25s var(--ec-ease); }
.main-nav > li:hover > a { color: var(--ec-brand); }
.main-nav > li:hover > a i { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: -22px; min-width: 220px; background: #fff;
  border-radius: var(--ec-radius); box-shadow: var(--ec-shadow); padding: 14px 0; margin: 0;
  list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .28s var(--ec-ease); z-index: 40;
}
.main-nav > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 7px 24px; font-size: 14px; color: var(--ec-body); }
.submenu a:hover { color: var(--ec-ink); padding-left: 29px; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  color: var(--ec-ink); font-size: 19px; transition: background .25s var(--ec-ease), color .25s var(--ec-ease);
}
.icon-btn:hover { background: var(--ec-surface-2); color: var(--ec-brand); }
.icon-badge {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--ec-ink); color: #fff; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.burger { display: none; }
@media (max-width: 1199.98px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand img { height: 46px; }
}

/* Offcanvas mobile nav */
.mobile-nav .accordion-button {
  font-weight: 600; color: var(--ec-ink); padding: 14px 0; background: none; box-shadow: none; font-size: 15px;
}
.mobile-nav .accordion-button:not(.collapsed) { color: var(--ec-brand); }
.mobile-nav .accordion-item { border: 0; border-bottom: 1px solid var(--ec-line); }
.mobile-nav .accordion-body { padding: 0 0 12px; }
.mobile-nav .accordion-body a { display: block; padding: 7px 0; color: var(--ec-body); font-size: 14px; }
.mobile-nav .nav-single { display: block; padding: 14px 0; border-bottom: 1px solid var(--ec-line); font-weight: 600; color: var(--ec-ink); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--ec-surface-3); overflow: hidden; }
.hero-track { position: relative; }
.hero-slide {
  display: none;
  min-height: 620px;
}
.hero-slide.active { display: block; animation: ecFade .7s var(--ec-ease); }
@keyframes ecFade { from { opacity: .2; } to { opacity: 1; } }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.hero-copy {
  background: var(--ec-brand);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px clamp(24px, 6vw, 96px);
}
.hero-slide--alt .hero-copy { background: #a68a6a; }
.hero-slide--alt2 .hero-copy { background: #4a2b36; }
.hero-title {
  color: #fff; font-size: clamp(38px, 5.2vw, 68px); font-weight: 600; letter-spacing: -.03em;
  margin: 0 0 16px; line-height: 1.06;
}
.hero-text { color: rgba(255,255,255,.88); font-size: 16px; max-width: 420px; margin-bottom: 30px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.hero-dots {
  position: absolute; left: clamp(24px, 6vw, 96px); bottom: 34px; display: flex; gap: 9px; z-index: 5;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0;
  transition: all .25s var(--ec-ease);
}
.hero-dots button.active { background: #fff; width: 26px; border-radius: 999px; }

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-slide { min-height: 0; }
  .hero-copy { padding: 48px 26px 60px; order: 2; }
  .hero-media { order: 1; height: 320px; }
  .hero-dots { bottom: 20px; left: 26px; }
}

/* ---------- 7. Feature bar ---------- */
.feature-bar { border-bottom: 1px solid var(--ec-line); }
.feature-item { display: flex; align-items: center; gap: 14px; padding: 26px 10px; justify-content: center; }
.feature-item i { font-size: 27px; color: var(--ec-ink); }
.feature-item span { font-weight: 600; color: var(--ec-ink); font-size: 14px; line-height: 1.4; }
@media (max-width: 767.98px) { .feature-item { padding: 16px 6px; justify-content: flex-start; } .feature-item i { font-size: 22px; } .feature-item span { font-size: 13px; } }

/* ---------- 8. Slider (jQuery) ---------- */
.ec-slider { position: relative; }
.ec-slider-viewport { overflow: hidden; }
.ec-slider-track {
  display: flex; gap: 22px; transition: transform .55s var(--ec-ease); will-change: transform;
}
.ec-slider-track > * { flex: 0 0 auto; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ec-line-strong);
  background: #fff; color: var(--ec-ink); display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ec-ease); font-size: 16px;
}
.slider-btn:hover { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }
.slider-btn:disabled { opacity: .35; cursor: not-allowed; }
.slider-btn:disabled:hover { background: #fff; color: var(--ec-ink); border-color: var(--ec-line-strong); }

.ec-dots { display: flex; gap: 7px; justify-content: center; margin-top: 26px; }
.ec-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--ec-line-strong); padding: 0;
  transition: all .25s var(--ec-ease);
}
.ec-dots button.active { background: var(--ec-ink); width: 22px; border-radius: 999px; }

/* ---------- 9. Category cards ---------- */
.cat-card { display: block; }
.cat-card-media {
  position: relative; border-radius: var(--ec-radius-lg); overflow: hidden; background: var(--ec-surface-2);
  aspect-ratio: 3 / 4;
}
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ec-ease); }
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card-arrow {
  position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ec-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
  transition: all .3s var(--ec-ease); opacity: 0; transform: translateY(8px);
}
.cat-card:hover .cat-card-arrow { opacity: 1; transform: translateY(0); }
.cat-card-body { padding-top: 14px; }
.cat-card-title { font-size: 15px; font-weight: 600; color: var(--ec-ink); margin: 0; }
.cat-card-count { font-size: 13px; color: var(--ec-muted); margin: 2px 0 0; }

/* ---------- 10. Product card ---------- */
.product-card { position: relative; background: #fff; }
.product-media {
  position: relative; overflow: hidden; border-radius: var(--ec-radius-lg);
  background: var(--ec-surface-2); aspect-ratio: 3 / 4; display: block;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: opacity .5s var(--ec-ease), transform .8s var(--ec-ease);
}
.product-media .img-hover { opacity: 0; }
.product-card:hover .img-hover { opacity: 1; }
.product-card:hover .img-main { opacity: 0; }
.product-card:hover .product-media img { transform: scale(1.04); }

.product-badges { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.badge-pill-ec {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--ec-ink);
}
.badge-sale { background: var(--ec-danger); }
.badge-new { background: var(--ec-brand); }

.product-tools {
  position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 7px;
}
.tool-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--ec-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,.1); opacity: 0; transform: translateX(10px);
  transition: all .3s var(--ec-ease);
}
.product-card:hover .tool-btn { opacity: 1; transform: translateX(0); }
.product-card:hover .tool-btn:nth-child(2) { transition-delay: .05s; }
.product-card:hover .tool-btn:nth-child(3) { transition-delay: .1s; }
.tool-btn:hover { background: var(--ec-ink); color: #fff; }
.tool-btn.is-active { background: var(--ec-ink); color: #fff; }

.product-quickadd {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  opacity: 0; transform: translateY(12px); transition: all .35s var(--ec-ease);
}
.product-card:hover .product-quickadd { opacity: 1; transform: translateY(0); }
.product-quickadd .btn { width: 100%; padding: 12px 18px; }
@media (max-width: 991.98px) {
  .tool-btn, .product-quickadd { opacity: 1; transform: none; }
}

.product-body { padding-top: 14px; }
.product-cat { font-size: 12px; color: var(--ec-muted); text-transform: uppercase; letter-spacing: .08em; }
.product-title { font-size: 15px; font-weight: 500; margin: 5px 0 6px; color: var(--ec-ink); line-height: 1.4; }
.product-title a { color: inherit; }
.product-price { font-weight: 600; color: var(--ec-ink); font-size: 15px; }
.product-price .old { color: var(--ec-muted); text-decoration: line-through; font-weight: 400; margin-left: 7px; font-size: 14px; }
.product-rating { color: var(--ec-star); font-size: 12px; letter-spacing: 1px; }
.product-rating span { color: var(--ec-muted); font-size: 12px; margin-left: 5px; letter-spacing: 0; }

.swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ec-line-strong); padding: 0;
  position: relative; transition: transform .2s var(--ec-ease);
}
.swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ec-ink); }
.swatch:hover { transform: scale(1.12); }

/* ---------- 11. Promo banners ---------- */
.promo-banner {
  position: relative; border-radius: var(--ec-radius-lg); overflow: hidden; min-height: 420px; display: flex;
  align-items: flex-end; padding: 36px;
}
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ec-ease); }
.promo-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 60%); }
.promo-banner:hover img { transform: scale(1.05); }
.promo-content { position: relative; z-index: 2; color: #fff; }
.promo-content .eyebrow { color: rgba(255,255,255,.8); }
.promo-title { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 8px 0 8px; }
.promo-text { color: rgba(255,255,255,.85); margin-bottom: 20px; max-width: 380px; font-size: 14px; }

/* ---------- 12. Engineering tabs ---------- */
.eng-section { background: var(--ec-surface-3); }
.eng-tabs { display: flex; gap: 34px; border-bottom: 1px solid var(--ec-line-strong); margin-bottom: 40px; }
.eng-tabs button {
  background: none; border: 0; padding: 0 0 16px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600;
  color: var(--ec-muted); position: relative; letter-spacing: -.02em; transition: color .25s var(--ec-ease);
}
.eng-tabs button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ec-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ec-ease);
}
.eng-tabs button.active { color: var(--ec-ink); }
.eng-tabs button.active::after { transform: scaleX(1); }
.eng-panel { display: none; }
.eng-panel.active { display: block; animation: ecFade .5s var(--ec-ease); }
.eng-img { border-radius: var(--ec-radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.eng-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .eng-tabs { gap: 18px; overflow-x: auto; } .eng-tabs button { white-space: nowrap; font-size: 17px; } }

/* ---------- 13. Brands ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--ec-line); border-radius: var(--ec-radius-lg); overflow: hidden; }
.brand-cell {
  display: flex; align-items: center; justify-content: center; padding: 30px 12px; font-weight: 700;
  font-size: 17px; color: var(--ec-ink); letter-spacing: .02em; border-right: 1px solid var(--ec-line);
  transition: background .25s var(--ec-ease); text-align: center;
}
.brand-cell:last-child { border-right: 0; }
.brand-cell:hover { background: var(--ec-surface-2); }
@media (max-width: 991.98px) {
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .brand-cell { border-bottom: 1px solid var(--ec-line); font-size: 15px; padding: 22px 10px; }
  .brand-cell:nth-child(3n) { border-right: 0; }
}

/* ---------- 14. FAQ ---------- */
.faq-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--ec-line); background: transparent; }
.faq-accordion .accordion-button {
  background: transparent; box-shadow: none; padding: 22px 40px 22px 0; font-weight: 600;
  color: var(--ec-ink); font-size: 16px;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--ec-ink); }
.faq-accordion .accordion-button::after {
  background-image: none; content: '\F64D'; font-family: 'bootstrap-icons';
  width: auto; height: auto; font-size: 14px; transition: transform .3s var(--ec-ease);
}
.faq-accordion .accordion-button:not(.collapsed)::after { content: '\F63B'; transform: none; }
.faq-accordion .accordion-body { padding: 0 30px 24px 0; color: var(--ec-body); font-size: 14px; }

/* ---------- 15. Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: var(--ec-radius-lg); padding: 34px; border: 1px solid var(--ec-line); height: 100%; }
.testimonial-card .product-rating { font-size: 13px; }
.testimonial-quote { color: var(--ec-ink); font-size: 16px; line-height: 1.7; margin: 16px 0 22px; }
.testimonial-author { font-weight: 600; color: var(--ec-ink); font-size: 14px; }
.testimonial-meta { font-size: 13px; color: var(--ec-muted); }

/* ---------- 16. Lookbook / Instagram ---------- */
.gram-item { position: relative; display: block; overflow: hidden; border-radius: var(--ec-radius); aspect-ratio: 1; }
.gram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ec-ease); }
.gram-item::after {
  content: '\F437'; font-family: 'bootstrap-icons'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px;
  background: rgba(24,24,24,.35); opacity: 0; transition: opacity .35s var(--ec-ease);
}
.gram-item:hover::after { opacity: 1; }
.gram-item:hover img { transform: scale(1.08); }

/* ---------- 17. Newsletter ---------- */
.newsletter { background: var(--ec-brand); color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.85); }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; }
.newsletter-form .form-control {
  border-radius: 999px; border: 0; padding: 14px 22px; font-size: 14px; height: auto;
}
.newsletter-form .form-control:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
@media (max-width: 575.98px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; } }

/* ---------- 18. Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--ec-line); padding-top: 64px; }
.footer-title { font-size: 15px; font-weight: 600; margin-bottom: 18px; color: var(--ec-ink); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--ec-body); font-size: 14px; }
.footer-links a:hover { color: var(--ec-ink); }
.footer-contact { color: var(--ec-body); font-size: 14px; }
.social-row { display: flex; gap: 9px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ec-line-strong);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ec-ink); font-size: 15px;
}
.social-row a:hover { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }
.footer-bottom { border-top: 1px solid var(--ec-line); margin-top: 50px; padding: 22px 0; font-size: 13px; color: var(--ec-muted); }
.pay-badge {
  border: 1px solid var(--ec-line); border-radius: 5px; padding: 5px 9px; font-size: 11px; font-weight: 700;
  color: var(--ec-body); background: #fff; letter-spacing: .02em;
}

/* ---------- 19. Offcanvas cart ---------- */
.offcanvas { border: 0; }
.offcanvas-header { border-bottom: 1px solid var(--ec-line); padding: 20px 24px; }
.offcanvas-title { font-size: 16px; font-weight: 600; }
.offcanvas-body { padding: 20px 24px; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ec-line); }
.cart-line-img { width: 78px; flex: 0 0 78px; border-radius: var(--ec-radius); overflow: hidden; aspect-ratio: 3/4; background: var(--ec-surface-2); }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { font-size: 14px; font-weight: 500; color: var(--ec-ink); margin: 0 0 4px; }
.cart-line-meta { font-size: 12px; color: var(--ec-muted); }
.cart-line-price { font-weight: 600; color: var(--ec-ink); font-size: 14px; }
.cart-remove { background: none; border: 0; color: var(--ec-muted); font-size: 13px; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: var(--ec-danger); }

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--ec-line-strong); border-radius: 999px; overflow: hidden; }
.qty-box button { background: none; border: 0; width: 32px; height: 34px; color: var(--ec-ink); font-size: 14px; }
.qty-box button:hover { color: var(--ec-brand); }
.qty-box input {
  width: 34px; text-align: center; border: 0; font-size: 14px; font-weight: 600; color: var(--ec-ink);
  background: transparent; -moz-appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-empty { text-align: center; padding: 50px 10px; color: var(--ec-muted); }
.cart-empty i { font-size: 42px; color: var(--ec-line-strong); display: block; margin-bottom: 14px; }

.cart-foot { border-top: 1px solid var(--ec-line); padding: 20px 24px; background: #fff; }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 600; color: var(--ec-ink); font-size: 16px; margin-bottom: 6px; }

/* ---------- 20. Search modal ---------- */
.search-modal .modal-dialog { max-width: 100%; margin: 0; }
.search-modal .modal-content { border-radius: 0; border: 0; padding: 34px 0 44px; }
.search-input-wrap { position: relative; }
.search-input-wrap .form-control {
  border: 0; border-bottom: 2px solid var(--ec-ink); border-radius: 0; font-size: clamp(20px, 3vw, 30px);
  padding: 10px 46px 14px 0; font-weight: 500; color: var(--ec-ink);
}
.search-input-wrap .form-control:focus { box-shadow: none; }
.search-input-wrap .bi-search { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ec-ink); }
.search-suggest a {
  display: inline-block; padding: 7px 16px; border: 1px solid var(--ec-line-strong); border-radius: 999px;
  font-size: 13px; margin: 0 8px 8px 0;
}
.search-suggest a:hover { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }
.search-results { max-height: 46vh; overflow-y: auto; }
.search-result-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ec-line); align-items: center; }
.search-result-item img { width: 58px; height: 72px; object-fit: cover; border-radius: var(--ec-radius); }

/* ---------- 21. Page head / breadcrumb ---------- */
.page-head { background: var(--ec-surface-3); padding: 44px 0; text-align: center; }
.page-head h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; }
.breadcrumb-ec { display: flex; gap: 8px; justify-content: center; font-size: 13px; color: var(--ec-muted); flex-wrap: wrap; }
.breadcrumb-ec a { color: var(--ec-muted); }
.breadcrumb-ec a:hover { color: var(--ec-ink); }

/* ---------- 22. Shop page ---------- */
.filter-group { border-bottom: 1px solid var(--ec-line); padding: 22px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-title { font-size: 15px; font-weight: 600; color: var(--ec-ink); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 9px; }
.form-check-input:checked { background-color: var(--ec-ink); border-color: var(--ec-ink); }
.form-check-input:focus { box-shadow: none; border-color: var(--ec-ink); }
.form-check-label { font-size: 14px; color: var(--ec-body); cursor: pointer; }
.form-range::-webkit-slider-thumb { background: var(--ec-ink); }
.form-range::-moz-range-thumb { background: var(--ec-ink); }

.color-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ec-line-strong); padding: 0; }
.color-dot.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ec-ink); }
.size-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  min-width: 44px; padding: 7px 12px; border: 1px solid var(--ec-line-strong); background: #fff;
  border-radius: var(--ec-radius); font-size: 13px; font-weight: 500; color: var(--ec-ink);
  transition: all .2s var(--ec-ease);
}
.size-chip.active, .size-chip:hover { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button {
  width: 38px; height: 38px; border: 1px solid var(--ec-line-strong); background: #fff; border-radius: var(--ec-radius);
  color: var(--ec-ink); display: inline-flex; align-items: center; justify-content: center;
}
.view-toggle button.active { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }
.form-select { font-size: 14px; border-color: var(--ec-line-strong); border-radius: 999px; padding: 10px 38px 10px 18px; }
.form-select:focus { box-shadow: none; border-color: var(--ec-ink); }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-filter {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  background: var(--ec-surface-2); font-size: 13px; color: var(--ec-ink); border: 0;
}
.chip-filter i { font-size: 12px; opacity: .6; }
.chip-filter:hover i { opacity: 1; color: var(--ec-danger); }

/* list view */
.products-grid.is-list { display: block; }
.products-grid.is-list .grid-col { width: 100%; max-width: 100%; flex: 0 0 100%; margin-bottom: 26px; }
.products-grid.is-list .product-card { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: center; }
.products-grid.is-list .product-desc { display: block; }
.product-desc { display: none; font-size: 14px; color: var(--ec-body); margin: 12px 0 16px; }
@media (max-width: 575.98px) { .products-grid.is-list .product-card { grid-template-columns: 1fr; } }

/* Laravel's paginator emits <a>/<span> inside .page-item, not the <button>s the
   static mock-up used, so the round-pill look is applied to .page-link. */
.pagination-ec { display: flex; justify-content: center; margin-top: 44px; }
.pagination-ec .pagination { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.pagination-ec .page-item { display: flex; }
.pagination-ec .page-link {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--ec-line-strong); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--ec-ink); text-decoration: none;
  transition: all .25s var(--ec-ease); box-shadow: none;
}
.pagination-ec .page-link:hover { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }
.pagination-ec .page-link:focus { box-shadow: 0 0 0 3px rgba(168, 79, 99, .18); }
.pagination-ec .page-item.active .page-link { background: var(--ec-ink); color: #fff; border-color: var(--ec-ink); }
.pagination-ec .page-item.disabled .page-link { opacity: .4; pointer-events: none; background: #fff; color: var(--ec-ink); }
/* Laravel marks the "…" gap disabled too; it should read as a gap, not a button. */
.pagination-ec .page-item.disabled .page-link[aria-disabled="true"]:not([aria-label]) { border-color: transparent; }
.pagination-ec .page-link svg { width: 16px; height: 16px; }

/* ---------- 23. Product detail ---------- */
.pdp-gallery { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pdp-thumb {
  border-radius: var(--ec-radius); overflow: hidden; border: 1px solid transparent; padding: 0; background: var(--ec-surface-2);
  aspect-ratio: 3/4;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--ec-ink); }
.pdp-main { border-radius: var(--ec-radius-lg); overflow: hidden; background: var(--ec-surface-2); aspect-ratio: 3/4; position: relative; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; overflow-x: auto; }
  .pdp-thumb { flex: 0 0 76px; }
}

.pdp-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.pdp-price { font-size: 24px; font-weight: 600; color: var(--ec-ink); }
.pdp-price .old { font-size: 18px; color: var(--ec-muted); text-decoration: line-through; margin-left: 10px; font-weight: 400; }
.pdp-divider { height: 1px; background: var(--ec-line); margin: 24px 0; }
.option-label { font-size: 13px; font-weight: 600; color: var(--ec-ink); margin-bottom: 10px; }
.option-label span { font-weight: 400; color: var(--ec-muted); }
.pdp-meta { font-size: 14px; color: var(--ec-body); }
.pdp-meta strong { color: var(--ec-ink); font-weight: 600; }
.stock-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ec-brand); font-weight: 600; }
.stock-pill i { font-size: 9px; }
.trust-list { list-style: none; padding: 0; margin: 0; }
.trust-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 7px 0; color: var(--ec-body); }
.trust-list i { font-size: 17px; color: var(--ec-ink); }

.nav-tabs-ec { border-bottom: 1px solid var(--ec-line); gap: 30px; }
.nav-tabs-ec .nav-link {
  border: 0; padding: 0 0 14px; font-size: 16px; font-weight: 600; color: var(--ec-muted); position: relative; background: none;
}
.nav-tabs-ec .nav-link.active { color: var(--ec-ink); }
.nav-tabs-ec .nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ec-ink); }
.spec-table th { font-weight: 600; color: var(--ec-ink); width: 220px; }
.spec-table td, .spec-table th { padding: 13px 0; border-bottom: 1px solid var(--ec-line); font-size: 14px; }

.review-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ec-line); }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ec-surface-3); color: var(--ec-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 46px;
}

/* ---------- 24. Cart & checkout ---------- */
.cart-table { width: 100%; }
.cart-table th {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ec-muted);
  font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--ec-line); text-align: left;
}
.cart-table td { padding: 22px 0; border-bottom: 1px solid var(--ec-line); vertical-align: middle; }
.cart-prod { display: flex; gap: 16px; align-items: center; }
.cart-prod img { width: 84px; height: 104px; object-fit: cover; border-radius: var(--ec-radius); }
.summary-box { background: var(--ec-surface-2); border-radius: var(--ec-radius-lg); padding: 28px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; color: var(--ec-body); }
.summary-row.total { border-top: 1px solid var(--ec-line-strong); margin-top: 10px; padding-top: 18px; font-size: 18px; font-weight: 600; color: var(--ec-ink); }
@media (max-width: 767.98px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--ec-line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td[data-label]::before { content: attr(data-label) ': '; font-size: 12px; color: var(--ec-muted); }
  .cart-table td.cell-prod { grid-column: 1 / -1; }
}

.form-control, .form-select { border-color: var(--ec-line-strong); border-radius: var(--ec-radius); padding: 12px 16px; font-size: 14px; }
.form-control:focus { border-color: var(--ec-ink); box-shadow: none; }
.form-label { font-size: 13px; font-weight: 600; color: var(--ec-ink); margin-bottom: 7px; }
.pay-option { border: 1px solid var(--ec-line-strong); border-radius: var(--ec-radius); padding: 16px 18px; margin-bottom: 12px; cursor: pointer; }
.pay-option.active { border-color: var(--ec-ink); background: var(--ec-surface-2); }
.step-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.step-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ec-muted); font-weight: 600; }
.step-item .num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ec-surface-3); color: var(--ec-muted);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.step-item.active { color: var(--ec-ink); }
.step-item.active .num { background: var(--ec-ink); color: #fff; }
.step-sep { width: 40px; height: 1px; background: var(--ec-line-strong); }

/* ---------- 25. Utilities & misc ---------- */
.to-top {
  position: fixed; right: 20px; bottom: calc(22px + var(--ec-cookie-h, 0px)); width: 44px; height: 44px; border-radius: 50%;
  background: var(--ec-ink); color: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ec-ease); z-index: 1040;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ec-brand); }

.ec-toast-wrap { position: fixed; right: 20px; bottom: 80px; z-index: 1090; display: flex; flex-direction: column; gap: 10px; }
.ec-toast {
  background: var(--ec-ink); color: #fff; border-radius: var(--ec-radius); padding: 13px 18px; font-size: 14px;
  box-shadow: var(--ec-shadow-lg); display: flex; align-items: center; gap: 10px; min-width: 230px;
  animation: ecToastIn .35s var(--ec-ease);
}
.ec-toast i { color: #9fd18a; font-size: 17px; }
@keyframes ecToastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* --- Scroll animations: ScrollMagic scenes + Animate.css keyframes ---
   Elements start hidden ONLY when `.ec-js` is on <html> (set by an inline
   script in <head>, so there is no flash). If ScrollMagic fails to load,
   main.js adds `.ec-anim-off` and everything becomes visible again. */
.ec-js [data-animate],
.ec-js .reveal { opacity: 0; }

.ec-js.ec-anim-off [data-animate],
.ec-js.ec-anim-off .reveal,
.ec-js [data-animate].animate__animated,
.ec-js .reveal.animate__animated { opacity: 1; }

/* keep the motion light — shorter and softer than the Animate.css defaults */
.animate__animated {
  --animate-duration: .62s;
  animation-timing-function: cubic-bezier(.4, .2, .2, 1);
}
.animate__animated.animate__fadeInUp { --animate-duration: .7s; }

@media (prefers-reduced-motion: reduce) {
  .ec-js [data-animate],
  .ec-js .reveal { opacity: 1 !important; }
  .animate__animated { animation: none !important; }
}

.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--ec-line);
  display: none; z-index: 1035; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.mobile-dock a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px;
  color: var(--ec-body); position: relative;
}
.mobile-dock a i { font-size: 19px; color: var(--ec-ink); }
.mobile-dock .icon-badge { top: -4px; right: 50%; margin-right: -18px; }
@media (max-width: 767.98px) {
  .mobile-dock { display: flex; }
  body { padding-bottom: 62px; }
  .to-top { bottom: calc(80px + var(--ec-cookie-h, 0px)); }
  .ec-toast-wrap { bottom: 140px; left: 20px; }
}

.marquee { overflow: hidden; background: var(--ec-ink); color: #fff; padding: 13px 0; }
.marquee-track { display: flex; gap: 46px; white-space: nowrap; animation: ecMarquee 26s linear infinite; }
.marquee-track span { font-size: 14px; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: '\F62B'; font-family: 'bootstrap-icons'; font-size: 9px; opacity: .6; }
@keyframes ecMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.skeleton { background: linear-gradient(90deg, #f2f2f2 25%, #e9e9e9 37%, #f2f2f2 63%); background-size: 400% 100%; animation: ecSkel 1.2s ease infinite; border-radius: var(--ec-radius-lg); }
@keyframes ecSkel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }


/* ---------- 26. Brand ---------- */
.brand-tagline {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ec-gold); font-weight: 600;
}
/* a stacked logo needs less header on small screens */
@media (max-width: 1199.98px) { :root { --ec-header-h: 74px; } }
@media (max-width: 575.98px)  { :root { --ec-header-h: 66px; } .brand img { height: 42px; } }


/* ---------- 27. Order tracking ---------- */
.track-steps { display:flex; align-items:flex-start; gap:0; margin:6px 0 4px; }
.track-step { display:flex; flex-direction:column; align-items:center; gap:8px; flex:0 0 auto; width:96px; text-align:center; }
.track-dot {
  width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  background:#fff; border:2px solid var(--ec-line-strong); color:#b9b9b9; font-size:16px;
}
.track-step.done .track-dot { background:var(--ec-brand); border-color:var(--ec-brand); color:#fff; }
.track-step.current .track-dot {
  border-color:var(--ec-brand); color:var(--ec-brand);
  box-shadow:0 0 0 4px var(--ec-brand-soft);
}
.track-label { font-size:11.5px; line-height:1.3; color:var(--ec-muted); }
.track-step.done .track-label, .track-step.current .track-label { color:var(--ec-ink); font-weight:600; }
.track-bar { flex:1; height:2px; background:var(--ec-line-strong); margin-top:19px; min-width:12px; }
.track-bar.done { background:var(--ec-brand); }

.track-timeline { list-style:none; padding:0; margin:0; }
.track-timeline li { position:relative; padding:0 0 18px 26px; border-left:2px solid var(--ec-line); }
.track-timeline li:last-child { border-left-color:transparent; padding-bottom:0; }
.track-timeline li::before {
  content:''; position:absolute; left:-7px; top:2px; width:12px; height:12px; border-radius:50%;
  background:#fff; border:2px solid var(--ec-line-strong);
}
.track-timeline li.latest::before { background:var(--ec-brand); border-color:var(--ec-brand); }
.track-timeline .t { font-weight:600; color:var(--ec-ink); font-size:14px; display:block; }
.track-timeline .s { font-size:12.5px; color:var(--ec-muted); }

@media (max-width: 767.98px) {
  .track-steps { flex-direction:column; align-items:flex-start; gap:0; }
  .track-step { flex-direction:row; width:auto; gap:12px; text-align:left; }
  .track-bar { width:2px; height:18px; min-width:0; margin:0 0 0 19px; flex:0 0 auto; }
}

/* ---------------------------------------------------------------------------
   Cookie bar
   Hidden unless [data-open]; it sits above the page rather than over it, so an
   undecided visitor can still read and browse.
--------------------------------------------------------------------------- */
.cookie-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
  background: #fff; border-top: 1px solid var(--ec-line); box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
.cookie-bar[data-open] { display: block; }
.cookie-bar__inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-bar__text { flex: 1 1 320px; font-size: 14px; color: var(--ec-muted); }
.cookie-bar__text a { color: var(--ec-ink); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 575.98px) {
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------------------
   Floating WhatsApp button
   Bottom-left, mirroring .to-top on the right so the two never collide. It sits
   below the cookie bar in the stack and is pushed up by --ec-cookie-h while that
   bar is open, so it is never hidden behind it.
--------------------------------------------------------------------------- */
.wa-float {
  position: fixed; left: 20px; bottom: calc(22px + var(--ec-cookie-h, 0px));
  height: 52px; min-width: 52px; padding: 0 14px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .34);
  z-index: 1040; transition: gap .28s var(--ec-ease), background .2s var(--ec-ease),
                             box-shadow .28s var(--ec-ease), bottom .28s var(--ec-ease);
}
.wa-float i { font-size: 26px; line-height: 1; flex-shrink: 0; }
.wa-float:hover, .wa-float:focus-visible { color: #fff; background: #1ebe5b; box-shadow: 0 10px 26px rgba(37, 211, 102, .42); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .45); outline-offset: 3px; }

/* The label unrolls on hover; it stays in the DOM for screen readers either way. */
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  font-size: 14px; font-weight: 600;
  transition: max-width .28s var(--ec-ease), opacity .2s var(--ec-ease);
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 140px; opacity: 1; }
.wa-float:hover, .wa-float:focus-visible { gap: 9px; }

@media (max-width: 991.98px) {
  .wa-float { left: 16px; bottom: calc(80px + var(--ec-cookie-h, 0px)); height: 48px; min-width: 48px; padding: 0 12px; }
  .wa-float i { font-size: 23px; }
  /* No hover on touch, so the label would never appear — keep it icon-only. */
  .wa-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float__label { transition: none; }
}

/* ---------------------------------------------------------------------------
   Policy pages — long-form reading copy
--------------------------------------------------------------------------- */
.legal-copy { font-size: 15px; line-height: 1.75; color: var(--ec-muted); }
.legal-copy .lead { font-size: 17px; color: var(--ec-ink); margin-bottom: 28px; }
.legal-copy h2 { font-size: 19px; font-weight: 600; color: var(--ec-ink); margin: 34px 0 10px; letter-spacing: -.01em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy ul, .legal-copy ol, .legal-copy table { margin-bottom: 14px; }
.legal-copy ul, .legal-copy ol { padding-left: 20px; }
.legal-copy li { margin-bottom: 6px; }
.legal-copy a { color: var(--ec-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-copy a:hover { color: var(--ec-brand); }
.legal-copy strong { color: var(--ec-ink); }
.legal-copy code { background: var(--ec-brand-soft); color: var(--ec-brand-dark); padding: 1px 6px; border-radius: 4px; font-size: 13px; }
.legal-copy .spec-table th { width: 30%; vertical-align: top; }
