/* =====================================================================
   Nylna luxe layer: logo motion + premium inner pages + admin polish
   (loaded after style.css and premium.css)
   ===================================================================== */

/* ---- logo everywhere: same motion as the home hero logo (float + glow + heartbeat) ----
   Float, pulse and glow run on separate properties (translate / scale / box-shadow) so they combine. */
.anim-logo { border-radius: 50% !important; background: #fff;
  animation: logo-float 4.5s ease-in-out infinite, logo-beat 2.2s ease-in-out infinite, logo-glow 2.2s ease-out infinite; }
.brand img.anim-logo { padding: 3px; }
@keyframes logo-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes logo-beat {
  0%, 100% { scale: 1; }
  14% { scale: 1.08; }
  28% { scale: 1; }
  42% { scale: 1.045; }
  56% { scale: 1; }
}
@keyframes logo-glow {
  0% { box-shadow: 0 0 0 0 rgba(41,169,232,.55), 0 4px 14px var(--ring); }
  75%, 100% { box-shadow: 0 0 0 12px rgba(41,169,232,0), 0 4px 14px var(--ring); }
}
.auth-logo .anim-logo { animation-name: logo-float-lg, logo-beat, logo-glow-lg; }
@keyframes logo-float-lg { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes logo-glow-lg {
  0% { box-shadow: 0 0 0 0 rgba(41,169,232,.5), 0 12px 30px var(--ring); }
  75%, 100% { box-shadow: 0 0 0 26px rgba(41,169,232,0), 0 12px 30px var(--ring); }
}

/* ---- home hero logo: float + glow (existing) + heartbeat pulse ---- */
.logo-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: pulse-ring 2.2s ease-out infinite; }
.logo-ring img { animation: heartbeat 2.2s ease-in-out infinite; }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(127,208,251,.6); }
  75%, 100% { box-shadow: 0 0 0 42px rgba(127,208,251,0); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.06); }
  28% { transform: scale(1); }
  42% { transform: scale(1.035); }
  56% { transform: scale(1); }
}

