/*
* Crossbarn Migration — Custom CSS
* Pegar en Elementor > Site Settings > Custom CSS
* o en el Custom CSS del child theme (Gorilion Hello Elementor)
*
* Replica los estilos de clase del tema original crossbarnw
* necesarios para los shortcodes de ACF repeaters.
*/


/* ── HELPERS DE TIPOGRAFÍA ─────────────────────────────────── */

.trade {
	font-family: trade-gothic-next-condensed, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.miller {
	font-family: miller-display, serif;
}


/* ── BOTÓN GLOBAL ─────────────────────────────────────────── */

a.button,
.button,
input[type="submit"].button {
	display: inline-block;
	font-family: trade-gothic-next-condensed, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #4d554b;
	padding: 12px 28px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

a.button:hover,
.button:hover {
	background-color: #545d58;
	color: #ffffff;
}

a.button.outline {
	background: transparent;
	border: 2px solid #4d554b;
	color: #4d554b;
}

a.button.outline:hover {
	background: #4d554b;
	color: #ffffff;
}


/* ── MEMBERSHIP LIST (shortcode: [club_list]) ──────────────── */

ul.club-list,
ul.items {
	list-style: none;
	margin: 0 0 24px 0;
	padding: 0;
}

ul.club-list li,
ul.items li {
	font-family: miller-display, serif;
	font-size: 17px;
	line-height: 1.6;
	color: #444;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}

ul.club-list li:first-child,
ul.items li:first-child {
	border-top: 1px solid #ddd;
}


/* ── SHIPMENT SCHEDULE (shortcode: [club_season]) ──────────── */

ul.seasons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: center;
}

ul.seasons li {
	text-align: center;
	min-width: 200px;
}

ul.seasons li h4 {
	font-family: trade-gothic-next-condensed, sans-serif;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #4d554b;
	margin: 0 0 6px 0;
}

ul.seasons li span {
	font-family: miller-display, serif;
	font-size: 16px;
	color: #6a6a6a;
	display: block;
}


/* ── EXPERIENCE / REGION ITEMS (split layout) ──────────────── */

.experience-item,
.region-item {
	display: flex;
	flex-wrap: wrap;
	min-height: 380px;
	margin-bottom: 4px;
}

.experience-item .info,
.region-item .info {
	flex: 1 1 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 50px;
	background: #f9f9f9;
}

.experience-item .info.bgtexture {
	background-image: url('../images/bg-texture.jpg');
	background-size: cover;
}

.experience-item .inside,
.region-item .inside {
	max-width: 420px;
}

.experience-item .inside h3,
.region-item .inside h3 {
	font-family: trade-gothic-next-condensed, sans-serif;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #4d554b;
	margin: 0 0 16px 0;
}

.experience-item .inside .miller,
.region-item .inside .miller {
	font-size: 17px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 24px;
}

.theshot {
	flex: 1 1 340px;
	min-height: 300px;
}


/* ── EVENTS LIST (shortcode: [visit_events]) ──────────────── */

ul.exp.events-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

ul.exp.events-list li {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

ul.exp.events-list li img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

ul.exp.events-list li h3 {
	font-family: trade-gothic-next-condensed, sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #333;
	margin: 0;
}

ul.exp.events-list li span.miller {
	font-size: 16px;
	line-height: 1.6;
	color: #6a6a6a;
}


/* ── APPELLATIONS MAP LEGEND COLORS ───────────────────────── */

.keystuff li.coast::before { background: #95d2d6; }
.keystuff li.napa::before  { background: #587063; }
.keystuff li.moon::before  { background: #867793; }
.keystuff li.alex::before  { background: #b28190; }


/* ── BOXED LAYOUT HELPER ──────────────────────────────────── */

.boxed {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}


/* ── BACKGROUNDIMAGE HERO (para templates que no usan Elementor container) */

.backgroundimage {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

.backgroundimage.tall    { min-height: 60vh; }
.backgroundimage.taller  { min-height: 75vh; }
.backgroundimage.short   { min-height: 200px; }


/* ── C7 SUBSCRIBE FORM (footer) ──────────────────────────── */

.c7-subscribe {
	margin: 16px auto;
	max-width: 420px;
}


/* ── COMMERCE7 CONTENT WRAPPER ───────────────────────────── */

.c7-content-wrapper {
	min-height: 400px;
	padding: 40px 0;
}

#c7-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Homepage */
.featured-products .c7-product-collection .c7-product img {
	height: 300px;
	min-height: unset;
	width: auto;
	margin-bottom: 0;
}

.featured-products .c7-product-collection .c7-product .c7-product__image source {
	display: none;
}

/* appellations */
#content.post-1351 .page-content .elementor-1351 {
	display: flex;
	flex-direction: column;
}


/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
	.experience-item,
	.region-item {
		flex-direction: column;
	}

	ul.seasons {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	ul.club-list li,
	ul.items li {
		font-size: 15px;
	}
}

/* ── PRINT ──────────────────────────────────────────── */
@media print {
  .single-recipe header,
  .single-recipe footer,
  .single-recipe img,
  .hide-on-print {
    display: none !important;
  }
}
