/*
 * Elementor / Crocoblock adaptation layer for the ported mockup (assets/css/ds-mockup.css).
 * Hand-written. Only var(--color-*) / var(--e-global-*) / var(--space-*) tokens: no literal
 * colors or font names (skill 00 §2-3). Loaded after ds-mockup.css.
 *
 * The mockup puts its ds-* classes on the element itself (<h2 class="ds-el-h2">); Elementor puts
 * `_css_classes` on the widget WRAPPER and renders its own inner markup with widget defaults
 * (heading color/typography = Kit primary, nav-menu item padding, button kit styles). Rules here
 * make that inner markup inherit from the ds-* wrapper. Explicit widget settings (per-element CSS,
 * specificity 0,4,0) still win over these (0,3,0).
 */

/* ── Text widgets inherit the ds-* wrapper ─────────────────────────────── */
.elementor-widget-heading[class*="ds-"] .elementor-heading-title,
.elementor-widget-heading[class*="u-"] .elementor-heading-title {
	font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit;
}
.elementor-widget-heading .elementor-heading-title a { color: inherit; text-decoration: inherit; }
.elementor-widget-text-editor[class*="ds-"] p,
.elementor-widget-text-editor[class*="u-"] p { margin: 0; }
.elementor-widget-text-editor[class*="ds-"] p + p { margin-top: var(--space-2); }
[class*="ds-"] > .elementor-widget-container > :last-child { margin-bottom: 0; }

/* ── Buttons: .ds-el-button-w (widget) maps to the mockup .ds-el-button ── */
.elementor-widget.ds-el-button-w .elementor-button {
	--btn-bg: var(--color-primary); --btn-fg: var(--color-on-dark); --btn-bd: var(--color-primary);
	display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
	min-height: var(--control-h); padding: 0 var(--space-3);
	border: 1px solid var(--btn-bd); border-radius: var(--radius-pill);
	background: var(--btn-bg); color: var(--btn-fg); fill: var(--btn-fg);
	font-family: var(--font-body); font-size: var(--fs-body); font-weight: 600; line-height: 1.2; white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.elementor-widget.ds-el-button-w .elementor-button:hover { --btn-bg: var(--color-secondary); --btn-bd: var(--color-secondary); background: var(--btn-bg); color: var(--btn-fg); }
.elementor-widget.ds-el-button-w--accent .elementor-button { --btn-bg: var(--color-accent-ink); --btn-bd: var(--color-accent-ink); --btn-fg: var(--color-surface); }
.elementor-widget.ds-el-button-w--accent .elementor-button:hover { --btn-bg: var(--color-primary); --btn-bd: var(--color-primary); }
.elementor-widget.ds-el-button-w--outline .elementor-button { --btn-bg: transparent; --btn-fg: var(--color-primary); --btn-bd: var(--color-primary); }
.elementor-widget.ds-el-button-w--outline .elementor-button:hover { --btn-bg: var(--color-primary); --btn-fg: var(--color-on-dark); --btn-bd: var(--color-primary); }
.elementor-widget.ds-el-button-w--light .elementor-button { --btn-bg: var(--color-surface); --btn-fg: var(--color-primary); --btn-bd: var(--color-surface); }
.elementor-widget.ds-el-button-w--light .elementor-button:hover { --btn-bg: var(--color-background); --btn-bd: var(--color-background); --btn-fg: var(--color-primary); }
.elementor-widget.ds-el-button-w--icon .elementor-button { --btn-bg: transparent; --btn-fg: var(--color-text); --btn-bd: transparent; width: var(--control-h); padding: 0; }
.elementor-widget.ds-el-button-w--icon .elementor-button:hover { --btn-bg: var(--color-sunken); --btn-bd: var(--color-sunken); --btn-fg: var(--color-text); }
.ds-el-button-w .elementor-button-icon svg { width: 20px; height: 20px; }
.elementor-widget.ds-el-button-w--lg .elementor-button { min-height: 56px; padding-inline: var(--space-4); font-size: 1.0625rem; }
.ds-el-button-w--block, .elementor-widget.ds-el-button-w--block .elementor-button { width: 100%; }

/* ── Menus rendered by the Pro nav-menu widget inherit ds-* lists ─────── */
[class*="ds-el-"] .elementor-nav-menu--main .elementor-item,
[class*="ds-el-"] .elementor-nav-menu--main .elementor-item:hover {
	padding: 0; font: inherit; color: inherit; background: none;
}
[class*="ds-el-"] .elementor-nav-menu--main .elementor-item::before,
[class*="ds-el-"] .elementor-nav-menu--main .elementor-item::after { display: none; }
.ds-el-footer-links .elementor-nav-menu, .ds-el-footer-links .elementor-nav-menu li { display: block; }
.ds-el-nav-secondary .elementor-nav-menu { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ds-el-legal-links .elementor-nav-menu { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
/* mockup legal links are underlined (tokens.css a { text-decoration: underline }; the nav-menu resets it) */
.ds-el-legal-links .elementor-nav-menu .elementor-item { text-decoration: underline; text-underline-offset: 0.15em; }
/* the clearfix `.elementor-nav-menu::after` (widget-nav-menu.css) is a flex item in these flex lists: one extra gap at the end */
:is(.ds-el-nav-secondary, .ds-el-legal-links) .elementor-nav-menu::after { content: none; }
/* Footer menu colours (on-dark / on-dark-muted) are set in each nav-menu widget (color_menu_item), not here. */

/* ── Images: card media fills its ratio box (CLS, skill 00 §3) ────────── */
.ds-el-image .jet-listing-dynamic-image, .ds-el-image .elementor-widget-container, .ds-el-image a { display: block; width: 100%; height: 100%; }
.ds-el-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* ── JetEngine listing grids become the mockup grids ──────────────────── */
.ds-blk-grid .jet-listing-grid__items { gap: var(--space-3); margin: 0; }
.ds-blk-grid .jet-listing-grid__item { padding: 0; }
.ds-blk-grid .jet-listing-grid__item > .elementor { height: 100%; }

/* ── JetEngine data-store heart on cards ──────────────────────────────── */
.ds-el-fav .jet-data-store-link {
	display: inline-grid; place-items: center; width: var(--control-h); height: var(--control-h); border-radius: var(--radius-pill);
	background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-sm); text-decoration: none;
}
.ds-el-fav .jet-data-store-link.in-store { color: var(--color-accent-ink); }

/* ── Icon lists used as card meta (inline) ────────────────────────────── */
.ds-blk-card__meta .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); margin: 0; }
/* Item spacing: widget-icon-list.css sets the inline-items margin at (0,4,0); space_between = 0 is set in the
   card icon-list widgets (scripts/wp/ns-build.php), which prints (0,5,0). */
/* icon size / colour and text size: the card icon-list widgets' own controls ($card_meta in ns-build.php). Icon-to-text = the
   mockup's 8px: widget-icon-list.css already pads the text 5px ((0,3,0), loads later), so the icon margin gives the other 3px
   (Elementor's own custom property) and the ported `li { gap: 8px }` is dropped */
.ds-blk-card__meta { --e-icon-list-icon-margin: 0 3px 0 0; }
.ds-blk-card__meta .elementor-icon-list-item { gap: 0; }
/* LoopCabin kicker «Región · Tipo» and rating «★ 4,6 (8)»: inline parts with the mockup's 4px / 8px gaps; the JetEngine field
   inherits the kicker / rating type (its own value colour and star are the widget's controls) */
.ds-blk-card__kicker { display: flex; flex-wrap: wrap; gap: 0 4px; }
.ds-blk-card__rating { gap: 0 var(--space-1); font-size: var(--fs-small); font-weight: 600; }
:is(.ds-blk-card__kicker, .ds-blk-card__rating, .ds-blk-review__meta, .ds-blk-review__name) .jet-listing-dynamic-field__content { font: inherit; color: inherit; }
.ds-blk-review__meta { display: flex; gap: 0 4px; }
/* «Reseña verificada»: the mockup badge carries a 14px shield-check before the text (Heading widget: no icon slot) */
.ds-blk-review__verified .elementor-heading-title { display: inline-flex; align-items: center; gap: 6px; }
.ds-blk-review__verified .elementor-heading-title::before {
	content: ""; flex: none; width: 14px; height: 14px; background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── JetFormBuilder fields as the mockup fields ───────────────────────── */
/* :where() keeps the field rule at (0,2,0): a :not():not() chain is (0,4,0), above Elementor's (0,3,1) per-element
   form-field CSS, and the JetForm widget's field style controls would have no effect (measured on the lab, 2026-11-22). */
.ds-blk-form .jet-form-builder__field:where(:not([type="checkbox"], [type="radio"])),
.ds-blk-form .jet-form-builder__field.select-field {
	min-height: var(--control-h); padding: 0 var(--space-2); border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text); font: inherit;
}
.ds-blk-form .jet-form-builder__label-text { font-size: var(--fs-small); font-weight: 600; }
.ds-blk-form .jet-form-builder__action-button {
	min-height: var(--control-h); padding: 0 var(--space-3); border: 0; border-radius: var(--radius-pill);
	background: var(--color-accent-ink); color: var(--color-surface); font-weight: 600; cursor: pointer;
}
.ds-blk-form .jet-form-builder__action-button:hover { background: var(--color-primary); }

