/*
 * Pista Libre Core: styles for the plugin's own pieces only (tags, spec table, promises,
 * policies, safety block, reviews box). Page layout and everything else is Divi.
 * Colours: DESIGN.md / tokens.json. The --pl-* names point at Divi's global colours
 * once those exist (see 04-website/divi/README.md); the hex values are the fallback.
 */
:root {
	--pl-court-teal: var(--gcid-primary-color, #034a4b);
	--pl-night-teal: var(--gcid-5cfc8505-d087-42df-8be8-8c79ea62f4ff, #012f30);
	--pl-turf-green: var(--gcid-secondary-color, #64ca84);
	--pl-ball-yellow: var(--gcid-ef12b364-c7c9-4cd9-b931-835d0c8135fa, #f1eb0c);
	--pl-sunset-coral: var(--gcid-5948f5e1-f120-4edc-a3c2-9d4db96c6519, #ff6b4a);
	--pl-mint: var(--gcid-0ea7c51e-db1f-4b88-99b5-2b73cbebb981, #ddf4e4);
	--pl-sand: var(--gcid-3c3efeb1-8b69-4a21-ad40-6fa9e16bb984, #f3e7d3);
	--pl-mist: var(--gcid-4e91b41d-0e1d-4abf-b98f-d1f76e732a47, #f2f7f4);
	--pl-line: var(--gcid-ea33370a-257d-4a12-81de-700a081cc8ca, #d7e3de);
	--pl-slate: var(--gcid-6e67a6a5-3b77-43b1-8e9b-f262b7c805be, #4a6462);
	--pl-deep-green: var(--gcid-4e607b9f-7d6a-473e-92bf-822835675fe0, #1e7a45);
	--pl-white: var(--gcid-249e0686-ee25-45f7-8718-a0fde43a101e, #ffffff);
	--pl-clay-red: var(--gcid-866753b7-b019-4ebc-8841-ada2c69a1ced, #c2412d);
	--pl-lemon: var(--gcid-0696e2cd-75ab-4b12-bfcf-4c5e9bd5cf04, #fdf9c4);
	--pl-display: "Outfit", system-ui, sans-serif;
	--pl-sans: "Figtree", system-ui, sans-serif;
}

.pl-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-tbc { color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }

/* Badges */
.pl-badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font: 600 13px/16px var(--pl-sans); }
.pl-b1 { background: var(--pl-court-teal); color: var(--pl-white); }
.pl-b2 { background: var(--pl-turf-green); color: var(--pl-court-teal); }
.pl-b3 { background: var(--pl-ball-yellow); color: var(--pl-court-teal); }
.pl-bnew { background: var(--pl-sunset-coral); color: var(--pl-night-teal); letter-spacing: .04em; }

/* Cards (WooCommerce loop and Divi Shop module) */
ul.products li.product { position: relative; }
.pl-tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pl-brand { display: block; color: var(--pl-slate); font: 600 14px/20px var(--pl-sans); }
.pl-model { display: block; }
.pl-card-meta { margin: 4px 0 0; color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
/* Divi's WooCommerce CSS forces card prices to grey (#666 !important); a Divi preset cannot
   win against it, so the price colour is restored here. Size and font come from the
   "PL Tarjetas de producto" preset. */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price { color: var(--pl-court-teal) !important; }

/* Card pieces printed by the shortcodes on the catalogue Loop (DESIGN.md, product card) */
.pl-model-link { color: var(--pl-court-teal); font: 600 16px/24px var(--pl-sans); text-decoration: none; }
.pl-model-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Card name is an H3 (block theme parity); it keeps the card's type, not Divi's heading style. */
h3.pl-model { margin: 0 !important; padding: 0 !important; font: 600 16px/24px var(--pl-sans) !important; letter-spacing: 0 !important; color: var(--pl-court-teal); }
.pl-price { display: block; color: var(--pl-court-teal); font: 700 28px/32px var(--pl-display); }
.pl-price del { color: var(--pl-slate); font: 500 16px/24px var(--pl-sans); }
.pl-price ins { text-decoration: none; }
.pl-count { margin: 0; font-weight: 600; }
/* Divi's WooCommerce CSS styles shop buttons with ID-level selectors, so these need !important. */
.pl-buy .button,
.pl-buy .added_to_cart { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0 !important; padding: 14px 28px !important; border: 0 !important; border-radius: 999px !important; background: var(--pl-court-teal) !important; color: var(--pl-white) !important; font: 600 16px/20px var(--pl-sans) !important; letter-spacing: 0 !important; text-align: center; text-decoration: none; transition: background-color .25s ease; }
.pl-buy .button::after, .pl-buy .button::before { display: none !important; }
.pl-buy .button:hover { background: var(--pl-night-teal) !important; color: var(--pl-white) !important; }
.pl-buy .button.loading { opacity: .7; }
.pl-buy .added_to_cart { margin-top: 8px !important; background: var(--pl-white) !important; color: var(--pl-court-teal) !important; border: 2px solid var(--pl-court-teal) !important; padding: 12px 26px !important; }

/* Catalogue: filters, toolbar, chips, end of list (inc/catalog-filters.php). Divi's Post Filter
   prints the controls; these rules give them the prototype's look (category.html). */
.pl-filters .et_pb_post_filter__controls { display: block; }
.pl-filters .et_pb_post_filter_item { padding: 16px 0; border-bottom: 1px solid var(--pl-line); }
.pl-filters .et_pb_post_filter_item:first-child { padding-top: 0; }
.pl-filters .et_pb_post_filter__item-label { display: block; margin: 0 0 10px; padding: 0; color: var(--pl-night-teal); font: 700 18px/24px var(--pl-display); }
.pl-filters .et_pb_post_filter__item-options-list { display: flex; flex-direction: column; }
.pl-filters .pl-option { display: flex; align-items: center; min-height: 36px; }
.pl-filters .pl-option label { display: flex !important; flex: 1; align-items: center; gap: 10px; min-height: 36px; margin: 0; color: var(--pl-night-teal); font: 500 16px/24px var(--pl-sans); cursor: pointer; }
.pl-filters .pl-n { margin-left: auto; color: var(--pl-slate); font-size: 14px; }
.pl-filters .pl-off label { color: var(--pl-slate); cursor: default; }
.pl-f-note { margin: 4px 0 0; color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.pl-lv { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 999px; }
.pl-lv1 { background: var(--pl-court-teal); }
.pl-lv2 { background: var(--pl-turf-green); }
.pl-lv3 { background: var(--pl-ball-yellow); outline: 1px solid var(--pl-court-teal); outline-offset: -1px; }
.pl-filters-head, .pl-filters-foot { display: none; }
/* Card pieces inside the Divi Loop: tags sit on the photo's corner, text lines without Divi's paragraph gaps. */
.pl-card-img .et_pb_text, .pl-card-img .et_pb_text_inner { position: static !important; }
.pl-card-img .pl-tags { top: 14px; left: 14px; }
.pl-badge { white-space: nowrap; }
.pl-card .et_pb_text p { padding-bottom: 0 !important; }
.pl-card .et_pb_text p:empty { display: none; }
.pl-filters-col { position: sticky; top: 16px; }
.pl-catalog-empty .pl-filters-col, .pl-catalog-empty .pl-filter-btn { display: none !important; }
.pl-sort { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 14px/22px var(--pl-sans); }
.pl-select-wrap { position: relative; display: inline-flex; }
.pl-select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--pl-court-teal); border-bottom: 2px solid var(--pl-court-teal); transform: rotate(45deg); pointer-events: none; }
.pl-sort-select { height: 44px; padding: 0 44px 0 16px; border: 1px solid var(--pl-slate); border-radius: 999px; background: var(--pl-white); color: var(--pl-court-teal); font: 600 16px/20px var(--pl-sans); cursor: pointer; appearance: none; -webkit-appearance: none; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pl-chips:empty { display: none; }
.pl-filters .pl-option label i { flex: none; width: 20px !important; height: 20px !important; margin: 0 !important; border: 1.5px solid var(--pl-slate) !important; border-radius: 4px !important; background: var(--pl-white) !important; }
.pl-filters .pl-option input:checked + label i { border-color: var(--pl-court-teal) !important; background: var(--pl-court-teal) !important; }
/* Divi puts the box inside the option name, so the name gets the 10px gap itself (prototype .check). */
.pl-filters .pl-option-name { display: inline-flex; align-items: center; gap: 10px; }
.pl-filters .pl-off label i { border-color: var(--pl-line) !important; background: var(--pl-mist) !important; }
.pl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--pl-mint); color: var(--pl-night-teal); font: 600 14px/20px var(--pl-sans); text-decoration: none; }
.pl-chip::after { content: "\00d7"; font-size: 18px; line-height: 1; }
.pl-chip-clear { background: none; text-decoration: underline; text-underline-offset: 4px; }
.pl-chip-clear::after { content: none; }
.pl-empty { padding: 48px 32px; border-radius: 20px; background: var(--pl-mist); text-align: center; }
.pl-empty h2 { margin: 0; padding: 0; font: 700 24px/32px var(--pl-display); }
.pl-empty p { max-width: 40ch; margin: 8px auto 20px; }
.pl-empty-btn, .et_pb_module .et_pb_text_inner a.pl-empty-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 28px; border-radius: 999px; background: var(--pl-court-teal); color: var(--pl-white); font: 600 16px/20px var(--pl-sans); text-decoration: none; }
.pl-empty-btn:hover, .et_pb_module .et_pb_text_inner a.pl-empty-btn:hover { background: var(--pl-night-teal); color: var(--pl-white); }
/* Divi prints its own "no results" text in an empty Loop; [pl_catalogo_fin] says it in our words. */
.pl-grid:has(.not-found-title) { display: none !important; }
.pl-end-line { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--pl-line); color: var(--pl-slate); text-align: center; font: 500 14px/22px var(--pl-sans); }

/* Buy box */
.pl-buy-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 14px 0; font: 500 14px/22px var(--pl-sans); }
.pl-buy-tags a { color: var(--pl-slate); }
.pl-promises { margin: 24px 0 0; padding: 20px 24px; border-radius: 18px; background: var(--pl-mint); list-style: none; }
.pl-promises li { position: relative; padding-left: 18px; }
.pl-promises li + li { margin-top: 8px; }
.pl-promises li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 999px; background: var(--pl-deep-green); }
.pl-promises strong { font-weight: 700; }
.pl-promises a { color: var(--pl-court-teal); }

/* Spec table and safety block */
.pl-section { margin-top: 48px; clear: both; }
.pl-specs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.pl-specs { width: 100%; border-collapse: collapse; border: 0; }
.pl-specs th, .pl-specs td { padding: 14px 0; border: 0; border-bottom: 1px solid var(--pl-line); text-align: left; vertical-align: top; background: none; }
.pl-specs th { width: 44%; padding-right: 16px; color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.pl-specs td { font-weight: 600; }
.pl-specs td .pl-tbc { font-weight: 500; }
.pl-change-note { align-self: start; padding: 28px; border-radius: 20px; background: var(--pl-sand); }
.pl-change-note h3 { margin: 0; font: 700 24px/32px var(--pl-display); }
.pl-change-note p { margin-top: 10px; }
.pl-gpsr { margin-top: 24px; max-width: 760px; }
.pl-gpsr summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font: 600 18px/28px var(--pl-sans); }
.pl-gpsr .pl-specs { margin-top: 8px; }

/* Policies */
.pl-policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.pl-policy { padding: 28px; border-radius: 20px; background: var(--pl-mist); }
.pl-policy h3 { margin: 0; font: 700 24px/32px var(--pl-display); }
.pl-policy p { margin-top: 10px; }
.pl-policy a { display: inline-block; margin-top: 12px; color: var(--pl-court-teal); }

/* Reviews */
.pl-reviews-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 20px; padding: 32px; border-radius: 20px; background: var(--pl-mist); }
.pl-reviews-empty p { max-width: 56ch; margin: 0; }
.pl-review-list { margin: 20px 0 0; padding: 0; list-style: none; }
.pl-review-list li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--pl-line); }
.pl-byline { color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }

/* ---------- Product page (Divi template "Producto"): WooCommerce glue ---------- */
/* Gallery: WooCommerce's own gallery (zoom, lightbox, thumbnails) in the prototype's shape. */
.pl-pdp-gallery { position: relative; }
.pl-pdp-gallery .pl-tags { top: 20px; left: 20px; z-index: 2; }
.pl-pdp-gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.pl-pdp-gallery .woocommerce-product-gallery__wrapper, .pl-pdp-gallery .flex-viewport { border-radius: 20px; background: var(--pl-mist); overflow: hidden; }
.pl-pdp-gallery .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.pl-pdp-gallery .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 0 !important; padding: 0 !important; list-style: none; }
.pl-pdp-gallery .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.pl-pdp-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1 / 1; border: 2px solid transparent; border-radius: 14px; background: var(--pl-mist); object-fit: contain; mix-blend-mode: multiply; opacity: 1 !important; cursor: pointer; }
.pl-pdp-gallery .flex-control-thumbs img.flex-active { border-color: var(--pl-court-teal); }
.pl-pdp-gallery .woocommerce-product-gallery__trigger { top: 16px !important; right: 16px !important; z-index: 3; }
.pl-pdp-gallery .onsale { display: none !important; }

/* Buy box */
.pl-pdp-buy .pl-brand { display: block; color: var(--pl-night-teal); font: 500 14px/22px var(--pl-sans); }
.pl-pdp-buy .product_title { margin: 4px 0 0; padding: 0; color: var(--pl-night-teal); font: 800 clamp(30px, 3vw, 40px)/1.15 var(--pl-display); letter-spacing: -0.01em; }
.pl-pdp-buy .price { margin: 20px 0 0 !important; padding: 0; color: var(--pl-night-teal) !important; font: 700 40px/48px var(--pl-display) !important; }
.pl-pdp-buy .price del { font-size: 24px; font-weight: 500; opacity: .7; }
.pl-pdp-buy .price ins { text-decoration: none; }
.pl-pdp-buy .stock { margin: 0 !important; color: var(--pl-deep-green) !important; font: 600 14px/22px var(--pl-sans) !important; }
.pl-pdp-buy .stock.out-of-stock { color: var(--pl-clay-red) !important; }
.pl-pdp-buy form.cart { display: flex; gap: 12px; margin: 20px 0 0 !important; }
.pl-pdp-buy form.cart::before, .pl-pdp-buy form.cart::after { content: none !important; }
.pl-pdp-buy .quantity { display: flex !important; align-items: center; flex: none; height: 52px; margin: 0 !important; border: 1px solid var(--pl-slate); border-radius: 999px; float: none !important; }
.pl-pdp-buy .quantity input.qty { width: 36px !important; height: 100%; padding: 0 !important; border: 0 !important; background: none !important; color: var(--pl-night-teal) !important; text-align: center; font: 600 16px/20px var(--pl-sans) !important; -moz-appearance: textfield; appearance: textfield; }
.pl-pdp-buy .quantity input.qty::-webkit-inner-spin-button, .pl-pdp-buy .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pl-step { width: 44px; height: 100%; border: 0; border-radius: 999px; background: none; color: var(--pl-night-teal); font-size: 20px; cursor: pointer; }
.pl-step:hover { background: var(--pl-mist); }
.pl-pdp-buy .single_add_to_cart_button { flex: 1; min-height: 52px; margin: 0 !important; padding: 14px 28px !important; border: 0 !important; border-radius: 999px !important; background: var(--pl-ball-yellow) !important; color: var(--pl-court-teal) !important; font: 600 16px/20px var(--pl-sans) !important; float: none !important; }
.pl-pdp-buy .single_add_to_cart_button:hover { background: var(--pl-ball-yellow) !important; color: var(--pl-court-teal) !important; }
.pl-pdp-buy .single_add_to_cart_button::after { content: none !important; display: none !important; }

/* Description: the product's own content uses these classes */
.pl-pdp-desc .desc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.pl-pdp-desc .desc-card { padding: 28px; border: 1px solid var(--pl-line); border-radius: 20px; }
.pl-pdp-desc .desc-card h3 { margin: 0; padding: 0; font: 700 24px/32px var(--pl-display); }
.pl-pdp-desc .desc-card p { margin-top: 10px; padding: 0; }
.pl-pdp-desc .tbc { color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.pl-reviews-empty a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 26px; border: 2px solid var(--pl-court-teal); border-radius: 999px; background: var(--pl-white); color: var(--pl-court-teal); font: 600 16px/20px var(--pl-sans); text-decoration: none; }
.pl-reviews-empty a:hover { background: var(--pl-mist); }

/* Fixed buy bar (tablets and phones) and the basket message */
.pl-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: none; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--pl-line); background: var(--pl-white); transform: translateY(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.pl-sticky-buy.pl-show { transform: none; }
.pl-s-name { flex: 1; min-width: 0; margin: 0; padding: 0; color: var(--pl-night-teal); font: 600 14px/20px var(--pl-sans); }
.pl-s-name > span { display: block; font: 700 24px/32px var(--pl-display); }
.pl-sticky-add { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--pl-ball-yellow); color: var(--pl-court-teal); font: 600 16px/20px var(--pl-sans); cursor: pointer; }
.pl-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99999; width: max-content; max-width: calc(100vw - 40px); padding: 12px 22px; border-radius: 18px; background: var(--pl-court-teal); color: var(--pl-white); text-align: center; font: 600 16px/24px var(--pl-sans); transform: translate(-50%, calc(100% + 32px)); visibility: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s .4s; pointer-events: none; }
.pl-toast.pl-show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
/* WooCommerce's own "Ver cesta" link after a card add: the message says it instead. */
.pl-card .added_to_cart { display: none !important; }
/* Guides: topic, byline, side index, the guide body (written in the block editor) and search chips */
.pl-topic { margin: 0; color: var(--pl-deep-green); font: 600 13px/18px var(--pl-sans); letter-spacing: .06em; text-transform: uppercase; }
.pl-byline { margin: 0; color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.pl-byline a { color: var(--pl-court-teal); }
.pl-guide-img, .pl-guide-img .et_pb_image_wrap { display: block; width: 100%; }
.pl-guide-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; background: var(--pl-mist); }
.pl-feature-img, .pl-feature-img .et_pb_image_wrap, .pl-feature-img a { display: block; width: 100%; height: 100%; }
.pl-feature-img img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.pl-cover-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; background: var(--pl-mist); }
.pl-nf-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--pl-mist); }
.pl-guide-title, .pl-feature-title { margin: 0; padding: 0; color: var(--pl-court-teal); font: 700 24px/32px var(--pl-display); }
.pl-feature-title { font: 800 clamp(28px, 3vw, 40px)/1.15 var(--pl-display); letter-spacing: -0.01em; }
.pl-guide-title a, .pl-feature-title a { color: inherit; text-decoration: none; }
.pl-guide-title a:hover, .pl-feature-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pl-page-title { margin: 0; padding: 0; color: var(--pl-court-teal); font: 800 clamp(34px, 3.6vw, 48px)/1.15 var(--pl-display); letter-spacing: -0.01em; }
.pl-h2-chip { margin: 0; padding: 0; color: var(--pl-court-teal); font: 700 clamp(24px, 2.2vw, 30px)/1.25 var(--pl-display); }
.pl-nf-links, .et_pb_text_inner ul.pl-nf-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pl-nf-links li, .et_pb_text_inner .pl-nf-links li { margin: 0; padding: 0; list-style: none; }
.pl-nf-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--pl-mist); color: var(--pl-court-teal); font: 600 14px/20px var(--pl-sans); text-decoration: none; }
@media (hover: hover) { .pl-nf-links a:hover { background: var(--pl-mint); } }
.pl-n-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; margin-left: 6px; padding: 0 10px; border-radius: 999px; background: var(--pl-mint); color: var(--pl-court-teal); font: 600 16px/1 var(--pl-sans); vertical-align: middle; }
.pl-side-nav { position: sticky; top: 24px; }
/* On text pages the index sits in its own Divi Text module: that module is what sticks. */
.et_pb_module:has(> .et_pb_text_inner > .pl-side-nav) { position: sticky; top: 24px; }
.pl-side-title { margin: 0 0 10px; padding: 0; color: var(--pl-court-teal); font: 700 18px/24px var(--pl-display); }
.pl-side-nav ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--pl-line); }
.pl-side-nav li { margin: 0; padding: 0; }
.pl-side-nav a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--pl-slate); font: 500 15px/22px var(--pl-sans); text-decoration: none; }
.pl-side-nav a:hover { color: var(--pl-court-teal); }
.pl-side-nav a[aria-current="true"] { border-left-color: var(--pl-court-teal); color: var(--pl-court-teal); font-weight: 600; }
.pl-post-body { max-width: 68ch; color: var(--pl-court-teal); font: 400 18px/30px var(--pl-sans); }
.pl-post-body p, .pl-post-body ul, .pl-post-body ol { margin: 12px 0 0; padding-bottom: 0; }
.pl-post-body > div > p:first-child, .pl-post-body .et_pb_post_content > :first-child { margin-top: 0; }
.pl-post-body h2 { scroll-margin-top: 24px; margin: 56px 0 0; padding: 0; color: var(--pl-court-teal); font: 700 clamp(24px, 2.2vw, 30px)/1.25 var(--pl-display); }
.pl-post-body h3 { margin: 28px 0 0; padding: 0; color: var(--pl-court-teal); font: 700 24px/32px var(--pl-display); }
.pl-post-body .intro { font-size: 20px; line-height: 32px; }
.pl-post-body ul:not(.steps) { padding-left: 20px; list-style: disc; }
.pl-post-body ul li::marker { color: var(--pl-deep-green); }
.pl-post-body li + li { margin-top: 6px; }
.pl-post-body a:not(.pl-btn):not(.wp-block-button__link) { color: var(--pl-court-teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pl-post-body .post-fig { margin: 32px 0 8px; }
.pl-post-body .post-fig img { width: 100%; height: auto; border-radius: 20px; background: var(--pl-mist); }
.pl-post-body .post-fig figcaption { margin-top: 10px; color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); text-align: left; }
.pl-post-body .steps { margin-top: 16px; padding: 0; list-style: none; counter-reset: s; }
.pl-post-body .steps li { position: relative; min-height: 40px; padding: 6px 0 6px 56px; counter-increment: s; }
.pl-post-body .steps li + li { margin-top: 10px; }
.pl-post-body .steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--pl-ball-yellow); font: 700 18px/1 var(--pl-display); }
.pl-post-body .post-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.pl-post-body .post-cta .wp-block-buttons { display: flex; margin: 0; }
.pl-post-body .wp-block-button__link, .pl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px; border: 0; border-radius: 999px; font: 600 16px/20px var(--pl-sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.pl-post-body .wp-block-button__link, .pl-btn-primary, .et_pb_module .et_pb_text_inner a.pl-btn-primary { background: var(--pl-court-teal); color: var(--pl-white); }
.pl-post-body .wp-block-button__link:hover, .pl-btn-primary:hover, .et_pb_module .et_pb_text_inner a.pl-btn-primary:hover { background: var(--pl-night-teal); color: var(--pl-white); }
.pl-btn-line, .et_pb_module .et_pb_text_inner a.pl-btn-line { padding: 12px 26px; border: 2px solid var(--pl-court-teal); background: var(--pl-white); color: var(--pl-court-teal); }
.pl-btn-line:hover { background: var(--pl-mist); }
.pl-post-body .faq { margin-top: 16px; border-top: 1px solid var(--pl-line); }
.pl-post-body .faq details { margin: 0; border-bottom: 1px solid var(--pl-line); }
.pl-post-body .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font: 600 18px/28px var(--pl-sans); }
.pl-post-body .faq summary::-webkit-details-marker { display: none; }
.pl-post-body .faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: var(--pl-mist); font: 600 20px/1 var(--pl-sans); }
.pl-post-body .faq details[open] summary::after { content: "\2212"; }
.pl-post-body .faq details p { margin: 0; padding: 0 0 18px; max-width: 64ch; font-size: 16px; line-height: 26px; }
.pl-post-body .author { margin-top: 40px; padding: 24px 28px; border-radius: 20px; background: var(--gcid-ac657eed-91d5-4676-bca3-1ce4c8c6c105, #eee9ff); font-size: 16px; line-height: 26px; }
.pl-post-body .author p { margin-top: 0; }
.pl-post-product { display: grid; grid-template-columns: 220px 1fr; gap: 28px; margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--pl-mist); font-size: 16px; line-height: 26px; }
.pl-pp-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 16px; background: var(--pl-white); }
.pl-pp-img img { position: absolute; top: 44px; left: 8%; width: 84%; height: calc(92% - 44px); object-fit: contain; }
.pl-pp-copy { display: flex; flex-direction: column; align-items: flex-start; }
.pl-post-body .pl-pp-copy p { margin: 0; }
.pl-pp-kicker { margin-bottom: 8px !important; color: var(--pl-deep-green); font: 600 13px/18px var(--pl-sans); letter-spacing: .06em; text-transform: uppercase; }
.pl-post-body .pl-pp-name { margin: 2px 0 0; font: 700 24px/32px var(--pl-display); }
.pl-post-body .pl-pp-name a { text-decoration: none; }
.pl-post-body .pl-pp-for { margin-top: 10px !important; }
.pl-pp-price { padding-top: 10px; color: var(--pl-court-teal); font: 700 22px/28px var(--pl-display); }
.pl-pp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pl-pp-actions .added_to_cart { display: none; }

