/* ==========================================================================
   TAC MANGA PRINT — BLACK FRIDAY NIGHT EDITION
   Loaded after tac-clean.css. Re-points the TAC tokens to the night palette
   and adds the Black Friday hero, countdown, deals and timer bar.
   To return to the everyday edition, remove this file from layout/theme.html.
   ========================================================================== */
:root {
  --tac-ground: #0a0a0a;
  --tac-surface: #1a1a1a;
  --tac-border: #ffffff;
  --tac-muted: #a3a3a3;
  --tac-ink: #ffffff;
  --tac-primary: #ffd60a;
  --tac-on-primary: #0a0a0a;
  --tac-font-mono: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tac-font-display: "Anton", "Archivo", Impact, sans-serif;
  --tac-tracking-tight: 0.005em;

  --title-font: "Anton", "Archivo", Impact, sans-serif;
  --title-font-weight: 400;
  --title-text-transform: uppercase;
  --title-line-height: 1.05;
  --title-letter-spacing: 0.005em;
  --body-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body-font-weight: 400;
  --body-bold-font-weight: 700;
  --body-line-height: 1.5;
}
html, body { background: #0a0a0a; color: #fff; }
h1, h2, h3, .title1, .title2, .title3, .title4, .title5 { font-weight: 400; }

/* Buttons: yellow is the one action colour */
.tac-btn:hover { background: #ffc400; border-color: #ffc400; }
.tac-btn--ink:hover { background: #e8e8e8; border-color: #e8e8e8; }
.product-form__submit.button,
.cart-drawer__checkout-button.button {
  font-family: var(--tac-font-mono);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1.5px solid #fff;
  box-shadow: 4px 4px 0 #fff;
}
.tac-features__item svg path { stroke: #fff; }
.tac-features__icon { filter: invert(1); }
.tac-features, .tac-features__item { border-color: #fff; }
.sale-badge-inline, .card__badge { background: #ffd60a; color: #0a0a0a; font-family: var(--tac-font-mono); font-weight: 800; }
.tac-customer-bar { background: #000; color: #fff; }

/* ---- Timer bar (sitewide, cart) ------------------------------------------ */
.tacbf-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 8px 16px; box-sizing: border-box;
  background: #ffd60a; color: #0a0a0a;
  font-family: var(--tac-font-mono); font-size: 12px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
}
.tacbf-bar__time {
  flex-shrink: 0; padding: 4px 10px; background: #0a0a0a; color: #ffd60a;
  font-family: var(--tac-font-display); font-size: 20px; font-weight: 400;
  letter-spacing: .04em; line-height: 24px; white-space: nowrap;
}
@media (min-width: 960px) { .tacbf-bar { justify-content: center; gap: 20px; font-size: 13px; } }

/* ---- Hero ---------------------------------------------------------------- */
.tacbf-hero { background: #0a0a0a; color: #fff; }
.tacbf-hero__media { position: relative; height: 360px; overflow: hidden; border-bottom: 1.5px solid #fff; }
.tacbf-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.tacbf-hero__img--d { display: none; }
.tacbf-tag {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 10px;
  background: #ffd60a; color: #0a0a0a;
  font-family: var(--tac-font-mono); font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; line-height: 14px;
}
.tacbf-hero__copy { display: flex; flex-direction: column; gap: 16px; padding: 24px 16px 32px; }
.tacbf-hero__title {
  margin: 0; font-family: var(--tac-font-display); font-weight: 400;
  font-size: 68px; line-height: .97; letter-spacing: .005em; text-transform: uppercase; color: #fff;
}
.tacbf-hero__title span { color: #ffd60a; display: block; }
.tacbf-count__label {
  margin-bottom: 10px; color: #ffd60a;
  font-family: var(--tac-font-mono); font-size: 14px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; line-height: 18px;
}
.tacbf-count__cells { display: flex; border: 1.5px solid #fff; background: #fff; }
.tacbf-count__cell {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 0; border-right: 1.5px solid #0a0a0a; color: #0a0a0a;
}
.tacbf-count__cell:last-child { border-right: 0; }
.tacbf-count__num { font-family: var(--tac-font-display); font-size: 60px; line-height: 1; }
.tacbf-count__unit { font-family: var(--tac-font-mono); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tacbf-cta {
  display: flex; align-items: center; justify-content: center; height: 56px;
  background: #ffd60a; color: #0a0a0a; text-decoration: none;
  border: 1.5px solid #fff; box-shadow: 4px 4px 0 #fff;
  font-family: var(--tac-font-mono); font-size: 15px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.tacbf-cta:hover { background: #ffc400; color: #0a0a0a; }
.tacbf-proof { display: flex; align-items: center; gap: 8px; font-family: var(--tac-font-mono); font-size: 13px; color: #fff; }
.tacbf-proof svg { flex-shrink: 0; }
.tacbf-proof b { font-weight: 700; }
@media (min-width: 960px) {
  .tacbf-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; border-bottom: 1.5px solid #fff; }
  .tacbf-hero__media { height: auto; min-height: 600px; border-bottom: 0; border-right: 1.5px solid #fff; }
  .tacbf-hero__img--m { display: none; }
  .tacbf-hero__img--d { display: block; object-position: 50% 12%; }
  .tacbf-hero__copy { justify-content: center; padding: 56px 64px; gap: 22px; }
  .tacbf-hero__title { font-size: 104px; }
  .tacbf-count__num { font-size: 72px; }
  .tacbf-tag { left: 24px; bottom: 24px; font-size: 12px; }
}

/* ---- Deals carousel ------------------------------------------------------ */
.tacbf-deals { padding: 32px 0 8px 16px; background: #0a0a0a; color: #fff; overflow: hidden; }
.tacbf-deals__title {
  margin: 0 16px 16px 0; font-family: var(--tac-font-display); font-weight: 400;
  font-size: 36px; line-height: 1.05; text-transform: uppercase; color: #fff;
}
.tacbf-deals__track {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 8px 0;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tacbf-deals__track::-webkit-scrollbar { display: none; }
.tacbf-deal {
  flex: 0 0 290px; display: flex; flex-direction: column; scroll-snap-align: start;
  border: 1.5px solid #fff; background: #0a0a0a; color: #fff; text-decoration: none;
}
.tacbf-deal__photos { display: flex; height: 200px; border-bottom: 1.5px solid #fff; }
.tacbf-deal__photos img { flex: 1 1 0; min-width: 0; width: 50%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.tacbf-deal__photos img + img { border-left: 1.5px solid #fff; }
.tacbf-deal__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.tacbf-deal__label { color: #ffd60a; font-family: var(--tac-font-mono); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tacbf-deal__head { font-family: var(--tac-font-display); font-size: 44px; line-height: 1.05; text-transform: uppercase; color: #fff; }
.tacbf-deal__head span { color: #ffd60a; }
.tacbf-deal__btn {
  display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 4px;
  background: #ffd60a; color: #0a0a0a;
  font-family: var(--tac-font-mono); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
@media (min-width: 960px) {
  .tacbf-deals { padding: 56px 64px 16px; }
  .tacbf-deals__title { font-size: 48px; }
  .tacbf-deals__track { overflow: visible; padding: 0; }
  .tacbf-deal { flex: 1 1 0; }
  .tacbf-deal__photos { height: 260px; }
}

/* ---- Product page price countdown strip ---------------------------------- */
.tacbf-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding: 10px 14px; border: 1.5px solid #fff;
  font-family: var(--tac-font-mono); font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.tacbf-strip__time { font-family: var(--tac-font-display); font-size: 24px; font-weight: 400; letter-spacing: .04em; line-height: 28px; color: #ffd60a; white-space: nowrap; }
[data-tacbf-ended] { display: none !important; }

/* Header logo is dark artwork: flip it to white on the black header */
.header__heading-logo { filter: invert(1); }
/* Product cards: framed photos, like manga panels */
.featured-collection .card-main img, .product-card-wrapper .card__media, .product-card-wrapper .card__inner { border-color: #fff; }
.featured-collection__title { font-family: var(--tac-font-display); font-weight: 400; text-transform: uppercase; color: #fff; }

/* Links inside Black Friday blocks keep their own colours */
a.tacbf-cta, a.tacbf-cta:hover, a.tacbf-cta:visited { color: #0a0a0a !important; }
a.tacbf-deal, a.tacbf-deal:hover { color: #fff !important; }
a.tacbf-deal .tacbf-deal__btn { color: #0a0a0a !important; }
a.tacbf-deal .tacbf-deal__label, a.tacbf-deal .tacbf-deal__head span { color: #ffd60a !important; }
a.tacbf-proof, a.tacbf-proof:hover { color: #fff !important; }

.tacbf-hero__media > img.tacbf-hero__img { display: block; object-position: 50% 30%; }
.featured-collection__title, .featured-collection__title * { text-transform: uppercase !important; letter-spacing: .005em; }

.tacbf-hero__media picture { display: block; width: 100%; height: 100%; }
.tacbf-hero__media picture > img.tacbf-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (min-width: 750px) { .tacbf-hero__media picture > img.tacbf-hero__img { object-position: 80% 40%; } }

.tacbf-hero__media picture > img.tacbf-hero__img { object-position: 50% 30% !important; }
@media (min-width: 750px) { .tacbf-hero__media picture > img.tacbf-hero__img { object-position: 50% 20% !important; } }
