/* =========================================================
   Fuego Bendito · brand layer
   The cold frames, the fire leads.
   ========================================================= */

:root {
	--fb-lavanda: #C0C9E7;
	--fb-celeste: #9CD4DD;
	--fb-azul-medio: #6F84C1;
	--fb-teal: #45B8B4;
	--fb-azul: #294A99;
	--fb-grana: #C8202F;
	--fb-grana-light: #E2484C;
	--fb-coral: #E8572A;
	--fb-anil: #2E4A7A;
	--fb-oro: #C2A06A;
	--fb-ink: #1C1B19;
	--fb-bone: #F6F5F0;
	--fb-paper: #EEF0F7;
	--fb-stone: #5E5952;
}

body { color: #3A3732; }
h1, h2, h3, h4, h5, h6 { color: var(--fb-ink); }

/* ---------- Sections (block editor groups) ---------- */

.fb-sec {
	padding: clamp(80px, 10vw, 140px) max(20px, 4vw);
	margin: 0 !important;
}
.fb-sec > .wp-block-columns,
.fb-sec > .wp-block-shortcode,
.fb-sec > p { max-width: 1240px; margin-left: auto; margin-right: auto; }
.fb-sec .wp-block-columns { gap: clamp(24px, 4vw, 64px); margin-bottom: 0; }
.qodef-content-full-width .wp-block-group.fb-sec { max-width: none; }

.fb-sec .qodef-section-title { display: block; margin-bottom: clamp(36px, 5vw, 64px); }
.fb-sec .qodef-section-title.qodef-alignment--center { display: block; max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.fb-sec .qodef-section-title .qodef-m-title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.fb-sec .qodef-section-title .qodef-m-text { margin-top: 22px; font-size: 17px; line-height: 1.75; }
.fb-sec .qodef-section-title.qodef-alignment--center .qodef-m-text { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Dark bands */
.fb-sec--hero, .fb-sec--numbers, .fb-sec--trade { background: var(--fb-ink); }
.fb-sec--hero h1, .fb-sec--hero h2, .fb-sec--hero h3, .fb-sec--hero h4, .fb-sec--hero h5,
.fb-sec--numbers h1, .fb-sec--numbers h2, .fb-sec--numbers h3, .fb-sec--numbers h4, .fb-sec--numbers h5,
.fb-sec--trade h1, .fb-sec--trade h2, .fb-sec--trade h3, .fb-sec--trade h4, .fb-sec--trade h5,
.fb-sec--manifesto h2 { color: var(--fb-bone); }
.fb-sec--hero p, .fb-sec--numbers p, .fb-sec--trade p { color: rgba(246, 245, 240, .8); }
.fb-sec--hero .qodef-m-caption, .fb-sec--numbers .qodef-m-caption, .fb-sec--trade .qodef-m-caption { color: var(--fb-celeste); }

/* ---------- Hero ---------- */

.fb-sec--hero { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.fb-sec--hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 46% 64% at 74% 50%, rgba(200, 32, 47, .28), rgba(200, 32, 47, 0) 70%);
}
.fb-hero-cols { position: relative; align-items: center !important; }
.fb-hero-title .qodef-m-title { font-size: clamp(54px, 8vw, 116px); line-height: .95; }
.fb-hero-title .qodef-m-text { font-size: 19px; line-height: 1.65; font-style: italic; max-width: 32em; }
.fb-hero-bottle { margin: 0; text-align: center; }
.fb-hero-bottle img { max-height: 640px; width: auto !important; filter: drop-shadow(0 36px 50px rgba(0, 0, 0, .55)); }
.fb-sec--hero .qodef-button { margin: 0 12px 12px 0; }

/* Primary call to action takes the fire */
.qodef-button.qodef-layout--filled.fb-btn-fire,
.fb-form button.qodef-button { background-color: var(--fb-grana) !important; border-color: var(--fb-grana) !important; color: #fff !important; }
.qodef-button.qodef-layout--filled.fb-btn-fire:hover,
.fb-form button.qodef-button:hover { background-color: #A51A27; border-color: #A51A27; color: #fff; }

.qodef-button.fb-center-btn { display: flex; width: max-content; margin: 56px auto 0; }

/* ---------- Intro ---------- */

.fb-sec--intro { background: var(--fb-bone); }
.fb-intro-cols { align-items: center !important; }
.fb-intro-art img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 72% 50%; }

/* ---------- Expressions ---------- */

.fb-sec--expressions { background: #FFFFFF; }
.fb-bottles .qodef-image-with-text { text-align: center; }
.fb-bottles .qodef-image-with-text .qodef-m-image { display: flex; justify-content: center; align-items: flex-end; height: clamp(260px, 26vw, 380px); }
.fb-bottles .qodef-image-with-text .qodef-m-image img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .22)); transition: transform .5s ease; }
.fb-bottles .qodef-image-with-text:hover .qodef-m-image img { transform: translateY(-6px); }
.fb-bottles .qodef-m-title { margin-top: 28px; }
.fb-bottle--espadin .qodef-m-title { color: var(--fb-grana); }
.fb-bottle--arroqueno .qodef-m-title { color: var(--fb-coral); }
.fb-bottle--mexicano .qodef-m-title { color: var(--fb-anil); }
.fb-bottle--jabali .qodef-m-title { color: var(--fb-ink); }

/* ---------- The red (item showcase) ---------- */

.fb-sec--red { background: var(--fb-bone); }
.fb-sec--red .qodef-item-showcase .qodef-m-image img { max-height: 620px; width: auto; filter: drop-shadow(0 30px 40px rgba(120, 10, 20, .28)); }
.fb-sec--red .qodef-item-showcase .qodef-e-title { color: var(--fb-grana); }

/* ---------- Process + ritual ---------- */

.fb-sec--process { background: var(--fb-paper); }
.fb-sec--ritual { background: #FFFFFF; }
.fb-steps { margin-bottom: 48px !important; }
.fb-steps:last-child { margin-bottom: 0 !important; }
.fb-steps .qodef-icon-with-text .qodef-m-icon-wrapper, .fb-steps .qodef-icon-with-text .qodef-icon-holder { color: var(--fb-azul); }
.fb-steps .qodef-icon-with-text .qodef-m-text { max-width: 22em; margin-left: auto; margin-right: auto; }

/* ---------- Numbers ---------- */

.fb-counters .qodef-counter { text-align: center; }
.fb-counters .qodef-m-digit-wrapper, .fb-counters .qodef-m-digit { color: var(--fb-teal) !important; font-size: clamp(56px, 6vw, 84px); line-height: 1; }
.fb-counters .qodef-m-title { color: var(--fb-bone) !important; margin-top: 18px; }
.fb-counters .qodef-m-text { color: rgba(246, 245, 240, .72) !important; }

/* ---------- Manifesto (parallax banner slot) ---------- */

.fb-sec--manifesto {
	background-color: var(--fb-azul);
	color: var(--fb-bone);
	text-align: center;
}
.fb-sec--manifesto .qodef-m-caption { color: var(--fb-lavanda); }
.fb-sec--manifesto { padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 12vw, 170px); }
.fb-sec--manifesto .qodef-section-title { max-width: 980px !important; margin-bottom: 0; }
.fb-sec--manifesto .qodef-section-title .qodef-m-title { font-size: clamp(38px, 5.6vw, 76px); }
.fb-sec--manifesto .qodef-section-title .qodef-m-text { color: rgba(246, 245, 240, .88); font-style: italic; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.7; max-width: 720px; }

/* ---------- Trade ---------- */

.fb-trade-cols { align-items: flex-start !important; }
.fb-form { display: grid; gap: 6px; }
.fb-form p { margin: 0 0 14px; }
.fb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fb-form label { display: block; margin-bottom: 8px; font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 245, 240, .66); }
.fb-form input[type="text"], .fb-form input[type="email"], .fb-form select, .fb-form textarea {
	width: 100%; margin: 0; box-sizing: border-box;
	background: rgba(246, 245, 240, .05); color: var(--fb-bone);
	border: 1px solid rgba(246, 245, 240, .22); padding: 14px 16px; font-size: 15px;
}
.fb-form select option { color: var(--fb-ink); }
.fb-form input:focus, .fb-form select:focus, .fb-form textarea:focus { outline: none; border-color: var(--fb-celeste); }
.fb-form__check { display: flex; align-items: center; gap: 10px; }
.fb-form__check label { margin: 0; font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: rgba(246, 245, 240, .8); }
.fb-form__check input { width: 18px; height: 18px; accent-color: var(--fb-grana); margin: 0; }
.fb-form button.qodef-button { justify-self: start; cursor: pointer; }
.fb-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.fb-form__status { color: var(--fb-celeste); margin-top: 12px !important; }
.fb-form__status.is-error { color: var(--fb-grana-light); }
@media (max-width: 680px) { .fb-form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */

#qodef-page-footer, #qodef-page-footer p, #qodef-page-footer li { color: rgba(246, 245, 240, .7); }
#qodef-page-footer .widget-title, #qodef-page-footer h5, #qodef-page-footer h4 { color: var(--fb-bone); }
#qodef-page-footer a { color: rgba(246, 245, 240, .82); }
#qodef-page-footer a:hover { color: var(--fb-celeste); }
#qodef-page-footer .fb-footer-logo { width: 150px; height: auto; display: block; margin-bottom: 8px; }
#qodef-page-footer .widget_nav_menu ul { display: block !important; margin: 0; padding: 0; list-style: none; }
#qodef-page-footer .widget_nav_menu ul li { display: block !important; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; }
#qodef-page-footer .widget_nav_menu ul li::before, #qodef-page-footer .widget_nav_menu ul li::after { display: none !important; }
#qodef-page-footer .widget_nav_menu ul li a { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
#qodef-page-footer .widget_nav_menu ul.sub-menu { margin: 10px 0 0 !important; padding: 0 !important; }
#qodef-page-footer .widget_nav_menu ul.sub-menu li a { font-size: 12px; color: rgba(246, 245, 240, .6); }
#qodef-page-footer .widget_nav_menu ul.sub-menu li a::before { content: "— "; color: var(--fb-celeste); }
#qodef-page-footer .widget-title, #qodef-page-footer .qodef-widget-title, #qodef-page-footer .widget { text-align: left !important; }
#qodef-page-footer .widget-title, #qodef-page-footer .qodef-widget-title { margin-top: 0; }

/* Sticky header logo */
#qodef-page-header .qodef-header-sticky .qodef-header-logo-link { height: 80px !important; }
#qodef-page-header .qodef-header-sticky .qodef-header-logo-link img { max-height: 52px; }
#qodef-page-footer .fb-nom { text-align: right; }
@media (max-width: 1024px) { #qodef-page-footer .fb-nom { text-align: left; } }

/* ---------- Age verification ---------- */

#qodef-age-verification-modal { background-color: var(--fb-bone); }
#qodef-age-verification-modal .qodef-m-logo img { max-width: 170px; height: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 680px) {
	.fb-sec .qodef-section-title .qodef-m-title { font-size: 30px; letter-spacing: .08em; }
	.fb-hero-title .qodef-m-title { font-size: 40px; }
	#qodef-page-footer .widget-title, #qodef-page-footer .qodef-widget-title { text-align: left; }
}

@media (max-width: 781px) {
	.fb-hero-cols { flex-direction: column-reverse; }
	.fb-hero-bottle img { max-height: 380px; }
	.fb-bottles { display: grid !important; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.fb-bottles { grid-template-columns: 1fr; }
}

/* ---------- Video slots ---------- */

.fb-video { position: relative; margin: 0; }
.fb-video video { display: block; width: 100%; height: auto; background: var(--fb-ink); }

/* Player: poster + play button, native controls after the first click */
.fb-video--player { aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: var(--fb-ink); }
.fb-video--player video { width: 100%; height: 100%; object-fit: cover; }
.fb-video--player.is-playing video { object-fit: contain; }
.fb-video__play {
	position: absolute; inset: 0; width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(180deg, rgba(28, 27, 25, 0) 40%, rgba(28, 27, 25, .45)); border: 0; cursor: pointer; padding: 0;
}
.fb-video__play span {
	width: 88px; height: 88px; border-radius: 50%;
	border: 1px solid rgba(246, 245, 240, .85); background: rgba(28, 27, 25, .25);
	backdrop-filter: blur(2px); position: relative; transition: background-color .3s ease, transform .3s ease;
}
.fb-video__play span::after {
	content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
	border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--fb-bone);
}
.fb-video__play:hover span, .fb-video__play:focus-visible span { background: var(--fb-grana); border-color: var(--fb-grana); transform: scale(1.05); }
.fb-video__play:focus-visible { outline: 2px solid var(--fb-celeste); outline-offset: -4px; }
.fb-video--player.is-playing .fb-video__play { display: none; }

/* Hero: muted loop behind the copy; the still bottle steps aside */
.fb-video--bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fb-video--bg video { width: 100%; height: 100%; object-fit: cover; }
.fb-video--bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(28, 27, 25, .88) 0%, rgba(28, 27, 25, .6) 45%, rgba(28, 27, 25, .2) 100%);
}
.fb-sec--hero:has(.fb-video--bg) { min-height: min(88vh, 860px); display: flex; align-items: center; }
.fb-sec--hero:has(.fb-video--bg) > .wp-block-group__inner-container { width: 100%; }
.fb-sec--hero:has(.fb-video--bg)::before { display: none; }
.fb-sec--hero .fb-hero-cols { z-index: 1; }
.fb-sec--hero:has(.fb-video--bg) .fb-hero-bottle { visibility: hidden; }

