/* Force full-width in SFCC containers */
.experience-component:not(#recipeModal):not(#recipeModal *),
.experience-region:not(#recipeModal):not(#recipeModal *),
.experience-main:not(#recipeModal):not(#recipeModal *),
.b-1_up:not(#recipeModal):not(#recipeModal *),
.b-1_up-cell:not(#recipeModal):not(#recipeModal *),
.b-1_up-cell_inner:not(#recipeModal):not(#recipeModal *),
.b-text_box:not(#recipeModal):not(#recipeModal *) {
  width: 100% !important;
  max-width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0;
  margin-right: 0;
}

/* SFCC Mobile/Tablet Override - Fix broken devices */
@media (max-width: 1023px) {

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .l-page,
  .l-page-content,
  .experience-component,
  .experience-region,
  .experience-main,
  .b-1_up,
  .b-1_up-cell,
  .b-1_up-cell_inner,
  .b-2_up,
  .b-2_up-cell,
  .b-2_up-cell_inner,
  .b-text_box,
  .b-leaderboard,
  .b-team_showcase,
  .b-team_info,
  .b-new-section,
  .b-white-section {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box !important;
  }

  .b-team_showcase-image {
    pointer-events: none;
  }
}

/* Exclude recipe modal from SFCC width forcing */
#recipeModal .b-recipe-modal-content {
  width: 90% !important;
  max-width: 600px !important;
  margin: 5vh auto !important;
  position: relative !important;
}

#recipeModal .b-form-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px !important;
}

#recipeModal .b-form-field {
  flex: 1 !important;
  width: auto !important;
}

#recipeModal .b-form-field input,
#recipeModal .b-form-field select,
#recipeModal .sf-form-textarea {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Prevent horizontal overflow on mobile/tablet */
body {
  overflow-x: hidden !important;
}

.b-2_up[data-selector-id="team-details"] {
  padding: 0;
}

.b-2_up[data-selector-id="team-mosa-voting"] {
  padding: 40px 20px 20px;
  background: white;
}

/* SFCC Page Designer CSS Reset - Isolate Team-Mosa styles */
.l-page-content .b-text_box *,
.l-page-content .b-2_up *,
.l-page-content .b-team_showcase *,
.l-page-content .b-team_info *,
.l-page-content .b-modal *,
.l-page-content .b-new-section *,
.l-page-content .b-white-section *,
.countdown-overlay *,
#recipeModal *,
.b-recipe-modal-content,
.b-recipe-modal-content * {
  box-sizing: border-box !important;
  max-width: none;
}

.l-page-content .b-2_up,
.l-page-content .b-team_showcase,
.l-page-content .b-team_info {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* André Site Consistent Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  line-height: 1.6;
  color: #333;
  background: black;
}

.desktop-content {
  display: none;
}

.mobile-content {
  display: block;
}

.l-page {
  display: flex;
  flex-direction: column;
  position: relative;
}

.l-page-content {
  flex-grow: 1;
}

.b-2_up {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
}

.b-modal .b-2_up {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  align-items: flex-start;
  height: auto;
}

.b-2_up[data-selector-id="team-details"] {
  margin-top: 40px;
  padding: 0 0 0 20px;
}

.b-2_up-cell {
  flex: 1;
}

.b-2_up-cell_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.b-text_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin-bottom: 10px;
  overflow: hidden;
  text-wrap: pretty;
}

.t-heading_1 {
  color: #000;
  font: 700 48px/56px Montserrat, sans-serif;
  letter-spacing: .6px;
  margin-bottom: 15px;
}

.t-paragraph_1 {
  color: #000;
  font: 500 18px/26px Montserrat, sans-serif;
  letter-spacing: .2px;
  margin-bottom: 20px;
}

.b-leaderboard-message {
  margin: 0;
  padding: 0;
}

.b-leaderboard {
  display: grid;
  gap: 15px;
  width: 100%;
  max-width: 735px !important;
  margin: 10px auto 0;
  padding: 0;
}

.b-leaderboard-item {
  display: grid;
  grid-template-columns: 65px 1fr 65px;
  gap: 0;
  align-items: center;
  background: rgba(240, 240, 240, 0.9);
}

.b-leaderboard-item_image {
  width: 65px;
  height: 65px;
  object-fit: cover;
  background: transparent;
}

.b-leaderboard-item_name {
  display: flex;
  align-items: center;
  justify-content: left;
  font-weight: 600;
  font-size: .85rem;
  padding: 0 20px;
}

.b-leaderboard-item_position {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 65px;
  width: 65px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  background: black;
  position: relative;
}

.b-leaderboard-rank {
  order: 1;
  font-size: 1.3rem;
  font-weight: bold;
}

.b-leaderboard-tied {
  order: 2;
  font-size: 0.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1px;
}

.b-leaderboard-expand {
  display: block;
  order: 3;
  margin-inline: auto;
  font-size: 0.5rem;
}

.b-leaderboard-main[onclick] {
  cursor: pointer;
  transition: background 0.2s ease;
}

.b-leaderboard-main[onclick]:hover {
  background: rgba(220, 220, 220, 0.9);
}

.b-leaderboard-hidden {
  display: none !important;
}

.b-vote-form {
  padding: 0 40px 0 20px;
}

.b-vote-form button {
  margin-top: 30px !important;
}

/* Team Showcase Section */
.b-team_showcase {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 15px;
  position: relative;
  overflow-x: auto;
  width: 100%;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent !important;
  background: #000;
  border-radius: 12px;
  padding: 0 0 30px;
  text-align: center;
}

.b-team_showcase::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, calc(0.8 * var(--show-gradient))));
  pointer-events: none;
  z-index: 1;
}

