/* Product page top v2 (app/product-page.php). Gold #D3AE76, ink #1A202C, river #4D5C6B. */
body.icpdp .product-details { font-family: Gordita, "Helvetica Neue", Arial, sans-serif; }

/* Breadcrumb: "›" separators, current product shown and truncated. */
body.icpdp #breadcrumbs { overflow: hidden; color: #6b7684; white-space: nowrap; text-overflow: ellipsis; }
body.icpdp #breadcrumbs a { color: #4d5c6b; text-decoration: none; }
body.icpdp #breadcrumbs a:hover { color: #8a6a35; }
body.icpdp #breadcrumbs .breadcrumb-separator { font-size: 0; }
body.icpdp #breadcrumbs .breadcrumb-separator::before { content: '›'; margin: 0 2px; font-size: 14px; color: #b9bfc8; }
body.icpdp #breadcrumbs .breadcrumb_last { display: inline !important; color: #1a202c; }

/* Category label as small gold text. */
body.icpdp .product-details-inner > .label { display: block; margin: 0; padding: 0; background: none; border: 0; }
body.icpdp .product-details-inner > .label a { display: inline-block; padding: 0 !important; background: none !important; font: 700 11.5px/1.4 Gordita, "Helvetica Neue", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8a6a35 !important; text-decoration: none; }
body.icpdp .product-details-inner > .label a:hover { color: #1a202c !important; }

/* Stars. */
.icpdp-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1; color: #4d5c6b; text-decoration: none; }
.icpdp-rating b { color: #1a202c; }
.icpdp-rating span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.icpdp-rating:hover span:last-child { color: #8a6a35; }
.icpdp-rating:focus-visible { outline: 3px solid #d3ae76; outline-offset: 3px; border-radius: 4px; }
.icpdp-rating__stars { display: inline-block; flex: none; width: 85px; height: 15px; background: linear-gradient(90deg, #d3ae76 var(--pct), #e2dccf var(--pct)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpath d='M15 1l4 8.3 9.1 1.3-6.6 6.4 1.6 9L15 21.8 6.9 26l1.6-9-6.6-6.4 9.1-1.3z'/%3E%3C/svg%3E") repeat-x 0 0 / 17px 15px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpath d='M15 1l4 8.3 9.1 1.3-6.6 6.4 1.6 9L15 21.8 6.9 26l1.6-9-6.6-6.4 9.1-1.3z'/%3E%3C/svg%3E") repeat-x 0 0 / 17px 15px; }

/* Price under the stars (simple products); the in-form copy stays in the DOM for the scripts. */
.icpdp-price { margin: 4px 0 14px; }
.icpdp-price .price { display: inline-flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 !important; font-family: Gordita, "Helvetica Neue", Arial, sans-serif !important; font-size: 32px !important; font-weight: 700 !important; line-height: 1.1 !important; color: #1a202c !important; }
.icpdp-price .price .price { font-size: inherit !important; }
.icpdp-price del { order: -1; font-size: 18px; font-weight: 400; color: #6b7684; }
.icpdp-price del sup, .icpdp-price del .price-decimal { font-size: 1em; vertical-align: baseline; }
.icpdp-price ins { text-decoration: none; background: none; }
.icpdp-price sup, .icpdp-price .price-decimal { font-size: .55em; vertical-align: .7em; }
body.icpdp-simple .product-details form.cart .controls > p.price { display: none !important; }

/* Key facts. */
.icpdp-facts { display: grid; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; }
.icpdp-facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.4; color: #4d5c6b; }
.icpdp-facts li::before { content: none; }
.icpdp-facts svg { width: 18px; height: 18px; margin-top: 1px; color: #8a6a35; }
.icpdp-facts--mob { margin: 16px 0 0; }
@media (max-width: 767px) { .icpdp-facts--desk { display: none; } }
@media (min-width: 768px) { .icpdp-facts--mob { display: none; } }

/* Buy row: quantity − / + next to the button (simple products). */
body.icpdp-simple .product-details form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
body.icpdp-simple .product-details form.cart > * { flex: 1 1 100%; min-width: 0; }
body.icpdp-simple .product-details form.cart > .controls { flex: 0 0 auto; max-width: none; margin: 0; }
body.icpdp-simple .product-details form.cart > button[type="submit"] { flex: 1 1 0; width: auto; min-height: 52px; margin: 0; border-radius: 8px; }
/* Add to cart right next to the quantity, above the no-kit box and Complete your Jamón
   (whole hams), so the button is above the fold; Apple Pay right under it. Visual order only:
   the form and its scripts are unchanged. */
body.icpdp-simple .product-details form.cart > * { order: 4; }
body.icpdp-simple .product-details form.cart > .controls { order: 1; }
body.icpdp-simple .product-details form.cart > button[type="submit"] { order: 2; }
body.icpdp-simple .product-details form.cart > .wc-braintree-clear,
body.icpdp-simple .product-details form.cart > .wc-braintree-product-gateways-container { order: 3; }
.icpdp-qty { display: inline-flex; align-items: stretch; height: 52px; border: 1px solid #c9ced6; border-radius: 8px; background: #fff; overflow: hidden; }
.icpdp-qty button { width: 44px; min-width: 44px; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; font: 600 20px/1 Gordita, "Helvetica Neue", Arial, sans-serif; color: #1a202c; cursor: pointer; }
.icpdp-qty button:hover { background: #f8f4ef; }
.icpdp-qty button:disabled { color: #c9ced6; cursor: default; }
.icpdp-qty button:focus-visible { outline: 3px solid #d3ae76; outline-offset: -3px; }
.icpdp-qty button #loading { display: none !important; }
.icpdp-qty input.qty { width: 42px !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff; text-align: center; font: 600 16px/1 Gordita, "Helvetica Neue", Arial, sans-serif; color: #1a202c; -moz-appearance: textfield; box-shadow: none !important; }
.icpdp-qty input.qty::-webkit-inner-spin-button, .icpdp-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.icpdp-qty input.qty:focus-visible { outline: 3px solid #d3ae76; outline-offset: -3px; }

/* Shipping & guarantee: replaces the "(View)" line and the three claim icons. */
body.icpdp .product-details form.cart p:has(> #toggle-shipping-policy),
body.icpdp .product-details form.cart > section.claims { display: none !important; }
.icpdp-assure { display: grid; margin: 16px 0 0; padding: 0; list-style: none; border: 1px solid #eadfcd; border-radius: 12px; background: #f8f4ef; }
.icpdp-assure li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; margin: 0; padding: 12px 14px; }
.icpdp-assure li::before { content: none; }
.icpdp-assure li + li { border-top: 1px solid #eadfcd; }
.icpdp-assure svg { width: 20px; height: 20px; margin-top: 1px; color: #8a6a35; }
.icpdp-assure b { display: block; font-size: 14.5px; color: #1a202c; }
.icpdp-assure span { display: block; font-size: 13px; line-height: 1.45; color: #6b7684; }
.icpdp-policy-link { justify-self: start; width: auto !important; margin: 10px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font: 600 13px/1.4 Gordita, "Helvetica Neue", Arial, sans-serif; color: #4d5c6b !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-transform: none; letter-spacing: 0; }
body.icpdp-simple .product-details form.cart > .icpdp-policy-link { flex: 0 0 auto; }
.icpdp-policy-link:focus-visible { outline: 3px solid #d3ae76; outline-offset: 2px; }
.icpdp-policy-link #loading { display: none !important; }

/* Gallery (partials/product/gallery.blade.php). */
body.icpdp .total-slider-container .slider { border-radius: 12px; overflow: hidden; }
body.icpdp .slider-arrow { display: none; position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); color: #1a202c; cursor: pointer; font-size: 0; transform: none; }
body.icpdp .slider-arrow svg { width: 18px; height: 18px; }
body.icpdp .slider-arrow.prev { left: 14px; right: auto; }
body.icpdp .slider-arrow.next { right: 14px; left: auto; }
body.icpdp .slider-arrow:focus-visible { outline: 3px solid #d3ae76; outline-offset: 2px; }
body.icpdp .slider-arrow #loading { display: none !important; }
@media (min-width: 768px) { body.icpdp .slider-arrow { display: flex; } }
body.icpdp .slider-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(26, 32, 44, .72); font: 600 12px/1 Gordita, "Helvetica Neue", Arial, sans-serif; color: #fff; pointer-events: none; }
body.icpdp .thumbnail-item { border: 2px solid transparent !important; border-radius: 8px; opacity: 1 !important; }
body.icpdp .thumbnail-item.active { border-color: #d3ae76 !important; }
@media (max-width: 767px) {
  body.icpdp .thumbnail-container { display: none !important; }
  body.icpdp .slider-count { top: 12px; bottom: auto; }
}
@media (min-width: 768px) { body.icpdp .slider-dots { display: none !important; } }

/* Sticky buy bar on phones (product-page.js). */
.icpdp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #eadfcd; box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); font-family: Gordita, "Helvetica Neue", Arial, sans-serif; transform: translateY(110%); transition: transform .25s ease; }
.icpdp-bar.is-on { transform: none; }
.icpdp-bar__price { font-size: 20px; font-weight: 700; line-height: 1.1; color: #1a202c; white-space: nowrap; }
.icpdp-bar__price sup { font-size: .55em; vertical-align: .7em; }
.icpdp-bar__price del { display: none; }
.icpdp-bar__price ins { text-decoration: none; background: none; }
.icpdp-bar small { display: block; font-size: 11.5px; font-weight: 500; color: #6b7684; }
.icpdp-bar__btn { min-height: 46px; width: 100%; margin: 0; padding: 0 12px; border: 0; border-radius: 8px; background: #d3ae76; font: 700 12.5px/1 Gordita, "Helvetica Neue", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #1a202c; cursor: pointer; }
.icpdp-bar__btn:focus-visible { outline: 3px solid #1a202c; outline-offset: 2px; }
.icpdp-bar__btn #loading { display: none !important; }
@media (min-width: 768px) { .icpdp-bar { display: none; } }
/* Keep the chat bubbles above the bar while it shows. */
body.icpdp-bar-on #tidio-chat-iframe { bottom: 72px !important; }
body.icpdp-bar-on .ic-chat-fab, body.icpdp-bar-on #ic-chat-launcher { bottom: 84px !important; }
@media (prefers-reduced-motion: reduce) { .icpdp-bar { transition: none; } }

/* The "Upgrade your purchase" / subscription modals show the buy form itself: keep the new
   blocks out of them, and hide the sticky bar while a modal is open. */
.modaal-wrapper .icpdp-facts, .modaal-wrapper .icpdp-assure, .modaal-wrapper .icpdp-policy-link, .modaal-wrapper .shipping-policy { display: none !important; }
body.modaal-noscroll .icpdp-bar { display: none; }

/* Shipping & returns modal (<dialog id="icpdp-policy">); the theme's old inline panel stays hidden. */
body.icpdp .product-details form.cart .shipping-policy { display: none !important; }
.icpdp-modal { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 0; border: 0; border-radius: 16px; background: #fff; color: #1a202c; box-shadow: 0 24px 64px rgba(0, 0, 0, .28); font-family: Gordita, "Helvetica Neue", Arial, sans-serif; overflow: auto; }
.icpdp-modal::backdrop { background: rgba(26, 32, 44, .6); }
.icpdp-modal[open] { animation: icpdp-pop .2s ease; }
@keyframes icpdp-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.icpdp-modal__box { position: relative; padding: 28px 28px 24px; }
.icpdp-modal__close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f8f4ef; color: #1a202c; cursor: pointer; }
.icpdp-modal__close svg { width: 16px; height: 16px; }
.icpdp-modal__close:hover { background: #eadfcd; }
.icpdp-modal__close:focus-visible, .icpdp-modal__ok:focus-visible { outline: 3px solid #d3ae76; outline-offset: 2px; }
.icpdp-modal__close #loading, .icpdp-modal__ok #loading { display: none !important; }
.icpdp-modal__title { margin: 0 48px 18px 0; font-family: inherit; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #1a202c; }
.icpdp-modal__part { padding: 16px 0; border-top: 1px solid #eadfcd; }
.icpdp-modal__part h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6a35; }
.icpdp-modal__part h3 svg { width: 22px; height: 22px; flex: none; }
.icpdp-modal__part ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.icpdp-modal__part li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; margin: 0; font-size: 15px; line-height: 1.45; color: #4d5c6b; }
.icpdp-modal__part li::before { content: none; }
.icpdp-modal__part li svg { width: 16px; height: 16px; margin-top: 3px; color: #2f855a; }
.icpdp-modal__part a { color: #1a202c; text-decoration: underline; text-underline-offset: 3px; }
.icpdp-modal__ok { display: block; width: 100%; min-height: 48px; margin: 8px 0 0; border: 0; border-radius: 8px; background: #d3ae76; font: 700 13px/1 Gordita, "Helvetica Neue", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #1a202c; cursor: pointer; }
.icpdp-modal__ok:hover { background: #c49c5f; }
body.icpdp-modal-open .icpdp-bar { display: none; }
@media (max-width: 767px) {
  .icpdp-modal { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .icpdp-modal__box { padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .icpdp-modal[open] { animation: none; } }

/* Desktop: the gallery follows while the (often long) buy column scrolls, so there is no
   empty column under the photos; thumbnails in a grid instead of a cut-off scrolling row. */
@media (min-width: 1024px) {
  body.icpdp .product-summary > .product-image { position: sticky; top: 24px; align-self: flex-start; }
  body.admin-bar.icpdp .product-summary > .product-image { top: 56px; }
}
@media (min-width: 768px) {
  body.icpdp .thumbnail-container { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; justify-content: stretch; overflow: visible; padding-bottom: 0; }
  body.icpdp .thumbnail-item { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; }
}

/* "60s video-recipes" (App::get_tapas_videos): same rounded look as the product cards and a
   play button so it reads as video. */
body.icpdp #feat_tapas li.feat-tapa { overflow: hidden; border-radius: 10px; background: #fff; }
body.icpdp #feat_tapas li.feat-tapa figure { position: relative; margin: 0; overflow: hidden; background: #f8f4ef; }
body.icpdp #feat_tapas li.feat-tapa figure img { display: block; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
body.icpdp #feat_tapas li.feat-tapa:hover figure img { transform: scale(1.04); }
body.icpdp .feat-tapa__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 16px rgba(0, 0, 0, .25); color: #1a202c; transition: transform .2s ease, background-color .2s ease; }
body.icpdp .feat-tapa__play svg { width: 24px; height: 24px; margin-left: 3px; }
body.icpdp #feat_tapas li.feat-tapa:hover .feat-tapa__play { transform: scale(1.08); background: #d3ae76; }
body.icpdp #feat_tapas .lg-link:focus-visible { outline: 3px solid #d3ae76; outline-offset: -3px; }
body.icpdp #feat_tapas h4 { font-family: Gordita, "Helvetica Neue", Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.35; }
body.icpdp #feat_tapas h4 a { color: #1a202c; }
body.icpdp #feat_tapas h4 a:hover { color: #8a6a35; }
@media (prefers-reduced-motion: reduce) { body.icpdp #feat_tapas li.feat-tapa figure img, body.icpdp .feat-tapa__play { transition: none; } }

/* Video-recipes row: swipe on phones, 4 columns from 768 px (no slick). */
ul.ictv-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
@media (max-width: 767px) { ul.ictv-rail { max-width: none; margin-left: 0; margin-right: 0; padding: 0 16px 6px; } }
ul.ictv-rail::-webkit-scrollbar { display: none; }
ul.ictv-rail > li.feat-tapa { width: auto; margin: 0 !important; scroll-snap-align: start; }
@media (max-width: 767px) {
  body.icpdp #tapas-videos { padding-top: 40px; padding-bottom: 40px; }
  body.icpdp #tapas-videos > h3 { padding: 0 16px; }
}
@media (min-width: 768px) {
  ul.ictv-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-left: 16px !important; padding-right: 16px !important; overflow: visible; }
}

/* "Upgrade your purchase" add-on modal (single-product.js moves .form-cart-wrapper into a
   modaal and adds .product_add_on_modal). Only the offer stays visible: the page's Black
   Friday box, Tapas Board, "or", CYJ, etc. belong to the main product. product-page.js adds
   .icao and tidies the texts. */
.product_add_on_modal > *:not(.product-on-modal):not(form) { display: none !important; }
.product_add_on_modal form.cart > *:not(.container_product_add_on) { display: none !important; }
.product_add_on_modal form.cart { margin: 0 !important; padding: 0 !important; max-width: none !important; display: block !important; }
.modaal-container:has(.product_add_on_modal) { width: 100%; max-width: 440px; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); }
.modaal-content-container.product_add_on_modal { padding: 28px 28px 24px !important; font-family: Gordita, "Helvetica Neue", Arial, sans-serif; text-align: center; color: #1a202c; }
.product_add_on_modal .product-on-modal { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0; }
.product_add_on_modal .image-container-on { position: static; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 0; background: none; }
.product_add_on_modal .image-container-on > span { order: 1; position: static; display: block; width: auto; margin: 0 0 6px; padding: 0; background: none; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a6a35; }
.product_add_on_modal .image-container-on > h3 { order: 2; position: static; display: block; width: auto; margin: 0 0 18px; padding: 0; background: none; font-family: inherit; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #1a202c; }
.product_add_on_modal .image-container-on > img.img-product-on { order: 3; display: block; width: 200px; max-width: 70%; height: auto; aspect-ratio: 1 / 1; margin: 0; object-fit: cover; border-radius: 12px; background: #f8f4ef; }
.product_add_on_modal .product-on-modal > h4 { margin: 16px 0 4px; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.3; text-transform: none; color: #1a202c; }
.product_add_on_modal .product-on-modal > h5 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; margin: 0; font-family: inherit; font-size: 22px; font-weight: 700; line-height: 1.2; color: #1a202c; }
.product_add_on_modal .product-on-modal > h5 span { font-size: 15px; font-weight: 400 !important; color: #6b7684; }
.product_add_on_modal .icao-save { display: block; width: 100%; margin-top: 2px; font-size: 13px; font-weight: 700; color: #b42318; }
.product_add_on_modal .container_product_add_on { display: flex !important; flex-direction: column; align-items: stretch; gap: 6px; margin: 20px 0 0; padding: 0; }
.product_add_on_modal #product_add_on { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 8px !important; background: #d3ae76 !important; font: 700 14px/1 Gordita, "Helvetica Neue", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #1a202c !important; cursor: pointer; box-shadow: none; }
.product_add_on_modal #product_add_on:hover { background: #c49c5f !important; }
.product_add_on_modal #product_add_on:focus-visible { outline: 3px solid #1a202c; outline-offset: 2px; }
.product_add_on_modal #closeModal { display: block; padding: 12px; font: 600 14px/1.2 Gordita, "Helvetica Neue", Arial, sans-serif; color: #4d5c6b; text-decoration: underline; text-underline-offset: 3px; text-transform: none; }
.product_add_on_modal #closeModal:hover { color: #1a202c; }
.product_add_on_modal .note-modal { display: block; font-size: 12px; color: #6b7684; }
@media (max-width: 767px) {
  .modaal-wrapper:has(.product_add_on_modal) .modaal-inner-wrapper { vertical-align: bottom; padding: 0 !important; }
  .modaal-container:has(.product_add_on_modal) { max-width: none; border-radius: 16px 16px 0 0; }
  .modaal-content-container.product_add_on_modal { padding: 24px 20px calc(16px + env(safe-area-inset-bottom, 0px)) !important; }
  .product_add_on_modal .image-container-on > h3 { font-size: 21px; margin-bottom: 14px; }
  .product_add_on_modal .image-container-on > img.img-product-on { width: 150px; }
}

/* Modal entrance without the jump (product-page.js: .icao-wait until final, then .icao-in). */
body.icao-wait .modaal-container { opacity: 0 !important; }
body.icao-in .modaal-container { animation: icao-in .22s ease-out; }
@keyframes icao-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  body.icao-in .modaal-container:has(.product_add_on_modal) { animation: icao-up .26s ease-out; }
  @keyframes icao-up { from { transform: translateY(100%); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { body.icao-in .modaal-container { animation: none !important; } }
.product_add_on_modal .container_product_add_on > *:not(#product_add_on):not(#closeModal):not(.note-modal) { display: none !important; }
.product_add_on_modal .container_product_add_on { gap: 0; }
.product_add_on_modal #closeModal { margin: 6px 0 0; }
.product_add_on_modal .note-modal { margin: 2px 0 0 !important; padding: 0 !important; }

/* Spinner over the backdrop while the modal content is being prepared. */
body.icao-wait .modaal-wrapper::before { content: ''; position: fixed; left: 50%; top: 50%; z-index: 2; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #d3ae76; border-radius: 50%; animation: icao-spin .75s linear infinite; }
@keyframes icao-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body.icao-wait .modaal-wrapper::before { animation-duration: 1.6s; } }

/* Highlights (shop-product.php add_product_main_content): wider, 2 columns of checks on
   desktop, links as cards; boards keep their own grid (it is not a direct child list). */
body.icpdp .product-content.icpdp-hl { max-width: 1040px; }
body.icpdp .icpdp-hl > h3 { margin-bottom: 8px; }
body.icpdp .icpdp-hl > ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 40px; margin: 20px 0 0; padding: 0; list-style: none; font-family: Gordita, "Helvetica Neue", Arial, sans-serif; }
body.icpdp .icpdp-hl > ul > li { position: relative; margin: 0; padding: 0 0 0 30px; font-size: 16px; line-height: 1.45; color: #1a202c; }
body.icpdp .icpdp-hl > ul > li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: #8a6a35; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") center / 18px no-repeat; }
body.icpdp .icpdp-hl > ul > li strong, body.icpdp .icpdp-hl > ul > li b { font-weight: 700; }
/* A bullet that is a link (e.g. "Want more hand carved Jamón?…", "video recipes") becomes a card. */
body.icpdp .icpdp-hl > ul > li:has(> a) { grid-column: 1 / -1; padding: 0; }
body.icpdp .icpdp-hl > ul > li:has(> a)::before { content: none; }
body.icpdp .icpdp-hl > ul > li > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px 20px; border: 1px solid #eadfcd; border-radius: 12px; background: #f8f4ef; font-weight: 600; color: #1a202c !important; text-decoration: none; transition: border-color .2s, background-color .2s; }
body.icpdp .icpdp-hl > ul > li > a::after { content: '→'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #d3ae76; font-size: 18px; color: #1a202c; }
body.icpdp .icpdp-hl > ul > li > a:hover { border-color: #d3ae76; background: #f3ebdf; }
body.icpdp .icpdp-hl > ul > li > a:focus-visible { outline: 3px solid #d3ae76; outline-offset: 2px; }
body.icpdp .icpdp-hl .icpdp-hl-more { display: none; margin: 16px 0 0; padding: 0; border: 0; background: none; font: 600 14px/1.4 Gordita, "Helvetica Neue", Arial, sans-serif; color: #4d5c6b; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.icpdp .icpdp-hl .icpdp-hl-more #loading { display: none !important; }
@media (min-width: 768px) {
  body.icpdp .icpdp-hl > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.icpdp .icpdp-hl > ul > li { font-size: 15px; }
  body.icpdp .icpdp-hl > ul.is-collapsed > li:not(:has(> a)):nth-child(n+7) { display: none; }
  body.icpdp .icpdp-hl.has-more .icpdp-hl-more { display: inline-block; }
}
