:root {
  --bf-ink: #052c30;
  --bf-teal: #00868b;
  --bf-bright: #02d5df;
  --bf-gold: #eeb64b;
  --bf-site: 1510px;
}

.bf-service-bar {
  min-height: clamp(28px, 4.55vw, 49px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 12px;
  background: radial-gradient(ellipse at center, #00575e, #022e33 75%);
  color: #fff;
  font: 600 clamp(10px, 1.12vw, 17px)/1.15 Arial, sans-serif;
}
.bf-service-bar > * {
  display: flex;
  align-items: center;
  gap: .5em;
  padding-inline: clamp(10px, 4vw, 72px);
  color: inherit;
  text-decoration: none;
}
.bf-service-bar > * + * { border-inline-start: 1px solid #ffffff48; }
.bf-service-bar i { font-size: 1.4em; flex: none; }

body .dc-nav .dc-nav-main {
  max-width: var(--bf-site);
  height: clamp(58px, 9.3vw, 132px);
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  padding-inline: clamp(9px, 3vw, 46px);
}
body .dc-nav .dc-mobile-menu, body .dc-nav .dc-mobile-search {
  display: flex !important;
  align-items: center;
}
body .dc-nav .dc-brand { justify-self: center; }
.dc-nav .dc-brand img { display: block; width: clamp(170px, 37vw, 495px); height: auto; }
body .dc-nav .dc-actions { gap: clamp(4px, 1.35vw, 23px); }
.dc-nav .dc-actions .dc-desktop-account { display: flex; order: 1; }
.dc-nav .cart-drawer-trigger { order: 2; }
.dc-nav :is(.dc-mobile-menu, .dc-actions) i { color: #07181a; font-size: clamp(19px, 2.4vw, 33px); }
.dc-nav .cart-drawer-trigger [ui-slot="badge"] { background: var(--bf-teal); color: #fff; border-radius: 50%; }
body .dc-nav .dc-menu-row {
  display: flex !important;
  height: auto;
  min-height: clamp(34px, 5.5vw, 75px);
  border: 0;
}
body .dc-nav .dc-menu-links {
  width: min(100%, var(--bf-site));
  gap: clamp(14px, 4vw, 69px);
  justify-content: center;
}
body .dc-nav .dc-menu-links > li > a {
  color: #111;
  font-size: clamp(11px, 1.44vw, 21px);
}
body .dc-nav .dc-menu-links a.bf-offers-link {
  background: var(--bf-teal);
  color: #fff;
  padding: .33em .95em;
  border-radius: 20px;
}

.dc-bf-home.dc-home { max-width: var(--bf-site); padding: 0 0 32px; }
.bf-hero { position: relative; background: #031e22; }
.bf-hero picture, .bf-hero img { display: block; width: 100%; height: auto; }
.bf-hero-copy, .bf-hero-shop {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
}
.bf-hero-copy { left: 5.6%; top: 80.5%; width: 44.1%; height: 13.5%; }
.bf-hero-shop { left: 62%; top: 80.5%; width: 29%; height: 15.5%; }
.bf-hero :is(button, a):hover { box-shadow: 0 0 15px #2ff9ff; }
.bf-hero :is(button, a):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bf-copy-status:not(:empty) {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #03383d;
  color: #fff;
  font: 700 clamp(10px, 1.5vw, 22px) Arial, sans-serif;
}
.bf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.bf-benefits {
  min-height: clamp(65px, 9.65vw, 142px);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  padding: 10px clamp(8px, 3.7vw, 58px);
}
.bf-benefits > * {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(5px, 1.5vw, 21px);
  color: #111;
  text-decoration: none;
  font: 600 clamp(10px, 1.25vw, 19px)/1.25 Arial, sans-serif;
}
.bf-benefits i { font-size: clamp(21px, 3.6vw, 50px); }

.bf-countdown {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: radial-gradient(ellipse at bottom, #005459 0, #001d21 60%, #030808 100%);
  padding: clamp(10px, 1.8vw, 28px) 0 clamp(14px, 3vw, 44px);
}
.bf-countdown h2 {
  position: relative;
  margin: 0 0 clamp(9px, 1.9vw, 30px);
  color: #fff;
  font: 700 clamp(15px, 2.85vw, 41px)/1.15 Georgia, serif;
}
.bf-ribbon { position: absolute; width: 15.5%; height: 100%; top: 0; z-index: -1; }
.bf-ribbon-left { left: 0; }
.bf-ribbon-right { right: 0; }
.bf-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2.7vw, 42px);
  width: min(70%, 1040px);
  margin: auto;
}
.bf-clock > span {
  display: grid;
  align-content: center;
  min-height: clamp(51px, 10vw, 148px);
  border: 1px solid var(--bf-bright);
  border-radius: clamp(9px, 1.7vw, 26px);
  box-shadow: 0 0 12px #1ce6ef55, inset 0 0 14px #14eef361;
  background: radial-gradient(ellipse at top, #095761, #00191e 74%);
}
.bf-clock b { font: 700 clamp(23px, 5vw, 75px)/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.bf-clock small { margin-top: .25em; font: 500 clamp(9px, 1.65vw, 24px)/1.1 Arial, sans-serif; }

.bf-selection { padding: clamp(11px, 2.7vw, 40px) clamp(8px, 2.3vw, 35px) clamp(18px, 3vw, 44px); }
.bf-selection h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(7px, 2vw, 31px);
  margin: 0 0 clamp(12px, 3vw, 46px);
  color: var(--bf-ink);
  text-align: center;
  font: 700 clamp(19px, 5.05vw, 76px)/1.08 Georgia, serif;
  letter-spacing: -.04em;
}
.bf-selection h2::before, .bf-selection h2::after {
  content: "";
  flex: 0 1 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bf-gold));
}
.bf-selection h2::after { transform: scaleX(-1); }
.bf-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1.45vw, 22px); }
.bf-card {
  display: block;
  overflow: hidden;
  border-radius: clamp(6px, 1.3vw, 20px);
  box-shadow: 0 6px 14px #04404725;
  background: #fff;
  color: #0b1011;
  text-decoration: none;
}
.bf-card img { display: block; width: 100%; height: auto; aspect-ratio: .905; object-fit: cover; }
.bf-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(26px, 7vw, 102px);
  padding: 2px 8%;
  gap: 2px;
  font: 700 clamp(8px, 1.65vw, 25px)/1.2 Arial, sans-serif;
}
.bf-card b { display: grid; place-items: center; width: 1.6em; height: 1.6em; flex: none; border-radius: 50%; background: var(--bf-teal); color: #fff; }
.bf-card:hover { box-shadow: 0 7px 16px #007b8a55; }

@media (max-width: 769px) {
  .bf-service-bar { min-height: 42px; font-size: clamp(9px, 2.6vw, 13px); padding-inline: 6px; }
  .bf-service-bar > * { flex: 1; justify-content: center; padding-inline: 6px; }
  body .dc-nav .dc-nav-main { height: 58px; }
  .dc-nav .dc-brand img { width: clamp(145px, 45vw, 260px); }
  body .dc-nav .dc-actions .dc-desktop-account { display: none; }
  body .dc-nav .dc-menu-row { overflow-x: auto; scrollbar-width: none; }
  body .dc-nav .dc-menu-links { width: max-content; justify-content: flex-start; gap: clamp(12px, 3.5vw, 25px); padding: 0 12px; }
  body .dc-nav .dc-menu-links > li > a { font-size: clamp(10px, 2.9vw, 14px); padding: 7px 4px; }
  body[data-dc-page="index"] .bf-nav-home { background: #d7f3f4; border-radius: 18px; }
  .dc-nav .dc-menu-sub { display: none !important; }
  .bf-hero-copy { left: 2.6%; top: 83%; width: 50.2%; height: 15%; }
  .bf-hero-shop { left: 59%; top: 83%; width: 37%; height: 16%; }
  .bf-benefits > * { flex-direction: column; text-align: center; font-size: clamp(8px, 2.25vw, 13px); }
  .bf-benefits { min-height: clamp(74px, 19.8vw, 105px); }
  .bf-clock { width: 81%; gap: 3.5%; }
  .bf-ribbon { width: 10%; object-fit: cover; }
  .bf-selection h2 { font-size: clamp(19px, 5.65vw, 37px); }
  .bf-card > span { font-size: clamp(8px, 2.35vw, 15px); padding-inline: 5%; }
}

.bf-service-bar .bf-payment-icon { width: 1.4em; height: 1.4em; flex: none; }
.bf-benefits .bf-payment-icon { width: clamp(21px, 3.6vw, 50px); height: clamp(21px, 3.6vw, 50px); }


/* Store collections and compact desktop proportions. */
:root { --bf-site: 1240px; }
.bf-hero-stage { position: relative; max-width: 810px; margin-inline: auto; }
.bf-hero { background: radial-gradient(ellipse at center, #00545b, #031e22 80%); }
.bf-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bf-card img { aspect-ratio: 1.2; object-fit: cover; }
.bf-card .dc-category-fallback { height: 160px; font-size: 56px; }
.bf-card > span { min-height: 40px; font-size: 13px; }
.bf-selection { padding: 24px 24px 30px; }
.bf-selection h2 { font-size: 30px; margin-bottom: 22px; }
.bf-service-bar { min-height: 30px; font-size: 11px; }
body .dc-nav .dc-nav-main { height: 70px; }
.dc-nav .dc-brand img { width: 220px; }
body .dc-nav .dc-menu-row { min-height: 40px; }
body .dc-nav .dc-menu-links { gap: 30px; }
body .dc-nav .dc-menu-links > li > a { font-size: 13px; }
.dc-nav :is(.dc-mobile-menu, .dc-actions) i { font-size: 24px; }
.bf-benefits { min-height: 72px; }
.bf-benefits > * { font-size: 12px; gap: 12px; }
.bf-benefits i { font-size: 28px; }
.bf-benefits .bf-payment-icon { width: 28px; height: 28px; }
.bf-countdown { padding: 14px 0 18px; }
.bf-countdown h2 { font-size: 20px; margin-bottom: 12px; }
.bf-clock { max-width: 440px; gap: 16px; }
.bf-clock > span { min-height: 64px; border-radius: 10px; }
.bf-clock b { font-size: 30px; }
.bf-clock small { font-size: 11px; }
.bf-ribbon { width: 100px; object-fit: cover; }
@media (max-width: 769px) {
  .bf-service-bar { min-height: 38px; font-size: 9px; }
  body .dc-nav .dc-nav-main { height: 58px; }
  .dc-nav .dc-brand img { width: clamp(145px, 45vw, 230px); }
  body .dc-nav .dc-menu-links { gap: 13px; }
  body .dc-nav .dc-menu-links > li > a { font-size: 11px; }
  .bf-benefits > * { font-size: 9px; gap: 5px; }
  .bf-benefits i { font-size: 22px; }
  .bf-benefits .bf-payment-icon { width: 22px; height: 22px; }
  .bf-countdown h2 { font-size: 16px; }
  .bf-clock { width: 81%; gap: 10px; }
  .bf-clock > span { min-height: 55px; }
  .bf-clock b { font-size: 26px; }
  .bf-clock small { font-size: 10px; }
  .bf-ribbon { width: 10%; }
  .bf-selection { padding: 22px 14px; }
  .bf-selection h2 { font-size: 26px; margin-bottom: 18px; }
  .bf-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bf-card > span { min-height: 39px; font-size: 12px; }
}

/* Black Friday motion shared by every storefront page. */
.bf-delivery-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  min-height: 38px;
  padding: 8px 14px;
  background: linear-gradient(105deg, #02181c, #00555b 55%, #02181c);
  border-bottom: 1px solid #00a3ab;
  color: #fff;
  font: 500 13px/1.25 Arial, sans-serif;
}
.bf-delivery-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, #4df5f52b 50%, transparent 65%);
  transform: translateX(-100%);
  animation: bf-banner-sheen 8s ease-in-out infinite;
  pointer-events: none;
}
.bf-delivery-label {
  color: #f3cc80;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.bf-delivery-message { display: inline-flex; align-items: center; gap: 6px; }
.bf-delivery-message i { font-size: 20px; }
.bf-delivery-message strong { color: #fff2c9; font-weight: 700; }
.bf-edge-decor {
  position: fixed;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: strict;
}
.bf-confetti {
  position: absolute;
  top: -55px;
  width: 7px;
  height: 19px;
  left: 7px;
  border: 1px solid #00dde1;
  border-radius: 3px 0 3px 0;
  background: linear-gradient(135deg, #00d6df99, #004e59aa);
  box-shadow: 0 0 6px #00e4e455;
  opacity: 0;
  animation: bf-confetti-fall 20s linear infinite;
}
.bf-confetti-2 { left: 20px; animation-delay: -7s; animation-duration: 24s; }
.bf-confetti-3 { left: 5px; animation-delay: -14s; animation-duration: 28s; }
.bf-confetti-4 { left: auto; right: 8px; animation-delay: -4s; animation-duration: 22s; }
.bf-confetti-5 { left: auto; right: 22px; animation-delay: -12s; animation-duration: 26s; }
.bf-confetti-6 { left: auto; right: 6px; animation-delay: -19s; animation-duration: 30s; }
.bf-confetti:nth-child(even) {
  border-color: #d9b86d;
  background: linear-gradient(135deg, #ffdf9799, #a57e36aa);
  box-shadow: 0 0 5px #e7bd6555;
}
.bf-clock > span { animation: bf-clock-glow 5s ease-in-out infinite; }
.bf-clock > span:nth-child(2) { animation-delay: .4s; }
.bf-clock > span:nth-child(3) { animation-delay: .8s; }
.bf-clock > span:nth-child(4) { animation-delay: 1.2s; }
.bf-card { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .bf-card:hover { transform: translateY(-4px); }
}
@keyframes bf-banner-sheen {
  0%, 20% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}
@keyframes bf-confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%, 80% { opacity: .65; }
  100% { transform: translateY(calc(100vh + 80px)) rotate(320deg); opacity: 0; }
}
@keyframes bf-clock-glow {
  0%, 100% { box-shadow: 0 0 8px #1ce6ef33, inset 0 0 10px #14eef340; }
  50% { box-shadow: 0 0 14px #1ce6ef66, inset 0 0 14px #14eef361; }
}
@media (max-width: 769px) {
  .bf-delivery-banner { min-height: 35px; padding: 7px 8px; gap: 5px 10px; font-size: 11px; }
  .bf-delivery-label { font-size: 8px; letter-spacing: .7px; }
  .bf-delivery-message { gap: 4px; }
  .bf-delivery-message i { font-size: 16px; }
  .bf-confetti { width: 4px; height: 12px; left: 2px; }
  .bf-confetti-4 { left: auto; right: 2px; }
  .bf-confetti-2, .bf-confetti-3, .bf-confetti-5, .bf-confetti-6 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-edge-decor { display: none; }
  .bf-delivery-banner::before, .bf-clock > span { animation: none; }
  .bf-card { transition: none; }
  .bf-card:hover { transform: none; }
}
@media print {
  .bf-edge-decor { display: none; }
  .bf-delivery-banner::before { display: none; }
}

/* Continuous coupon ribbon on all storefront templates. */
.bf-promo-ticker {
  display: flex;
  position: relative;
  align-items: stretch;
  min-width: 0;
  height: 36px;
  background: #061c20;
  color: #f6f7f4;
  border-bottom: 1px solid #0a555b;
  font: 500 11px/1 Arial, sans-serif;
}
.bf-promo-ticker[hidden] { display: none; }
.bf-promo-window {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.bf-promo-track {
  display: flex;
  flex: none;
  width: max-content;
  direction: ltr;
  animation: bf-coupon-scroll 48s linear infinite;
}
.bf-promo-group { display: flex; flex: none; }
.bf-promo-item { display: flex; flex: none; align-items: center; gap: 22px; padding-inline: 11px; white-space: nowrap; }
.bf-promo-item b { color: #ebcc89; font-size: 10px; letter-spacing: 1.7px; }
.bf-promo-star { color: #2ce1e3; font-size: 11px; }
.bf-promo-code { color: #9af5f3; letter-spacing: 1.1px; font-weight: 700; }
.bf-promo-controls { display: flex; align-items: stretch; flex: none; padding-inline-end: 10px; background: #061c20; }
.bf-promo-controls button { cursor: pointer; border: 0; background: transparent; color: #f4dcaa; font: 600 10px/1 Arial, sans-serif; }
.bf-promo-copy { position: relative; padding: 0 13px; border-inline-start: 1px solid #285052 !important; }
.bf-promo-pause { width: 30px; padding: 0; }
.bf-promo-controls button:focus-visible { outline: 2px solid #42e3df; outline-offset: -3px; }
.bf-ticker-copy-status:not(:empty) { position: absolute; inset: 0; display: grid; place-items: center; color: #9af5f3; background: #061c20; }
.bf-promo-ticker:hover .bf-promo-track,
.bf-promo-ticker:focus-within .bf-promo-track,
.bf-promo-ticker.is-paused .bf-promo-track { animation-play-state: paused; }
@keyframes bf-coupon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 769px) {
  .bf-promo-ticker { height: 32px; font-size: 10px; }
  .bf-promo-item { gap: 16px; padding-inline: 8px; }
  .bf-promo-item b { font-size: 9px; }
  .bf-promo-copy { padding-inline: 9px; }
  .bf-promo-controls { padding-inline-end: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-promo-track { animation: none; }
  .bf-promo-pause { display: none; }
  .bf-promo-window { overflow-x: auto; mask-image: none; }
  .bf-promo-group + .bf-promo-group { display: none; }
}