/* Maestro: the film replaces the label illustration when a video is set */
.fb-intro-cols .wp-block-column:has(.fb-video) .fb-intro-art { display: none; }

/* Film band */
.fb-sec--film { background: #0E0D0C; }
.fb-sec--film h2, .fb-sec--film h3 { color: var(--fb-bone); }
.fb-sec--film .qodef-m-caption { color: var(--fb-celeste); }
.fb-sec--film .qodef-section-title .qodef-m-text { color: rgba(246, 245, 240, .72); font-style: italic; }
.fb-sec--film .fb-video { max-width: 1240px; margin: 0 auto; }
.fb-sec--film:not(:has(.fb-video)) { display: none; }

/* Miami film under the trade copy */
.fb-sec--trade .fb-video { margin-top: 40px; }

@media (max-width: 781px) {
	.fb-sec--hero:has(.fb-video--bg) .fb-hero-bottle { display: none; }
	.fb-video--bg::after { background: linear-gradient(180deg, rgba(28, 27, 25, .35) 0%, rgba(28, 27, 25, .85) 70%); }
	.fb-video__play span { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
	.fb-video__play span { transition: none; }
}

/* ---------- Photo slots ---------- */

.fb-sec--numbers, .fb-sec--manifesto { position: relative; overflow: hidden; }
.fb-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.fb-bg--bg-numbers::after { content: ""; position: absolute; inset: 0; background: rgba(28, 27, 25, .82); }
.fb-bg--bg-manifesto::after { content: ""; position: absolute; inset: 0; background: rgba(41, 74, 153, .84); }
.fb-sec--numbers > .wp-block-group__inner-container > *:not(.fb-bg),
.fb-sec--manifesto > .wp-block-group__inner-container > *:not(.fb-bg),
.fb-sec--numbers .qodef-section-title, .fb-sec--manifesto .qodef-section-title,
.fb-sec--numbers .wp-block-columns, .fb-sec--manifesto .qodef-button { position: relative; z-index: 1; }

.fb-sec--gallery { background: var(--fb-bone); }
.fb-gallery .qodef-e-inner img, .fb-gallery img { display: block; width: 100%; height: auto; }
.fb-gallery--lifestyle { margin-top: clamp(48px, 6vw, 80px); }
.fb-gallery--lifestyle .qodef-e img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; }
.fb-gallery a { cursor: zoom-in; }
.fb-gallery .qodef-e { overflow: hidden; }
.fb-gallery .qodef-e img { transition: transform .6s ease; }
.fb-gallery .qodef-e:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .fb-gallery .qodef-e img { transition: none; } }