/* Home and Marcas: lists printed by shortcodes or text modules, the Novedades rail, the hero video */
.pl-hero-img { position: relative; overflow: hidden; }
.pl-hero-img .et_pb_section_video_bg video, .pl-hero-img .et_pb_section_video_bg .mejs-container { object-fit: cover; width: 100% !important; height: 100% !important; }
.pl-video-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgb(1 47 48 / .72); color: var(--pl-white); cursor: pointer; transition: background .2s ease; }
.pl-video-toggle:hover { background: var(--pl-night-teal); }
.pl-video-toggle:focus-visible { outline: 3px solid var(--pl-ball-yellow); outline-offset: 2px; }
.pl-i-pause, .pl-i-play { display: block; width: 14px; height: 14px; }
.pl-i-pause { border-left: 4px solid currentColor; border-right: 4px solid currentColor; width: 12px; }
.pl-i-play { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid currentColor; margin-left: 3px; }
.et_pb_module .et_pb_text_inner a.pl-link-light { color: var(--pl-white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.et_pb_module .et_pb_text_inner a.pl-link-light:hover { color: var(--pl-ball-yellow); }
.pl-cat-name { font: 700 20px/26px var(--pl-display); }
.et_pb_module .et_pb_text_inner .pl-cat-name a { color: var(--pl-court-teal); text-decoration: none; }
.et_pb_module .et_pb_text_inner .pl-cat-name a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.pl-cat { position: relative; transition: transform .3s ease; }
@media (hover: hover) { .pl-cat:hover { transform: translateY(-3px); } .pl-cat:hover .pl-cat-name a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; } }
.pl-brands { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.et_pb_text_inner ul.pl-brands { padding: 0; }
.pl-brands li { list-style: none; padding: 0; }
.et_pb_module .et_pb_text_inner .pl-brands a { display: flex; align-items: center; justify-content: center; height: 88px; border: 1px solid var(--pl-line); border-radius: 18px; background: var(--pl-white); color: var(--pl-court-teal); font: 700 24px/32px var(--pl-display); text-decoration: none; transition: background-color .25s ease; }
.et_pb_module .et_pb_text_inner .pl-brands a:hover { background: var(--pl-mist); }
.pl-trust-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.et_pb_text_inner ul.pl-trust-list { padding: 0; }
.pl-trust-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--pl-white); list-style: none; }
.pl-trust-list strong { font: 700 18px/24px var(--pl-display); color: var(--pl-court-teal); }
.pl-trust-list span { font-size: 14px; line-height: 22px; }
.pl-rail-ctrl { display: flex; gap: 8px; }
.pl-rail-btn { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--pl-mist); color: var(--pl-court-teal); font-size: 20px; cursor: pointer; }
.pl-rail-btn:hover { background: var(--pl-mint); }
.pl-rail-btn:disabled { opacity: .4; cursor: default; }
.pl-rail.pl-grid { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: calc((100% - 60px) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.pl-rail::-webkit-scrollbar { display: none; }
.pl-rail > .pl-card { scroll-snap-align: start; }
.pl-nl-note { font-size: 14px; line-height: 22px; }
@media (max-width: 980px) {
	.pl-brands { grid-template-columns: repeat(4, 1fr); }
	.pl-trust-list { grid-template-columns: repeat(3, 1fr); }
	.pl-rail.pl-grid { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 767px) {
	.pl-brands { grid-template-columns: repeat(2, 1fr); }
	.et_pb_module .et_pb_text_inner .pl-brands a { height: 64px; font-size: 18px; line-height: 24px; }
	.pl-trust-list { grid-template-columns: 1fr 1fr; }
	.pl-trust-list li:last-child { grid-column: 1 / -1; }
	.pl-rail.pl-grid { grid-auto-columns: 46%; gap: 12px; }
	.pl-cat-name { font-size: 18px; line-height: 24px; }
	.pl-cats > .pl-cat:first-child { grid-column: 1 / -1; flex-direction: row !important; align-items: center; }
	.pl-cats > .pl-cat:first-child .et_pb_image { order: 2; width: 30% !important; margin: 0 !important; }
}

/* Page head (crumb, H1, lead): the layouts set the prototype's spacing as margins; WooCommerce's
   1em under the crumb and Divi's 10px under an H1 would add to it. */
.et_pb_module .woocommerce-breadcrumb { margin: 0; font-size: 14px; line-height: 22px; }
/* Crumb links as in the prototype: court-teal and underlined, deep-green on hover (DESIGN.md "Link"). */
.et_pb_module .woocommerce-breadcrumb a { color: var(--pl-court-teal); text-decoration: underline; text-underline-offset: 3px; }
.et_pb_module .woocommerce-breadcrumb a:hover { color: var(--pl-deep-green); }
.et_pb_heading h1.et_pb_module_header { padding-bottom: 0; }

/* Text pages (Sobre nosotros, Contacto, Preguntas frecuentes, Información legal) */
.pl-ph { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--pl-mist); }
.pl-ph .pl-file { position: absolute; top: 50%; left: 0; right: 0; margin: 0; padding: 0 6px; transform: translateY(-50%); color: var(--pl-court-teal); text-align: center; font: 500 12px/16px var(--pl-sans); overflow-wrap: anywhere; }
.pl-img-43 img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--pl-mist); }
.et_pb_text_inner ul.pl-contact-ways { margin: 0; padding: 0; list-style: none; }
.pl-contact-ways li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--pl-line); list-style: none; scroll-margin-top: 24px; }
.pl-contact-ways li:target { margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 12px; background: var(--pl-lemon); }
.pl-contact-ways strong { display: block; color: var(--pl-court-teal); font: 700 18px/24px var(--pl-display); }
.pl-contact-ways span { display: block; }
.et_pb_text_inner ul.pl-quick-faq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pl-quick-faq li { margin: 0; padding: 0; list-style: none; }
.pl-quick-faq a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px; border: 1px solid var(--pl-line); border-radius: 18px; color: var(--pl-court-teal); text-decoration: none; }
.pl-quick-faq a:hover { border-color: var(--pl-court-teal); }
.pl-quick-faq strong { font: 700 18px/24px var(--pl-display); }
.pl-quick-faq span { color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.pl-text-h2 h2 { scroll-margin-top: 24px; margin: 0; padding: 0; color: var(--pl-court-teal); font: 700 clamp(24px, 2.2vw, 30px)/1.25 var(--pl-display); }
.pl-legal-note p { margin: 0; padding: 0; }
.pl-prose ul { margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.pl-prose li + li { margin-top: 6px; }
.pl-prose p + p { margin-top: 12px; }
.pl-prose .pl-specs { margin-top: 16px; }
.pl-form-note { margin: 0; color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.pl-form-note a { color: var(--pl-court-teal); }
/* Cart, checkout and my account: the WooCommerce cart and checkout blocks and the classic account forms
   (moved here from the block theme, which styled them in its own CSS) */
.wc-block-store-notices { margin: 0; }
.wc-block-cart, .wc-block-checkout { color: var(--pl-court-teal); font-family: var(--pl-sans); }
.wp-block-woocommerce-cart h2, .wc-block-components-title, .wc-block-components-checkout-step__title { font-family: var(--pl-display); font-weight: 700; color: var(--pl-court-teal); }
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--pl-line); }
.wp-block-woocommerce-cart-order-summary-block, .wp-block-woocommerce-checkout-order-summary-block { padding: 28px; border: 0; border-radius: 20px; background: var(--pl-mist); }
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select__select { border: 1px solid var(--pl-slate) !important; border-radius: 12px !important; color: var(--pl-court-teal) !important; }
.wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus { outline: 2px solid var(--pl-court-teal); outline-offset: 3px; box-shadow: none !important; }
.wc-block-components-validation-error { color: var(--pl-clay-red); }
.wc-block-cart-item__image img { border-radius: 16px; background: var(--pl-mist); }
.wc-block-components-product-name { font: 600 18px/26px var(--pl-sans); color: inherit; text-decoration: none; }
.wc-block-formatted-money-amount { font-family: inherit; }
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount { font: 700 28px/32px var(--pl-display); }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { width: 100%; }
.wc-block-cart-item__prices .price, .wc-block-components-order-summary .price { margin: 0; padding: 0; font: inherit; }
.wc-block-cart-item__prices { color: var(--pl-slate); font: 500 14px/22px var(--pl-sans); }
.wc-block-cart-item__total, .wc-block-cart-item__total .price { font: 700 22px/28px var(--pl-display); }
.wc-block-cart-items__header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wc-block-cart-item__quantity .wc-block-components-quantity-selector { width: 118px; height: 48px; margin: 8px 0 0; border: 1px solid var(--pl-slate); border-radius: 999px; }
.wc-block-cart-item__quantity .wc-block-components-quantity-selector::after { display: none; }
.wc-block-cart-item__quantity .wc-block-components-quantity-selector input { width: 28px; min-width: 0; border: 0; background: none; font-weight: 600; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { width: 44px; border-radius: 999px; color: inherit; opacity: 1; }
.wc-block-components-order-summary-item__individual-prices { display: none; }
.wc-block-components-order-summary-item__total-price { font: 600 14px/22px var(--pl-sans); }
.wc-block-components-button:not(.is-link), .woocommerce-account .woocommerce button.button, .woocommerce-account .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px !important; border: 0 !important; border-radius: 999px !important; background: var(--pl-court-teal) !important; color: var(--pl-white) !important; font: 600 16px/20px var(--pl-sans) !important; text-decoration: none; cursor: pointer; }
.wc-block-components-button:not(.is-link):hover, .woocommerce-account .woocommerce button.button:hover, .woocommerce-account .woocommerce a.button:hover { background: var(--pl-night-teal) !important; color: var(--pl-white) !important; }
.woocommerce-account .woocommerce button.button::after, .woocommerce-account .woocommerce a.button::after { display: none !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--pl-ball-yellow) !important; color: var(--pl-court-teal) !important; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--pl-ball-yellow) !important; color: var(--pl-court-teal) !important; }
.woocommerce-account .woocommerce form .form-row input.input-text, .woocommerce-account .woocommerce form .form-row textarea, .woocommerce-account .woocommerce form .form-row select { padding: 12px 16px; border: 1px solid var(--pl-slate); border-radius: 12px; background: var(--pl-white); color: var(--pl-court-teal); font: 400 16px/26px var(--pl-sans); }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--pl-mist); color: var(--pl-court-teal); font: 600 14px/20px var(--pl-sans); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--pl-mint); }
.woocommerce-account .woocommerce-info, .woocommerce-account .woocommerce-message, .woocommerce-account .woocommerce-error { padding: 14px 20px; border: 0; border-radius: 18px; background: var(--pl-mist); color: var(--pl-court-teal); list-style: none; }
.woocommerce-account .woocommerce-info::before, .woocommerce-account .woocommerce-message::before, .woocommerce-account .woocommerce-error::before { display: none; }