/* ── Visible keyboard focus (kept from the agency base) ───────────────── */
[class*="ds-"] :where(a, button, input, select, textarea):focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* The ds-blk-grid class sits on the Listing Grid WRAPPER (traceability); the columns are the
   widget's own columns setting, so the wrapper must not become the mockup grid itself. */
.elementor-widget-jet-listing-grid.ds-blk-grid { display: block; }
.ds-blk-grid .jet-listing-grid__items { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); }
.ds-blk-grid .jet-listing-grid__items.grid-col-desk-1 { --columns: 1; } .ds-blk-grid .jet-listing-grid__items.grid-col-desk-2 { --columns: 2; }
.ds-blk-grid .jet-listing-grid__items.grid-col-desk-3 { --columns: 3; } .ds-blk-grid .jet-listing-grid__items.grid-col-desk-4 { --columns: 4; }
@media (max-width: 1024px) { .ds-blk-grid .jet-listing-grid__items.grid-col-tablet-1 { --columns: 1; } .ds-blk-grid .jet-listing-grid__items.grid-col-tablet-2 { --columns: 2; } }
@media (max-width: 767px) { .ds-blk-grid .jet-listing-grid__items.grid-col-mobile-1 { --columns: 1; } .ds-blk-grid .jet-listing-grid__items.grid-col-mobile-2 { --columns: 2; } }
/* JetEngine sizes items with `.jet-listing-grid__items > .jet-listing-grid__item {flex:0 0 calc(100%/var(--columns)); max-width}` (0,2,0)
   and pulls the row out with `margin:0 -10px; width:calc(100% + 20px)` (contracts §7): neutralised at (0,3,0), no !important. */
.ds-blk-grid .jet-listing-grid__items > .jet-listing-grid__item { width: auto; max-width: none; flex: none; padding: 0; }
.ds-blk-grid .jet-listing-grid__items { margin: 0; width: auto; }

/* ── Crocoblock widgets that print their own <h*> (JWB titles, JSF labels) inherit the ds class ── */
.elementor-widget:where([class*="ds-el-h"], [class*="ds-blk-card__"]) :is(h1, h2, h3, h4, h5, h6) { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; }
.elementor-widget.ds-el-h1 :is(h1, h2), .elementor-widget.ds-el-h4 :is(h2, h3, h4) { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; }

/* ── Hero: the image fills the overlay cell instead of setting the height ── */
.ds-sec-hero__bg { position: relative; overflow: hidden; }
.ds-sec-hero__bg .elementor-widget-container, .ds-sec-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ds-sec-hero__bg::after { position: absolute; inset: 0; }
.ds-sec-hero__inner { position: relative; z-index: 1; }
/* mockup .ds-el-link--arrow (tokens.css:185-187): the 18px arrow after the text nudges 4px on hover. The Heading widget has no
   icon slot, so the arrow is the mockup's path as a mask on the link (currentColor) */