/* ---------- Hero kicker (the page's H1, styled as the template caption) ---------- */

.fb-sec--hero h1.fb-hero-kicker {
	display: flex; align-items: center; gap: 18px; margin: 0 0 14px;
	font-family: "Crimson Pro", Georgia, serif; font-style: italic; font-weight: 400;
	font-size: 22px; line-height: 1.35; letter-spacing: 0; text-transform: none;
	color: var(--fb-celeste);
}
.fb-sec--hero h1.fb-hero-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }

/* Heading levels changed for outline; keep the template sizes */
.fb-bottles .qodef-image-with-text h3.qodef-m-title { font-size: 15px; letter-spacing: .2em; }
.fb-steps h3.qodef-m-title, .qodef-item-showcase h3.qodef-e-title { font-size: 13px; letter-spacing: .2em; }
.fb-counters p.qodef-m-title { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 0; }

/* ---------- Social icons ---------- */

.fb-social { display: flex; gap: 14px; list-style: none; margin: 18px 0 0; padding: 0; }
.fb-social li { margin: 0; padding: 0; }
.fb-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; opacity: .8; transition: opacity .25s ease, color .25s ease, border-color .25s ease; }
.fb-social a:hover, .fb-social a:focus-visible { opacity: 1; color: var(--fb-celeste); }
.fb-social svg { width: 18px; height: 18px; }
#qodef-page-header .fb-social { margin: 0 0 0 28px; gap: 10px; }
#qodef-page-header .fb-social a { width: 30px; height: 30px; color: var(--fb-azul); border-color: rgba(41, 74, 153, .4); }
#qodef-page-header .fb-social svg { width: 15px; height: 15px; }
#qodef-page-footer .fb-social a { color: var(--fb-bone); }
@media (max-width: 680px) { .fb-sec--hero h1.fb-hero-kicker { font-size: 18px; } }