.b-team_showcase-image {
  order: 1;
  height: 150px;
  min-width: 150px;
  border-radius: 50%;
  margin-bottom: 0;
  /*background: #ddd;*/
  transition: opacity 0.3s ease;
}

.b-team_showcase-recipe {
  order: 3;
  display: block;
  height: 150px;
  min-width: 150px;
  /*background: #ddd;*/
  border-radius: 50%;
}

.b-team_showcase-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  order: 2;
  gap: 6px;
  width: 120px;
}

.b-team_showcase-button {
  width: 120px;
  padding: 6px 10px;
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
  background: black;
  border: 2px solid white;
  border-radius: 30px;
}

.b-team_info {
  max-width: 100%;
  background: transparent;
  text-align: center;
}

.b-team_info-header.mobile-content {
  display: block;
  width: 100%;
  max-width: 735px !important;
  margin: 0 auto 20px;
  text-align: center;
}

.b-team_info-header .b-team_info-title {
  margin: 0 0 15px;
  padding-right: 20px;
  color: white;
  font: 500 36px/48px GothamCondesnsedBold, sans-serif !important;
  letter-spacing: .5px;
  text-align: left;
  text-transform: uppercase
}

.b-team_info-header .b-team_info-position {
  margin: 0 0 20px;
  padding-right: 20px;
  color: white;
  font: 18px/26px Montserrat, sans-serif;
  letter-spacing: .2px;
  text-align: left;
}

.b-team_info .b-team_info-position {
  margin-bottom: 30px;
}

.b-team_info-gallery {
  overflow-x: auto;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent !important;
}

.b-conference-header {
  display: flex;
  margin-bottom: 10px;
}

