/* ════════════════════════════════════════════════════════════════
   Orange Lilies — Header & Footer
   WARM palette (orange + cream) matching the brand reference:
     #E8780A orange · #FFFAF3 cream · #F3A44E amber
     #CF6F08 deep orange · #34302B warm charcoal
   The header is a floating orange "pill" bar; the footer sits on warm
   cream. Only #25D366 (official WhatsApp green) is hard-coded, for the
   floating WhatsApp button.
════════════════════════════════════════════════════════════════ */
:root {
  /* Raw palette colours */
  --ol-color-1:      #e8780a;
  --ol-color-2:      #fffaf3;
  --ol-color-3:      #f3a44e;
  --ol-color-4:      #cf6f08;
  --ol-color-5:      #34302b;

  /* Semantic aliases */
  --ol-bg:           #fffaf3;
  --ol-primary:      #2f2a24;
  --ol-accent:       #e8780a;
  --ol-violet:       #cf6f08;
  --ol-indigo:       #f3a44e;
  --ol-surface:      #ffffff;
  --ol-surface2:     #fbeeda;
  --ol-border:       #f1e3cd;

  /* Header bar gradient (light amber → orange) */
  --ol-hdr-grad-a:   #f0982a;
  --ol-hdr-grad-b:   #e8780a;

  /* Derived utilities */
  --ol-white:        #ffffff;
  --ol-text:         #3c3833;
  --ol-muted:        #6f665b;
  --ol-glow:         rgba(232,120,10,0.22);
  --ol-glow-violet:  rgba(207,111,8,0.22);
  --ol-wa-green:     #25d366;
  --ol-transition:   0.3s ease;
  --ol-hdr-height:   92px;
}

/* ════════════════════════════════════════════════════════════════
   HEADER — floating orange "pill" bar (matches brand reference)
════════════════════════════════════════════════════════════════ */
body.ol-header-active {
  padding-top: var(--ol-hdr-height) !important;
}

/* Outer bar is transparent; it only provides the floating margin.
   pointer-events:none lets clicks pass through the empty side gutters. */
.ol-hdr-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 24px 0;
  background: transparent;
  pointer-events: none;
}

.ol-hdr-inner {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 11px 14px 11px 28px;
  background: linear-gradient(90deg, var(--ol-hdr-grad-a) 0%, var(--ol-hdr-grad-b) 100%);
  border-radius: 60px;
  box-shadow: 0 12px 30px rgba(216,124,12,0.30);
}

/* Logo */
.ol-hdr-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.ol-hdr-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* Desktop nav */
.ol-hdr-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 8px;
}

.ol-hdr-nav a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--ol-transition);
}

.ol-hdr-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ol-transition);
}

.ol-hdr-nav a:hover {
  color: #fff4e3;
}

.ol-hdr-nav a:hover::after {
  transform: scaleX(1);
}

/* Shop Now button (white pill) */
.ol-hdr-shop {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: var(--ol-accent);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 60px;
  box-shadow: 0 6px 16px rgba(120,60,0,0.18);
  transition: transform var(--ol-transition), box-shadow var(--ol-transition), background var(--ol-transition), color var(--ol-transition);
}

.ol-hdr-shop:hover {
  background: #fff4e3;
  color: var(--ol-violet);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(120,60,0,0.26);
  text-decoration: none;
}

/* Hamburger (mobile only) — three white bars */
.ol-hdr-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.ol-hdr-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--ol-transition), opacity var(--ol-transition);
}

.ol-hdr-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.ol-hdr-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.ol-hdr-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav dropdown */
.ol-hdr-mobile-nav {
  display: none;
  position: absolute;
  top: calc(var(--ol-hdr-height) - 8px);
  left: 24px;
  right: 24px;
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  border-radius: 18px;
  padding: 0;
  z-index: 9998;
  box-shadow: 0 18px 40px rgba(120,60,0,0.16);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.ol-hdr-mobile-nav.ol-open {
  max-height: 460px;
  padding: 10px 0;
}

.ol-hdr-mobile-nav a {
  display: block;
  padding: 13px 24px;
  color: var(--ol-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ol-border);
  transition: color var(--ol-transition), background var(--ol-transition);
}

.ol-hdr-mobile-nav a:last-child {
  border-bottom: none;
}

.ol-hdr-mobile-nav a:hover {
  color: var(--ol-accent);
  background: rgba(232,120,10,0.06);
}

.ol-hdr-mobile-nav a.ol-mobile-shop {
  margin: 8px 16px 4px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(90deg, var(--ol-hdr-grad-a), var(--ol-hdr-grad-b));
  border-radius: 60px;
  border-bottom: none;
  font-weight: 700;
}

.ol-hdr-mobile-nav a.ol-mobile-shop:hover {
  color: #ffffff;
  background: var(--ol-violet);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.ol-ftr-wrap {
  background: linear-gradient(90deg, var(--ol-hdr-grad-a) 0%, var(--ol-hdr-grad-b) 100%);
  border-top: 3px solid rgba(255,255,255,0.35);
  padding: 64px 0 0;
}

.ol-ftr-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

/* Column 1 — Brand */
.ol-ftr-brand {
  padding-right: 16px;
}

.ol-ftr-logo {
  display: block;
  width: 155px;
  height: auto;
  margin-bottom: 18px;
}

.ol-ftr-tagline {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.ol-ftr-brand-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Social icons */
.ol-ftr-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ol-ftr-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--ol-transition);
}

.ol-ftr-social-link:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ol-accent);
  box-shadow: 0 8px 18px rgba(120,60,0,0.22);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Footer columns 2, 3, 4 */
