/**
Theme Name: Chez les garçons
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chez-les-garcons
Template: astra
*/

.ast-scroll-to-top-right {
    border: 1px solid #fff;
    bottom: 15px !important;
    right: 15px !important;
}

.ast-above-header-wrap {
    background: #000;
}

ul#astra-footer-menu {
    padding: 0;
    margin: 0;
    text-align: center;
}

* {
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    -webkit-hyphens: none !important;
       -moz-hyphens: none !important;
        -ms-hyphens: none !important;
            hyphens: none !important;
    word-break: normal !important;
}




.uagb-rm__price {
    line-height: 1 !important;
}

.uagb-rm__content {
    padding: 0 !important;
    gap: 10px;
}

@media (min-width: 977px) {
    .gallery_trois .spectra-image-gallery__media-wrapper:nth-of-type(3) {
        -webkit-transform: translateX(50%);
           -moz-transform: translateX(50%);
            -ms-transform: translateX(50%);
                transform: translateX(50%);
    }
}

/* ===========================
   IMAGE HEIGHT MAX
   =========================== */

.img_height_max img {
    min-height: 250px !important;
    min-width: 100% !important;
    -o-object-fit: cover;
       object-fit: cover;
}

@media (min-width: 1200px) {
    .img_height_max img {
        width: 100% !important;
    }
}


/* ==========================================================================
 * MATRYS : recette du 01/12/2026 (board de recette Intra n° 48)
 * ========================================================================== */

/* Ticket 639 : pas de mot isolé en fin de titre */
h1, h2, h3,
.uagb-heading-text,
.uagb-ifb-title,
.uagb-rm__title {
    text-wrap: balance;
}