.b-conference-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.b-conference-label {
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.b-mobile-row.b-conference-header {
  min-width: fit-content;
}

.b-mobile-row.b-conference-header .b-conference-side {
  width: 280px;
  flex: none;
}

.b-team_info-gallery_row {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.b-division-label {
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 50px;
  flex-shrink: 0;
  text-align: center;
}

.b-division-left {
  order: -1;
}

.b-division-right {
  order: 999;
}

.b-team_info-gallery_row img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.b-team_info-gallery_row img:hover {
  transform: scale(1.15);
  border-color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 10;
}

.b-team_info-gallery_row img:nth-child(6) {
  margin-left: 15px;
}

.b-team_info-vote_button {
  border: 2px solid transparent;
  padding: 15px 30px;
  cursor: pointer;
  color: black;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: white;
  transition: all 0.3s ease;
}

.b-team_info-vote_button:hover {
  background: black !important;
  color: white !important;
  border-color: white !important;
}

#select-team-text {
  display: block;
  max-width: 735px !important;
  margin: 0 0 15px;
  color: white;
  font: 500 36px/48px GothamCondesnsedBold, sans-serif !important;
  letter-spacing: .5px;
  text-align: left;
}

.b-team_info-header .b-team_info-title,
.b-team_info-header .b-team_info-position {
  text-align: left;
}

.b-team_info .b-team_info-title,
.b-team_info .b-team_info-position {
  display: none;
}

.b-desktop-row {
  display: none;
}

.b-mobile-row {
  display: flex;
}

.b-team_info-gallery_row {
  gap: 2px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent !important;
}

.b-team_info-gallery_row img {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
}

.b-team_showcase::-webkit-scrollbar {
  height: 8px !important;
}

.b-team_showcase::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
}

.b-team_showcase::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 4px !important;
}

.b-team_showcase::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6) !important;
}

.b-team_info-gallery_row::-webkit-scrollbar {
  height: 8px !important;
}

.b-team_info-gallery_row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
}

.b-team_info-gallery_row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 4px !important;
}

.b-team_info-gallery_row::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6) !important;
}

.b-team_info-gallery_row::-webkit-scrollbar {
  height: 8px !important;
}

.b-team_info-gallery_row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
}

.b-team_info-gallery_row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 4px !important;
}

.b-team_info-gallery_row::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6) !important;
}

.b-team_showcase::-webkit-scrollbar {
  height: 6px !important;
}

.b-team_showcase::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1) !important;
  border-radius: 3px !important;
}

.b-team_showcase::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 3px !important;
}

.b-team_showcase::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}

/* In between mobile and desktop */
@media (min-width: 768px) {
  .b-team_info-gallery {
    display: inline-block;
  }

  .b-team_showcase {
    justify-content: center;
  }

  .b-team_showcase-image {
    height: 200px;
    min-width: 200px;
  }

  .b-team_showcase-recipe {
    height: 200px;
    min-width: 200px;
  }

  #select-team-text {
    margin-inline: auto;
  }
}