.ol-ftr-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
}

.ol-ftr-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transform-origin: left;
  animation: olUnderlineGrow 0.6s ease forwards;
}

@keyframes olUnderlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.ol-ftr-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ol-ftr-col ul li {
  margin-bottom: 10px;
}

.ol-ftr-col ul li a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color var(--ol-transition), text-shadow var(--ol-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ol-ftr-col ul li a::before {
  content: '\203A';
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: color var(--ol-transition), transform var(--ol-transition);
  transform: translateX(0);
}

.ol-ftr-col ul li a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.35);
  text-decoration: none;
}

.ol-ftr-col ul li a:hover::before {
  color: #ffffff;
  transform: translateX(3px);
}

/* Contact column items */
.ol-ftr-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.92);
}

.ol-ftr-contact-item i {
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.ol-ftr-contact-item a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color var(--ol-transition);
}

.ol-ftr-contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Bottom bar */
.ol-ftr-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}

.ol-ftr-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--ol-transition);
}

.ol-ftr-bottom a:hover {
  color: #fff4e3;
  text-decoration: underline;
}

/* ── Legibility lock ──────────────────────────────────────────────
   The footer now sits on the orange brand gradient, so every bit of
   text must read white. Themes like XStore colour footer text/links
   with their own (sometimes !important) rules, so we re-assert white
   with higher specificity ( .ol-ftr-wrap prefix ) + !important. */
.ol-ftr-wrap,
.ol-ftr-wrap p,
.ol-ftr-wrap span,
.ol-ftr-wrap li,
.ol-ftr-wrap a,
.ol-ftr-wrap h4,
.ol-ftr-wrap i,
.ol-ftr-wrap strong {
  color: #ffffff !important;
}

.ol-ftr-wrap .ol-ftr-brand-desc,
.ol-ftr-wrap .ol-ftr-col ul li a,
.ol-ftr-wrap .ol-ftr-contact-item,
.ol-ftr-wrap .ol-ftr-contact-item a,
.ol-ftr-wrap .ol-ftr-contact-item span,
.ol-ftr-wrap .ol-ftr-bottom,
.ol-ftr-wrap .ol-ftr-bottom span {
  color: rgba(255,255,255,0.92) !important;
}

.ol-ftr-wrap .ol-ftr-col ul li a::before {
  color: rgba(255,255,255,0.7) !important;
}

/* Social tiles: white icon on a translucent tile; invert on hover */
.ol-ftr-wrap .ol-ftr-social-link,
.ol-ftr-wrap .ol-ftr-social-link i {
  color: #ffffff !important;
}

.ol-ftr-wrap .ol-ftr-social-link:hover,
.ol-ftr-wrap .ol-ftr-social-link:hover i {
  color: var(--ol-accent) !important;
}

/* ════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON  (#25D366 = official WhatsApp green)
════════════════════════════════════════════════════════════════ */
.ol-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: var(--ol-wa-green);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: olWaPulse 2.4s ease-in-out infinite;
  transition: transform var(--ol-transition), box-shadow var(--ol-transition);
}

.ol-wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
  text-decoration: none;
  animation-play-state: paused;
  color: #ffffff;
}

.ol-wa-btn i {
  pointer-events: none;
}

@keyframes olWaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); transform: scale(1); }
  50%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); transform: scale(1); }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ol-hdr-nav { gap: 24px; }
}

@media (max-width: 1024px) {
  .ol-ftr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .ol-ftr-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  /* Collapse desktop nav + Shop Now into the hamburger menu */
  .ol-hdr-nav,
  .ol-hdr-shop {
    display: none;
  }
  .ol-hdr-hamburger {
    display: flex;
  }
  .ol-hdr-mobile-nav {
    display: block;
  }
}

@media (max-width: 768px) {
  .ol-ftr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .ol-ftr-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .ol-ftr-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ol-hdr-bar {
    padding: 12px 14px 0;
  }
  .ol-hdr-inner {
    padding: 9px 12px 9px 18px;
    border-radius: 44px;
  }
  .ol-hdr-logo img {
    height: 38px;
  }
  .ol-hdr-mobile-nav {
    left: 14px;
    right: 14px;
  }
  .ol-wa-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}