.ds-el-link--arrow .elementor-heading-title a { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--touch); }
.ds-el-link--arrow .elementor-heading-title a::after {
	content: ""; flex: none; width: 18px; height: 18px; background-color: currentColor; transition: transform .2s var(--ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-el-link--arrow .elementor-heading-title a:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .ds-el-link--arrow .elementor-heading-title a::after { transition: none; } }
/* Product card (JetWooBuilder card in the Pro Products grid): the plugin lists (tags, categories) keep WordPress' ul margins and
   the title link the theme link colour; the card fills its grid row like the mockup's equal-height cards */
.ds-blk-card--product :is(.ds-blk-card__badge, .ds-blk-card__kicker) :is(ul, li) { display: inline; margin: 0; padding: 0; }
.ds-blk-card--product :is(.ds-blk-card__title, .ds-blk-card__kicker) a { color: inherit; text-decoration: none; }
/* woocommerce.css pads every `li.product h3` .5em top and bottom ((0,3,3); the JWB title widget has no spacing control): the
   wrapper takes the same amount back, so the h3 of the mockup keeps its 24px line box */
.ds-blk-card--product .elementor-widget.ds-blk-card__title { margin-block: -0.5em; }
.ds-blk-grid--products-wc li.product > .elementor { height: 100%; }
/* product tag badge: JetWooBuilder prints an empty <ul> when the product has no tag (an empty white pill on the photo) */
.elementor-widget.ds-blk-card__badge:has(:where(ul:empty)) { display: none; }

/* Screen-reader-only text (agency base). */
.ds-el-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ═══ Plugin primitives: see widgets-base.css ══════════════════════════════════════════════════════
   The generic look of Crocoblock / WooCommerce primitives (JetSmartFilters fields and buttons, JetSearch,
   JetFormBuilder, JetCompareWishlist planes, Woo buttons and form fields, Profile menu, Menu Cart and
   JetMenu variables) lives in widgets-base.css, at specificity <= (0,2,1) and without !important, so
   every widget Style setting overrides it. Rules HERE are scoped by a ds-* class (one design decision of
   the mockup), stay <= (0,3,0) for inner elements (Elementor's weakest per-element selector is (0,3,1))
   and never use `html body` boosts or !important on visual properties. A style-control default that
   fights the design (JSF select 150 px, JetSearch results shadow…) is changed in the widget settings,
   not overridden (skill 00 references/widget-dom-contracts.md §3, cross-plugin trap 8). */

/* Buttons: ghost variant (quick view) */
.elementor-widget.ds-el-button-w--ghost .elementor-button { --btn-bg: transparent; --btn-fg: var(--color-primary); --btn-bd: transparent; padding-inline: var(--space-2); }
.elementor-widget.ds-el-button-w--ghost .elementor-button:hover { --btn-bg: var(--color-sunken); --btn-bd: var(--color-sunken); --btn-fg: var(--color-primary); }

/* Card favourite = round icon button on the media (JetCompareWishlist paints the __plane children) */
.ds-blk-card__fav .jet-wishlist-button__link { width: var(--control-h); height: var(--control-h); padding: 0; justify-content: center; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.ds-blk-card__fav .jet-wishlist-button__link :is(.jet-wishlist-button__plane-normal, .jet-wishlist-button__plane-added) { background-color: var(--color-surface); border-color: var(--color-surface); }
.ds-blk-card__fav .jet-wishlist-button__label { display: none; }

/* ═══ Nordic Stays design decisions (migrated from the 2026-11-22 visual QA pass, blueprint v1.0.0-alpha.10) ═══
   Generic plugin looks come from widgets-base.css; what the mockup decides per section is below, every rule
   scoped by a ds-* class, <= (0,3,0), no `html body`, no !important on visual properties. Moved to widget
   controls in the templates (scripts/wp/ns-build.php): JSF select / sorting width (150px default) and date-range
   input width (45%), Menu Cart toggle (colours, 0 border, 22px icon, badge colours), JetMenu item gap / padding /
   colours, footer menu colours, card icon-list spacing. */

/* JetSearch bar: the form fills the header row (the widget nests 4 wrappers; the box is routed to
   __fields-holder by port-mockup-css.mjs). jet-search.css loads after the theme: (0,3,0) here. */
.ds-blk-search .jet-ajax-search :is(.jet-ajax-search__form, .jet-ajax-search__fields-holder, .jet-ajax-search__field-wrapper) { width: 100%; flex: 1 1 auto; }
.ds-blk-search.elementor-widget .jet-ajax-search { width: 100%; }
/* mockup `.ds-blk-search { flex: 1 1 auto; max-width: 520px }` as a 520px basis that shrinks: Elementor's
   `.elementor.elementor .e-con > .elementor-widget { max-width: 100% }` is (0,4,0), above this file's budget */
.ds-blk-mainbar > .ds-blk-search { flex: 0 1 520px; --flex-grow: 0; --container-widget-flex-grow: 0; --container-widget-width: auto; min-width: 0; }
/* mockup .ds-blk-search__kbd «/» hint (decorative, aria-hidden in the mockup; JetSearch has no slot for it) */
.ds-blk-mainbar > .ds-blk-search .jet-ajax-search__fields-holder { position: relative; }
.ds-blk-mainbar > .ds-blk-search .jet-ajax-search__fields-holder::after {
	content: "/"; position: absolute; right: var(--space-2); top: 50%; translate: 0 -50%; min-width: 24px; padding: 0 var(--space-1);
	border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: var(--fs-small); line-height: 1.5; color: var(--color-text-muted); text-align: center; pointer-events: none;
}
/* the hint gives way to the field's clear button once there is focus or text (the native cancel button sits at the same spot) */
.ds-blk-mainbar > .ds-blk-search .jet-ajax-search__fields-holder:has(:where(.jet-ajax-search__field:focus, .jet-ajax-search__field:not(:placeholder-shown)))::after { content: none; }
@media (max-width: 1024px) { .ds-blk-mainbar > .ds-blk-search .jet-ajax-search__fields-holder::after { content: none; } }
/* clear button: the browser's blue cancel glyph redrawn as the mockup's thin 24px-grid icon in text-muted (JetSearch only
   offers an uploaded-SVG replacement, ajax-search.php:180-204) */
.ds-blk-search .jet-ajax-search__field::-webkit-search-cancel-button {
	-webkit-appearance: none; appearance: none; width: 18px; height: 18px; cursor: pointer; background-color: var(--color-text-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-blk-search .jet-ajax-search__field::-webkit-search-cancel-button:hover { background-color: var(--color-text); }
.ds-sec-404 .ds-blk-search { max-width: 560px; }
/* placeholder: jet-search.css `.jet-ajax-search__field[type=search]::-webkit-input-placeholder{color:inherit}` (0,2,1) loads
   later and ties with the ported rule; the widget has no placeholder colour control (only typography). */
.ds-blk-search .jet-ajax-search .jet-ajax-search__field::placeholder { color: var(--color-text-muted); }
@media (max-width: 767px) { .ds-blk-mainbar > .ds-blk-search.elementor-widget { display: none; } }

/* Mobile header: the bar search is hidden (mockup); the icon opens JetSearch's popup search. Below 1025px the navbar
   and the CTA give way to the burger (JetMenu Hamburger Menu, its toggle/drawer styles are widget controls). */
.elementor-widget.ds-el-search-toggle, .elementor-widget.ds-el-burger { display: none; }
@media (max-width: 1024px) { .elementor-widget.ds-el-burger { display: block; } .ds-blk-mainbar > .elementor-widget.ds-el-cta { display: none; } }
@media (max-width: 767px) { .elementor-widget.ds-el-search-toggle { display: block; } }
/* full-screen popup: the sheet touches the screen edges over the mockup scrim (jet-search.css pads it 30px over black 70%,
   no widget control for either) */
.ds-el-search-toggle .jet-ajax-search__popup--full-screen { padding: 0; background-color: var(--color-overlay); }
/* drawer rows = mockup `.ds-el-mnav > li` (bottom rule) and `details ul` (16px indent, no rules). The widget's divider and
   the plugin's 30px list indent apply to every level (public.css) with no per-level control, so the rule is drawn here */
.ds-el-burger .jet-mobile-menu__item { border-bottom: 1px solid var(--color-border); }
.ds-el-burger .jet-mobile-menu__item .jet-mobile-menu__item { border-bottom: 0; }
.ds-el-burger .jet-mobile-menu__item .jet-mobile-menu__list { padding-left: var(--space-2); }
/* the popup's field = the mockup pill (.ds-blk-search--panel); the bar's routed rules target .ds-blk-search only */
.ds-el-search-toggle .jet-ajax-search__fields-holder { min-height: var(--control-h); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); }
.ds-el-search-toggle .jet-ajax-search__fields-holder:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.ds-el-search-toggle .jet-ajax-search__field::placeholder { color: var(--color-text-muted); }
.ds-el-burger .jet-mobile-menu__toggle, .ds-el-search-toggle .jet-ajax-search__popup-trigger { min-width: var(--touch); min-height: var(--touch); justify-content: center; align-items: center; }

/* Header utilities: favourites icon button with a count badge (Menu Cart: its widget controls) */
.ds-blk-mainbar .ds-el-fav-link { position: relative; width: var(--control-h); height: var(--control-h); }
.ds-el-fav-link .ds-el-badge--count { z-index: 1; }
.ds-sec-header .ds-blk-mainbar { gap: var(--space-1); }

/* JetMenu mega panel: the surface, top rule and shadow are the panel content's own (.ds-blk-megamenu, ported); the plugin
   container has no padding (widget controls), so there is a single box */
.ds-el-nav .jet-mega-menu-item__link { min-height: var(--touch); font-family: var(--font-body); }
/* mockup .ds-el-nav__link pill = the JetMenu item __inner (link + chevron; padding, gap and hover colour are widget controls,
   JetMenu has no radius control for top items, jet-widget-mega-menu.php:1009-1170). The ported link padding/hover would
   draw a second pill inside it. The list starts one item padding to the left, as the mockup's `ul { margin-left: -16px }`. */
.ds-el-nav .jet-mega-menu-item--top-level > .jet-mega-menu-item__inner { align-items: center; gap: var(--space-1); border-radius: var(--radius-pill); transition: background-color .2s var(--ease); }
.ds-el-nav .jet-mega-menu-item__link, .ds-el-nav .jet-mega-menu-item__link:hover { padding: 0; background: none; }
.ds-el-nav .jet-mega-menu-list { margin-left: calc(var(--space-2) * -1); }
/* Mega panel content (jet-menu templates «Mega · …»): the mockup's `.ds-el-nav ul { display: flex }` must not turn the
   panel's link lists into rows. */
.ds-blk-megamenu .ds-blk-megamenu__links .elementor-icon-list-items { display: block; margin: var(--space-1) 0 0; gap: 0; }

/* JetSmartFilters fields = mockup .ds-el-field (hero availability bar + archive sidebar) */
:is(.ds-el-field, .ds-blk-filters__group) .jet-filter-label { font-size: var(--fs-small); margin: 0 0 var(--space-1); }
:is(.ds-el-field, .ds-blk-filters__group) .jet-range__inputs :is(.jet-range__inputs__min, .jet-range__inputs__max) { min-width: 72px; }
.ds-blk-filters__group .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator { background: var(--color-primary); border-color: var(--color-primary); }
/* both dates side by side: the mockup's `.ds-blk-form fieldset { display: grid }` (layout.css) also matches JSF's
   fieldset.jet-date-range__inputs inside the hero form; each input is capped by the widget's date_range_input_width (50%) */
.ds-el-field .jet-date-range .jet-date-range__inputs { display: flex; flex-wrap: nowrap; gap: var(--space-1); }
.ds-blk-search-availability .jet-select .jet-select__control,
.ds-blk-search-availability .jet-date-range .jet-date-range__control { border-color: transparent; padding-left: 0; background-color: transparent; font-weight: 600; }
.ds-blk-search-availability .apply-filters { margin: 0; }
.ds-blk-search-availability .ds-el-field--dates { grid-column: span 2; }
.ds-blk-search-availability .jet-date-range .jet-date-range__inputs { column-gap: var(--space-2); }
/* <= 1024px the mockup is a 2x2 grid of four fields (Entrada and Salida apart); the lab has ONE date-range field spanning the
   row, so destination and guests span it too (no half-empty rows) and the source / tab order is kept */
@media (max-width: 1024px) { .ds-blk-search-availability :is(.ds-el-field--dates, .ds-el-field--wide) { grid-column: 1 / -1; } }
.ds-blk-search-availability .apply-filters .apply-filters__button { min-height: 64px; padding-inline: var(--space-4); border-radius: var(--radius-md); background-color: var(--color-accent-ink); color: var(--color-surface); }
.ds-blk-search-availability .apply-filters .apply-filters__button:hover { background-color: var(--color-primary); }
/* mockup page-home.css: the CTA spans the bar below 1025px and is 56px high on mobile (the lab class sits on the
   apply-button widget wrapper, not on a .ds-el-button) */
@media (max-width: 1024px) { .ds-blk-search-availability > .ds-el-cta { grid-column: 1 / -1; } .ds-blk-search-availability .apply-filters .apply-filters__button { width: 100%; } }
@media (max-width: 767px) { .ds-blk-search-availability .apply-filters .apply-filters__button { min-height: 56px; } }
:is(.ds-blk-filters, .ds-blk-active-filters) .jet-remove-all-filters .jet-remove-all-filters__button { border-color: transparent; transition: background-color .2s var(--ease); }
/* mockup .ds-el-button--ghost:hover (sunken fill; the primary text keeps it visible on the page background too) */
:is(.ds-blk-filters, .ds-blk-active-filters) .jet-remove-all-filters .jet-remove-all-filters__button:hover { background-color: var(--color-sunken); border-color: var(--color-sunken); color: var(--color-primary); }
.ds-blk-results__sort { min-width: 240px; }
.ds-blk-results__sort > .elementor-widget { --container-widget-flex-grow: 1; --container-widget-width: 100%; flex: 1 1 auto; width: 100%; }

.ds-blk-form .jet-form-builder .jet-form-builder__action-button { align-items: center; justify-content: center; line-height: 1.2; }

/* JetFormBuilder footer newsletter (Footer.dc.html): the e-mail label shows, the consent group label is screen-reader only (its
   option is the visible text); rows are spaced by the ported form gap (8px) only */
.ds-blk-form--newsletter .field-type-checkbox-field .jet-form-builder__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds-blk-form--newsletter .jet-form-builder__label-text { color: var(--color-on-dark); }
.ds-blk-form--newsletter .jet-form-builder-row { display: block; margin-bottom: 0; }
.ds-blk-form--newsletter form.jet-form-builder { gap: var(--space-2); }
/* consent link (option label HTML, kept by wp_kses_post): mockup `.ds-sec-footer .ds-el-check a { text-decoration: underline }` */
/* jfb main.css makes EVERY span in a checkbox option a flex row with a gap (.checkradio-wrap span, (0,2,1)): the text span
   holding the link stays inline so «Acepto la política de privacidad.» reads as one line */
.ds-blk-form--newsletter span.ds-el-check__text { display: inline; }
.ds-blk-form--newsletter .for-checkbox a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.ds-blk-form--newsletter .for-checkbox a:hover { color: var(--color-on-dark); }
.ds-blk-form--newsletter .jet-form-builder-col__end { width: 100%; max-width: 100%; }
.ds-blk-form--newsletter .jet-form-builder__field-label.for-checkbox { display: flex; gap: var(--space-1); align-items: flex-start; font-size: var(--fs-small); }

/* Footer: text on dark, social icons as ghost icons */
.ds-sec-footer, .ds-sec-footer p, .ds-sec-footer .jet-form-builder__field-label, .ds-sec-footer .jet-form-builder__label-text { color: var(--color-on-dark-muted); }
.ds-sec-footer .ds-el-copy p { color: var(--color-on-dark-muted); }
.ds-sec-footer .ds-el-footer-links .elementor-item { font-family: var(--font-body); }
/* social icons: colours, size and spacing are the widget's controls (ns-build.php footer) */

/* Ratings in text use accent-ink (accent is decorative only: 3.37:1 on cream, mapping.md) */
.ds-el-rating, .ds-el-rating .elementor-heading-title, .ds-blk-review__rating .ds-el-stars { color: var(--color-accent-ink); }

/* Product summary wishlist / compare: outline look set in the JetCompareWishlist widget controls (scripts/wp/ns-build.php $jcw_outline). */

/* LoopGuide slot pills ([ns_guide_slots], mu-plugins/agency-site-nordic-shortcodes.php) */
/* guide card: rating + languages on one row (mockup ul.ds-blk-card__meta holds both) */
/* (direction / wrap / alignment are the container's own controls in ns-build.php) */
.ds-blk-guide-card__meta-row { display: flex; gap: var(--space-1) var(--space-2); }
/* the shortcode's list = the mockup's `.ds-blk-guide-card__slots fieldset` (label + pills); the card area itself is the
   container .ds-blk-guide-card__slots (ported rules) */
.ds-blk-guide-card__fieldset { display: grid; gap: var(--space-1); }
.ds-blk-guide-card__slots .ds-el-slots { display: flex; flex-wrap: wrap; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.ds-el-slots .ds-el-chip--link { display: inline-flex; align-items: center; min-height: var(--touch); padding: 0 var(--space-2); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-text); font-size: var(--fs-small); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ds-el-slots .ds-el-chip--link:hover { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-on-dark); }

/* Reviews summary ([ns_rating_summary]) stars as text */
.ds-blk-rating-summary .ds-el-stars { font-size: 1.125rem; letter-spacing: 2px; color: var(--color-accent-ink); }

/* Mockup classes that describe the INNER grid of a native element must not lay out the widget wrapper */
.elementor-widget.ds-blk-form { display: block; padding: 0; border: 0; background: none; box-shadow: none; }

/* WooCommerce pages: section rhythm; JetProductTables variation select as a field */
:is(.ds-sec-checkout, .ds-sec-cart, .ds-sec-thankyou, .ds-sec-myaccount) { padding-block: var(--space-8); }
:is(.ds-sec-checkout, .ds-sec-cart, .ds-sec-myaccount) .form-row { margin-bottom: var(--space-2); }
.ds-sec-product-specs .jet-wc-product-table-variation-select { min-width: 112px; min-height: var(--control-h); border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); background: var(--color-surface); padding: 0 var(--space-4) 0 var(--space-1); }

/* ══ Account hub (AccountHub.dc.html; JetEngine Profile Builder in the Pro single-page template) ══════════════════════
   The nav card, user block, main column and tabs are mockup classes on containers (ds-mockup.css); here the inner markup
   of the profile menu (ul.jet-profile-menu > li > a, .is-active), the icon list of store links and the empty states. */
/* (0,3,0) and later than the «text widgets inherit the ds-* wrapper» rule (font: inherit) */
.elementor-widget.ds-blk-account-nav__avatar .elementor-heading-title { font-size: 0; line-height: 1; } /* the display name, shown as its initial */
.ds-blk-account-nav__avatar .elementor-heading-title::first-letter { font-size: 1.125rem; text-transform: uppercase; }
.ds-blk-account-nav__name { font-weight: 700; }
.ds-blk-account-nav__mail { font-size: var(--fs-small); overflow-wrap: anywhere; }
/* more air than the mockup (client review 2026-11-22): wider card (296-336px instead of 248-296, so «Pedidos de la tienda»
   stays on one line), 24px padding, 4px between rows, 12px row padding, and a rule between the hub links and the store links */
.ds-sec-account-hub .ds-blk-account-nav { flex-basis: 296px; max-width: 336px; padding: var(--space-3); gap: var(--space-3); }
.ds-el-account-menu .jet-profile-menu,
.ds-el-account-menu--links .elementor-icon-list-items { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ds-el-account-menu--links { padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.ds-el-account-menu--links .elementor-icon-list-item { margin: 0; padding: 0; }
/* menu rows = mockup `.ds-el-account-menu a` (48px, 16px inline padding, radius-md, 500 weight, icon + 16px gap) */
:is(.ds-el-account-menu .jet-profile-menu__item-link, .ds-el-account-menu--links .elementor-icon-list-item > a) {
	display: flex; align-items: center; gap: var(--space-2); min-height: var(--control-h); padding: var(--space-1) var(--space-2); border-radius: var(--radius-md); line-height: 1.35;
	color: var(--color-text); font-weight: 500; text-decoration: none;
}
:is(.ds-el-account-menu .jet-profile-menu__item-link, .ds-el-account-menu--links .elementor-icon-list-item > a):hover { background: var(--color-sunken); }
/* on the hub root (/account-hub/) JetEngine marks no item (is_subpage_now() needs is_account_page(), false in the Pro
   single-page template): the first item = the root content. Not on the Woo endpoints of the same shell (body .woocommerce-account) */
body:not(.woocommerce-account) .ds-el-account-menu .jet-profile-menu:not(:has(.is-active)) > .jet-profile-menu__item:first-child > .jet-profile-menu__item-link,
/* Woo endpoints in the shell: the store link of the current endpoint (WooCommerce body class woocommerce-<endpoint>) */
:is(.woocommerce-orders, .woocommerce-view-order) .ds-el-account-menu--links .elementor-icon-list-item > a[href*="/orders"],
.woocommerce-edit-address .ds-el-account-menu--links .elementor-icon-list-item > a[href*="/edit-address"],
.woocommerce-edit-account .ds-el-account-menu--links .elementor-icon-list-item > a[href*="/edit-account"],
.ds-el-account-menu .is-active > .jet-profile-menu__item-link { background: var(--color-primary-soft); color: var(--color-primary); font-weight: 700; }
.ds-el-account-menu--links .elementor-icon-list-item .elementor-icon-list-text { color: inherit; padding: 0; } /* over Elementor's inline (0,2,0) secondary colour */
.ds-el-account-menu--links .elementor-icon-list-item > a[href*="customer-logout"] { color: var(--color-danger); } /* above the row rule's (0,3,1) */
/* mockup 24px stroke icons (u-icon), drawn as masks: the Profile Builder menu has no icon slot and kses/FA have no such set */
:is(.ds-el-account-menu, .ds-el-tabs) a[href]::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; mask: var(--ds-ico) center / contain no-repeat; }
.ds-el-account-menu a[href]::before { color: var(--color-text-muted); }
:is(.ds-el-account-menu .is-active, body:not(.woocommerce-account) .ds-el-account-menu .jet-profile-menu:not(:has(.is-active)) > :first-child) > a::before,
:is(.woocommerce-orders, .woocommerce-view-order) .ds-el-account-menu--links a[href*="/orders"]::before,
.woocommerce-edit-address .ds-el-account-menu--links a[href*="/edit-address"]::before,
.woocommerce-edit-account .ds-el-account-menu--links a[href*="/edit-account"]::before { color: var(--color-primary); }
.ds-el-account-menu--links a[href*="customer-logout"]::before { color: var(--color-danger); }
/* the first Profile Builder item is the account root (/account-hub/, add_main_slug off): matched by position */
:is(.ds-el-account-menu, .ds-el-tabs) :is(.jet-profile-menu__item:first-child > a, a[href*="/reservas"]) { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
:is(.ds-el-account-menu, .ds-el-tabs) a[href*="/favoritos"] { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
:is(.ds-el-account-menu, .ds-el-tabs) a[href*="/cronica"] { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2zM4 21V5'/%3E%3C/svg%3E"); }
.ds-el-account-menu--links a[href*="/orders"] { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5 12 3l8 4.5v9L12 21l-8-4.5z'/%3E%3Cpath d='M4 7.5 12 12l8-4.5M12 12v9'/%3E%3C/svg%3E"); }
.ds-el-account-menu--links a[href*="edit-address"] { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.ds-el-account-menu--links a[href*="edit-account"] { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h4M12 17h8'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='17' r='2'/%3E%3C/svg%3E"); }
.ds-el-account-menu--links a[href*="customer-logout"] { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M10 16l-4-4 4-4M6 12h10'/%3E%3C/svg%3E"); }
/* tabs row = mockup .ds-el-tabs buttons (56px, muted 600, 3px accent underline on the current one) */
.ds-el-tabs .jet-profile-menu { display: flex; gap: var(--space-1); margin: 0; padding: 0; list-style: none; overflow-x: auto; }
/* widgets-base paints the active/hover Profile Builder link as a primary-soft pill ((0,3,0)): tabs are underlined instead */
.ds-el-tabs .jet-profile-menu .jet-profile-menu__item-link { background: none; border-radius: 0; }
.ds-el-tabs .jet-profile-menu__item-link { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 56px; padding: 0 var(--space-2); white-space: nowrap; font-weight: 600; color: var(--color-text-muted); text-decoration: none; }
.ds-el-tabs .jet-profile-menu__item-link:hover { color: var(--color-text); }
.ds-el-tabs .jet-profile-menu:not(:has(.is-active)) > .jet-profile-menu__item:first-child > .jet-profile-menu__item-link,
.ds-el-tabs .is-active > .jet-profile-menu__item-link { color: var(--color-primary); box-shadow: inset 0 -3px 0 var(--color-accent-ink); }
.ds-el-tabs a[href]::before { width: 16px; height: 16px; }
/* empty states: mockup .ds-blk-empty__ico glyphs (calendar / heart / route) */
.ds-blk-empty__ico::before { content: ""; width: 28px; height: 28px; background: currentColor; mask: var(--ds-ico) center / contain no-repeat; }
.ds-blk-empty__ico--calendar { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ds-blk-empty__ico--heart { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.ds-blk-empty__ico--route { --ds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 18h7a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h7'/%3E%3C/svg%3E"); }
/* raw HTML in the not-found message: the Kit's `.elementor-kit-N h2` and `a` colours (0,1,1) beat the mockup classes (0,1,0) */
.ds-blk-empty h2.ds-el-h3 { margin: 0; font-size: var(--fs-h3); font-weight: 500; }
.ds-blk-empty a.ds-el-button { color: var(--btn-fg); text-decoration: none; }
.ds-blk-empty p { margin: 0; }
/* the not-found box also carries .jet-listing-grid__items (the N-column grid): the empty state takes the full row */
.ds-blk-account-main .jet-listing-not-found { display: block; }
/* the ported mockup 2-column phone menu (`.ds-el-account-menu { grid-template-columns: repeat(2, …) }`) lands on the widget
   WRAPPERS here and squeezed each list into one column: the rows stay one per line (two lists, not one 6-item grid) */
.elementor-widget.ds-el-account-menu { display: block; }

/* Woo endpoints in the account shell (JWB Account Content = native orders / addresses / account forms): mockup fields,
   table and card surfaces. Woo's own rules are (0,3,x)-(0,4,x) on `.woocommerce form .form-row …`, so these carry the panel class. */
.ds-blk-woo-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.ds-blk-woo-account :is(form.woocommerce-EditAccountForm, form.edit-account, .woocommerce-address-fields, .woocommerce-Address) { padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.ds-blk-woo-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-3); }
.ds-blk-woo-account .woocommerce-Addresses::before, .ds-blk-woo-account .woocommerce-Addresses::after { content: none; }
.ds-blk-woo-account .woocommerce-Addresses .woocommerce-Address { width: auto; float: none; margin: 0; }
.ds-blk-woo-account .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.ds-blk-woo-account .woocommerce-Address-title h2 { margin: 0; font-size: var(--fs-h3); }
.ds-blk-woo-account form .form-row .input-text, .ds-blk-woo-account form .form-row select { min-height: var(--control-h); padding: 0 var(--space-2); }
.ds-blk-woo-account fieldset { margin: var(--space-3) 0 0; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.ds-blk-woo-account legend { padding: 0 var(--space-1); font-weight: 600; }
.ds-blk-woo-account table.shop_table { width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--color-surface); }
.ds-blk-woo-account table.shop_table :is(th, td) { padding: var(--space-2) var(--space-3); border: 0; border-bottom: 1px solid var(--color-border); background: var(--color-surface); text-align: left; }
.ds-blk-woo-account table.shop_table thead th { background: var(--color-background); font-family: var(--font-heading); font-weight: 500; }
.ds-blk-woo-account table.shop_table tbody tr:last-child > * { border-bottom: 0; }
/* Woo notices («No se ha hecho ningún pedido todavía»…) as the panel cards, not the 3px top-bar boxes */
.ds-blk-woo-account :is(.woocommerce-info, .woocommerce-message) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.ds-blk-woo-account :is(.woocommerce-info, .woocommerce-message)::before { position: static; color: var(--color-primary); }
.ds-blk-woo-account :is(.woocommerce-info, .woocommerce-message) .button { order: 2; margin: 0 0 0 auto; } /* Woo prints the button before the text */

/* Logged-out account (JetWooBuilder «Acceso» template on /mi-cuenta/): login and register side by side as the mockup's
   card surface; the Woo fields take the kit field height */
.ds-blk-login { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: var(--space-5); align-items: start; }
.ds-blk-login :is(form.login, form.register) { margin: var(--space-2) 0 0; padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.ds-blk-login .woocommerce-form-row .input-text { min-height: var(--control-h); padding: 0 var(--space-2); }

/* ══ Cabin archive (CabinArchive.dc.html) ═════════════════════════════════════════════════════════════════════════
   Range and checkbox looks are widget style controls (ns-build.php archive); here only what no control reaches. */
/* the first group has no rule above it: in the mockup it is the first <fieldset> (:first-of-type), here the head is a div */
.ds-blk-filters > .ds-blk-filters__head + .ds-blk-filters__group { border-top: 0; padding-top: 0; }
.ds-blk-filters__head .ds-el-badge--active-count[hidden] { display: none; }
.ds-el-badge--active-count [data-ds-active-count] { margin-right: 0.25em; } /* the title is a flex row: the text node loses its leading space */
/* mockup .ds-el-check rows: the 44px touch row and centred box are widgets-base primitives; items_space_between adds 8px */
/* mockup .ds-el-range-values: «50 €» left, «400 €» right, no dash (range.php template prints «min — max») */
.ds-blk-filters .jet-range__values { display: flex; font-size: 0; }
.ds-blk-filters .jet-range__values > span { font-size: var(--fs-small); font-weight: 600; color: var(--color-text); }
.ds-blk-filters .jet-range__values-min + .jet-range__values-suffix { margin-right: auto; }
.ds-blk-filters .jet-range__values-suffix { margin-left: 0.25em; } /* « €» loses its leading space as a flex item */
/* availability: Entrada over Salida, full width (mockup .ds-blk-filters__dates) */
.ds-blk-filters .jet-date-range .jet-date-range__inputs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
/* fields = mockup .ds-el-input / .ds-el-select (48px, border-strong, radius-sm, 16px, drawn caret) */
:is(.ds-blk-filters, .ds-blk-results__sort) :is(select.jet-select__control, select.jet-sorting-select, input.jet-date-range__control) {
	width: 100%; min-height: var(--control-h); padding: 0 var(--space-2); border-color: var(--color-border-strong); border-radius: var(--radius-sm); font-size: var(--fs-body);
}
:is(.ds-blk-filters, .ds-blk-results__sort) :is(select.jet-select__control, select.jet-sorting-select) {
	appearance: none; padding-right: var(--space-6);
	background-image: linear-gradient(45deg, transparent 50%, var(--color-text) 50%), linear-gradient(135deg, var(--color-text) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
:is(.ds-blk-filters, .ds-blk-results__sort) :is(select.jet-select__control, select.jet-sorting-select, input.jet-date-range__control):hover { border-color: var(--color-text); }
/* actions: «Aplicar filtros» primary block, «Borrar filtros» ghost block */
.ds-blk-filters__actions .apply-filters .apply-filters__button { width: 100%; justify-content: center; }
.ds-blk-filters__actions .jet-remove-all-filters .jet-remove-all-filters__button { width: 100%; background-color: transparent; }
/* active-filter chips = mockup .ds-el-filter-chip: value + 16px × inline (colours, padding, radius: widget controls); the
   «Equipamiento:» label stays for screen readers only, the mockup chip shows the value */
.ds-blk-active-filters .jet-active-filter { align-items: center; gap: var(--space-1); min-height: var(--touch); font-size: var(--fs-small); font-weight: 600; }
/* the × text glyph sits on the baseline (hidden by the widget's remove size 0): the mockup's 16px X icon is drawn instead */
.ds-blk-active-filters .jet-active-filter .jet-active-filter__remove { position: static; display: grid; place-items: center; width: 16px; height: 16px; line-height: 0; }
.ds-blk-active-filters .jet-active-filter .jet-active-filter__remove::before {
	content: ""; width: 16px; height: 16px; background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-blk-active-filters .jet-active-filter .jet-active-filter__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* results toolbar: «N cabañas» · [Filtros] · «Ordenar por [select]» on one row (mockup .ds-blk-results) */
.ds-blk-results__count p { margin: 0; }
.ds-blk-results__sort .jet-sorting { flex-direction: row; align-items: center; gap: var(--space-1); }
.ds-blk-results__sort .jet-sorting-label { flex: none; margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--color-text); }
@media (max-width: 767px) { .ds-blk-results__sort .jet-sorting-label { flex: 0 1 min-content; } }
/* pagination = mockup .ds-el-pagination: colours, border, radius and padding are widget controls on the __link. The ported
   `.ds-el-pagination a` / `[aria-current="page"]` rules land on JSF's __item (an <a> / the current <div>), not on the pill */
.ds-el-pagination .jet-filters-pagination__item { display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; }
.ds-el-pagination .jet-filters-pagination__link { font-weight: 600; } /* 48px pill sizing: widgets-base */

/* ══ Cabin single (CabinDetail.dc.html) ═══════════════════════════════════════════════════════════════════════════ */
/* title row: meta icon colour is the icon list's icon_color (text-muted); mockup .ds-blk-single-title__meta: 8px icon→text, 24px between items */
.ds-blk-single-title__meta .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin: 0; }
.ds-blk-single-title__meta { --e-icon-list-icon-margin: 0 4px 0 0; } /* + the FA glyph's own side bearing ≈ the mockup's 8px (text_indent 0 is a widget control) */
.ds-blk-single-title__meta .elementor-icon-list-item { gap: 0; }
.ds-blk-single-title__actions { align-items: center; }
/* «Guarda» = mockup .ds-el-button--outline (the card heart rule above draws a 48px disc) */
.ds-blk-single-title__actions .jet-data-store-link {
	display: inline-flex; gap: var(--space-1); width: auto; height: auto; min-height: var(--control-h); padding: 0 var(--space-3);
	border: 1px solid var(--color-primary); background: transparent; color: var(--color-primary); box-shadow: none; font-weight: 600;
}
.ds-blk-single-title__actions .jet-data-store-link:hover { background: var(--color-primary); color: var(--color-on-dark); }
.ds-blk-single-title__actions .jet-data-store-link svg { width: 18px; height: 18px; fill: currentColor; }
.ds-blk-single-title__actions .jet-data-store-link { transition: background-color .2s var(--ease), color .2s var(--ease); }
/* share circles (framed skin, 1px ring = widget border_size): hover fills like the outline buttons; the icon reads
   --e-share-buttons-primary-color (widget-share-buttons.css), redefined on the icon so the ring keeps the primary */
.ds-el-share .elementor-share-btn { transition: background-color .2s var(--ease); }
.ds-el-share .elementor-share-btn:hover { background-color: var(--color-primary); }
.ds-el-share .elementor-share-btn:hover .elementor-share-btn__icon { --e-share-buttons-primary-color: var(--color-on-dark); }
/* bento gallery: main photo = 2fr column over both rows (4:3); the Image Gallery widget spans the two 1fr columns as a 2x2 grid */
.ds-blk-gallery__cell--main .ds-el-image img { aspect-ratio: 4 / 3; }
.ds-blk-gallery__cell > .ds-blk-gallery__video { place-self: end start; z-index: 1; } /* 16px inset = the widget's _margin */
.ds-blk-gallery .ds-el-button-w .elementor-button-icon svg { width: 16px; height: 16px; } /* mockup u-icon--sm */
.ds-blk-gallery > .ds-blk-gallery__rest { grid-column: 2 / -1; grid-row: 1 / span 2; min-height: 0; }
.ds-blk-gallery__rest .elementor-image-gallery, .ds-blk-gallery__rest .gallery { height: 100%; }
.ds-blk-gallery__rest .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--space-1); margin: 0; }
.ds-blk-gallery__rest .gallery-item { width: auto; max-width: none; min-height: 0; margin: 0; padding: 0; overflow: hidden; }
.ds-blk-gallery__rest .gallery-item:nth-child(n+5) { display: none; } /* still in the lightbox slideshow */
.ds-blk-gallery__rest .gallery-icon, .ds-blk-gallery__rest .gallery-icon a { display: block; height: 100%; }
.ds-blk-gallery__rest .gallery-item img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; } /* kit img radius: only the outer corners are round */
.ds-blk-gallery > .ds-blk-gallery__all { grid-column: -2 / -1; grid-row: 2; place-self: end end; z-index: 1; }
@media (max-width: 767px) {
	.ds-blk-gallery > .ds-blk-gallery__rest { display: none; }
	.ds-blk-gallery > :is(.ds-blk-gallery__cell--main, .ds-blk-gallery__all) { grid-column: 1; grid-row: 1; } /* the button overlays the photo */
}
/* amenities = mockup .ds-el-amenities: 2 columns, each item a 48px bordered tile with the glyph + 600 label */
.ds-el-amenities-list div.jet-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); overflow: visible; }
.ds-el-amenities-list div.jet-check-list__item { position: relative; display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: 0; font-weight: 600; overflow: visible; }
.ds-el-amenities-list div.jet-check-list__item::before {
	content: ""; flex: none; width: var(--control-h); height: var(--control-h); border: 1px solid var(--color-border); border-radius: var(--radius-md); background-color: var(--color-surface);
}
.ds-el-amenities-list div.jet-check-list__item::after {
	content: ""; position: absolute; left: calc(var(--control-h) / 2 - 10px); top: calc(50% - 10px); width: 20px; height: 20px; background-color: var(--color-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 767px) { .ds-el-amenities-list div.jet-check-list { grid-template-columns: minmax(0, 1fr); } }
/* «Lofoten, Noruega · 6 km de Reine»: the porter resets unknown ds- containers to display:block (ds-mockup.css) */
.ds-blk-map__place { display: flex; }
/* booking card: «Reservar ahora» spans the card (mockup .ds-el-button--block) */
.ds-blk-booking-widget .jet-form-builder__action-button-wrapper, .ds-blk-booking-widget .jet-form-builder__action-button { width: 100%; }
/* reviews: cards on the background colour (mockup .ds-sec-single-reviews .ds-blk-review); padding/radius/border are widget controls */
.ds-sec-single-reviews .jet-reviews-advanced__review { background-color: var(--color-background); }
.ds-sec-single-reviews .jet-reviews-message { font-size: var(--fs-small); color: var(--color-text-muted); }
/* JetReviews controls = mockup buttons. «Valorar estancia» (header) outline pill; form «Enviar valoración» accent pill,
   «Cancelar» ghost. The per-review «Comentar» links keep the plugin look (scoped to header and form only) */
.ds-sec-single-reviews .jet-reviews-advanced__header-info .jet-reviews-button,
.ds-sec-single-reviews :is(.jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button {
	gap: var(--space-1); min-height: var(--touch); padding: 0 var(--space-3); border: 1px solid transparent; border-radius: var(--radius-pill);
	font-size: var(--fs-body); font-weight: 600; transition: background-color .2s var(--ease), color .2s var(--ease); text-decoration: none;
}
.ds-sec-single-reviews .jet-reviews-advanced__header-info .jet-reviews-button { border-color: var(--color-primary); color: var(--color-primary); }
.ds-sec-single-reviews .jet-reviews-advanced__header-info .jet-reviews-button:hover { background-color: var(--color-primary); color: var(--color-on-dark); }
:is(.jet-reviews-advanced__header-info, .jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button .jet-reviews-button__icon { margin: 0; fill: currentColor; }
.ds-sec-single-reviews :is(.jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button--primary { background-color: var(--color-accent-ink); border-color: var(--color-accent-ink); color: var(--color-surface); }
.ds-sec-single-reviews :is(.jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button--primary:hover { background-color: var(--color-primary); border-color: var(--color-primary); }
.ds-sec-single-reviews :is(.jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button--secondary { color: var(--color-text); }
.ds-sec-single-reviews :is(.jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button--secondary:hover { background-color: var(--color-sunken); }
.ds-sec-single-reviews .jet-new-review-controls { gap: var(--space-1); margin-top: var(--space-3); }
.ds-sec-single-reviews :is(.jet-new-review-controls, .jet-review-new-comment-controls) .jet-reviews-button { margin: 0; }
.ds-sec-single-reviews .jet-review-new-comment-controls { display: flex; justify-content: flex-end; gap: var(--space-1); margin-top: var(--space-2); }
.ds-sec-single-reviews .jet-review-new-comment { margin-top: var(--space-2); }
.ds-sec-single-reviews .jet-review-new-comment .jet-reviews-input--textarea { min-height: 96px; }
/* the form = mockup .ds-blk-review-form (padding 24, background, 1px border, radius-lg); inputs are widget controls */
.ds-sec-single-reviews .jet-reviews-advanced__new-review-form {
	gap: var(--space-2); margin: var(--space-3) 0; padding: var(--space-3); background-color: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
}
.ds-sec-single-reviews .jet-reviews-advanced__new-review-form .jet-new-review-control { margin: 0; }
.ds-sec-single-reviews .jet-reviews-input { min-height: var(--control-h); }
.ds-sec-single-reviews .jet-reviews-input--textarea { min-height: 160px; }
.ds-sec-single-reviews .jet-reviews-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); outline: none; }
.ds-sec-single-reviews .jet-new-review-field-label { font-size: var(--fs-small); font-weight: 600; }
/* per-review controls (likes, «Comentar»): text links in primary / muted; their label colours inherit (widget controls above) */
.ds-sec-single-reviews .jet-reviews-advanced__review-controls .jet-reviews-button { color: var(--color-text-muted); font-size: var(--fs-small); }
.ds-sec-single-reviews .jet-reviews-advanced__review-controls .jet-reviews-button--primary { color: var(--color-primary); font-weight: 600; }
.ds-sec-single-reviews .jet-reviews-advanced__review-controls .jet-reviews-button:hover { color: var(--color-primary); }
.ds-sec-single-reviews .jet-reviews-button__icon svg { fill: currentColor; }


/* ═══ Product single (ProductDetail.dc.html, JetWooBuilder single template) ════════════════════════════════════ */
/* Variations: WooCommerce prints a label | select table; the mockup stacks a legend over swatches (colour) and chips (size).
   ds-ui.js adds the radios after each select, which stays in the form (visually hidden) as Woo's source of truth. */
.ds-blk-product-summary table.variations,
.ds-blk-product-summary table.variations :is(tbody, tr, th, td) { display: block; padding: 0; border: 0; background: none; text-align: left; }
.ds-blk-product-summary table.variations tr + tr { margin-top: var(--space-3); }
.ds-blk-product-summary table.variations th.label { margin-bottom: var(--space-1); line-height: var(--lh-body); }
.ds-blk-product-summary table.variations td.value { position: relative; display: grid; gap: var(--space-1); justify-items: start; }
.ds-el-swatch-current { font-weight: 500; }
/* size chips: the Kit Theme Style paints every `input:not([type=button])` at (0,3,1) (surface, 8px radius), above the mockup
   .ds-el-chip input (0,2,1): here the input is a transparent hit area and the span draws the chip */
.ds-blk-product-summary .ds-el-sizes .ds-el-chip input { opacity: 0; }
.ds-blk-product-summary .ds-el-sizes .ds-el-chip span { display: grid; place-items: center; min-height: var(--touch); min-width: var(--touch); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); }
.ds-blk-product-summary .ds-el-sizes .ds-el-chip input:hover + span { border-color: var(--color-text); }
.ds-blk-product-summary .ds-el-sizes .ds-el-chip input:checked + span { background: var(--color-primary); border-color: var(--color-primary); }
.ds-blk-product-summary .ds-el-sizes .ds-el-chip input:disabled + span { background: var(--color-sunken); border-color: var(--color-border); }
.ds-blk-product-summary .ds-el-sizes .ds-el-chip input:focus-visible + span { box-shadow: var(--focus-ring); }
/* jet-single-add-to-cart.css makes every `.variations label` a block ((0,4,1)), so the mockup's grid centring of the swatch
   label is lost: the dot centres itself (48px label - 2px border each side - 32px dot = 6px) */
.ds-el-swatch-input .ds-el-swatch-input__dot { display: block; margin: 6px auto; }
.ds-el-variation-select { position: absolute; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.ds-blk-product-summary .reset_variations { font-size: var(--fs-small); }
/* quantity = left cap of the quantity + button capsule (radii and border: widget controls); the Kit input style left-aligns it */
.ds-blk-product-summary form.cart .quantity .qty { text-align: center; }

/* Specs table (JetProductTables has no style controls, ref 45 §4.1): the mockup .ds-blk-specs-table look. Hello's reset
   paints every table cell (1px grey borders, odd-row stripes at (0,1,3)); the cells here are (0,2,1)+ */
.ds-blk-specs-table .jet-wc-product-table { min-width: 720px; margin: 0; border: 0; }
.ds-blk-specs-table .jet-wc-product-table :is(th, td) { padding: var(--space-2) var(--space-3); border: 0; border-bottom: 1px solid var(--color-border); background: var(--color-surface); text-align: left; vertical-align: top; }
.ds-blk-specs-table .jet-wc-product-table thead th { background: var(--color-background); }
.ds-blk-specs-table .jet-wc-product-table tbody td:first-child { position: sticky; left: 0; font-weight: 600; } /* row head, as the mockup tbody th */
.ds-blk-specs-table .jet-wc-product-table tbody td:first-child a { color: var(--color-text); text-decoration: none; }
.ds-blk-specs-table .jet-wc-product-table tbody td:first-child a:hover { color: var(--color-primary); text-decoration: underline; }
.ds-blk-specs-table .jet-wc-product-table tbody tr.is-current > td { background: var(--color-primary-soft); }
.ds-blk-specs-table .jet-wc-product-table tbody tr:last-child > td { border-bottom: 0; }
.ds-blk-specs-table__caption { padding: var(--space-2) var(--space-3); border-top: 1px solid var(--color-border); }

/* Product card grids = Woo's ul.products (float widths 22.05% / 48% at (0,3,2) / (0,4,2)) as the mockup grid of
   equal-height LoopProduct cards: related products (JWB Single Related, 4 columns) and the shop / category Products Loop
   (3 columns next to the filter panel); 2 on tablet, 1 on mobile (client choice, as the home grid) */
:is(.ds-blk-related .related, .ds-blk-products .jet-woo-products-wrapper) > ul.products { display: grid; grid-template-columns: repeat(var(--ds-cols, 4), minmax(0, 1fr)); gap: var(--space-3); margin: 0; }
.ds-blk-products { --ds-cols: 3; }
:is(.ds-blk-related .related, .ds-blk-products .jet-woo-products-wrapper) > ul.products::before,
:is(.ds-blk-related .related, .ds-blk-products .jet-woo-products-wrapper) > ul.products::after { content: none; }
:is(.ds-blk-related .related, .ds-blk-products .jet-woo-products-wrapper) ul.products li.product { width: auto; margin: 0; float: none; display: flex; }
:is(.ds-blk-related, .ds-blk-products) li.product > .elementor,
:is(.ds-blk-related, .ds-blk-products) li.product .ds-blk-card { flex: 1 1 auto; height: 100%; }
:is(.ds-blk-related, .ds-blk-products) .ds-blk-card__body { --flex-grow: 1; flex-grow: 1; }
:is(.ds-blk-related, .ds-blk-products) .ds-blk-card__foot { margin-top: auto; }
/* the Products Loop is a flex item of the results toolbar row: full row, or it shrinks to its content (1 product = 1 narrow card) */
.ds-blk-results > .ds-blk-products { flex: 0 0 100%; }
@media (max-width: 1024px) {
	:is(.ds-blk-related .related, .ds-blk-products .jet-woo-products-wrapper) > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	:is(.ds-blk-related .related, .ds-blk-products .jet-woo-products-wrapper) > ul.products { grid-template-columns: minmax(0, 1fr); }
}

/* ═══ Rutas y guías + Crónicas (no mockup pages: CabinArchive / CabinDetail anatomy, LoopGuide / LoopCabin cards) ═══ */
/* guide card inside the 3-column archive grid: the mockup card is media | body (sized for 2 columns), stacked here */
.ds-blk-guides-grid .ds-blk-guide-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "head" "slots"; }
.ds-blk-guides-grid .ds-blk-guide-card__media { aspect-ratio: 4 / 3; }
.ds-blk-guides-grid .ds-blk-guide-card__media img { object-position: 50% 25%; }
/* ~270px cards: 12px padding, two slot chips per row and «Reservar franja» + «Ver perfil →» on one line (client brief) */
.ds-blk-guides-grid .ds-blk-guide-card { padding: var(--space-1) var(--space-1) var(--space-2); gap: var(--space-2); }
.ds-blk-guides-grid .ds-blk-guide-card__head, .ds-blk-guides-grid .ds-blk-guide-card__slots { padding-inline: 4px; }
.ds-blk-guides-grid .ds-el-slots { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.ds-blk-guides-grid .ds-el-slots .ds-el-chip--link { padding: 0 var(--space-1); font-size: .8125rem; }
.ds-blk-guides-grid .ds-blk-guide-card__actions { flex-wrap: nowrap; gap: var(--space-1) var(--space-2); }
.ds-blk-guides-grid .ds-el-button-w .elementor-button { padding: 0 var(--space-2); font-size: var(--fs-small); }
.ds-blk-guides-grid .ds-blk-guide-card__actions .ds-el-link { font-size: var(--fs-small); white-space: nowrap; }
.ds-blk-guide-card__route { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .35em; }
/* text parts of a kicker / route line printed by several widgets: one flowing line */
:is(.ds-blk-card__kicker, .ds-blk-guide-card__route, .ds-blk-guide-profile__kicker, .ds-blk-chronicle-meta) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; }

/* section heads: the mockup's `.u-split > .u-split-aside { grid-row: 1 / span 9 }` creates eight empty 16px rows and drops the
   button below the title; it sits on the title row instead (client review) */
@media (min-width: 768px) {
	.u-split > .u-split-aside { grid-row: 2; }
}

/* guide single: about | route facts, then the booking card full width (client review); chronicle: text + 380px sticky aside */
:is(.ds-sec-single-guide, .ds-sec-single-chronicle) { padding-block: var(--space-6) var(--space-10); } /* the scale has no --space-12 (1-6, 8, 10, 14) */
.ds-blk-guide-layout { display: grid; gap: var(--space-8); margin-top: var(--space-6); }
.ds-blk-guide-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.ds-blk-chronicle-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-8); align-items: start; }
.ds-blk-chronicle-layout > aside { position: sticky; top: var(--space-3); }
/* booking card (client review): head = title + text | next slots; under a rule, the calendar | the fields stacked
   (Actividad, Guía, Nombre, E-mail, «Reservar franja»). Two columns only from 1025px; the ported cabin card caps
   .ds-blk-booking-widget at 560px below 1025px, this one spans the content. Air before the reviews = section padding. */
.ds-blk-guide-booking { display: grid; gap: var(--space-4); padding: var(--space-5); }
.ds-blk-guide-booking__intro { display: grid; gap: var(--space-2); }
.ds-blk-guide-booking .ds-blk-form form.jet-form-builder { padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
@media (max-width: 1024px) { .ds-blk-guide-booking { max-width: none; } }
@media (min-width: 1025px) {
	.ds-blk-guide-booking__intro { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-5); align-items: end; }
	.ds-blk-guide-booking__intro > :not(.ds-blk-guide-card__slots-w) { grid-column: 1; }
	.ds-blk-guide-booking__intro > .ds-blk-guide-card__slots-w { grid-column: 2; grid-row: 1 / span 2; max-width: 360px; }
	/* (0,3,1): the ported `.ds-blk-booking-widget .ds-blk-form:where(…) form.jet-form-builder` one-column grid is (0,3,1) too */
	.ds-blk-guide-booking .ds-blk-form form.jet-form-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-6); align-items: start; }
	.ds-blk-guide-booking form .field-type-appointment-date { grid-column: 1; grid-row: 1 / span 5; }
	.ds-blk-guide-booking form :is(.field-type-select-field, .field-type-appointment-provider, .field-type-text-field, .field-type-submit-field) { grid-column: 2; }
	.ds-blk-guide-booking form :is(.jfb-user-info, .jet-form-builder-messages-wrap) { grid-column: 1 / -1; }
}
.ds-blk-content { display: grid; gap: var(--space-3); align-content: start; }
.ds-blk-prose :where(p, ul, ol) { max-width: 68ch; }
.ds-sec-single-chronicle .ds-blk-prose { font-size: 1.125rem; line-height: 1.7; }
@media (max-width: 1024px) {
	.ds-blk-chronicle-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
	.ds-blk-chronicle-layout > aside { position: static; }
}
@media (max-width: 767px) {
	.ds-blk-guide-intro { grid-template-columns: minmax(0, 1fr); }
	.ds-blk-guide-booking { padding: var(--space-3); }
}

/* guide profile head: 160px portrait beside name, specialty · zone and the meta row */
.ds-blk-guide-profile { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--space-4); align-items: center; margin-top: var(--space-3); }
.ds-blk-guide-profile__photo { width: 160px; border-radius: var(--radius-lg); overflow: hidden; }
.ds-blk-guide-profile__body { display: grid; gap: var(--space-1); }
.ds-blk-guide-profile__meta .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin: 0; }
@media (max-width: 767px) {
	.ds-blk-guide-profile { grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-2); }
	.ds-blk-guide-profile__photo { width: 96px; }
}

/* facts table (route of a guide, a chronicle's trip): label | value rows */
.ds-blk-facts { display: grid; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.ds-blk-facts__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--space-2); padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); }
.ds-blk-facts__row:last-child { border-bottom: 0; }
.ds-blk-facts__label { font-size: var(--fs-small); font-weight: 600; color: var(--color-text-muted); }
.ds-blk-facts__value :is(p, .jet-listing-dynamic-field__content) { margin: 0; }
.ds-blk-route-card { display: grid; gap: var(--space-3); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.ds-blk-route-card .ds-blk-facts { border: 0; border-radius: 0; }
.ds-blk-route-card .ds-blk-facts__row { grid-template-columns: 96px minmax(0, 1fr); padding-inline: 0; }

/* chronicle single: editorial head, 16:9 cover, «Comparte tu crónica» band */
.ds-blk-chronicle-head { display: grid; gap: var(--space-1); }
.ds-blk-chronicle-meta :is(p, .jet-listing-dynamic-field__content) { margin: 0; }
.ds-blk-chronicle-cover { border-radius: var(--radius-lg); overflow: hidden; }
.ds-blk-chronicle-layout { margin-top: var(--space-6); } /* the section padding is a per-element setting (0) */
.ds-blk-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-small); }
.ds-blk-share-band { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-8); padding: var(--space-8) var(--space-4); background: var(--color-primary-soft); border-radius: var(--radius-lg); text-align: center; }
.ds-blk-share-band__text { display: grid; gap: var(--space-2); justify-items: center; }
/* client review: air between «Cuéntala…» and the button = the band gap (the porter resets ds- containers to display:block, so the band declares flex) */
.ds-blk-share-band__text p { max-width: 52ch; }
