.lbb-shell {
  --ink: #17120f;
  --muted: #6e5a4b;
  --cream: #fff8ee;
  --card: #fffaf2;
  --pink: #e91468;
  --pink-dark: #b90f51;
  --yellow: #ffc94a;
  --line: #f0dcc9;
  --shadow: 0 18px 45px rgba(89, 44, 19, 0.1);
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 38px);
  color: var(--ink);
  background: var(--cream);
  font-family: "Nunito", Arial, sans-serif;
}

.lbb-shell button {
  font: inherit;
}

.lbb-hero {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 230px;
  align-items: center;
  gap: 26px;
  margin-bottom: 24px;
}

.lbb-hero > div {
  min-width: 0;
}

.lbb-breadcrumb {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.lbb-hero h1,
.lbb-section__heading h2,
.lbb-summary h2,
.lbb-recommendations h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.lbb-hero h1 {
  font-size: clamp(56px, 7vw, 96px);
}

.lbb-hero p:not(.lbb-breadcrumb) {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 800;
}

.lbb-mascot,
.lbb-summary__box {
  background:
    radial-gradient(circle at 63% 28%, #25120a 0 3px, transparent 4px),
    radial-gradient(circle at 35% 34%, #25120a 0 3px, transparent 4px),
    radial-gradient(circle at 55% 60%, #25120a 0 3px, transparent 4px),
    radial-gradient(ellipse at center, #ee7d1c 0 62%, #bf5313 63% 100%);
  box-shadow: inset 0 -10px 0 rgba(77, 31, 10, 0.18), 0 12px 22px rgba(105, 46, 16, 0.18);
}

.lbb-mascot-img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  justify-self: center;
}

.lbb-mascot {
  width: 108px;
  height: 108px;
  border-radius: 48% 52% 50% 46%;
}

.lbb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 24px;
  background: var(--yellow);
  border-radius: 50% 45% 48% 42%;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.lbb-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 24px;
}

.lbb-main-panel,
.lbb-summary,
.lbb-luck,
.lbb-rec-list,
.lbb-trust {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lbb-main-panel {
  padding: clamp(18px, 3vw, 34px);
}

.lbb-section + .lbb-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.lbb-section__heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.lbb-section__heading span,
.lbb-section__heading h2 small {
  color: var(--pink);
}

.lbb-section__heading span {
  font-size: 24px;
  font-weight: 900;
}

.lbb-section__heading h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.lbb-section__heading h2 small {
  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: none;
}

.lbb-section__intro {
  margin: -6px 0 20px;
  font-weight: 800;
}

.lbb-pack-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: 16px;
}

.lbb-pack-option,
.lbb-help-card,
.lbb-flavour-card,
.lbb-rec-list button {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lbb-pack-option {
  display: grid;
  justify-items: center;
  min-height: 145px;
  padding: 18px 12px;
  cursor: pointer;
}

.lbb-pack-option.is-selected {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(233, 20, 104, 0.16), var(--shadow);
}

.lbb-ribbon {
  position: absolute;
  top: -18px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #fff;
  background: var(--pink);
  border-radius: 50%;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  transform: rotate(12deg);
}

.lbb-box-icon {
  position: relative;
  width: 50px;
  height: 38px;
  border: 3px solid #965a3d;
  border-top: 0;
  border-radius: 3px 3px 6px 6px;
  transform: skewY(-6deg);
}

.lbb-box-icon::before,
.lbb-box-icon::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 28px;
  height: 17px;
  border: 3px solid #965a3d;
  background: rgba(255, 247, 236, 0.92);
}

.lbb-box-icon::before {
  left: -4px;
  border-right: 0;
  transform: skewY(22deg);
}

.lbb-box-icon::after {
  right: -4px;
  border-left: 0;
  transform: skewY(-22deg);
}

.lbb-box-icon-img {
  display: block;
  width: 58px;
  height: 52px;
  object-fit: contain;
}

.lbb-pack-option strong {
  font-size: 44px;
  font-weight: 900;
  line-height: 0.85;
}

.lbb-pack-option small {
  font-weight: 900;
}

.lbb-pack-option em {
  color: var(--pink);
  font-style: normal;
  font-weight: 900;
}

.lbb-help-card {
  grid-column: 1 / -1;
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 18px 22px;
}

.lbb-help-card strong {
  margin-bottom: 8px;
  font-weight: 900;
}

.lbb-help-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.lbb-flavour-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.lbb-flavour-card {
  display: grid;
  min-height: 334px;
  padding: 18px 14px 16px;
  text-align: center;
  overflow: hidden;
}

.lbb-flavour-card h3 {
  min-height: 58px;
  margin: 0 0 6px;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.lbb-flavour-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lbb-croqueta {
  align-self: center;
  width: min(150px, 85%);
  height: 112px;
  margin: 12px auto 16px;
  border-radius: 50% 48% 44% 52%;
}

.lbb-croqueta-img {
  align-self: center;
  display: block;
  width: min(250px, 108%);
  height: 165px;
  margin: 8px auto 14px;
  object-fit: contain;
  filter: drop-shadow(0 13px 12px rgba(92, 42, 16, 0.16));
}

.lbb-flavour-card:has(.lbb-croqueta-img[src*="/mockup/flavours/"]) > div:first-child {
  display: none;
}

.lbb-flavour-card:has(.lbb-croqueta-img[src*="/mockup/flavours/"]) .lbb-stepper {
  display: grid;
}

.lbb-flavour-card:has(.lbb-croqueta-img[src*="/mockup/flavours/"]) .lbb-croqueta-img {
  width: min(190px, 100%);
  height: 235px;
  margin: 0 auto 12px;
  border-radius: 8px;
  object-fit: contain;
  filter: none;
}

.lbb-croqueta--2 {
  background:
    radial-gradient(ellipse at 50% 60%, #5a2715 0 36%, transparent 37%),
    radial-gradient(circle at 63% 28%, #25120a 0 3px, transparent 4px),
    radial-gradient(circle at 35% 34%, #25120a 0 3px, transparent 4px),
    radial-gradient(ellipse at center, #ee7d1c 0 62%, #bf5313 63% 100%);
}

.lbb-croqueta--3 {
  background:
    radial-gradient(ellipse at 50% 62%, #fff2db 0 36%, transparent 37%),
    radial-gradient(circle at 58% 54%, #d94a2f 0 5px, transparent 6px),
    radial-gradient(circle at 40% 42%, #d94a2f 0 5px, transparent 6px),
    radial-gradient(ellipse at center, #ee7d1c 0 62%, #bf5313 63% 100%);
}

.lbb-croqueta--4 {
  background:
    radial-gradient(ellipse at 50% 62%, #a85a21 0 38%, transparent 39%),
    radial-gradient(circle at 63% 28%, #25120a 0 3px, transparent 4px),
    radial-gradient(ellipse at center, #ee7d1c 0 62%, #bf5313 63% 100%);
}

.lbb-croqueta--5 {
  background:
    radial-gradient(ellipse at 52% 62%, #e5832c 0 38%, transparent 39%),
    radial-gradient(circle at 80% 78%, #2d911f 0 10px, transparent 11px),
    radial-gradient(circle at 63% 28%, #25120a 0 3px, transparent 4px),
    radial-gradient(ellipse at center, #ee7d1c 0 62%, #bf5313 63% 100%);
}

.lbb-stepper {
  align-self: end;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
}

.lbb-stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pink);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.lbb-stepper output {
  font-size: 28px;
  font-weight: 900;
}

.lbb-summary {
  position: sticky;
  top: 116px;
  padding: 26px;
}

.lbb-summary h2 {
  color: var(--pink);
  font-size: 36px;
}

.lbb-summary__box {
  width: 112px;
  height: 88px;
  margin: 14px auto 18px;
  border-radius: 18px;
}

.lbb-summary__box-img {
  display: block;
  width: 132px;
  height: auto;
  margin: 10px auto 18px;
  object-fit: contain;
}

.lbb-progress strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.lbb-progress [data-selected-count] {
  color: var(--pink);
  font-size: 38px;
}

.lbb-progress > span {
  display: block;
  height: 8px;
  overflow: hidden;
  background: #f5dfd0;
  border-radius: 999px;
}

.lbb-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pink);
  border-radius: inherit;
  transition: width 0.2s ease;
}

.lbb-summary__items {
  display: grid;
  gap: 10px;
  min-height: 120px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.lbb-summary__items li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
}

.lbb-summary__items img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px rgba(90, 42, 16, 0.14));
}

.lbb-summary__items span {
  min-width: 0;
  line-height: 1.1;
}

.lbb-empty {
  color: var(--muted);
  font-weight: 800;
}

.lbb-summary__total {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
}

.lbb-summary__total span {
  font-size: 12px;
  font-weight: 900;
}

.lbb-summary__total strong {
  color: var(--pink);
  font-size: 42px;
  font-weight: 900;
}

.lbb-message {
  min-height: 22px;
  margin: 10px 0;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.lbb-primary,
.lbb-secondary,
.lbb-luck button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  background: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.lbb-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lbb-secondary {
  margin-top: 10px;
  color: var(--pink);
  background: #fff;
}

.lbb-recommendations {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.lbb-luck,
.lbb-rec-list {
  padding: 28px;
}

.lbb-luck {
  background: #ffe5ec;
}

.lbb-luck h2,
.lbb-rec-list h2 {
  margin-bottom: 14px;
  font-size: 32px;
}

.lbb-luck p {
  margin: 0 0 24px;
  font-weight: 800;
}

.lbb-rec-list > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lbb-rec-list button {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
}

.lbb-rec-list strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.lbb-rec-list span {
  color: var(--pink);
  font-weight: 900;
}

.lbb-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
}

.lbb-trust span {
  font-weight: 900;
  text-align: center;
}

@media (max-width: 1120px) {
  .lbb-builder,
  .lbb-recommendations {
    grid-template-columns: 1fr;
  }

  .lbb-summary {
    position: static;
  }

  .lbb-pack-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lbb-flavour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lbb-shell {
    padding-inline: 0;
    overflow-x: hidden;
  }

  .lbb-hero,
  .lbb-pack-options,
  .lbb-flavour-grid,
  .lbb-rec-list > div,
  .lbb-trust {
    grid-template-columns: 1fr;
  }

  .lbb-hero {
    padding-inline: 20px;
    gap: 18px;
  }

  .lbb-hero h1 {
    font-size: clamp(42px, 12vw, 50px);
    width: min(9.5ch, calc(100vw - 40px));
    max-width: min(9.5ch, calc(100vw - 40px));
    line-height: 1;
    word-break: normal;
  }

  .lbb-hero p:not(.lbb-breadcrumb) {
    max-width: min(25ch, calc(100vw - 40px));
    font-size: 18px;
  }

  .lbb-badge {
    width: min(100%, 340px);
    min-height: 78px;
    font-size: 22px;
  }

  .lbb-main-panel,
  .lbb-summary,
  .lbb-luck,
  .lbb-rec-list,
  .lbb-trust {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .lbb-main-panel,
  .lbb-section {
    min-width: 0;
    overflow: hidden;
  }

  .lbb-section__intro {
    display: block;
    width: min(31ch, calc(100vw - 68px));
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .lbb-pack-option {
    min-height: 128px;
    padding-block: 20px 16px;
  }

  .lbb-pack-option strong {
    font-size: 40px;
  }

  .lbb-box-icon {
    width: 38px;
    height: 28px;
    border-width: 2px;
  }

  .lbb-box-icon::before,
  .lbb-box-icon::after {
    top: -10px;
    width: 22px;
    height: 13px;
    border-width: 2px;
  }

  .lbb-section__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .lbb-section__heading h2 {
    width: min(14ch, calc(100vw - 88px));
    max-width: min(14ch, calc(100vw - 88px));
    font-size: clamp(24px, 7vw, 30px);
    word-break: normal;
  }

  .lbb-section__heading h2 small {
    display: block;
    margin-top: 4px;
  }

  .lbb-flavour-card {
    min-height: 300px;
    width: 100%;
    max-width: calc(100vw - 56px);
    justify-self: center;
    padding-inline: 16px;
  }

  .lbb-croqueta-img {
    width: min(240px, 100%);
    height: 168px;
  }

  .lbb-stepper {
    grid-template-columns: 38px minmax(42px, 1fr) 38px;
    width: min(240px, 100%);
    justify-self: center;
  }

  .lbb-summary {
    padding-bottom: 34px;
  }

  .lbb-badge {
    justify-self: start;
  }
}
