
/* BS – Countdown Strip, integrated in Blackstuff Shop Builder */
.bs-countdown-strip{
  width: 100%;
  background: var(--bs-cs-bg, #0b0b0b);
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  padding: 18px 16px;
  margin: 30px 0; /* requested spacing */
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.bs-countdown-strip[hidden]{ display:none !important; }

.bs-countdown-strip::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--bs-cs-accent, #f07c00) 13%, transparent),
      color-mix(in srgb, var(--bs-cs-accent, #f07c00) 13%, transparent)
    ),
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--bs-cs-accent, #f07c00) 28%, transparent), transparent 44%),
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 48%);
  pointer-events:none;
}

.bs-cs-wrap{ display:block; position:relative; z-index:1; }
.bs-countdown-strip .bs-cs-wrap{
  color:inherit !important;
  text-decoration:none !important;
}
.bs-cs-wrap--disabled{ cursor:default; pointer-events:none; opacity:.95; }
.bs-countdown-strip .bs-cs-wrap--link:hover,
.bs-countdown-strip .bs-cs-wrap--link:focus{ color:inherit !important; text-decoration:none !important; }

.bs-cs-inner{ max-width:1160px; margin:0 auto; }
.bs-countdown-strip:not(.is-over) .bs-cs-after{ display:none; }
.bs-countdown-strip.is-over .bs-cs-before{ display:none; }
.bs-countdown-strip.is-over .bs-cs-after{ display:block; animation:bs-cs-reveal .38s ease-out both; }

@keyframes bs-cs-reveal{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}

/* Title + subtitle stacked */
.bs-cs-top{
  display:flex;
  flex-direction:column;
  gap: 6px;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  text-align:center;
}

.bs-cs-pretitle{
  font-weight:700;
  font-size:26px;
  line-height:1.15;
  letter-spacing:0;
  opacity:1;
  text-transform:uppercase; /* requested */
  color:#ffffff;
}

.bs-cs-subtitle{
  font-size:14px;
  opacity:1;
  color:#ffffff;
}

.bs-cs-counter{
  display:flex;
  gap:14px;
  justify-content:center;
  align-items:stretch;
  flex-wrap:wrap;
}

/* Cards: desktop big, radius 8px */
.bs-cs-card{
  background: var(--bs-cs-card, #141414);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  padding:18px 21px;
  min-width:126px;
  text-align:center;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}

.bs-cs-num{
  font-size:51px;
  line-height:1;
  font-weight:900;
  color: var(--bs-cs-num, #ffffff); /* configurable: numbers only */
}

/* time unit labels */
.bs-cs-label{
  margin-top:8px;
  font-size:15px;         /* requested (interpreting 15px as size) */
  font-weight:700;        /* keep readable on dark */
  opacity:1;
  color:#ffffff;
}

/* Revealed product – wide split card, full product photo without cropping */
.bs-countdown-strip.is-over{
  padding:0;
  overflow:visible;
  background:transparent;
}
.bs-countdown-strip.is-over::before{ display:none; }
.bs-countdown-strip.is-over .bs-cs-inner{ max-width:1200px; }
.bs-countdown-strip.alignfull.is-over .bs-cs-inner{ max-width:none; }
.bs-countdown-strip.is-over .bs-cs-wrap{
  border-radius:22px;
  text-decoration:none !important;
}
.bs-cs-post{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  width:100%;
  min-height:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:rgba(7,7,7,.88);
  box-shadow:0 20px 56px rgba(0,0,0,.32);
}
.bs-cs-post.no-image{
  grid-template-columns:1fr;
  min-height:330px;
}
.bs-cs-post-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:0;
  aspect-ratio:1 / 1;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.bs-cs-img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  object-position:center;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.bs-cs-post-content{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  min-width:0;
  max-width:none;
  margin:0;
  padding:clamp(34px, 4.6vw, 64px);
  border-left:1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 100% 0, rgba(240,124,0,.09), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(7,7,7,.88);
  text-align:left;
}
.bs-cs-post-content::before{
  content:"";
  position:absolute;
  top:0;
  left:clamp(34px, 4.6vw, 64px);
  width:76px;
  height:3px;
  border-radius:999px;
  background:var(--bs-cs-accent, #f07c00);
  pointer-events:none;
}
.bs-cs-post-kicker{
  margin-bottom:10px;
  color:var(--bs-cs-accent, #f07c00);
  font-size:13px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.bs-cs-post-title{
  max-width:560px;
  margin:0 0 14px;
  color:#ffffff;
  font-size:clamp(36px, 4vw, 52px);
  line-height:1.02;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:none;
  text-shadow:none;
}
.bs-cs-post-text{
  max-width:520px;
  color:rgba(255,255,255,.78);
  font-size:17px;
  line-height:1.55;
  text-shadow:none;
}
.bs-cs-post-text > :first-child{ margin-top:0; }
.bs-cs-post-text > :last-child{ margin-bottom:0; }
.bs-cs-post-text p{ color:inherit; }
.bs-cs-post-cta{ margin-top:24px; }

.bs-cs-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:0 34px;
  border:1px solid var(--bs-cs-accent, #f07c00);
  border-radius:999px;
  background:var(--bs-cs-accent, #f07c00);
  color:#fff !important;
  font-size:16px;
  line-height:1;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
  text-decoration:none !important;
  box-shadow:0 14px 34px rgba(240,124,0,.22);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.bs-cs-wrap--link:hover .bs-cs-btn,
.bs-cs-wrap--link:focus .bs-cs-btn{
  transform:translateY(-2px);
  filter:brightness(1.08);
  box-shadow:0 18px 42px rgba(240,124,0,.30);
}

/* Mobile: smaller cards so they can fit side-by-side */
@media (max-width:480px){
  .bs-cs-counter{
    flex-wrap:nowrap;
    gap:8px;
  }
  .bs-cs-card{
    min-width:0;
    flex:1 1 0;
    padding:10px 8px;
    border-radius:8px;
  }
  .bs-cs-num{ font-size:28px; }
  .bs-cs-label{ font-size:11px; font-weight:700; margin-top:6px; }
}

/* Small tablets: allow wrap but smaller than desktop */
@media (min-width:481px) and (max-width:640px){
  .bs-cs-card{ min-width:96px; padding:14px 16px; border-radius:8px; }
  .bs-cs-num{ font-size:38px; }
  .bs-cs-label{ font-size:13px; font-weight:700; }
}

@media (max-width:800px){
  .bs-cs-post{ grid-template-columns:1fr; min-height:0; }
  .bs-cs-post-media{
    min-height:0;
    aspect-ratio:1 / 1;
    padding:0;
  }
  .bs-cs-post-content{
    min-height:300px;
    padding:38px 32px;
    border-top:1px solid rgba(255,255,255,.09);
    border-left:0;
  }
  .bs-cs-post-content::before{ left:32px; }
}

@media (max-width:640px){
  .bs-countdown-strip.is-over .bs-cs-wrap,
  .bs-cs-post{ border-radius:16px; }
  .bs-cs-post-media{ min-height:0; aspect-ratio:1 / 1; padding:0; }
  .bs-cs-post-content{ min-height:0; padding:34px 22px 28px; }
  .bs-cs-post-content::before{ left:22px; }
  .bs-cs-post.no-image{ min-height:0; }
  .bs-cs-post-title{ font-size:32px; line-height:1.05; }
  .bs-cs-post-text{ font-size:15px; }
  .bs-cs-btn{ width:100%; padding:0 20px; }
}

@media (prefers-reduced-motion:reduce){
  .bs-countdown-strip.is-over .bs-cs-after{ animation:none; }
  .bs-cs-btn{ transition:none; }
}