/* Ticket 639 : marges latérales de 20 px en mobile (en-tête et sections pleine largeur) */
@media (max-width: 544px) {
    /* Astra force 0 px en mobile (réglage du Header Builder) : on reprend la main */
    .ast-header-break-point #masthead #ast-mobile-header .ast-primary-header-bar.main-header-bar {
        padding-left: 20px;
        padding-right: 20px;
    }
    /* Boutons côte à côte trop étroits : libellé sur une ligne, passage à la ligne du bouton si besoin */
    .entry-content .uagb-buttons__wrap {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px;
    }
    .entry-content .uagb-buttons-repeater {
        white-space: nowrap;
    }
    .entry-content > .wp-block-uagb-container.alignfull {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Ticket 641 : prix de la carte alignés sur la première ligne du nom du plat */
.uagb-rm__content {
    align-items: baseline;
}

/* Ticket 642 : espacement du titre Contact dans le pied de page */
.site-footer .uagb-block-2b5c06fb {
    margin-top: 24px;
}
.site-footer .uagb-block-2b5c06fb .uagb-ifb-title {
    margin-bottom: 10px;
}


/* ==========================================================================
 * MATRYS : menu mobile (01/12/2026, ticket 639)
 * Panneau plein écran bleu nuit, ouverture en cercle depuis le bouton menu,
 * apparition des éléments en cascade, cadre fin doré.
 * Contenu géré dans Apparence > Personnaliser > En-tête, version mobile,
 * zone Off-Canvas : HTML 1 (logo), menu mobile, Bouton 1 (Réserver), Social 1.
 * L'ouverture, la fermeture, le focus et la touche Échap restent gérés par Astra.
 * ========================================================================== */
#ast-mobile-popup {
    --mm-navy: var(--ast-global-color-6, #002337);
    --mm-gold: var(--ast-global-color-1, #b7a464);
    --mm-cream: var(--ast-global-color-4, #fffae6);
    --mm-ease: cubic-bezier(.76, 0, .24, 1);
    --mm-ease-out: cubic-bezier(.2, .8, .2, 1);
    --mm-origin: calc(100% - 44px) 44px;
}
#ast-mobile-popup.ast-mobile-popup-drawer {
    inset: 0;
    opacity: 1;
    visibility: hidden;
    clip-path: circle(0 at var(--mm-origin));
    transition: clip-path .55s var(--mm-ease), visibility 0s linear .55s;
}
#ast-mobile-popup.ast-mobile-popup-drawer.active {
    visibility: visible;
    clip-path: circle(150vmax at var(--mm-origin));
    transition: clip-path .75s var(--mm-ease), visibility 0s;
}
#ast-mobile-popup .ast-mobile-popup-overlay {
    display: none;
}
#ast-mobile-popup .ast-mobile-popup-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 1;
    box-shadow: none;
    color: #fff;
    background: radial-gradient(120% 60% at 50% 0%, rgba(183, 164, 100, .18), transparent 65%), var(--mm-navy);
    overflow-y: auto;
    overscroll-behavior: contain;
}
#ast-mobile-popup .ast-mobile-popup-inner::before {
    content: "";
    position: fixed;
    inset: 12px;
    border: 1px solid rgba(183, 164, 100, .5);
    box-shadow: inset 0 0 0 5px var(--mm-navy), inset 0 0 0 6px rgba(183, 164, 100, .22);
    pointer-events: none;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .2s ease, transform .2s ease;
}
#ast-mobile-popup.active .ast-mobile-popup-inner::before {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease .35s, transform .9s var(--mm-ease-out) .35s;
}
#ast-mobile-popup .ast-mobile-popup-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 0;
}
#ast-mobile-popup .menu-toggle-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(183, 164, 100, .7);
    border-radius: 50%;
    background: var(--mm-navy);
    color: #fff;
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
    transition: opacity .2s ease, transform .2s ease, background-color .25s ease, color .25s ease;
}
#ast-mobile-popup.active .menu-toggle-close {
    opacity: 1;
    transform: none;
    transition: opacity .4s ease .3s, transform .6s var(--mm-ease-out) .3s, background-color .25s ease, color .25s ease;
}
#ast-mobile-popup .menu-toggle-close:hover,
#ast-mobile-popup .menu-toggle-close:focus-visible {
    background: var(--mm-gold);
    border-color: var(--mm-gold);
    color: var(--mm-navy);
    outline: none;
}
#ast-mobile-popup .menu-toggle-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
#ast-mobile-popup .ast-mobile-popup-content {
    flex: 0 0 auto;
    width: 100%;
    margin: auto 0;
    padding: 80px 32px calc(40px + env(safe-area-inset-bottom));
}
#ast-mobile-popup .ast-mobile-popup-content > * {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    justify-content: center;
}
#ast-mobile-popup .ast-header-html-1 .mm-logo {
    display: block;
    width: clamp(84px, 13vh, 120px);
    height: auto;
    margin: 0 auto min(22px, 2.6vh);
}
#ast-mobile-popup .ast-builder-menu-mobile .main-header-menu {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
}
#ast-mobile-popup .main-header-menu > .menu-item {
    display: flex;
    justify-content: center;
    border: 0;
}
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    padding: min(8px, 1vh) 6px min(12px, 1.5vh);
    border: 0;
    background: none;
    font-family: itc-benguiat, Georgia, serif;
    font-size: clamp(24px, min(7.6vw, 4.4vh), 38px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: .01em;
    text-transform: none;
    color: #fff;
    transition: color .25s ease;
}
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link::after {
    content: "";
    position: absolute;
    left: 50%;
    /* filet calé à environ 0,24 em sous la ligne de base du texte */
    bottom: calc(min(12px, 1.5vh) + .16em);
    width: 36px;
    height: 1px;
    background: var(--mm-gold);
    transform: translateX(-50%) scaleX(0);
    transition: transform .35s var(--mm-ease);
}
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link:hover,
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link:focus-visible,
#ast-mobile-popup .main-header-menu > .current-menu-item > .menu-link {
    color: var(--mm-gold);
    outline: none;
}
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link:hover::after,
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link:focus-visible::after,
#ast-mobile-popup .main-header-menu > .current-menu-item > .menu-link::after {
    transform: translateX(-50%) scaleX(1);
}
#ast-mobile-popup .ast-header-button-1 {
    flex-direction: column;
    align-items: center;
    margin-top: min(26px, 3vh);
}
#ast-mobile-popup .ast-header-button-1::before {
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    margin-bottom: min(26px, 3vh);
    background: linear-gradient(90deg, transparent, var(--mm-gold), transparent);
}
#ast-mobile-popup .ast-header-button-1 .ast-builder-button-wrap,
#ast-mobile-popup .ast-header-button-1 .ast-custom-button-link {
    display: block;
    width: 100%;
    max-width: 300px;
}
#ast-mobile-popup .ast-header-button-1 .ast-custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 24px;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
#ast-mobile-popup .ast-header-button-1 .ast-custom-button-link:focus-visible {
    outline: 2px solid var(--mm-gold);
    outline-offset: 4px;
}
#ast-mobile-popup .ast-header-social-1-wrap {
    margin-top: min(22px, 2.6vh);
}
#ast-mobile-popup .ast-header-social-1-wrap .header-social-inner-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
}
#ast-mobile-popup .ast-header-social-1-wrap .header-social-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px;
    color: var(--mm-cream);
    white-space: nowrap;
    transition: color .2s ease;
}
#ast-mobile-popup .ast-header-social-1-wrap .header-social-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
#ast-mobile-popup .ast-header-social-1-wrap .header-social-item .social-item-label {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    letter-spacing: .02em;
    color: inherit;
}
#ast-mobile-popup .ast-header-social-1-wrap .header-social-item:hover,
#ast-mobile-popup .ast-header-social-1-wrap .header-social-item:focus-visible {
    color: var(--mm-gold);
    outline: none;
}
#ast-mobile-popup .ast-header-html-1,
#ast-mobile-popup .main-header-menu > .menu-item,
#ast-mobile-popup .ast-header-button-1,
#ast-mobile-popup .ast-header-social-1-wrap {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .15s ease, transform .15s ease;
}
#ast-mobile-popup.active .ast-header-html-1,
#ast-mobile-popup.active .main-header-menu > .menu-item,
#ast-mobile-popup.active .ast-header-button-1,
#ast-mobile-popup.active .ast-header-social-1-wrap {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease var(--mm-delay, .3s), transform .7s var(--mm-ease-out) var(--mm-delay, .3s);
}
#ast-mobile-popup .ast-header-html-1 { --mm-delay: .25s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(1) { --mm-delay: .32s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(2) { --mm-delay: .38s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(3) { --mm-delay: .44s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(4) { --mm-delay: .5s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(5) { --mm-delay: .56s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(6) { --mm-delay: .62s; }
#ast-mobile-popup .main-header-menu > .menu-item:nth-child(n+7) { --mm-delay: .68s; }
#ast-mobile-popup .ast-header-button-1 { --mm-delay: .72s; }
#ast-mobile-popup .ast-header-social-1-wrap { --mm-delay: .8s; }
@media (prefers-reduced-motion: reduce) {
    #ast-mobile-popup.ast-mobile-popup-drawer,
    #ast-mobile-popup.ast-mobile-popup-drawer.active {
        clip-path: none;
        transition: none;
    }
    #ast-mobile-popup *,
    #ast-mobile-popup *::before,
    #ast-mobile-popup *::after {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}