/* ---------- Inner pages ---------- */

/* Page title band with header photo */
.qodef-page-title { position: relative; overflow: hidden; }
.qodef-page-title .qodef-parallax-img-holder::after,
.qodef-page-title .qodef-m-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 27, 25, .82), rgba(28, 27, 25, .45)); z-index: 1; }
.qodef-page-title .qodef-m-content { position: relative; z-index: 2; }

/* Mezcal detail */
.fb-sec--detail { background: var(--fb-bone); }
.fb-detail-cols { align-items: center !important; }
.fb-detail-bottle { margin: 0; text-align: center; }
.fb-detail-bottle img { max-height: 640px; width: auto !important; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }
.fb-prose p { font-size: 17px; line-height: 1.8; margin: 0 0 18px; max-width: 38em; }
.fb-facts { margin: 28px 0 36px; border-top: 1px solid rgba(28, 27, 25, .14); max-width: 38em; }
.fb-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(28, 27, 25, .14); }
.fb-facts dt { font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fb-azul); padding-top: 3px; margin: 0; }
.fb-facts dd { margin: 0; font-size: 16px; }
.fb-detail--espadin .qodef-section-title .qodef-m-title { color: var(--fb-grana); }
.fb-sec--detail .qodef-button { margin: 0 14px 12px 0; }
.fb-sec--photos { background: var(--fb-bone); padding-top: 0 !important; }
.fb-sec--photos .fb-gallery .qodef-e img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; }
.fb-gallery--mezcal-mexicano .qodef-grid-inner { max-width: 620px; margin: 0 auto; }

