/* =========================================================
   Bellême Boutique - Mini boutique éditoriale
   Shortcodes :
   [bb_boutique_hub]
   [bb_cheques_cadeaux]
   [bb_adhesion_belleme]
========================================================= */

.bb-shop-page,
.bb-shop-hub {
  --bb-shop-black: #1F1F1F;
  --bb-shop-yellow: #ffb20f;
  --bb-shop-yellow-soft: #fff1c7;
  --bb-shop-cream: #f7f4ee;
  --bb-shop-paper: #fffaf2;
  --bb-shop-border: rgba(31, 31, 31, .11);
  --bb-shop-muted: rgba(31, 31, 31, .66);
  --bb-shop-shadow: 0 18px 48px rgba(31, 31, 31, .09);
  --bb-shop-shadow-strong: 0 28px 72px rgba(31, 31, 31, .15);

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(56px, 7vw, 92px) 18px clamp(70px, 8vw, 110px);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 178, 15, .14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f4ee 46%, #fff 100%);
  overflow: hidden;
}

.bb-shop-page *,
.bb-shop-page *::before,
.bb-shop-page *::after,
.bb-shop-hub *,
.bb-shop-hub *::before,
.bb-shop-hub *::after {
  box-sizing: border-box;
}

.bb-shop-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.bb-shop-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bb-shop-yellow-soft);
  color: var(--bb-shop-black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.bb-shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.bb-shop-hero--hub {
  display: block;
  max-width: 920px;
}

.bb-shop-hero::before,
.bb-shop-hero--hub::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -70px;
  width: clamp(180px, 20vw, 310px);
  height: clamp(180px, 20vw, 310px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,178,15,.18), rgba(255,178,15,.04) 58%, transparent 72%);
  box-shadow: 0 0 0 28px rgba(31,31,31,.025), 0 0 0 60px rgba(255,178,15,.045);
  pointer-events: none;
}

.bb-shop-hero__content,
.bb-shop-hero__card {
  position: relative;
  z-index: 2;
}

.bb-shop-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--bb-shop-black);
  font-size: clamp(42px, 6vw, 82px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 950;
}

.bb-shop-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--bb-shop-muted);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.65;
}

.bb-shop-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.bb-shop-hero__badges span {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bb-shop-border);
  color: var(--bb-shop-black);
  font-size: 13px;
  font-weight: 850;
}

.bb-shop-hero__card {
  padding: 28px;
  border-radius: 30px;
  background: var(--bb-shop-black);
  color: #fff;
  box-shadow: var(--bb-shop-shadow-strong);
}

.bb-shop-hero__card::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 32px;
  width: 74px;
  height: 16px;
  border-radius: 999px;
  background: var(--bb-shop-yellow);
}

.bb-shop-hero__card span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bb-shop-hero__card strong {
  display: block;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 950;
}

.bb-shop-hero__card p,
.bb-shop-hero__card a {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.5;
}

.bb-shop-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 5vw, 56px);
}

.bb-shop-hub-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--bb-shop-border);
  border-radius: 34px;
  background: #fff;
  color: var(--bb-shop-black) !important;
  box-shadow: var(--bb-shop-shadow);
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bb-shop-hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31,31,31,.20);
  box-shadow: var(--bb-shop-shadow-strong);
}

.bb-shop-hub-card::before {
  content: "";
  position: absolute;
  right: -52px;
  top: -48px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(255,178,15,.15);
}

.bb-shop-hub-card.is-adhesion::before {
  background: rgba(31,31,31,.10);
}

.bb-shop-hub-card span {
  position: absolute;
  left: 28px;
  top: 28px;
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--bb-shop-yellow-soft);
  color: var(--bb-shop-black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.bb-shop-hub-card strong {
  display: block;
  max-width: 430px;
  color: var(--bb-shop-black);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 950;
}

.bb-shop-hub-card em {
  display: block;
  max-width: 430px;
  margin-top: 14px;
  color: var(--bb-shop-muted);
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.bb-shop-hub-card i {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--bb-shop-black);
  color: #fff;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.bb-shop-hub-card:hover i {
  background: var(--bb-shop-yellow);
  color: var(--bb-shop-black);
}

.bb-shop-prices,
.bb-shop-form-section,
.bb-shop-footer-note {
  margin-top: 22px;
}

.bb-shop-prices {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--bb-shop-border);
  border-radius: 34px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--bb-shop-shadow);
}

.bb-shop-section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.bb-shop-section-head h2,
.bb-shop-form-section__intro h2 {
  margin: 0;
  color: var(--bb-shop-black);
  font-size: clamp(32px, 4vw, 56px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 950;
}

.bb-shop-prices__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bb-shop-prices--adhesion .bb-shop-prices__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-shop-prices__grid div {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--bb-shop-border);
}

.bb-shop-prices__grid strong {
  display: block;
  color: var(--bb-shop-black);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
}

