/* =========================================================
   MyCorn — Global Styles (Vibrant + Minimal)
   File: static/mycorn/css/global.css
   Default Theme: LIGHT (dark via body.theme-dark)
========================================================= */

/* =========================
   RESET + BASE
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =========================
   THEME TOKENS
   - Default = LIGHT
   - Dark = body.theme-dark overrides
========================= */
:root{
  --bg: #f7f7fb;
  --text: #0f1220;
  --muted: rgba(15,18,32,0.65);

  --brand: #ff8a00;
  --brand-glow: rgba(255, 138, 0, 0.28);

  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --border: rgba(15,18,32,0.10);
  --shadow: 0 12px 30px rgba(12,18,38,0.10);

  --radius: 14px;

  /* Header + drawers */
  --header-bg: rgba(255,255,255,0.78);
  --header-border: rgba(15,18,32,0.10);
  --drawer-bg: rgba(255,255,255,0.92);
  --sticky-bg: rgba(255,255,255,0.86);

  /* Hero overlay defaults */
  --hero-overlay: linear-gradient(
      90deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.80) 35%,
      rgba(255,255,255,0.45) 55%,
      rgba(255,255,255,0.20) 70%,
      rgba(255,255,255,0.12) 100%
    );
  --hero-title: #0f1220;
  --hero-sub: rgba(15,18,32,0.78);
}

body.theme-dark{
  --bg: #0e0f13;
  --text: #eaeaea;
  --muted: #9aa0aa;

  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.02);
  --border: rgba(255,255,255,0.08);
  --shadow: 0 12px 30px rgba(0,0,0,0.35);

  --header-bg: rgba(14,15,19,0.92);
  --header-border: rgba(255,255,255,0.06);
  --drawer-bg: rgba(14,15,19,0.96);
  --sticky-bg: rgba(14,15,19,0.92);

  --hero-overlay: linear-gradient(
      90deg,
      rgba(14,15,19,0.96) 0%,
      rgba(14,15,19,0.85) 35%,
      rgba(14,15,19,0.55) 55%,
      rgba(14,15,19,0.25) 70%,
      rgba(14,15,19,0.15) 100%
    ),
    radial-gradient(
      420px 280px at 75% 45%,
      rgba(255,138,0,0.35),
      transparent 65%
    );

  --hero-title: #ffffff;
  --hero-sub: rgba(255,255,255,0.80);
}

/* =========================
   BASE BODY
========================= */
body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================
   LAYOUT