/* MATRYS (02/12/2026) : menu desktop. Espacement des liens réglé dans Astra (13 px),
   ramené à 10 px entre 1201 et 1259 px de large (barre de défilement comprise), où le container est plus étroit
   et où le menu de droite ne tiendrait pas. */
@media (min-width: 1201px) and (max-width: 1259px) {
    #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ==========================================================================
   MATRYS : contrastes du doré (02/12/2026, ticket 638)
   Le doré de marque #B7A464 reste pour les fonds et sur le bleu nuit (6,6:1).
   Sur fond clair, le texte doré passe en doré foncé #806F3A (4,9:1).
   Réglé ailleurs : texte des boutons en bleu nuit (Astra > Boutons),
   menu du header collant (Astra), prix des cartes sur fond blanc (Spectra).
   ========================================================================== */

/* Contact : lien téléphone du bloc coordonnées et lien de la case RGPD ;
   mentions légales (page 3689), politique de confidentialité (page 3693) et lien
   de la page 404 (bloc Site Builder 4529), fond blanc */
.uagb-block-8bd7c16c .uagb-desc-text a,
.uagb-block-c577a7a7 .uagb-ifb-desc a,
.forminator-custom-form .forminator-field-consent a,
.page-id-3689 .entry-content a,
.page-id-3693 .entry-content a {
	color: #806f3a;
}

.uagb-block-8bd7c16c .uagb-desc-text a:hover,
.uagb-block-8bd7c16c .uagb-desc-text a:focus,
.forminator-custom-form .forminator-field-consent a:hover,
.forminator-custom-form .forminator-field-consent a:focus,
.page-id-3689 .entry-content a:hover,
.page-id-3689 .entry-content a:focus,
.page-id-3693 .entry-content a:hover,
.page-id-3693 .entry-content a:focus,
.uagb-block-c577a7a7 .uagb-ifb-desc a:hover,
.uagb-block-c577a7a7 .uagb-ifb-desc a:focus {
	color: var(--ast-global-color-6);
}

/* Accueil : bouton « Suivez-nous sur Instagram » (fond doré en style inline) */
#sb_instagram .sbi_follow_btn a[style] {
	color: var(--ast-global-color-6);
}

