/* =========================================================
   Sip Up — Black Friday takeover
   Only applies while <html> has the "bf" class, which
   blackfriday.js adds during the sale dates. Dark stage up
   top (bar, header, hero, deals); the regular Blue & Warm
   Sand brand continues below.
   ========================================================= */

/* Sale-only blocks are hidden outside the sale; regular blocks they replace are hidden during it */
html:not(.bf) .bf-only { display: none !important; }
html.bf .bf-hide { display: none !important; }
:root {
  --bf-bg: #04070c;
  --bf-navy: #0a1d30;
  --bf-cyan: #2fd9f4;
  --bf-cyan-deep: #0fb2da;
  --bf-gold: #ffc61a;
  --bf-soft: #a9bdcc;
  --bf-line: rgba(255, 255, 255, .12);
}

/* ---------- Announcement bar (every page) ---------- */
.bf-bar { background: #000; color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .84rem; }
.bf-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 16px; padding: 9px 22px; flex-wrap: wrap; text-align: center; }
.bf-bar b { color: var(--bf-cyan); letter-spacing: .1em; text-transform: uppercase; }
.bf-bar .sep { opacity: .35; }
.bf-bar .bf-count { font-variant-numeric: tabular-nums; color: #fff; }
.bf-bar a { color: #04121a; background: var(--bf-cyan); padding: 4px 13px; border-radius: 999px; font-weight: 700; }
.bf-bar a:hover { background: #fff; }

/* ---------- Header goes dark ---------- */
html.bf .site-header { background: rgba(4, 7, 12, .88); border-bottom-color: var(--bf-line); }
html.bf .nav-links a { color: #b9c9d6; }
html.bf .nav-links a:hover, html.bf .nav-links a.active { color: var(--bf-cyan); }
html.bf .site-header .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
html.bf .site-header .btn-ghost:hover { border-color: var(--bf-cyan); color: var(--bf-cyan); }
html.bf .site-header .btn-aqua { background: var(--bf-cyan); color: #04121a; }
html.bf .site-header .btn-aqua:hover { background: #fff; }
html.bf .nav-toggle { color: #fff; }
@media (max-width: 680px) {
  html.bf .nav-links.open { background: #070c14; border-bottom-color: var(--bf-line); }
}

/* ---------- Shared BF pieces ---------- */
.bf-btn { background: var(--bf-cyan); color: #04121a; font-weight: 700; box-shadow: 0 0 34px rgba(47, 217, 244, .35); }
.bf-btn:hover { background: #fff; transform: translateY(-2px); }
.bf-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.bf-btn-ghost:hover { border-color: var(--bf-cyan); color: var(--bf-cyan); }
.bf-dates {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.bf-dates::before, .bf-dates::after { content: ""; width: 34px; height: 2px; background: var(--bf-cyan); }

.bf-countdown { display: flex; gap: 10px; align-items: stretch; }
.bf-countdown .u {
  min-width: 68px; padding: 11px 8px 9px; text-align: center; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--bf-line);
}
.bf-countdown .n { display: block; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.65rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.bf-countdown .l { display: block; margin-top: 5px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-soft); font-weight: 700; }
.bf-count-label { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-cyan); margin-bottom: 9px; }

/* ---------- Home hero ---------- */
.bf-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(620px 520px at 76% 58%, rgba(47, 217, 244, .30), transparent 68%),
    radial-gradient(900px 500px at 12% -10%, rgba(18, 74, 122, .55), transparent 62%),
    var(--bf-bg);
}
.bf-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 22px 84px; }
.bf-hero h1 {
  font-family: "Poppins", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.3rem, 9vw, 6.6rem); line-height: .9; letter-spacing: -.035em; margin: 18px 0 20px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .6);
}
.bf-sub { color: var(--bf-soft); font-size: 1.14rem; max-width: 470px; margin-bottom: 26px; }
.bf-sub b { color: var(--bf-cyan); }
.bf-hero .hero-actions { margin-top: 28px; }
.bf-also { margin-top: 20px; color: var(--bf-soft); font-size: .93rem; }
.bf-also b { color: #fff; }

.bf-art .hero-bottle { filter: drop-shadow(0 0 46px rgba(47, 217, 244, .5)) drop-shadow(0 26px 26px rgba(0, 0, 0, .6)); }
.bf-art::before { /* podium */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 9%; height: 13%;
  border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #1b2c3d, #05090f 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 0 70px rgba(47, 217, 244, .28), 0 24px 40px rgba(0, 0, 0, .7);
}
.bf-chip {
  position: absolute; z-index: 3; right: 0; top: 13%;
  background: rgba(4, 12, 20, .78); backdrop-filter: blur(8px); border: 1px solid rgba(47, 217, 244, .45);
  border-radius: 18px; padding: 12px 18px; text-align: left; box-shadow: 0 0 34px rgba(47, 217, 244, .22);
}
.bf-chip .k { display: block; font-family: "Poppins", sans-serif; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bf-soft); }
.bf-chip .p { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2.1rem; line-height: 1.05; color: var(--bf-cyan); }
.bf-chip .w { margin-left: 7px; color: #8497a6; text-decoration: line-through; font-weight: 600; font-size: 1rem; }

/* ---------- Deals section ---------- */
.bf-deals {
  color: #fff; padding: 20px 0 92px;
  background: linear-gradient(to bottom, var(--bf-bg), #060d16 70%, #0a1622);
}
.bf-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.bf-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 16px; }
.bf-head p { color: var(--bf-soft); margin-top: 12px; font-size: 1.06rem; }
.bf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bf-deal {
  --acc: var(--bf-cyan);
  position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  background: #070d15; border: 1px solid var(--bf-line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.bf-deal:hover { transform: translateY(-6px); border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 24px 60px rgba(0, 0, 0, .6), 0 0 60px color-mix(in srgb, var(--acc) 26%, transparent); }
.bf-deal.gold { --acc: var(--bf-gold); }
.bf-shot { position: relative; aspect-ratio: 4/5; background-color: #000; background-repeat: no-repeat; }
.bf-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 13, 21, 0) 62%, #070d15 100%); }
.bf-shot.s1 { background-image: url(img/bf-steel.webp);   background-size: 207.8% auto; background-position: 8.6% 76.3%; }
.bf-shot.s2 { background-image: url(img/bf-starter.webp); background-size: 211.7% auto; background-position: 18.9% 59.5%; }
.bf-shot.s3 { background-image: url(img/bf-flavor.webp);  background-size: 280.5% auto; background-position: 72% 49.7%; }
.bf-off {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  background: var(--acc); color: #04121a; font-family: "Poppins", sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
}
.bf-body { position: relative; padding: 4px 24px 26px; display: flex; flex-direction: column; flex: 1; margin-top: -34px; }
.bf-label { font-family: "Poppins", sans-serif; font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.bf-deal h3 { font-family: "Poppins", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.02; margin: 8px 0 10px; }
.bf-inc { color: var(--bf-soft); font-size: .94rem; flex: 1; }
.bf-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 18px; }
.bf-price .now { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--acc); text-shadow: 0 0 32px color-mix(in srgb, var(--acc) 45%, transparent); }
.bf-price .was { color: #8a9aa8; text-decoration: line-through; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.25rem; }
.bf-colors { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.bf-colors span { font-size: .8rem; color: var(--bf-soft); margin-right: 2px; }
.bf-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); cursor: pointer; padding: 0; transition: transform .2s; }
.bf-dot:hover { transform: scale(1.18); }
.bf-deal .btn { justify-content: center; background: var(--acc); color: #04121a; font-weight: 700; }
.bf-deal .btn:hover { background: #fff; }
.bf-foot { text-align: center; color: var(--bf-soft); margin-top: 34px; font-size: .95rem; }
.bf-foot a { color: var(--bf-cyan); font-weight: 700; }

/* ---------- Shop page hero ---------- */
.bf-page-hero {
  text-align: center; color: #fff; padding: 58px 0 54px;
  background:
    radial-gradient(700px 340px at 50% 118%, rgba(47, 217, 244, .30), transparent 68%),
    radial-gradient(900px 400px at 50% -30%, rgba(18, 74, 122, .5), transparent 62%),
    var(--bf-bg);
}
.bf-page-hero h1 { font-family: "Poppins", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .92; letter-spacing: -.03em; margin: 16px 0 14px; }
.bf-page-hero p { color: var(--bf-soft); font-size: 1.08rem; max-width: 560px; margin: 0 auto; }
.bf-page-hero p b { color: var(--bf-cyan); }
.bf-page-hero .bf-countdown { justify-content: center; margin-top: 24px; }
.bf-page-hero .ship-note { margin-top: 22px; color: var(--bf-soft); font-size: .92rem; }

/* ---------- Product cards on sale ---------- */
.filter-btn.bf-filter { border-color: #04070c; color: #04070c; }
.filter-btn.bf-filter.active { background: #04070c; border-color: #04070c; color: var(--bf-cyan); box-shadow: 0 8px 22px rgba(4, 7, 12, .28); }
.card.bf-card { border: 2px solid #04070c; box-shadow: 0 14px 34px rgba(4, 7, 12, .16); }
.card.bf-card .card-media .badge { background: #04070c; color: var(--bf-cyan); padding: 6px 12px; }
.card.bf-card .price .now { font-size: 1.75rem; color: #04070c; }
.card.bf-card .price .off { background: #04070c; color: var(--bf-cyan); }
.card.bf-card .card-add { background: #04070c; color: #fff; }
.card.bf-card .card-add:hover { background: var(--blue-deep); }
.bf-ends { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .06em; color: var(--blue-deep); margin: -8px 0 12px; }

/* ---------- Product modal ---------- */
.bf-ribbon {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: #04070c; color: var(--bf-cyan); font-family: "Poppins", sans-serif; font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; margin-bottom: 12px;
}
.bf-ribbon i { font-style: normal; color: #fff; opacity: .8; letter-spacing: .04em; text-transform: none; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bf-hero-inner { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 22px 56px; gap: 0; }
  .bf-hero-copy { display: contents; }
  .bf-hero .bf-dates { order: 1; }
  .bf-hero h1 { order: 2; }
  .bf-hero .bf-sub { order: 3; margin-bottom: 6px; }
  .bf-hero .bf-art { order: 4; height: 46vh; margin: 0 auto 18px; }
  .bf-hero .bf-art .hero-bottle { max-height: 44vh; }
  .bf-hero .bf-count-wrap { order: 5; }
  .bf-hero .hero-actions { order: 6; }
  .bf-hero .bf-also { order: 7; }
  .bf-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .bf-chip { right: 2%; top: 6%; }
}
@media (max-width: 680px) {
  .bf-bar { font-size: .76rem; }
  .bf-bar .hide-sm { display: none; }
  .bf-countdown .u { min-width: 60px; }
  .bf-deals { padding-bottom: 64px; }
}

/* logo reads brighter on the dark header */
html.bf .site-header .logo-img { filter: brightness(1.25) saturate(1.1); }

html.bf .bf-page-hero .ship-note { background: rgba(255, 255, 255, .07); border: 1px solid var(--bf-line); color: #d6e3ed; }

.bf-ribbon[hidden] { display: none; }
/* On phones the price tag would cover the bottle cap, and the copy above already states the price */
@media (max-width: 900px) {
  .bf-chip { display: none; }
}