========================= */
.container{
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.section{ padding: 44px 0; }
main{ padding-top: 10px; }

/* Anchor offset so headings don't hide behind sticky header */
section[id]{ scroll-margin-top: 86px; }

/* =========================
   HEADER
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  min-height: 66px;
  gap: 12px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo (SVG friendly) */
.brand-logo{
  width: 72px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.80);
  padding: 6px;
  box-shadow: 0 0 0 1px var(--border);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

body.theme-dark .brand-logo{
  background: rgba(255,255,255,0.06);
}

@media (max-width: 640px){
  .brand-logo{ width: 52px; max-height: 52px; padding: 5px; }
}

/* Desktop nav */
.main-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a{
  font-weight: 800;
  color: rgba(15,18,32,0.78);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover{
  color: rgba(15,18,32,0.95);
  border-bottom-color: rgba(255,138,0,0.5);
}

body.theme-dark .main-nav a{
  color: rgba(255,255,255,0.85);
}
body.theme-dark .main-nav a:hover{
  color: #fff;
}

/* Header actions */
.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* WhatsApp button in header */
.wa-btn{
  background: var(--brand);
  color: #000;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.2px;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.wa-btn:active{ transform: translateY(1px); }

/* Theme toggle button */
.theme-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: transform .12s ease, filter .12s ease;
}
body.theme-dark .theme-toggle{
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
.theme-toggle:active{ transform: translateY(1px); }
.theme-ico{ font-size: 1rem; line-height: 1; }
.theme-text{ font-size: 0.92rem; }

/* Burger (mobile) */
.burger{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span{
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(15,18,32,0.92);
  margin: 5px 0;
  border-radius: 2px;
}
body.theme-dark .burger span{ background: #fff; }

/* Mobile nav drawer */
.mobile-nav{
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px 18px;
  background: var(--drawer-bg);
  border-bottom: 1px solid var(--header-border);
}

.mobile-nav a{
  font-weight: 900;
  padding: 10px 6px;
  border-radius: 10px;
  color: rgba(15,18,32,0.92);
}
body.theme-dark .mobile-nav a{
  color: rgba(255,255,255,0.95);
}
.mobile-nav a:hover{
  background: rgba(0,0,0,0.05);
}
body.theme-dark .mobile-nav a:hover{
  background: rgba(255,255,255,0.06);
}

@media (max-width: 900px){
  .main-nav{ display: none; }
  .burger{ display: block; }
}

/* =========================
   TYPOGRAPHY HELPERS
========================= */
.section-title{
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  max-width: 20ch;
}

.section-sub{
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 62ch;
  line-height: 1.6;
}

.muted{ color: var(--muted); margin-bottom: 14px; }

.subhead{
  margin: 10px 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(15,18,32,0.70);
}
body.theme-dark .subhead{
  color: rgba(255,255,255,0.92);
}

@media (max-width: 640px){
  .section-title{ font-size: 2rem; max-width: 22ch; }
}

/* =========================
   CARDS (shared)
========================= */
.card,
.highlight-card,
.rewards-card,
.outlet-card,
.flavour-card,
.mini-card,
.feature-card{
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.card{ padding: 18px; }

.card:hover,
.highlight-card:hover,
.rewards-card:hover,
.outlet-card:hover,
.flavour-card:hover,
.mini-card:hover,
.feature-card:hover{
  transform: translateY(-1px);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  border-color: rgba(255,138,0,0.28);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}
body.theme-dark .card:hover,
body.theme-dark .highlight-card:hover,
body.theme-dark .rewards-card:hover,
body.theme-dark .outlet-card:hover,
body.theme-dark .flavour-card:hover,
body.theme-dark .mini-card:hover,
body.theme-dark .feature-card:hover{
  box-shadow: 0 18px 48px rgba(0,0,0,0.48);
}

/* =========================
   BUTTONS
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-wa{
  background: var(--brand);
  color: #000;
}

.btn-ghost{
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{
  filter: brightness(1.04);
  border-color: rgba(255,138,0,0.45);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.10);
}

/* Full width primary button (forms etc.) */
.btn-primary{
  width: 100%;
  border: 0;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  background: var(--brand);
  color: #000;
  transition: transform .12s ease;
}
.btn-primary:active{ transform: translateY(1px); }

/* =========================
   FORMS
========================= */
.field-label{ display: block; font-weight: 800; margin-bottom: 8px; }

.select,
.input{
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  outline: none;
}

.select:focus,
.input:focus{
  border-color: rgba(255,138,0,0.70);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.12);
}

.hint{ color: var(--muted); font-size: 0.95rem; }

/* =========================
   HERO
========================= */
.hero{
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* background image wrapper */
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  filter: contrast(1.05) saturate(1.1);
  opacity: 1;
}

/* overlay uses theme token */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* content */
.hero-inner{
  position: relative;
  z-index: 2;
}

.hero-title{
  font-size: 2.7rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 12px;
  color: var(--hero-title);
}

.hero-sub{
  color: var(--hero-sub);
  max-width: 56ch;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px){
  .hero{ padding: 48px 0 44px; }
  .hero-title{ font-size: 2.1rem; max-width: 20ch; }
}

/* =========================
   GRID
========================= */
.grid{ display: grid; gap: 14px; }
@media (min-width: 768px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
}

/* =========================
   TWO-COLUMN SECTION
========================= */
.two-col{
  display: grid;
  gap: 18px;
}
@media (min-width: 980px){
  .two-col{
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }
}

/* =========================
   MENU HIGHLIGHTS SLIDER
========================= */
.mini-slider{ position: relative; margin-top: 8px; }

.mini-viewport{
  overflow: hidden;
  border-radius: 18px;
}

.mini-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 3);
  gap: 14px;
  transition: transform 260ms ease;
  will-change: transform;
  padding: 2px;
}
#miniTrack{ will-change: transform; }

@media (max-width: 900px){
  .mini-track{ grid-auto-columns: calc((100% - 14px) / 2); }
}
@media (max-width: 640px){
  .mini-track{ grid-auto-columns: 88%; }
}

.mini-card{ border-radius: 16px; }

.mini-media{
  height: 140px;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.theme-dark .mini-media{
  background: rgba(255,255,255,0.92);
}

.mini-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.mini-placeholder{
  width: 100%;
  height: 100%;
  background: radial-gradient(420px 220px at 50% 40%, rgba(255,138,0,0.20), rgba(255,255,255,0.05));
}

.mini-info{ padding: 12px; }
.mini-name{ font-weight: 950; margin-bottom: 4px; font-size: 1.05rem; color: var(--text); }
.mini-tag{ color: var(--muted); font-size: 0.92rem; }

.mini-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* arrows */
.mini-btn{
  position: absolute;
  top: 70px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(14,15,19,0.65);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.92);
  font-size: 24px;
  font-weight: 950;
  cursor: pointer;
  z-index: 5;
}
body:not(.theme-dark) .mini-btn{
  background: rgba(15,18,32,0.10);
  color: rgba(15,18,32,0.85);
}
.mini-btn.prev{ left: -10px; }
.mini-btn.next{ right: -10px; }

.mini-btn:hover{
  border-color: rgba(255,138,0,0.45);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.12);
}

@media (max-width: 640px){
  .mini-btn{ display: none; }
}

/* =========================
   FEATURED CARD (Today’s Highlight)
========================= */
.feature-card{
  border-radius: 18px;
  padding: 18px;
}

.feature-head{
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  color: rgba(15,18,32,0.70);
}
body.theme-dark .feature-head{
  color: rgba(255,255,255,0.75);
}

.feature-title{
  font-size: 1.55rem;
  font-weight: 950;
  margin-bottom: 4px;
  color: var(--text);
}

.feature-sub{
  color: var(--muted);
  margin-bottom: 14px;
}

.feature-media{
  height: 220px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}
.feature-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.feature-placeholder{
  width: 100%;
  height: 100%;
  background: radial-gradient(520px 280px at 50% 40%, rgba(255,138,0,0.20), rgba(255,255,255,0.05));
}
.feature-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   REWARDS HUB
========================= */
.rewards-card{
  border-radius: 18px;
  padding: 18px;
}

.rewards-head{
  font-weight: 950;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
}

.rewards-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rewards-foot{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   OUTLETS
========================= */
.outlet-card{
  border-radius: 18px;
  padding: 18px;
}

.map-mock{
  height: 180px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 280px at 30% 40%, rgba(255,138,0,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
}

.map-pin{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  position: absolute;
  top: 55%;
  left: 40%;
  box-shadow: 0 0 0 6px rgba(255,138,0,0.14);
}
.map-pin.pin2{
  top: 35%;
  left: 60%;
  background: rgba(15,18,32,0.60);
  box-shadow: 0 0 0 6px rgba(15,18,32,0.10);
}
body.theme-dark .map-pin.pin2{
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.10);
}
.map-pin.pin3{
  top: 65%;
  left: 70%;
  background: rgba(15,18,32,0.35);
  box-shadow: 0 0 0 6px rgba(15,18,32,0.08);
}
body.theme-dark .map-pin.pin3{
  background: rgba(255,255,255,0.65);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
}

/* =========================
   STICKY CTA (Mobile/Tablet)
========================= */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--sticky-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--header-border);
  display: none;
}

.sticky-cta-inner{
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sticky-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.sticky-item:active{ transform: translateY(1px); }

.sticky-ico{ font-size: 1.05rem; line-height: 1; margin-bottom: 6px; }
.sticky-txt{ font-size: 0.82rem; font-weight: 900; letter-spacing: 0.2px; }

.sticky-item.primary{
  background: rgba(255,138,0,0.14);
  border-color: rgba(255,138,0,0.40);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.10);
}

@media (max-width: 900px){
  .sticky-cta{ display: block; }
  body{ padding-bottom: 88px; } /* prevent overlap */
}

/* =========================
   TOASTS
========================= */
.toast-wrap{
  position: fixed;
  bottom: 90px;
  right: 16px;
  z-index: 9999;
}

.toast{
  background: #1c1d22;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  margin-top: 10px;
  font-size: 14px;
  animation: toast-in 0.3s ease-out, toast-out 0.3s ease-in 3.2s forwards;
}
.toast-success{ border-left: 4px solid #22c55e; }
.toast-error{ border-left: 4px solid #ef4444; }

@keyframes toast-in{
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out{
  to { opacity: 0; transform: translateY(10px); }
}

/* =========================
   BLOG CONTENT
========================= */
.blog-content p{ line-height: 1.7; margin-bottom: 14px; }
.blog-content img{ max-width: 100%; border-radius: 14px; margin: 12px 0; }

.hp-field{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* =========================
   REWARD RESULT
========================= */
.reward-result{
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
}
.reward-unlocked{ color: #22c55e; font-weight: 600; margin-bottom: 4px; }
.reward-text{ font-size: 14px; }

/* =========================
   REWARDS WHEEL
========================= */
.wheel-wrap{
  width: 280px;
  height: 280px;
  margin: 0 auto;
  position: relative;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
}
body.theme-dark .wheel-wrap{
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

#wheelWrap canvas{ width: 280px; height: 280px; }

.wheel-pointer{
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid var(--brand);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5));
  z-index: 2;
}

/* =========================
   FOOTER
========================= */
.site-footer{
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}



/* =========================
   FRANCHISE + WHOLESALE
========================= */
.info-split{
  display: grid;
  gap: 14px;
  align-items: start;
}

@media (min-width: 980px){
  .info-split{
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
  }
}

/* icon bullet list */
.icon-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}
.icon-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.icon-dot{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,138,0,0.14);
  border: 1px solid rgba(255,138,0,0.25);
  flex: 0 0 34px;
}
.icon-text{
  font-weight: 900;
}
.icon-sub{
  color: var(--muted);
  font-weight: 650;
  margin-top: 2px;
  font-size: 0.95rem;
}

/* highlight panel (right column cards) */
.panel{
  border-radius: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel-kpis{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.kpi{
  border-radius: 16px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.kpi .kpi-val{
  font-size: 1.2rem;
  font-weight: 950;
}
.kpi .kpi-lbl{
  color: var(--muted);
  font-weight: 800;
  margin-top: 4px;
  font-size: 0.92rem;
}

/* small tag chips */
.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(255,138,0,0.12);
  border: 1px solid rgba(255,138,0,0.22);
  color: var(--text);
  font-size: 0.92rem;
}
body.theme-dark .chip{
  background: rgba(255,138,0,0.16);
  border-color: rgba(255,138,0,0.25);
}
/* =========================
   SELECT DROPDOWN – DARK MODE FIX
========================= */

/* Base select (already good, just ensuring consistency) */
select,
.select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Option styling (important) */
select option{
  background-color: #ffffff;
  color: #0f1220;
}

/* Dark theme override */
body.theme-dark select option{
  background-color: #0e0f13;
  color: #ffffff;
}

/* Selected / hovered option (browser-dependent but helps) */
body.theme-dark select option:checked,
body.theme-dark select option:hover{
  background-color: rgba(255,138,0,0.25);
  color: #ffffff;
}


 /*Blog featured image */
.highlight-img{
  width: 100%;
  height: 320px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 14px 0;
}

@media (max-width: 576px){
  .highlight-img{ height: 220px; }
}



/* =========================
   BLOG SHARE BAR
========================= */
.share-wrap{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 6px;
}

.share-label{
  font-weight: 900;
  color: var(--muted);
  margin-right: 6px;
}

.share-btn{
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.share-btn:hover{
  border-color: rgba(255,138,0,0.45);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.10);
}

.share-btn:active{
  transform: translateY(1px);
}

/* Platform accents */
.share-btn.fb{ color:#1877f2; }
.share-btn.wa{ color:#25d366; }
.share-btn.x{ color:#000000; }
body.theme-dark .share-btn.x{ color:#ffffff; }

.share-btn.ig{
  color:#e1306c;
}

.share-btn.copy{
  color: var(--text);
}


/* Icon-only share buttons */
.share-wrap.icon-only .share-btn{
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-ico{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Slight brand glow on hover */
.share-btn:hover{
  box-shadow: 0 0 0 4px rgba(255,138,0,0.12);
}

/* Mobile spacing */
@media (max-width: 640px){
  .share-wrap{
    gap: 8px;
  }
}