@media (prefers-reduced-motion: reduce) { .pl-sticky-buy, .pl-toast, .pl-toast.pl-show { transition: none; } }
@media (min-width: 981px) {
	.pl-pdp-buy { position: sticky; top: 16px; }
}

@media (max-width: 980px) {
	.pl-feature-img img { min-height: 0; aspect-ratio: 16 / 9; }
	.pl-nf-img { order: 2; }
	.pl-ph { aspect-ratio: 4 / 3; }
	.et_pb_text_inner ul.pl-quick-faq { grid-template-columns: 1fr 1fr; }
	.pl-side-nav { position: static; padding: 20px 24px; border-radius: 18px; background: var(--pl-mist); }
	.et_pb_module:has(> .et_pb_text_inner > .pl-side-nav) { position: static; }
	.pl-side-nav ol { border-left: 0; columns: 2; column-gap: 24px; }
	.pl-side-nav a { margin-left: 0; padding: 6px 0; border-left: 0; }
	.pl-side-nav a[aria-current="true"] { text-decoration: underline; text-underline-offset: 4px; }
	.pl-filters-col { position: fixed; inset: 0; z-index: 100000; display: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; overflow-y: auto; background: var(--pl-white); }
	body.pl-filters-open { overflow: hidden; }
	body.pl-filters-open .pl-filters-col { display: block !important; }
	.pl-filters-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pl-line); background: var(--pl-white); }
	.pl-f-title { margin: 0; font: 700 24px/32px var(--pl-display); }
	.pl-filters-close { min-height: 44px; padding: 10px 20px; border: 2px solid var(--pl-court-teal); border-radius: 999px; background: var(--pl-white); color: var(--pl-court-teal); font: 600 16px/20px var(--pl-sans); cursor: pointer; }
	.pl-filters .et_pb_post_filter__controls { padding: 16px 20px; }
	.pl-filters-foot { position: sticky; bottom: 0; display: block; padding: 12px 20px 20px; border-top: 1px solid var(--pl-line); background: var(--pl-white); }
	.pl-show-results { width: 100%; min-height: 48px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--pl-court-teal); color: var(--pl-white); font: 600 16px/20px var(--pl-sans); cursor: pointer; }
	.pl-specs-wrap, .pl-policy-grid { grid-template-columns: 1fr; }
	.pl-tags { top: 10px; left: 10px; }
	.pl-buy .button { min-height: 44px; padding: 10px 12px; }
	.pl-reviews-empty { padding: 24px; }
	.pl-sticky-buy { display: flex; }
	body.pl-has-sticky { padding-bottom: 76px; }
	.pl-pdp-gallery .woocommerce-product-gallery__image img { aspect-ratio: 4 / 3; max-height: 56vh; }
	body.pl-has-sticky .pl-toast { bottom: 96px; }
	.pl-pdp-desc .desc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.pl-side-nav ol { columns: 1; }
	.et_pb_text_inner ul.pl-quick-faq { grid-template-columns: 1fr; }
	.pl-post-body { font-size: 17px; line-height: 28px; }
	.pl-post-body .intro { font-size: 18px; line-height: 30px; }
	.pl-post-product { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
	.wc-block-cart table.wc-block-cart-items { width: 100%; margin: 0; }
	.wc-block-cart .wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr) auto !important; width: 100%; }
	.wc-block-cart-item__total, .wc-block-cart-item__total .price { font-size: 18px; line-height: 24px; }
	.pl-sort-label { display: none; }
	.pl-sort, .pl-select-wrap { min-width: 0; }
	.pl-sort-select { max-width: 100%; width: 100%; }
	/* Phone toolbar as in the prototype: count, Filtrar and the sort box on one line; the sort box gives way. */
	.pl-toolbar.et_pb_group { flex-wrap: nowrap; align-items: center; column-gap: 12px; }
	.pl-toolbar .et_pb_text:has(.pl-count) { flex: 0 0 auto; }
	.pl-toolbar .et_pb_group:has(.pl-sort) { flex: 1 1 0; min-width: 0; width: auto; flex-wrap: nowrap; }
	.pl-toolbar .et_pb_text:has(.pl-sort) { flex: 1 1 0; min-width: 0; }
	.pl-toolbar .et_pb_text:has(.pl-sort) .pl-sort, .pl-toolbar .et_pb_text:has(.pl-sort) .pl-select-wrap { width: 100%; }
	.pl-price { font-size: 24px; }
	.pl-tags .pl-badge { padding: 5px 10px; }
	.pl-pdp-buy .price { font-size: 34px !important; line-height: 40px !important; }
	.pl-pdp-desc .desc-card, .pl-policy, .pl-change-note { padding: 24px; }
	.pl-pdp-gallery .flex-control-thumbs { gap: 8px; }
}

