/* Scoped to avoid touching other templates */
.bc-deals { background:#fff; color:#111; }

/* HERO */
.bc-deals-hero { padding: 18px 0 10px; }
.bc-deals-hero__inner{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  max-width: 1180px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.bc-deals-hero__media{
  height: 320px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
}
.bc-deals-hero__media--placeholder{
  background: linear-gradient(135deg, #e9eef5, #d7e0ee);
}

.bc-deals-hero__badge{
  position:absolute;
  left: 28px;
  top: 28px;
  background: rgba(15, 65, 110, .92);
  color:#fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
}

.bc-deals-hero__fineprint{
  position:absolute;
  left: 18px;
  bottom: 14px;
  right: 18px;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* HEAD */
.bc-deals-head { padding: 18px 0 30px; }
/* .bc-deals-head .container { max-width: 1180px; } */
.bc-deals-head__row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.bc-deals-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
}

/* FILTERS */
.bc-deals-filters{
  display:flex;
  gap: 14px;
  align-items:center;
}
.bc-deals-filter{
  appearance:none;
  border: none;
  background: transparent;
  cursor:pointer;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 2px;
  color: #6f7a86;
  border-bottom: 2px solid transparent;
}
.bc-deals-filter.is-active{
  color:#111;
  border-bottom-color: rgba(15, 65, 110, .95);
}

/* GRID */
.bc-deals-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bc-deal-card{
  display:block;
  //border-radius: 14px;
border-radius: 5px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  text-decoration:none;
  color: inherit;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bc-deal-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}
.bc-deal-card__media{
  height: 150px;
  background:#f3f5f7;
}
.bc-deal-card__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.bc-deal-card__ph{
  width:100%; height:100%;
  background: linear-gradient(135deg, #f1f4f8, #e3e9f2);
}
.bc-deal-card__badge{
  position:absolute;
  left: 12px;
  bottom: 44px;
  background: rgba(255,255,255,.92);
  color:#1b2b3b;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
}
.bc-deal-card__title{
  padding: 12px 12px 14px;
  text-align:center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color:#3b434c;
}

.bc-deals-note{
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #58626d;
}

/* DEAL DETAIL */
/* .bc-deal-body{ padding: 20px 0 34px; } */
.bc-deal-body .container{ max-width: 900px; }
.bc-deal-h1{
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
}
.bc-deal-sub{
  margin: 0 0 16px;
  color:#4d5865;
  font-size: 14px;
  line-height: 1.6;
}
.bc-deal-content{
  font-size: 14px;
  line-height: 1.75;
  color:#1b2430;
}
.bc-deal-cta{ margin-top: 20px; }
.bc-deal-cta__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(15, 65, 110, .95);
  color:#fff;
  font-weight: 800;
  text-decoration:none;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .bc-deals-grid{ grid-template-columns: repeat(2, 1fr); }
  .bc-deals-hero__media{ height: 280px; }
}
@media (max-width: 640px){
  .bc-deals-head__row{ flex-direction: column; align-items:flex-start; }
  .bc-deals-grid{ grid-template-columns: 1fr; }
  .bc-deals-hero__badge{ left: 14px; top: 14px; padding: 10px 12px; font-size: 13px; }
  .bc-deals-hero__media{ height: 220px; }
}



/* =========================
   HERO (match PDF)
========================= */

/* remove the “card” look */
.bc-deals-hero{
  padding: 0;
  margin: 0;
}

/* make it full width (no max-width card, no radius, no shadow) */
.bc-deals-hero__inner{
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

/* full sized banner behavior like your .bcsr-hero-media */
.bc-deals-hero__media{
  position: relative;
  height: 522px;               /* close to your example */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: none;
}

/* badge like PDF (bigger pill) */
.bc-deals-hero__badge{
  position: absolute;
  left: 48px;
  top: 42px;
  background: rgb(15 65 110 / 54%);
  color: #fff;
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: .2px;
}

/* fine print line below image (not floating on image) */
.bc-deals-hero__fineprint{
  position: static;            /* important: not absolute */
  max-width: 1180px;
  margin: 10px auto 0;
  padding: 0 20px;
  color: #111;
  font-size: 12px;
  line-height: 1.4;
  background: none;
}

/* responsive */
@media (max-width: 980px){
  .bc-deals-hero__media{ height: 280px; }
  .bc-deals-hero__badge{ font-size: 22px; left: 18px; top: 18px; padding: 12px 18px; }
}

@media (max-width: 640px){
  .bc-deals-hero__media{ height: 220px; }
  .bc-deals-hero__badge{ font-size: 16px; }
}



/* =========================
   DEAL GRID – image fit fix
========================= */

/* give more height so images don't feel tiny */
.bc-deal-card__media{
  height: 305px;               /* was 150px */
  background: #f3f5f7;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* show full image (no crop) */
.bc-deal-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* was cover -> cropping */
  object-position: center;
}

/* keep title area consistent */
.bc-deal-card__title{
  min-height: 44px;
}

/* responsive heights */
@media (max-width: 980px){
  .bc-deal-card__media{ height: 220px; }
}
@media (max-width: 640px){
  .bc-deal-card__media{ height: 240px; }
}



/* Hide Pinterest “Save” overlays on this template */
.bc-deals [data-pin-log],
.bc-deals [data-pin-nopin],
.bc-deals .pinit-overlay,
.bc-deals .PIN_{
  display: none !important;
}



/* =========================
   DEAL DETAIL PAGE
========================= */

.bc-deal-page { background:#fff; }

.bc-deal-hero .bc-deals-hero__inner{
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.bc-deal-top { padding: 18px 0 10px; }
/* .bc-deal-top .container { max-width: 1280px; } */

.bc-deal-top__grid{
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.bc-deal-top__image{
  border-radius: 14px;
  overflow: hidden;
  background: #f3f5f7;
  min-height: 320px;
}

.bc-deal-top__image img{
  width: 100%;
  height: auto;
  display: block;
}

.bc-deal-top__image--empty{
  padding: 40px;
  color: #667;
  font-weight: 600;
}

.bc-deal-form{
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,20,40,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px;
}

.bc-deal-form__title{
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 10px;
}

.bc-deal-form__actions{
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.bc-deal-call{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #0a2a4a;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
}

.bc-deal-content{ padding: 10px 0 20px; }
/* .bc-deal-content .container{ max-width: 980px; } */

.bc-deal-kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #667;
  margin-bottom: 6px;
}

.bc-deal-h1{
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.bc-deal-sub{
  font-weight: 700;
  margin-bottom: 10px;
}

.bc-deal-body{
  line-height: 1.7;
}

.bc-deal-options{ padding: 10px 0 30px; }
/* .bc-deal-options .container{ max-width: 980px; } */

.bc-deal-options__box{
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
}

.bc-opt{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.bc-opt + .bc-opt{ margin-top: 6px; }

.bc-opt:hover{
  background: rgba(10,20,40,.04);
}

.bc-opt__ico{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(10,20,40,.08);
}

.bc-opt__ico svg{ opacity: .9; }

.bc-opt__title{
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.bc-opt__desc{
  margin-top: 4px;
  font-size: 13px;
  color: #334;
}

@media (max-width: 980px){
  .bc-deal-top__grid{ grid-template-columns: 1fr; }
  .bc-deal-form{ position: relative; top: 0; }
}


aside.bc-deal-form {
    width: fit-content;
}

.wpcf7 label {
    margin-bottom: 0.7rem;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 28px;
    border-radius: 12px !important;
    border: 0;
    background: var(--bcvh-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}


/* =========================
   DEALS PAGE HERO = HOMEPAGE HERO
========================= */

.bc-deals-hero-slider {
  position: relative;
  min-height: 80vh;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.bc-deals-hero-slider .bcvh-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bc-deals-hero-slider .bcvh-hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bc-deals-hero-slider .bcvh-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.bc-deals-hero-slider .bcvh-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.bc-deals-hero-slider .bcvh-hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bc-deals-hero-slider .bcvh-hero-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bc-deals-hero-slider .bcvh-hero-overlay {
  position: relative !important;
  z-index: 5 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  pointer-events: none !important;
  padding: 6rem 0 5rem;
}

.bc-deals-hero-slider .bcvh-hero-inner {
  max-width: 1200px !important;
  min-height: 80vh !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.bc-deals-hero-slider .bcvh-hero-text,
.bc-deals-hero-slider .bcvh-hero-text--promo {
  position: relative !important;
  z-index: 6 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-width: 520px !important;
  margin-left: 20px !important;
}

.bc-deals-hero-slider .bcvh-kicker {
  display: block !important;
  color: #ffffff !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}

.bc-deals-hero-slider .bcvh-hero-text h1,
.bc-deals-hero-slider .bcvh-hero-text--promo h1 {
  display: block !important;
  color: #fff !important;
  font-size: 52px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.bc-deals-hero-slider .bcvh-hero-subtitle,
.bc-deals-hero-slider .bcvh-hero-text--promo .bcvh-hero-subtitle {
  display: block !important;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.bc-deals-hero-slider .bcvh-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-deals-hero-slider .bcvh-hero-dot {
  width: 12px;
  height: 12px;
  min-height: auto;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.bc-deals-hero-slider .bcvh-hero-dot:hover {
  background: rgba(255,255,255,0.75);
  transform: scale(1.08);
}

.bc-deals-hero-slider .bcvh-hero-dot.is-active {
  background: #fff;
  opacity: 1;
}

@media (max-width: 768px) {
  .bc-deals-hero-slider {
    min-height: 70vh;
  }

  .bc-deals-hero-slider .bcvh-hero-inner {
    justify-content: center !important;
    text-align: center !important;
    min-height: 70vh !important;
  }

  .bc-deals-hero-slider .bcvh-hero-text,
  .bc-deals-hero-slider .bcvh-hero-text--promo {
    margin-left: 0 !important;
    max-width: 92% !important;
  }

  .bc-deals-hero-slider .bcvh-hero-text h1,
  .bc-deals-hero-slider .bcvh-hero-text--promo h1 {
    font-size: 38px !important;
  }

  .bc-deals-hero-slider .bcvh-hero-subtitle,
  .bc-deals-hero-slider .bcvh-hero-text--promo .bcvh-hero-subtitle {
    font-size: 18px !important;
  }

  .bc-deals-hero-slider .bcvh-hero-dots {
    bottom: 18px;
    gap: 8px;
  }

  .bc-deals-hero-slider .bcvh-hero-dot {
    width: 10px;
    height: 10px;
  }
}


.bcvh-hero-media {
  position: relative;
}

.bcvh-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.bcvh-hero-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.bcvh-hero-arrow span {
  font-size: 28px;
  line-height: 1;
}

.bcvh-hero-arrow--prev {
  left: 24px;
}

.bcvh-hero-arrow--next {
  right: 24px;
}

@media (max-width: 768px) {
  .bcvh-hero-arrow {
    width: 42px;
    height: 42px;
  }

  .bcvh-hero-arrow span {
    font-size: 22px;
  }

  .bcvh-hero-arrow--prev {
    left: 12px;
  }

  .bcvh-hero-arrow--next {
    right: 12px;
  }
}

@media (min-width: 1400px) {
 .bc-deal-card__media {
    height: 340px;
}
}