.bb-shop-prices__grid span {
  display: block;
  margin-top: 8px;
  color: #a36d00;
  font-size: 15px;
  font-weight: 900;
}

.bb-shop-form-section {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.bb-shop-form-section__intro {
  position: sticky;
  top: 100px;
  padding: 30px;
  border-radius: 30px;
  background: var(--bb-shop-black);
  color: #fff;
  box-shadow: var(--bb-shop-shadow-strong);
}

.bb-shop-form-section__intro .bb-shop-kicker {
  background: var(--bb-shop-yellow);
}

.bb-shop-form-section__intro h2 {
  color: #fff;
}

.bb-shop-form-section__intro p {
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.65;
}

.bb-shop-info-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.bb-shop-info-box strong,
.bb-shop-info-box span {
  display: block;
}

.bb-shop-info-box strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.bb-shop-info-box span {
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
  line-height: 1.5;
}

.bb-shop-form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--bb-shop-border);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--bb-shop-shadow);
}

.bb-shop-empty-form {
  padding: 28px;
  border-radius: 24px;
  background: #fffaf2;
  border: 1px dashed rgba(31,31,31,.18);
}

.bb-shop-empty-form strong,
.bb-shop-empty-form span {
  display: block;
}

.bb-shop-empty-form strong {
  color: var(--bb-shop-black);
  font-size: 22px;
  font-weight: 950;
}

.bb-shop-empty-form span {
  margin-top: 8px;
  color: var(--bb-shop-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Forminator dans les pages boutique */
.bb-shop-form-card .forminator-ui {
  margin: 0 !important;
}

.bb-shop-form-card .forminator-row {
  margin-bottom: 16px !important;
}

.bb-shop-form-card .forminator-row-last {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.bb-shop-form-card .forminator-col {
  padding: 0 7px !important;
}

.bb-shop-form-card input.forminator-input,
.bb-shop-form-card textarea.forminator-textarea,
.bb-shop-form-card select.forminator-select2 {
  width: 100% !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(31,31,31,.13) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--bb-shop-black) !important;
  font-size: 15.5px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
  outline: none !important;
}

.bb-shop-form-card textarea.forminator-textarea {
  min-height: 145px !important;
  padding: 16px !important;
  resize: vertical;
}

.bb-shop-form-card input.forminator-input:focus,
.bb-shop-form-card textarea.forminator-textarea:focus {
  border-color: var(--bb-shop-black) !important;
  box-shadow: 0 0 0 3px rgba(31,31,31,.07) !important;
}

.bb-shop-form-card .forminator-label {
  margin-bottom: 8px !important;
  color: var(--bb-shop-black) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.bb-shop-form-card .forminator-description,
.bb-shop-form-card .forminator-checkbox__label,
.bb-shop-form-card .forminator-consent__label,
.bb-shop-form-card .forminator-consent__label p {
  color: var(--bb-shop-muted) !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

.bb-shop-form-card .forminator-consent__label a {
  color: #a36d00 !important;
  font-weight: 850;
  text-decoration: none !important;
}

.bb-shop-form-card .forminator-field-radio,
.bb-shop-form-card .forminator-field-checkbox {
  color: var(--bb-shop-black) !important;
}

.bb-shop-form-card .forminator-button-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 14px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bb-shop-black) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 16px 34px rgba(31,31,31,.14) !important;
  cursor: pointer !important;
  transition: background .18s ease, color .18s ease, transform .18s ease !important;
}

.bb-shop-form-card .forminator-button-submit:hover {
  transform: translateY(-2px);
  background: var(--bb-shop-yellow) !important;
  color: var(--bb-shop-black) !important;
}

.bb-shop-form-card .forminator-response-message {
  border-radius: 18px !important;
  padding: 14px 16px !important;
}

@media (max-width: 1024px) {
  .bb-shop-hero,
  .bb-shop-form-section {
    grid-template-columns: 1fr;
  }

  .bb-shop-form-section__intro {
    position: relative;
    top: auto;
  }

  .bb-shop-prices__grid,
  .bb-shop-prices--adhesion .bb-shop-prices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bb-shop-page,
  .bb-shop-hub {
    padding: 42px 14px 70px;
  }

  .bb-shop-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .bb-shop-hub-grid,
  .bb-shop-prices__grid,
  .bb-shop-prices--adhesion .bb-shop-prices__grid {
    grid-template-columns: 1fr;
  }

  .bb-shop-prices,
  .bb-shop-form-section__intro,
  .bb-shop-form-card,
  .bb-shop-hub-card {
    padding: 22px;
    border-radius: 26px;
  }

  .bb-shop-form-card .forminator-col {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
  }

  .bb-shop-form-card .forminator-col:last-child {
    margin-bottom: 0 !important;
  }

  .bb-shop-form-card .forminator-button-submit {
    width: 100% !important;
  }
}
