/* Age verify popup - Le Vapoteur Breton look (compiled by hand; ageverify.scss is no longer the source) */
html:has(#ageverify-popup-wrapper) { overflow: hidden; }
/* Cookie banner only after the age check (the :has rule paints first, the class is the fallback) */
html:has(#ageverify-popup-wrapper) #acb-banner { display: none !important; }
html.av-open #acb-banner { display: none !important; }

#ageverify-overlay {
  background-color: #0e1f33;
  opacity: 0.82;
  position: fixed;
  inset: 0;
  z-index: 99998; }

#ageverify-popup-wrapper {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  overflow-y: auto;
  padding: 80px 12px 16px;
  font-family: var(--lvb-font, "Poppins", sans-serif); }

#ageverify-popup {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 620px;
  border-radius: 12px;
  background-color: #fff;
  color: #26384c;
  text-align: center; }
  #ageverify-popup .av-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -44%);
    width: auto;
    line-height: 0;
    border: 6px solid #fff;
    border-radius: 12px;
    background: #fff; }
    #ageverify-popup .av-logo img {
      width: auto;
      height: 140px;
      max-width: none;
      border-radius: 6px; }
  #ageverify-popup .av-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 100px 24px 0; }
  #ageverify-popup .av-ban {
    flex: 0 0 44px; }
  #ageverify-popup .av-title-1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left; }
  #ageverify-popup .av-title-2 {
    padding: 12px 28px 0;
    font-size: 14px;
    line-height: 1.5; }
  #ageverify-popup .av-title-3 {
    padding: 22px 24px 0;
    font-size: 20px;
    font-weight: 700; }
  #ageverify-popup .av-buttons {
    display: flex;
    gap: 10px;
    padding: 20px 28px 0; }
    #ageverify-popup .av-buttons span {
      flex: 1;
      height: 44px;
      line-height: 44px;
      border-radius: 8px;
      font-weight: 700;
      cursor: pointer; }
  #ageverify-popup .av-date-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 28px 0; }
    #ageverify-popup .av-date-entry .av-field-dd,
    #ageverify-popup .av-date-entry .av-field-mm {
      flex: 1 1 60px; }
    #ageverify-popup .av-date-entry .av-field-yyyy {
      flex: 1.4 1 80px; }
    #ageverify-popup .av-date-entry input {
      width: 100%;
      height: 48px;
      border: 2px solid #193d63;
      border-radius: 8px;
      text-align: center;
      font: 600 16px/1 var(--lvb-font, "Poppins", sans-serif); }
    #ageverify-popup .av-date-entry input:focus-visible,
    #ageverify-popup .av-login input:focus-visible {
      outline: 3px solid #FFD300;
      outline-offset: 1px; }
  #ageverify-popup .button-av-confirm-age {
    flex: 1.4 1 110px;
    height: 48px;
    border: 0;
    border-radius: 8px;
    font: 700 16px/1 var(--lvb-font, "Poppins", sans-serif);
    text-transform: uppercase;
    cursor: pointer; }
  #ageverify-popup .button-av-confirm-age:hover {
    filter: brightness(.95); }
  #ageverify-popup .av-error {
    margin: 10px 28px 0;
    color: #b3261e;
    font-size: 14px;
    font-weight: 600; }
  #ageverify-popup .av-login {
    margin-top: 18px;
    padding: 6px 28px 22px;
    border-radius: 0 0 12px 12px;
    background: #eef3f8; }
    #ageverify-popup .av-login .av-login-title {
      padding-top: 16px;
      font-size: 20px;
      font-weight: 700;
      color: #193d63; }
    #ageverify-popup .av-login .av-login-sub {
      padding: 2px 0 12px;
      font-size: 14px;
      color: #26384c; }
    #ageverify-popup .av-login form {
      max-width: 440px;
      margin: 0 auto; }
    #ageverify-popup .av-login input[type=email],
    #ageverify-popup .av-login input[type=password] {
      display: block;
      width: 100%;
      height: 46px;
      margin-bottom: 10px;
      padding: 0 14px;
      border: 1px solid #c5d2e0;
      border-radius: 8px;
      background: #fff;
      color: #26384c;
      font: 400 15px/1 var(--lvb-font, "Poppins", sans-serif); }
    #ageverify-popup .av-login .av-login-btn {
      height: 46px;
      padding: 0 28px;
      border: 0;
      border-radius: 8px;
      background: #282b95;
      color: #fff;
      font: 700 15px/1 var(--lvb-font, "Poppins", sans-serif);
      text-transform: uppercase;
      cursor: pointer; }
    #ageverify-popup .av-login .av-login-btn:hover {
      background: #1e1b58; }
    #ageverify-popup .av-login .av-legal {
      margin: 16px 0 0;
      font-size: 13px;
      line-height: 1.6; }
    #ageverify-popup .av-login .av-legal a {
      color: #225a91;
      text-decoration: underline; }

@media (max-width: 480px) {
  #ageverify-popup-wrapper { padding-top: 64px; }
  #ageverify-popup .av-logo img { height: 104px; }
  #ageverify-popup .av-head { padding-top: 66px; }
  #ageverify-popup .av-title-1 { font-size: 18px; }
  #ageverify-popup .av-title-3 { font-size: 17px; }
  #ageverify-popup .av-date-entry,
  #ageverify-popup .av-title-2,
  #ageverify-popup .av-login { padding-left: 16px; padding-right: 16px; }
  #ageverify-popup .button-av-confirm-age { flex-basis: 100%; }
}

/* Phones: simple Yes / No check, small card, the site stays visible behind */
.av-yesno { display: none; }
@media (max-width: 767px) {
  #ageverify-overlay { opacity: 0.45; }
  #ageverify-popup-wrapper { align-items: center; padding: 64px 14px 14px; }
  #ageverify-popup { max-width: 340px; }
  #ageverify-popup .av-logo { border-width: 4px; }
  #ageverify-popup .av-logo img { height: 80px; }
  #ageverify-popup .av-head { padding: 56px 10px 0; gap: 6px; }
  #ageverify-popup .av-ban { flex-basis: 28px; width: 28px; height: 28px; }
  #ageverify-popup .av-title-1 { font-size: clamp(10.5px, 3.4vw, 13px); white-space: nowrap; }
  #ageverify-popup .av-title-2,
  #ageverify-popup .av-title-3,
  #ageverify-popup .av-date-entry,
  #ageverify-popup .av-login .av-login-title,
  #ageverify-popup .av-login .av-login-sub,
  #ageverify-popup .av-login form { display: none; }
  #ageverify-popup .av-yesno { display: block; padding: 14px 16px 0; }
  #ageverify-popup .av-question { font-size: 16px; font-weight: 700; }
  #ageverify-popup .av-yn-buttons { display: flex; gap: 10px; margin-top: 10px; }
  #ageverify-popup .av-yn-buttons button {
    flex: 1;
    height: 46px;
    border: 0;
    border-radius: 8px;
    font: 700 16px/1 var(--lvb-font, "Poppins", sans-serif);
    text-transform: uppercase;
    cursor: pointer; }
  #ageverify-popup .av-error { margin: 10px 16px 0; font-size: 13px; }
  #ageverify-popup .av-login { margin-top: 14px; padding: 12px 16px 14px; }
  #ageverify-popup .av-login .av-legal { margin: 0; font-size: 12px; }
}