/* Cards link to their pages */
.fb-card-link { text-align: center; margin: 14px 0 0; }
.fb-card-link a { font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fb-azul); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.fb-card-link a:hover { color: var(--fb-grana); }
.fb-bottles--three { max-width: 980px; margin-left: auto !important; margin-right: auto !important; }

/* Calls to action */
.fb-sec--cta { background: var(--fb-ink); }
.fb-sec--cta h2 { color: var(--fb-bone); }
.fb-sec--cta .qodef-m-caption { color: var(--fb-celeste); }
.fb-sec--cta .qodef-section-title .qodef-m-text { color: rgba(246, 245, 240, .78); }
.fb-sec--bar { background: var(--fb-paper); }
.qodef-button.fb-btn-fire.fb-center-btn { margin-top: 40px; }

@media (max-width: 781px) {
	.fb-detail-bottle img { max-height: 420px; }
	.fb-facts div { grid-template-columns: 110px 1fr; }
}
.fb-bottles .qodef-image-with-text .qodef-m-image a { display: flex; width: 100%; height: 100%; align-items: flex-end; justify-content: center; }
.fb-bottles .qodef-image-with-text .qodef-m-image a img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.fb-gallery--mezcal-mexicano { max-width: 620px; margin-left: auto; margin-right: auto; }
.fb-gallery.fb-gallery--mezcal-mexicano { display: block; }

/* Home trade CTA: Miami film */
.fb-sec--cta .fb-cta-video { max-width: 1000px; margin: 48px auto 56px; }
@media (max-width: 680px) { .fb-sec--cta .fb-cta-video { margin: 32px auto 40px; } }