/* Desktop and larger screens only */
@media (min-width: 1380px) {
  .desktop-content {
    display: block;
  }

  .mobile-content {
    display: none;
  }

  .l-page-content {
    max-width: 1380px;
    width: 1380px;
    margin: 0 auto;
  }

  .b-2_up {
    flex-direction: row;
    gap: 34px;
    align-items: center;
  }

  .b-2_up[data-selector-id="team-mosa-voting"] {
    padding: 20px;
  }

  .b-2_up[data-selector-id="team-details"] {
    padding: 0 40px;
  }

  .b-2_up-cell:first-child {
    max-width: 500px !important;
  }

  .b-leaderboard {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 100% !important;
  }

  .b-leaderboard-item {
    grid-template-columns: 90px 1fr 90px;
    background-color: transparent;
  }

  .b-leaderboard-item_image {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }

  .b-leaderboard-item_name {
    flex: 1;
    font-size: 1.8rem;
  }

  .b-leaderboard-item_position {
    width: 90px;
    height: 90px;
    padding: 5px;
  }

  .b-leaderboard-item_position:has(.b-leaderboard-tied) .b-leaderboard-rank {
    margin-top: 16px;
  }

  .b-leaderboard-tied {
    font-size: 0.6rem;
  }

  .b-leaderboard-visible {
    display: grid;
  }

  .t-heading_1,
  .t-paragraph_1 {
    margin-inline: 40px;
    text-align: left;
  }

  .t-heading_1 {
    font-size: 4rem;
    font-weight: 800;
  }

  .b-leaderboard-message .t-paragraph_1 {
    font-size: 1.4rem;
  }

  /* Team Showcase Section */
  .b-team_showcase {
    display: block;
    padding: 30px;
    text-align: center;
  }

  .b-team_showcase-image {
    object-fit: cover;
    height: 400px;
    width: 400px;
    border-radius: 50%;
    margin-bottom: 20px;
    /*background: #ddd;*/
  }

  .b-team_showcase-recipe {
    display: none;
    object-fit: cover;
    height: 400px;
    width: 400px;
    border-radius: 50%;
    background: #ddd;
  }

  .b-team_showcase-buttons {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    font-size: 1rem;
  }

  .b-team_showcase-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1rem;
    white-space: nowrap;
  }

  .b-team_info .b-team_info-title,
  .b-team_info .b-team_info-position {
    display: block;
  }

  .b-team_info {
    overflow: visible;
    background: #333;
    border-radius: 14px;
    padding: 30px 40px 40px;
  }

  .b-team_info-header {
    margin-bottom: 20px;
    padding: 0;
    text-align: center;
  }

  .b-team_info-header .b-team_info-title {
    font-size: 50px;
    line-height: 54px;
    margin: 0 0 15px;
  }

  .b-team_info-header .b-team_info-position {
    margin: 0 0 20px;
  }

  #select-team-text {
    display: none;
  }

  .b-team_info-header.mobile-content {
    display: none;
  }

  .b-team_info-gallery {
    display: block;
    max-width: 100%;
    padding: 0;
  }

  .b-team_info-gallery_row img {
    width: 70px;
    height: 70px;
  }

  .b-desktop-row {
    display: flex;
    justify-content: space-between;
  }

  .b-mobile-row {
    display: none;
  }

  .b-vote-form {
    padding: 0;
  }
}

/* Universal Modal Override for all non-desktop devices */
@media not (min-width: 1400px) {
  .b-modal .b-2_up {
    flex-direction: column !important;
    height: auto !important;
  }

  .b-modal-left {
    text-align: center !important;
  }
}

/* Modal Styles */
.b-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.b-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.b-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 85vh;
  margin: 5vh auto;
  background: #333;
  border-radius: 12px;
  padding: 20px;
  z-index: 1001;
  overflow-y: auto;
}

.b-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1002;
}