/* ==========================================================================
   MATRYS : accueil, section « L'esprit du restaurant » (02/12/2026, ticket 642)
   Photo portrait en 400 x 600 (format d'origine, sans recadrage) ; la colonne
   photo prend la largeur du visuel et le texte occupe le reste, centré.
   ========================================================================== */
@media (min-width: 1025px) {
	/* !important : la règle Spectra qui force width: 100% sur les enfants du conteneur
	   cumule six :not() et ne peut pas être battue proprement en spécificité */
	.wp-block-uagb-container.uagb-block-14bb3e86.wp-block-uagb-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-image.uagb-block-bedd97e6 {
		flex: 0 0 auto;
		width: auto !important;
	}

	.wp-block-uagb-container.uagb-block-14bb3e86.wp-block-uagb-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-info-box.uagb-block-bf072aa0 {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* ==========================================================================
   MATRYS : en-tête des pages sans hero (02/12/2026, ticket 638)
   Mentions légales, politique de confidentialité, fiche événement, 404 :
   fond bleu nuit (réglage Astra, barre principale). Le bandeau du haut et la
   barre principale forment un seul bloc bleu nuit : espace ajouté sous le logo
   pour qu'il ne paraisse pas collé en bas : même espace sous le logo qu'entre
   les icônes du bandeau et le logo (environ 30 px). L'en-tête collant
   (#ast-fixed-header, placé dans #masthead, d'où le sélecteur enfant >)
   et les pages à en-tête transparent ne changent pas.
   ========================================================================== */
body:not(.ast-theme-transparent-header) #masthead > #ast-desktop-header .ast-primary-header-bar.main-header-bar {
	padding-bottom: 16px;
}

body:not(.ast-theme-transparent-header) #masthead > #ast-mobile-header .ast-primary-header-bar.main-header-bar {
	padding-bottom: 12px;
}

/* ==========================================================================
   MATRYS : page Événements, fiche de la boucle Spectra (02/12/2026, demande de Romain)
   Affiche à gauche au format de l'image (sans bandes vides), texte centré
   verticalement à côté ; section calée sur le conteneur de 1 200 px du site
   (largeur réglée dans le bloc Spectra) ;
   marges mobiles ramenées à 20 px comme sur les autres pages.
   ========================================================================== */
.wp-block-uagb-container.uagb-block-8d233dc5 {
	padding-left: 0;
	padding-right: 0;
}

.wp-block-uagb-image.uagb-block-ac392db4 img {
	width: 100%;
	height: auto !important;
	object-fit: contain;
}

.wp-block-uagb-image.uagb-block-ac392db4 a {
	display: block;
	cursor: zoom-in;
}

@media (min-width: 768px) {
	.wp-block-uagb-container.uagb-block-6127b37b {
		flex-wrap: nowrap;
		align-items: center;
		column-gap: clamp(32px, 4vw, 56px);
	}

	/* !important : règle Spectra qui force width: 100% sur les enfants du conteneur */
	.wp-block-uagb-container.uagb-block-6127b37b > .wp-block-uagb-image.uagb-block-ac392db4 {
		flex: 0 0 clamp(300px, 36%, 420px);
		width: clamp(300px, 36%, 420px) !important;
	}

	.wp-block-uagb-container.uagb-block-6127b37b > .wp-block-uagb-info-box.uagb-block-c1966a97 {
		flex: 1 1 0;
		min-width: 0;
	}
}

@media (max-width: 767px) {
	.wp-block-uagb-container.uagb-block-6127b37b {
		row-gap: 24px;
	}
}

/* Agrandissement des images liées (affiches) sans quitter le site */
.mtx-lightbox {
	padding: 0;
	border: 0;
	background: transparent;
	max-width: 92vw;
	max-height: 92vh;
	overflow: visible;
}

.mtx-lightbox::backdrop {
	background: rgba(0, 35, 55, 0.92);
}

.mtx-lightbox__img {
	display: block;
	max-width: 92vw;
	max-height: 92vh;
	width: auto;
	height: auto;
}

.mtx-lightbox__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--ast-global-color-0);
	border-radius: 50%;
	background: var(--ast-global-color-6);
	color: #ffffff;
	font-size: 26px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
}