/* Phone and tablet header as in the prototype (inc/header.php): "Menú" pill before the logo, the
   menu opens below the header, basket as "Cesta" plus a mint count. Desktop keeps its own header. */
.pl-mnav, .pl-menu-btn, .pl-nav { display: none; }
@media (max-width: 980px) {
	.et-l--header .et_pb_text:has(.pl-mnav), .et-l--header .et_pb_text:has(.pl-mnav) .et_pb_text_inner, .pl-mnav { display: contents !important; }
	.pl-menu-btn { order: -1; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--pl-mist); color: var(--pl-court-teal); font: 600 16px/24px var(--pl-sans); cursor: pointer; }
	.pl-menu-btn:hover { background: var(--pl-mint); }
	.pl-menu-btn:focus-visible, .pl-sub-btn:focus-visible { outline: 2px solid var(--pl-court-teal); outline-offset: 3px; }
	.pl-nav { order: 99; flex: 0 0 calc(100% + 2 * var(--gvid-9b1cd7b9-9a3a-4dd1-81d7-5ea1af7dd941)); margin: 0 calc(-1 * var(--gvid-9b1cd7b9-9a3a-4dd1-81d7-5ea1af7dd941)) -12px; padding: 0 var(--gvid-9b1cd7b9-9a3a-4dd1-81d7-5ea1af7dd941); border-top: 1px solid var(--pl-line); }
	.pl-nav.pl-open { display: block; }
	.et-l--header .pl-nav ul.pl-nav-list { margin: 0; padding: 8px 0 16px; list-style: none; }
	.pl-nav-list li { margin: 0; padding: 0; list-style: none; }
	.pl-nav-list > li > a, .pl-sub-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; border: 0; background: none; color: var(--pl-court-teal); font: 600 18px/24px var(--pl-sans); text-align: left; text-decoration: none; cursor: pointer; }
	.pl-nav-list > li > a:hover, .pl-sub-btn:hover { color: var(--pl-deep-green); }
	.pl-sub-btn::after { content: ""; width: 7px; height: 7px; margin: -4px 4px 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
	.pl-sub-btn[aria-expanded="true"]::after { transform: translateY(4px) rotate(-135deg); }
	.et-l--header .pl-nav ul.pl-sub { display: none; margin: 0; padding: 0 0 8px 12px; list-style: none; }
	.et-l--header .pl-nav ul.pl-sub.pl-open { display: block; }
	.pl-sub a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--pl-court-teal); font: 500 16px/24px var(--pl-sans); text-decoration: none; }
	.pl-sub a:hover { background: var(--pl-mist); }
	.pl-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
	/* Divi's hamburger and basket icon give way to the pill and the count. */
	.et-l--header .et_mobile_nav_menu { display: none !important; }
	.et-l--header .et_pb_menu__cart-button::before, .et-l--header .et_pb_menu__cart-button::after { display: none !important; }
	.et-l--header .pl-cart-n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--pl-mint); font-size: 14px; line-height: 1; }
}
/* One trust line on phones, as in the prototype. */
@media (max-width: 680px) {
	.et-l--header .et_pb_section:first-child .et_pb_column > .et_pb_text:nth-child(n+2) { display: none !important; }
}
