/*
    Theme Name: Del Maguey
    Theme URI: https://example.com/
    Author: Prismatic
    Author URI: https://example.com/
    Description: Minimal theme with Tailwind.
    Version: 0.0.34
    Requires at least: 6.0
    Tested up to: 6.6
    Requires PHP: 7.4
    Text Domain: delmaguey
*/

/* Roboto Condensed is enqueued via PHP (inc/enqueue.php) */

:root {
    --font-default: 'Roboto Condensed', sans-serif;
    --font-display: 'IM Fell Double Pica', serif;
}

/* Apply the default font across the most common elements */
body,
button,
input,
select,
textarea {
    font-family: var(--font-default);
}

body {
	background: transparent !important;
}

/* ===================================================================
   Breadcrumbs — shared design-system style (Figma: body/sm/regular)
   -------------------------------------------------------------------
   Single source of truth for every forest-toned breadcrumb (Villages
   hero, Cocktail PDP, Product PDP, Compare). The cream page-header
   variant is intentionally excluded via the .text-forest scope.
   Per-page CSS no longer restyles breadcrumb type — it only sets its
   own vertical spacing. Loaded after Tailwind, and the two-class
   selector out-specifies the .uppercase / .tracking-* utilities on the
   markup, so it wins without !important.
   =================================================================== */
.breadcrumbs.text-forest {
	font-family: var(--font-default);   /* Roboto Condensed */
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 140%;                  /* 19.6px */
	letter-spacing: normal;
	text-align: center;
	text-transform: none;               /* labels as authored, not UPPERCASE */
	color: var(--dm-fg-default-primary);
}

/* Neutralise .tracking-tight / .tracking-wide on the generated <ul>. */
.breadcrumbs.text-forest ul {
	letter-spacing: normal;
}

/* Crumbs share one weight and colour; links stay full-strength. */
.breadcrumbs.text-forest li,
.breadcrumbs.text-forest a {
	color: inherit;
	font-weight: 400;
	opacity: 1;
}

/* Current page (last crumb) is de-emphasised with reduced opacity. */
.breadcrumbs.text-forest li.font-bold,
.breadcrumbs.text-forest li:last-child {
	opacity: 0.5;
}

/* Pipe divider between crumbs. */
.breadcrumbs.text-forest li + *::before {
	content: "|";
	width: auto;
	height: auto;
	border: 0;
	rotate: none;
	background: none;
	opacity: 0.4;
	margin: 0 0.4rem;
}

span.bv-content-data-icon img {
	max-width: 10px !important;
}

/* Fix: ensure full-size Gutenberg images don't get a fixed height */
figure.wp-block-image.size-full {
    height: auto;
}

/* Hide the injected Didomi "Cookie Management" consent button — it is added by
   the external consent script (not the theme) and interferes with page content. */
a.consent-button {
    display: none !important;
}