/* Menu desktop : filet sous le lien de la page en cours, pour le distinguer du survol (03/12/2026). Couleur du texte (doré sur fond sombre, doré foncé dans l'en-tête collant). */
@media (min-width: 922px) {
	#masthead .main-header-menu > .current-menu-item > .menu-link {
		position: relative;
	}
	#masthead .main-header-menu > .current-menu-item > .menu-link::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -6px;
		width: 36px;
		height: 1px;
		margin-left: -18px;
		background: currentColor;
	}
}

/* Menu mobile ouvert : tailles calculées sur la hauteur visible (svh) pour tenir sans défilement sur les petits téléphones, barres du navigateur affichées (03/12/2026). Sans svh, les réglages ci-dessus restent appliqués. */
#ast-mobile-popup .ast-mobile-popup-content {
	padding-top: clamp(64px, 11svh, 80px);
	padding-bottom: calc(clamp(16px, 4svh, 40px) + env(safe-area-inset-bottom));
}
#ast-mobile-popup .ast-header-html-1 .mm-logo {
	width: clamp(60px, 12svh, 120px);
	margin-bottom: min(22px, 2.4svh);
}
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link {
	font-size: clamp(20px, min(7.6vw, 4.2svh), 38px);
	padding-top: min(8px, .9svh);
	padding-bottom: min(12px, 1.3svh);
}
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link::after {
	bottom: calc(.16em + min(12px, 1.3svh));
}
#ast-mobile-popup .ast-header-button-1 {
	margin-top: min(26px, 2.6svh);
}
#ast-mobile-popup .ast-header-button-1::before {
	margin-bottom: min(26px, 2.6svh);
}
#ast-mobile-popup .ast-header-button-1 .ast-custom-button {
	padding-top: clamp(12px, 2.2svh, 17px);
	padding-bottom: clamp(12px, 2.2svh, 17px);
}
#ast-mobile-popup .ast-header-social-1-wrap {
	margin-top: min(22px, 2.2svh);
}


/* ==========================================================================
   MATRYS (04/12/2026) : menu mobile sur toutes les tailles de smartphone
   - bouton fermer posé exactement à la place du bouton menu de l'en-tête
     (--mm-cx et --mm-cy posées par le script matrys-mm-cale de functions.php) ;
   - bandeau de consentement et bouton retour en haut masqués menu ouvert ;
   - paysage : deux colonnes (logo, réservation et contacts à gauche, liens à droite).
   ========================================================================== */
body.ast-popup-nav-open #wpconsent-container,
body.ast-popup-nav-open #ast-scroll-top {
	display: none !important;
}
#ast-mobile-popup.matrys-mm-cale .ast-mobile-popup-header {
	position: fixed !important;
	top: var(--mm-cy) !important;
	left: var(--mm-cx) !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	transform: translate(-50%, -50%);
	z-index: 5;
}
@media (max-width: 359px) {
	#ast-mobile-popup .ast-mobile-popup-content {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
	#ast-mobile-popup .header-social-inner-wrap {
		column-gap: 10px !important;
	}
}
@media (max-height: 500px) and (orientation: portrait) {
	#ast-mobile-popup .ast-mobile-popup-content {
		padding-top: 48px !important;
		padding-bottom: 12px !important;
	}
}
@media (orientation: landscape) and (max-height: 500px) {
	#ast-mobile-popup .ast-mobile-popup-content {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-content: center;
		align-items: center;
		column-gap: 32px;
		row-gap: 14px;
		min-height: 100%;
		box-sizing: border-box;
		padding: 28px 80px !important;
	}
	#ast-mobile-popup .ast-mobile-popup-content > * {
		grid-column: 1;
		margin: 0 !important;
	}
	#ast-mobile-popup .ast-mobile-popup-content > .ast-builder-menu-mobile {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}