/* ---- panoramic band behind every inner page ---- */
main.banded { position: relative; padding-top: 36px; }
.page-band { position: absolute; inset: 0 0 auto 0; height: 250px; overflow: hidden; isolation: isolate; z-index: 0; }
.page-band .orb-1 { width: 340px; height: 340px; top: -160px; }
.page-band::after { content: ''; position: absolute; inset: auto 0 0 0; height: 110px; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
main.banded > .container { position: relative; z-index: 1; }
main.banded > .container > h1,
main.banded > .container > .card-head h1 { color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.25); font-size: clamp(1.4rem, 2.6vw, 2rem); }
main.banded > .container > p:nth-child(-n+3),
main.banded > .container > p:nth-child(-n+3) a,
main.banded > .container > h1 + p,
main.banded > .container > .card-head + p { color: rgba(255,255,255,.88); }
main.banded > .container > .card-head .tabs a:not(.active) { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
main.banded > .container > .flash { box-shadow: 0 10px 30px rgba(8,37,79,.18); }

/* ---- surfaces ---- */
.card { border-radius: 18px; box-shadow: 0 1px 2px rgba(8,37,79,.04), 0 14px 34px rgba(8,37,79,.07); }
.card h3 { font-weight: 800; }
.auth-box, .auth-card { box-shadow: 0 30px 70px rgba(8,37,79,.18); }
.auth-logo img { padding: 6px; box-shadow: 0 0 0 6px var(--primary-soft), 0 12px 30px var(--ring); }
.stat { position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--sky)); }
.stat .value { background: linear-gradient(90deg, var(--primary), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
a.stat { transition: transform .25s, box-shadow .25s; }
a.stat:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(8,37,79,.12); }

/* ---- buttons ---- */
.btn { background: linear-gradient(135deg, var(--primary) 0%, #0b93dc 100%); box-shadow: 0 6px 16px var(--ring);
  transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px var(--ring); background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 100%); }
.btn:active { transform: none; }
.btn.secondary { background: var(--surface); box-shadow: none; }
.btn.secondary:hover { background: var(--surface-2); box-shadow: 0 6px 16px rgba(8,37,79,.08); }
.btn.danger { background: linear-gradient(135deg, #c0362c, #e0564b); }
.btn.success { background: linear-gradient(135deg, #14804a, #1fa463); }
.btn-light { background: #fff; }
.btn-light:hover { background: #e3f4fe; }
.btn-ghost { background: rgba(255,255,255,.08); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn[disabled]:hover { transform: none; }

/* ---- forms ---- */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  border-radius: 11px; padding: 10px 13px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.cycle-opt { border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cycle-opt:hover { transform: translateY(-2px); }
.cycle-opt:has(input:checked) { box-shadow: 0 0 0 3px var(--ring); }

/* ---- tables ---- */
th { background: var(--surface-2); color: var(--muted); }
thead th:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
thead th:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
thead th { border-bottom: 0; }
tbody tr { transition: background .15s; }

/* ---- tabs, sub navigation, badges ---- */
.tabs a { transition: background .2s, color .2s; }
.tabs a.active { background: linear-gradient(135deg, var(--primary), #0b93dc); border-color: transparent; box-shadow: 0 6px 14px var(--ring); }
.subnav { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: relative; z-index: 2; }
.subnav a { border-radius: 99px; font-weight: 600; }
.subnav a.active { background: linear-gradient(135deg, var(--primary), #0b93dc); color: var(--on-primary); box-shadow: 0 6px 14px var(--ring); }
.badge { padding: 3px 11px; letter-spacing: .01em; }
.flash { border-radius: 14px; }

/* ---- ticket replies, lists ---- */
.reply { border-radius: 16px; box-shadow: 0 8px 22px rgba(8,37,79,.05); }
.reply.staff { border-color: transparent; box-shadow: 0 0 0 1.5px var(--primary), 0 10px 26px var(--ring); }
.plan li::before { color: var(--primary); }

/* ---- footer ---- */
footer.site { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #08254f 0%, #031630 100%); }
footer.site::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--sky), var(--navy)); }
footer.site .pano-pattern { opacity: .07; }

/* ---- admin panel ---- */
.sidebar { background: linear-gradient(180deg, #08254f 0%, #041631 100%); box-shadow: -10px 0 40px rgba(3,22,48,.18); }
.sidebar a { transition: background .2s, color .2s; border-inline-start: 3px solid transparent; }
.sidebar a.active { background: linear-gradient(90deg, rgba(41,169,232,.28), rgba(41,169,232,.06)); border-inline-start-color: var(--sky); color: #fff; }
.sidebar a.brand, .sidebar a.brand:hover { border: 0; background: none; }
.admin-main { background:
  radial-gradient(900px 300px at 100% 0, rgba(41,169,232,.10), transparent 70%),
  radial-gradient(700px 260px at 0 0, rgba(11,59,140,.08), transparent 70%); }
.admin-top h1 { background: linear-gradient(90deg, var(--text), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- device activation ---- */
.activation-alert { display: flex; gap: 14px; align-items: center; color: inherit; border: 0; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-soft), var(--surface)); box-shadow: 0 0 0 1.5px var(--primary), 0 14px 34px var(--ring); }
.activation-alert:hover { text-decoration: none; transform: translateY(-2px); }
.activation-alert strong { display: block; font-size: 1.05rem; }
.activation-panel { box-shadow: 0 0 0 1.5px var(--primary-soft), 0 14px 34px rgba(8,37,79,.07); }
.activation-panel h3 { display: flex; align-items: center; gap: 8px; color: var(--primary); }
.steps { margin: 0 0 14px; padding-inline-start: 22px; color: var(--muted); }
.steps li { padding: 3px 0; }
.activation-item { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; background: var(--surface-2); }
.activation-item .license-box { font-size: .82rem; letter-spacing: .02em; text-align: left; line-height: 1.7; }
.activation-form { border-top: 1px dashed var(--border); padding-top: 14px; margin-top: 4px; }
.activation-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.activation-row:last-child { border-bottom: 0; }
.activation-card .info { margin-bottom: 12px; }
.activation-actions input { margin-bottom: 8px; }

/* ---- star ratings ---- */
.stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 2px; font-size: 1rem; direction: ltr; vertical-align: middle; }
.stars.lg { font-size: 1.5rem; }
.stars-bg { color: #d4dbe6; }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #f5b301; }
@media (prefers-color-scheme: dark) { .stars-bg { color: #34465f; } }

/* ---- social proof on products ---- */
.social-proof { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .85rem; margin: 2px 0 6px; }
.social-proof.big { font-size: .95rem; margin: 4px 0 12px; }
.social-proof a { color: inherit; text-decoration: none; }
.sp-rating { display: inline-flex; align-items: center; gap: 5px; }
.sp-buyers { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 700; background: var(--ok-soft); padding: 2px 10px; border-radius: 99px; }
main.banded > .container > .social-proof .muted, main.banded > .container > .social-proof { color: #fff; }

/* ---- reviews ---- */
.review-card { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(8,37,79,.07); position: relative; overflow: hidden; }
.review-card::before { content: '”'; position: absolute; top: -18px; inset-inline-end: 14px; font-size: 7rem; line-height: 1; color: var(--primary-soft); font-family: Georgia, serif; pointer-events: none; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; }
.verified { font-size: .75rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.review-card blockquote { margin: 0; flex: 1; font-size: .98rem; line-height: 1.8; position: relative; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; }
.review-card figcaption small { display: block; color: var(--muted); font-size: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--sky)); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review-item { flex-basis: clamp(280px, 30vw, 360px); }
.product-reviews { margin-top: 30px; }
.rating-summary { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.rating-summary strong { font-size: 1.6rem; }
.trust-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: -10px 0 26px; }
.trust-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border-radius: 18px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); }
.trust-stat strong { font-size: 1.9rem; font-weight: 800; background: linear-gradient(90deg, var(--primary), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-stat span { color: var(--muted); font-size: .9rem; }
.review-admin .stars { margin-inline-start: 6px; }

/* star picker (RTL: first DOM item is 5 and sits on the left) */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 12px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: #d4dbe6; cursor: pointer; margin: 0; transition: color .15s, transform .15s; }
.star-input input:checked ~ label { color: #f5b301; }
.star-input:hover label { color: #d4dbe6; }
.star-input label:hover, .star-input label:hover ~ label { color: #f5b301; transform: scale(1.08); }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }
.review-form h3 { display: flex; align-items: center; gap: 8px; }

/* ---- WhatsApp ---- */
.btn.wa-btn { background: linear-gradient(135deg, #1fae55, #25d366); color: #fff; box-shadow: 0 6px 16px rgba(37,211,102,.28); }
.btn.wa-btn:hover { background: linear-gradient(135deg, #179448, #1fbf5c); }
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; display: flex; align-items: center; gap: 0; height: 58px; padding: 0 14px;
  border-radius: 99px; color: #fff; background: linear-gradient(135deg, #1fae55, #25d366); box-shadow: 0 12px 30px rgba(37,211,102,.4);
  text-decoration: none; transition: gap .3s, padding .3s, transform .2s; animation: wa-pulse 2.6s ease-out infinite; }
.wa-float:hover { text-decoration: none; transform: translateY(-2px); gap: 10px; padding: 0 20px; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; transition: max-width .35s; }
.wa-float:hover .wa-float-label { max-width: 220px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 12px 30px rgba(37,211,102,.4); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 12px 30px rgba(37,211,102,.4); } }
.wa-settings h3 { display: flex; align-items: center; gap: 8px; color: #1fae55; }
.wa-drivers { display: grid; gap: 8px; margin: 6px 0 12px; }
.wa-driver { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.wa-driver:has(input:checked) { border-color: #1fae55; background: rgba(31, 174, 85, .07); }
.wa-driver input { margin-top: 5px; }
.wa-gateway-box { padding: 12px 14px; border-radius: 12px; background: var(--surface-2, #f4f8fb); margin-bottom: 12px; }
.wa-gw-status { font-weight: 700; padding: 8px 12px; border-radius: 10px; font-size: .92rem; }
.wa-gw-status.on { color: #148a42; background: rgba(31, 174, 85, .12); }
.wa-gw-status.wait { color: #a86b00; background: rgba(240, 170, 20, .14); }
.wa-gw-status.off { color: #b3261e; background: rgba(220, 50, 40, .1); }
@media (max-width: 560px) { .wa-float { bottom: 14px; inset-inline-start: 14px; height: 52px; } }
@media print { .wa-float { display: none; } }

/* ---- standalone pages (admin login, installer) ---- */
body.standalone main.banded { min-height: 100vh; }
body.standalone .page-band { height: 46vh; }

@media (prefers-reduced-motion: reduce) {
  .anim-logo, .logo-ring::after, .logo-ring img { animation: none; }
  .btn:hover, a.stat:hover, .cycle-opt:hover { transform: none; }
}
@media print {
  .page-band { display: none; }
  .anim-logo { animation: none; }
}

/* ---- sign-up / login: WhatsApp number field, human check, codes ---- */
.phone-field { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius, 10px); background: var(--surface); overflow: hidden; }
.phone-field:focus-within { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
.phone-field .pf-country { position: relative; flex: none; display: flex; align-items: center; padding: 0 12px; background: var(--primary-soft); border-inline-end: 1px solid var(--border); font-weight: 700; color: var(--navy, var(--text)); white-space: nowrap; }
.phone-field .pf-country::after { content: "▾"; margin-inline-start: 6px; font-size: .75em; opacity: .7; }
.phone-field .pf-country select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; border: 0; }
.phone-field input[type=tel] { border: 0 !important; outline: none !important; flex: 1; min-width: 0; direction: ltr; text-align: left; letter-spacing: .5px; border-radius: 0; }
.phone-hint { min-height: 1.4em; margin-top: 6px; font-size: .88rem; }
.phone-hint .ok { color: var(--ok); } .phone-hint .bad { color: var(--bad); } .phone-hint a { font-weight: 700; }
.captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha img { border-radius: 10px; border: 1px solid var(--border); flex: none; }
.captcha input { width: 110px !important; text-align: center; font-weight: 700; }
.captcha .muted { flex-basis: 100%; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.terms-check a { font-weight: 700; }
.otp-input { text-align: center; font-size: 1.7rem !important; letter-spacing: 12px; font-weight: 800; direction: ltr; }
.otp-status { text-align: center; padding: 10px; border-radius: 12px; margin: 12px 0; font-weight: 700; background: var(--primary-soft); color: var(--navy, var(--text)); }
.otp-status.ok { background: var(--ok-soft); color: var(--ok); } .otp-status.bad { background: var(--bad-soft); color: var(--bad); }
.otp-resend { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; }
.otp-resend button:disabled { opacity: .6; cursor: default; }
.auth-form .btn.block { margin-top: 6px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 44px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.pw-eye:hover { color: var(--primary); background: var(--primary-soft); }
.remember { margin: 4px 0 12px; }
.recover-ways { display: grid; gap: 10px; margin-top: 6px; }
.recover-way { display: grid; gap: 2px; text-align: start; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.recover-way b { font-size: 1rem; color: var(--navy, var(--text)); }
.recover-way span { font-size: .85rem; color: var(--muted); }
.recover-way:hover, .recover-way:focus-visible { border-color: var(--primary); box-shadow: 0 8px 22px var(--primary-soft); transform: translateY(-1px); }
.recover-help { text-align: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.temp-note { background: var(--primary-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.temp-note p { margin: 0 0 6px; font-size: .92rem; }
.temp-note .otp-status { margin: 0; background: var(--surface); }
.android-setup { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.android-setup summary { cursor: pointer; }
.android-setup ol { margin: 8px 0; padding-inline-start: 20px; line-height: 1.9; }
.copy-box { display: flex; gap: 8px; align-items: center; background: #0b1f33; border-radius: 10px; padding: 8px 10px; }
.copy-box code { flex: 1; color: #9be7ff; font-size: .78rem; word-break: break-all; background: none; }
.gw-list { width: 100%; border-collapse: collapse; margin: 10px 0 4px; }
.gw-list th, .gw-list td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: start; }
.gw-list th { color: var(--muted); font-weight: 600; }
.gw-list .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 6px; background: var(--muted); }
.gw-list .dot.on { background: #1fae55; box-shadow: 0 0 0 3px rgba(31,174,85,.18); } .gw-list .dot.wait { background: #f0aa14; } .gw-list .dot.off { background: #c0392b; }

/* ---- special products ---- */
.special-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; margin-bottom: 24px; }
.special-hero .eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; font-size: .85rem; }
.special-hero h1 { color: #fff; margin: 10px 0 6px; font-size: 2rem; }
.special-hero p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1.05rem; }
.special-cta { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; padding: 22px; border-radius: 24px; color: var(--text);
  background: var(--surface); box-shadow: 0 24px 60px rgba(8, 37, 79, .25); overflow: hidden; transition: transform .25s, box-shadow .25s; isolation: isolate; }
.special-cta::before { content: ""; position: absolute; inset: 0; padding: 1.6px; border-radius: inherit; z-index: -1; background: conic-gradient(from var(--auth-angle, 0deg), #29a9e8, #0b3b8c, #7dd3fc, #f5b400, #29a9e8);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: auth-turn 6s linear infinite; }
.special-cta:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(8, 37, 79, .32); }
.special-cta-icon { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #f5b400, #ff8a00); box-shadow: 0 10px 24px rgba(255, 138, 0, .35); animation: logo-beat 2.4s ease-in-out infinite; }
.special-cta b { display: block; font-size: 1.2rem; }
.special-cta small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.special-cta-go { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--primary); }
.special-cta-go svg { transform: scaleX(-1); }
.special-tabs { margin-bottom: 18px; }
.special-tag { background: linear-gradient(120deg, #fff4d6, #ffe4b8); color: #8a5a00; display: inline-flex; align-items: center; gap: 4px; }
.product.is-special .product-media { background: radial-gradient(circle at 30% 20%, #fff6dc, var(--primary-soft)); }
.product.is-special .product-icon { color: #e09a00; }
.special-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: auto; }
.special-actions .btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.special-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 14px 0; border-radius: 14px; background: #fff8e6; color: #7a5200; font-size: .92rem; }
.reply-card h3 { display: flex; align-items: center; gap: 8px; }
@media (prefers-color-scheme: dark) { .special-note { background: #3a2f16; color: #e6c67a; } .special-tag { background: #3a2f16; color: #e6c67a; } }
@media (max-width: 860px) { .special-hero { grid-template-columns: 1fr; } }
/* one-line menu on medium screens (7 links) */
@media (min-width: 761px) and (max-width: 1280px) {
  .topbar .nav { flex-wrap: nowrap; gap: 0; }
  .topbar .nav a { padding: 6px 7px; font-size: .9rem; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1060px) { .topbar .brand small { display: none; } .topbar .nav a { padding: 6px 5px; font-size: .84rem; } }

/* ---- opportunity discounts ---- */
del.was { color: var(--muted); font-size: .85em; margin-inline-end: 4px; text-decoration-thickness: 1.5px; }
.promo-ribbon { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 99px;
  font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(120deg, #ff3d3d, #ff8a00); box-shadow: 0 6px 16px rgba(255, 80, 40, .4); animation: promo-pulse 1.8s ease-in-out infinite; }
@keyframes promo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.promo-line { margin: 4px 0 2px; font-size: .82rem; font-weight: 700; color: #d9480f; }
.promo-tag { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(120deg, #ff3d3d, #ff8a00); }
.promo-banner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin: 14px 0 18px; padding: 16px 18px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(120deg, #fff4ec, #ffe3d1); border: 1.5px solid #ffc9a8; box-shadow: 0 12px 30px rgba(255, 120, 60, .18); }
.promo-flame { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #ff3d3d, #ff8a00); animation: promo-pulse 1.8s ease-in-out infinite; }
.promo-main { display: grid; gap: 2px; }
.promo-main b { font-size: 1.12rem; color: #b42d00; }
.promo-main b .price, .promo-main b span { color: inherit; }
.promo-main span { font-size: .92rem; color: #6b3a1e; }
.promo-main .promo-left { font-weight: 700; color: #d9480f; }
.promo-ladder { grid-column: 1 / -1; display: flex; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; overflow-x: auto; }
.promo-ladder li { flex: 1; min-width: 62px; text-align: center; padding: 6px 4px; border-radius: 12px; background: rgba(255, 255, 255, .7); border: 1px solid #ffd7bf; }
.promo-ladder li b { display: block; font-size: 1rem; color: #b42d00; }
.promo-ladder li small { font-size: .72rem; color: #8a5a3c; }
.promo-ladder li.done { opacity: .45; text-decoration: line-through; }
.promo-ladder li.now { background: linear-gradient(135deg, #ff3d3d, #ff8a00); border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255, 80, 40, .35); }
.promo-ladder li.now b, .promo-ladder li.now small { color: #fff; }
.promo-admin { padding: 12px 14px; border: 1px dashed #ffb48a; border-radius: 14px; margin: 12px 0; }
@media (prefers-color-scheme: dark) {
  .promo-banner { background: linear-gradient(120deg, #3a1e12, #2c1810); border-color: #6b3a1e; }
  .promo-main b { color: #ffb48a; } .promo-main span { color: #e9c2a6; } .promo-ladder li { background: rgba(0, 0, 0, .2); border-color: #6b3a1e; } .promo-ladder li b { color: #ffb48a; }
}

/* ---- share and earn ---- */
.share-box { margin-top: 14px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #eef4ff, #f3f9ff); border: 1px solid #cfe0fb; }
.share-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.share-head b { display: block; color: #1a3e8c; }
.share-head small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.share-fb { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: #1877f2; box-shadow: 0 6px 16px rgba(24, 119, 242, .35); }
.share-meter { display: block; height: 8px; border-radius: 99px; background: #dbe7fb; overflow: hidden; }
.share-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1877f2, #29a9e8); transition: width .6s; }
.share-stat { margin: 6px 0 10px; font-size: .86rem; color: var(--muted); }
.btn.share-btn-fb { background: #1877f2; border-color: #1877f2; color: #fff; display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 800; }
.btn.share-btn-fb span { padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, .22); font-size: .85rem; }
.btn.share-btn-fb:disabled { background: #c9d6ea; border-color: #c9d6ea; color: #4a5b74; font-weight: 600; font-size: .85rem; }
.share-msg { margin: 8px 0 0; font-size: .85rem; min-height: 1em; } .share-msg.ok { color: var(--ok); } .share-msg.bad { color: var(--bad); }
.share-apply { margin-top: 12px; padding: 12px; border-radius: 14px; background: #eef4ff; border: 1px solid #cfe0fb; }
.share-apply p { margin: 0 0 8px; display: flex; gap: 6px; align-items: flex-start; font-size: .92rem; }
.rewards-widget { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; color: var(--text); background: linear-gradient(120deg, #eef4ff, #ffffff); border-color: #cfe0fb; }
.rewards-widget:hover { text-decoration: none; box-shadow: 0 10px 26px rgba(24, 119, 242, .15); }
.rewards-widget .rw-icon { grid-row: span 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #1877f2, #29a9e8); }
.rewards-widget b { display: block; } .rewards-widget small { color: var(--muted); }
.rewards-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.rw-ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#1877f2 calc(var(--p) * 1%), #dbe7fb 0); }
.rw-ring > div { width: 118px; height: 118px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; align-content: center; }
.rw-ring b { font-size: 2rem; color: #1877f2; line-height: 1; } .rw-ring small { color: var(--muted); }
.rewards-hero h1 { margin: 0 0 6px; }
.rw-today { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-item { display: flex; flex-direction: column; }
.share-item .si-media { display: grid; place-items: center; height: 120px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); overflow: hidden; }
.share-item .si-media img { width: 100%; height: 100%; object-fit: cover; }
.share-item h3 { font-size: 1rem; margin: 10px 0 0; }
.share-item .share-box { margin-top: auto; }
.share-item .share-head small { display: none; }
@media (prefers-color-scheme: dark) {
  .share-box, .share-apply, .rewards-widget { background: #10233d; border-color: #1f3651; } .share-head b { color: #9ec5ff; }
}
@media (max-width: 560px) { .rewards-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