/* Mobile menu: submenu in the brand display face */
#qodef-page-mobile-header .qodef-mobile-header-navigation .sub-menu a,
#qodef-page-mobile-header .qodef-mobile-header-navigation .sub-menu a span {
	font-family: "Oswald", sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}

/* Signature Espadín on phones: the base theme hides the bottle; show it above the notes */
@media only screen and (max-width: 680px) {
	.fb-sec--red .qodef-item-showcase .qodef-m-image {
		display: block; position: static; order: -1; width: 100%; padding: 0; margin: 8px 0 24px !important;
		text-align: center; transform: none !important; opacity: 1; visibility: visible;
	}
	.fb-sec--red .qodef-item-showcase .qodef-m-image img { max-height: 420px; width: auto; margin: 0 auto; }
	.fb-sec--red .qodef-item-showcase .qodef-m-items { left: 0; width: 100%; }
	.fb-sec--red .qodef-item-showcase .qodef-m-item { transition-delay: 0s !important; }
}

/* Maestro photos */
.fb-photo { margin: 0; }
.fb-photo__img { display: block; width: 100%; height: auto; }
.fb-photo--maestro-portrait .fb-photo__img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.fb-photo--fallback .fb-photo__img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 72% 50%; }
.fb-intro-cols { align-items: flex-start !important; }
.fb-intro-cols .fb-video, .fb-intro-cols .wp-block-shortcode + .wp-block-shortcode .fb-video { margin-top: 32px; }
.fb-sec--band { padding: 0 !important; background: var(--fb-black); }
.fb-sec--band .fb-photo__img { max-height: 88vh; object-fit: cover; object-position: 50% 40%; }
.fb-photo__cap { padding: 14px 24px 18px; font-family: "Libre Baskerville", serif; font-style: italic; font-size: 14px; color: rgba(246, 245, 240, .72); text-align: center; background: var(--fb-black); }
@media (max-width: 781px) {
	.fb-photo--maestro-portrait .fb-photo__img { aspect-ratio: 4 / 5; }
	.fb-sec--band .fb-photo__img { max-height: none; aspect-ratio: 4 / 3; }
}

/* Maestro section: the photo fills the full height of the text + video column */
@media (min-width: 782px) {
	.fb-intro-cols { align-items: stretch !important; }
	.fb-intro-cols > .wp-block-column:has(.fb-photo) { display: flex; flex-direction: column; }
	.fb-intro-cols .fb-photo--maestro-portrait { flex: 1 1 auto; position: relative; min-height: 520px; }
	.fb-intro-cols .fb-photo--maestro-portrait .fb-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 20%; }
}

/* ---------- Shop: price + Add to cart ---------- */