.b-modal-left {
  background: transparent;
  padding: 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Force modal responsive layout for all tablet devices */
@media (max-width: 1366px) {
  .b-modal .b-2_up {
    flex-direction: column !important;
    height: auto !important;
  }

  .b-modal-left {
    text-align: center !important;
    padding: 20px 10px !important;
  }

  .b-modal-content {
    width: 90% !important;
    max-height: 85vh !important;
  }

  .b-modal-bottle {
    width: 200px !important;
    height: 200px !important;
  }

  .b-modal-title {
    font-size: 28px !important;
    margin-bottom: 15px !important;
  }

  .b-form-row {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .b-form-field {
    width: 100% !important;
  }

  .b-form-field input,
  .b-form-field select {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Preserve desktop modal layout */
@media (min-width: 1367px) {
  .b-modal .b-2_up {
    flex-direction: row !important;
    height: 100% !important;
  }

  .b-modal-left {
    text-align: left !important;
    padding: 40px !important;
  }
}

.b-modal-title {
  font: 700 28px/36px Montserrat, sans-serif;
  color: white;
  margin-bottom: 15px;
}

.b-modal-title a {
  color: white !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.b-modal-title a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration-color: rgba(255, 255, 255, 0.7) !important;
}

.b-modal-bottle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.b-modal-right {
  background: black;
  padding: 30px;
  text-align: left;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.b-modal-success {
  font: 500 48px/56px GothamCondesnsedBold, sans-serif !important;
  color: white;
  margin-bottom: 15px;
  white-space: normal;
  overflow: visible;
}

.b-modal-text {
  font: 24px/32px Montserrat, sans-serif;
  color: white;
  margin: 0 0 40px 0;
  text-align: left;
}

.b-modal-logo {
  width: 400px;
  height: auto;
  margin: 50px auto 20px auto;
  display: block;
  padding: 25px;
  border-radius: 8px;
}

.b-modal-enter {
  background: white;
  color: black;
  border: 2px solid transparent;
  padding: 12px 24px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.b-modal-enter:hover {
  background: black !important;
  color: white !important;
  border-color: white !important;
}

.b-modal-decline {
  background: black;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  display: block;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.b-modal-decline:hover {
  background: white !important;
  color: black !important;
  border-color: black !important;
}

.b-modal-back {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 8px 16px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  display: block;
  width: 100%;
  cursor: pointer;
  margin-top: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.b-modal-back:hover {
  background: white !important;
  color: black !important;
  border-color: white !important;
}

.b-modal-form .b-modal-back {
  color: black;
  border: 2px solid black;
  margin-top: 15px;
}

.b-recipe-modal-form .b-modal-back {
  color: black;
  border: 1px solid black;
}

.b-modal-social-links {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}

/* Tablet - all social buttons in one line */
@media (min-width: 768px) and (max-width: 1399px) {
  .b-modal-social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .b-modal-social-link {
    width: 80px;
    height: 80px;
  }

  .b-modal-social-link img {
    width: 50px;
    height: 50px;
  }
}

/* Mobile - 2x2 grid with centered email */
@media (max-width: 767px) {
  .b-modal-social-links {
    gap: 10px;
    justify-items: center;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
  }

  .b-modal-social-link {
    width: 100%;
    max-width: 60px !important;
    height: auto;
  }

  .b-modal-social-link img {
    width: 70px;
    height: 70px;
  }

  .b-modal-social-link:nth-child(5) {
    grid-column: 1 / -1;
  }
}

.b-modal-social-link {
  background: black;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 100%;
  max-width: 60px !important;
  height: auto;
}

.b-modal-social-link img {
  width: 100%;
  max-width: 60px !important;
  height: auto;
}

.b-modal-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.b-sweeps-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.b-form-field label {
  color: black;
  font-weight: 600;
  margin-bottom: 3px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
}

.b-form-field input,
.b-form-field select {
  padding: 8px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
}

.b-form-submit {
  background: black;
  color: white;
  border: 2px solid transparent;
  padding: 12px 24px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.b-form-submit:hover {
  background: white !important;
  color: black !important;
  border-color: black !important;
}

.b-age-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: 90%;
  max-width: 400px;
}

.b-age-alert-content {
  background: #f44336;
  color: white;
  padding: 15px 40px 15px 15px;
  border-radius: 8px;
  position: relative;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
}

.b-age-alert-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
}

.sf-explicit-rules-acknowledgement-checkbox-container,
.sf-explicit-optin-checkbox-container {
  margin: 5px 0;
}

.sf-form-label-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  color: black;
}

.checkbox-label-text {
  margin-left: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.sf-form-checkbox {
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-label-text a {
  color: black;
  text-decoration: underline;
}

/* FINAL OVERRIDE - Modal responsive styles using body class targeting */
body .b-modal .b-2_up.m-full_width {
  flex-direction: column !important;
  height: auto !important;
}

body .b-modal .b-modal-left {
  text-align: center !important;
  padding: 20px 10px !important;
}

body .b-modal .b-modal-content {
  width: 90% !important;
  max-height: 85vh !important;
}

body .b-modal .b-modal-bottle {
  width: 200px !important;
  height: 200px !important;
}

body .b-modal .b-modal-title {
  font-size: 28px !important;
  margin-bottom: 15px !important;
}

body .b-modal .b-form-row {
  flex-direction: column !important;
  gap: 10px !important;
}

body .b-modal .b-form-field {
  width: 100% !important;
}

body .b-modal .b-form-field input,
body .b-modal .b-form-field select {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Desktop override with maximum specificity */
@media (min-width: 1400px) {
  body .b-modal .b-2_up.m-full_width {
    flex-direction: row !important;
    height: 100% !important;
  }

  body .b-modal .b-modal-left {
    text-align: left !important;
    padding: 40px !important;
  }

  body .b-modal .b-modal-content {
    width: 90% !important;
    max-width: 1200px !important;
    max-height: 90vh !important;
  }

  body .b-modal .b-modal-bottle {
    width: 420px !important;
    height: 420px !important;
  }

  body .b-modal .b-modal-title {
    font: 500 64px/68px GothamCondesnsedBold, sans-serif !important;
    margin-bottom: 30px !important;
  }

  body .b-modal .b-form-row {
    flex-direction: row !important;
    gap: 15px !important;
  }

  body .b-modal .b-form-field {
    flex: 1 !important;
    width: auto !important;
  }

  body .b-modal .b-form-field input,
  body .b-modal .b-form-field select {
    width: auto !important;
  }
}

/* Desktop modal layout restoration */
@media (min-width: 1400px) {
  .b-modal .b-2_up {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    height: 100%;
  }

  .b-modal-left {
    padding: 40px;
    text-align: left;
  }

  .b-modal-content {
    padding: 40px;
    max-height: 90vh;
  }

  .b-modal-bottle {
    width: 420px;
    height: 420px;
  }

  .b-modal-title {
    font: 700 52px/60px Montserrat, sans-serif;
    margin-bottom: 30px;
  }

  .b-form-row {
    flex-direction: row;
    gap: 15px;
  }
}

/* Modal Tablet and Mobile Styles */
@media (max-width: 1023px) {
  .b-modal .b-2_up {
    flex-direction: column !important;
    height: auto !important;
  }

  .b-modal-left {
    text-align: center !important;
  }
}

/* Modal Mobile Styles */
@media (max-width: 767px) {
  .b-modal-content {
    width: 95%;
    height: 90vh;
    margin: 5vh auto;
    padding: 20px 0;
  }

  .b-modal .b-2_up {
    flex-direction: column !important;
    height: auto !important;
  }

  .b-modal-left {
    padding: 20px 10px;
    text-align: center !important;
  }

  .b-modal-title {
    font: 700 32px/40px Montserrat, sans-serif;
    margin-bottom: 20px;
  }

  .b-modal-bottle {
    width: 250px;
    height: 250px;
  }

  .b-modal-right {
    padding: 20px;
  }

  .b-modal-success {
    font: 700 36px/44px Montserrat, sans-serif;
    margin-bottom: 15px;
  }

  .b-modal-text {
    font: 18px/24px Montserrat, sans-serif;
    margin-bottom: 20px;
  }

  .b-modal-logo {
    width: 100%;
    margin: 20px auto 0;
    padding: 0;
  }

  .b-form-row {
    flex-direction: column;
    gap: 10px;
  }

  .b-form-field {
    width: 100%;
  }

  .b-form-field input,
  .b-form-field select {
    width: 100%;
    box-sizing: border-box;
  }
}

/* New Section Styles */
.b-new-section {
  background: #333;
  padding: 40px;
  margin-top: 40px;
}

.b-new-section-content {
  display: block;
  max-width: 1240px !important;
  margin: 0 auto;
  text-align: center;
}

.b-new-section h2 {
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.b-new-section p {
  max-width: 735px !important;
  margin-inline: auto;
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

.b-vote-cta-button {
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid black;
  cursor: pointer;
  color: black;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  background: white;
  transition: all 0.3s ease;
}

.b-vote-cta-button:hover {
  background: black !important;
  color: white !important;
  border-color: black !important;
}

.b-sweeps-only-button {
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid white;
  cursor: pointer;
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #333;
  transition: all 0.3s ease;
}

.b-sweeps-only-button:hover {
  background: white !important;
  color: black !important;
  border-color: white !important;
}

@media (min-width: 1380px) {
  .b-new-section-content {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 500px;
    justify-content: left;
    text-align: left;
  }

  .b-sweeps-only-button {
    margin-top: 0;
  }
}

/* White Section Styles */
.b-white-section {
  background: rgba(255, 255, 255, 1);
  padding: 30px;
}

.b-white-section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.b-white-section-left {
  text-align: center;
}

.b-white-section-bottle {
  width: 300px;
  height: 400px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .b-white-section-bottle {
    width: 150px;
    height: 200px;
  }
  
  .b-white-section-content {
    flex-direction: column;
    gap: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .b-white-section-bottle {
    width: 200px;
    height: 280px;
  }
}

.b-white-section p {
  color: black;
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

.b-white-section-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.b-share-button {
  width: 200px;
  padding: 12px 24px;
  color: white;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: black;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.b-share-button:hover {
  background: white !important;
  color: black !important;
  border-color: black !important;
}

#recipeModal .b-recipe-modal-content {
  position: relative !important;
  width: 90% !important;
  max-width: 600px !important;
  max-height: 85vh !important;
  margin: 5vh auto !important;
  background: #333 !important;
  border-radius: 12px !important;
  padding: 40px !important;
  z-index: 1001 !important;
  overflow-y: auto !important;
}

.b-recipe-modal-content::-webkit-scrollbar {
  width: 10px;
}

.b-recipe-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.b-recipe-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 5px;
}

.b-recipe-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

.b-recipe-modal-header {
  font: 700 32px/40px Montserrat, sans-serif;
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.b-recipe-modal-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.b-recipe-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.b-recipe-form .b-form-field label {
  color: black;
}

.sf-form-textarea {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}

.b-recipe-modal-success {
  background: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.b-recipe-success-text {
  font: 24px/32px Montserrat, sans-serif;
  color: black;
  margin: 0;
}

.b-copy-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.b-copy-textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  resize: none;
  box-sizing: border-box;
  margin-bottom: 10px;
  min-height: 150px;
}

.b-copy-button {
  background: black;
  color: white;
  border: 2px solid transparent;
  padding: 10px 20px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  width: 100%;
  transition: all 0.3s ease;
}

.b-copy-button:hover {
  background: white !important;
  color: black !important;
  border-color: black !important;
}


/* Countdown Overlay */
.countdown-overlay {
  position: relative;
  width: 100%;
  background: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  max-height: 80vh;
  z-index: 6;
}

.countdown-container {
  text-align: center;
  padding: 40px;
}

.countdown-container>h1:first-child {
  font-family: Montserrat, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.countdown-container>h2:nth-child(2) {
  font-family: Montserrat, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.countdown-title {
  font-family: Montserrat, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.countdown-subtitle {
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.countdown-timer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: Montserrat, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  background: rgba(240, 240, 240, 0.1);
  padding: 20px 30px;
  border-radius: 8px;
  min-width: 120px;
}

.countdown-label {
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  letter-spacing: 1px;
  margin-top: 10px;
}

.countdown-separator {
  font-family: Montserrat, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin: 0 10px;
}

@media (max-width: 767px) {
  .countdown-title {
    font-size: 2rem;
  }

  .countdown-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .countdown-timer {
    gap: 10px;
  }

  .countdown-value {
    font-size: 2.5rem;
    padding: 15px 20px;
    min-width: 70px;
  }

  .countdown-label {
    font-size: 0.7rem;
    margin-top: 5px;
  }

  .countdown-separator {
    font-size: 2.5rem;
    margin: 0 5px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .countdown-title {
    font-size: 2.5rem;
  }

  .countdown-subtitle {
    font-size: 1.3rem;
  }

  .countdown-value {
    font-size: 3rem;
    padding: 18px 25px;
    min-width: 90px;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .countdown-separator {
    font-size: 3rem;
  }
}

/* Radio Select Styles */
.sf-radio-select-container {
  margin: 5px 0;
}

.sf-radio-select-container label[id$="-label"] {
  display: block;
  color: black;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
}

.sf-radio-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-radio-select label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  color: black;
  font-size: 14px;
}

.sf-radio-select input[type="radio"] {
  margin-right: 10px;
  flex-shrink: 0;
}