.fb-buy { margin: 28px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.fb-buy__price { margin: 0; font-family: "Oswald", sans-serif; font-weight: 500; font-size: 30px; letter-spacing: .06em; color: var(--fb-ink); line-height: 1; }
.fb-buy__price .woocommerce-Price-amount { color: inherit; }
.fb-buy__size { margin-left: 12px; font-family: "Libre Baskerville", serif; font-style: italic; font-size: 14px; letter-spacing: 0; color: var(--fb-stone); }
a.fb-buy__btn.button,
.fb-buy a.fb-buy__btn {
	display: inline-flex; align-items: center; gap: 12px; padding: 17px 42px; border: 0; border-radius: 0;
	background: var(--fb-grana); color: var(--fb-bone) !important;
	font-family: "Oswald", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; line-height: 1;
	transition: background .25s ease;
}
a.fb-buy__btn.button::after { content: "→"; letter-spacing: 0; font-size: 16px; }
a.fb-buy__btn.button:hover { background: var(--fb-ink); color: var(--fb-bone) !important; }
a.fb-buy__btn.loading { opacity: .6; pointer-events: none; }
a.fb-buy__btn.added::after { content: "✓"; }
.fb-buy .added_to_cart {
	font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
	color: var(--fb-azul); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.fb-buy__soldout { margin: 0; font-style: italic; color: var(--fb-stone); }
.fb-buy__soldout a { color: var(--fb-azul); }

/* On the detail page the secondary links sit under the purchase line. */
.fb-sec--detail .fb-buy + * { margin-top: 18px; }

/* Cards on Our Mezcals */
.fb-buy--card { justify-content: center; margin: 18px 0 4px; gap: 12px 18px; }
.fb-buy--card .fb-buy__price { font-size: 22px; width: 100%; text-align: center; }
.fb-buy--card a.fb-buy__btn.button { padding: 14px 28px; font-size: 12px; letter-spacing: .26em; }

/* Header: Shop link stands out in grana */
#qodef-page-header .fb-menu-shop > a, .qodef-mobile-header-navigation .fb-menu-shop > a { color: var(--fb-grana) !important; }

/* ---------- Cart & checkout ---------- */

.woocommerce-cart #qodef-page-inner, .woocommerce-checkout #qodef-page-inner { padding-top: 80px; padding-bottom: 110px; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; font-family: "Libre Baskerville", serif; }
.woocommerce table.shop_table th {
	font-family: "Oswald", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--fb-ink);
	border-bottom: 1px solid var(--fb-ink);
}
.woocommerce table.shop_table td { border-top: 1px solid rgba(28, 27, 25, .12); }
.woocommerce table.shop_table .product-name a { font-family: "Oswald", sans-serif; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--fb-ink); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-billing-fields h3, #order_review_heading {
	font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 22px;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.checkout-button, .woocommerce #place_order,
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--fb-grana) !important; color: var(--fb-bone) !important; border: 0 !important; border-radius: 0 !important;
	font-family: "Oswald", sans-serif !important; font-weight: 500 !important; letter-spacing: .28em !important; text-transform: uppercase !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #place_order:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--fb-ink) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input {
	border-radius: 0 !important; border: 1px solid rgba(28, 27, 25, .28) !important; background: #fff !important;
}
.woocommerce-message, .woocommerce-info { border-top-color: var(--fb-azul) !important; background: var(--fb-paper); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--fb-azul) !important; }
.wc-block-components-product-name { font-family: "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--fb-ink) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: "Oswald", sans-serif; font-size: 20px; letter-spacing: .06em; }

/* ---------- Header tools & side panel ---------- */

#qodef-page-header .widget, #qodef-page-header .qodef-widget-holder { display: inline-flex; align-items: center; }
#qodef-page-header .qodef-woo-dropdown-cart, #qodef-page-header .qodef-side-area-opener { margin-left: 18px; }
#qodef-side-area { background-color: var(--fb-ink); }
#qodef-side-area .fb-side { color: rgba(246, 245, 240, .72); font-family: "Libre Baskerville", serif; font-size: 15px; line-height: 1.7; }
#qodef-side-area .fb-side__logo { width: 170px; height: auto; display: block; margin-bottom: 18px; }
#qodef-side-area .fb-side__lede { font-style: italic; margin: 0 0 34px; }
#qodef-side-area .fb-side__nav { list-style: none; margin: 0 0 34px; padding: 0; }
#qodef-side-area .fb-side__nav li { margin: 0 0 14px; }
#qodef-side-area .fb-side__nav a { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 20px; letter-spacing: .22em; text-transform: uppercase; color: var(--fb-bone); }
#qodef-side-area .fb-side__nav a:hover, #qodef-side-area .fb-side__trade a { color: var(--fb-celeste); }
#qodef-side-area .fb-side .fb-social a { color: var(--fb-bone); }
#qodef-side-area .fb-side__legal { margin-top: 40px; font-size: 12px; letter-spacing: .04em; color: rgba(246, 245, 240, .45); }
#qodef-side-area .fb-side { text-align: left; padding: 0 44px; }
#qodef-side-area .fb-side .fb-social { justify-content: flex-start; }
.qodef-woo-dropdown-cart .qodef-m-opener-count, .qodef-woo-dropdown-cart .qodef-m-opener .qodef-m-opener-count,
.qodef-m-opener-count { background-color: var(--fb-azul) !important; color: #fff !important; }

/* Our Mezcals: price and Add to cart on one line across the row, whatever the description length */
@media (min-width: 782px) {
	.wp-block-columns.fb-bottles { align-items: stretch !important; }
	.fb-bottles > .wp-block-column { display: flex; flex-direction: column; }
	.fb-bottles > .wp-block-column > .fb-buy--card { margin-top: auto; padding-top: 18px; }
}
