/* Reference viewport: 2557 x 1284. Presentation belongs only to Casa Costa. */
.store-theme-casa-costa.page-product { --cc-pdp-text: #151515; --cc-pdp-muted: #929292; --cc-pdp-line: #e3e3e3; --cc-pdp-blue: #356289; --cc-pdp-blue-rgb: 53, 98, 137; --cc-pdp-action: #659cb3; --cc-pdp-action-rgb: 101, 156, 179; --cc-pdp-body-size: clamp(14px, .73vw, 19px); background: #fff; }
.store-theme-casa-costa.page-product #wrapper { background: #fff !important; }
.store-theme-casa-costa.page-product .section-page-title-single { display: none; }
.store-theme-casa-costa .theme-product-layout { display: grid; grid-template-columns: minmax(0, 48.2fr) minmax(0, 46.6fr); column-gap: 5.2%; row-gap: clamp(18px, .95vw, 24px); align-items: start; width: 90.8%; margin: clamp(20px, 1.1vw, 28px) auto 48px; }
.store-theme-casa-costa .cc-product { display: contents; color: var(--cc-pdp-text); }
.store-theme-casa-costa .cc-product-stage { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.store-theme-casa-costa .cc-product-breadcrumb { display: flex; align-items: center; gap: 14px; min-width: 0; margin: 0 0 clamp(20px, 1.05vw, 27px); font-size: clamp(12px, .67vw, 17px); line-height: 1.4; white-space: nowrap; }
.store-theme-casa-costa .cc-product-breadcrumb a, .store-theme-casa-costa .cc-product-breadcrumb i { color: #aab1b8; flex-shrink: 0; }
.store-theme-casa-costa .cc-product-breadcrumb span { overflow: hidden; text-overflow: ellipsis; }
.store-theme-casa-costa .cc-product-image-link { display: block; border-radius: clamp(16px, 1vw, 25px); overflow: hidden; background: #fff; box-shadow: none; cursor: zoom-in; }
.store-theme-casa-costa #cc-product-image { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; background: #fff; }
.store-theme-casa-costa .cc-product-empty { display: grid; place-items: center; aspect-ratio: 1; background: #f5f5f5; }
.store-theme-casa-costa .cc-product-copy { grid-column: 2; grid-row: 1; min-width: 0; max-width: 920px; }
.store-theme-casa-costa .cc-product-category { display: none; }
.store-theme-casa-costa #cc-product-title { font-size: clamp(26px, 1.7vw, 44px); font-weight: 400; line-height: 1.23; letter-spacing: 0; color: #111; margin: 0 0 clamp(16px, .9vw, 23px); overflow-wrap: anywhere; }
.store-theme-casa-costa #cc-product-title:has(+ .cc-product-sku) { margin-bottom: 8px; }
.store-theme-casa-costa .cc-product-sku { margin: 0 0 clamp(16px, .9vw, 23px); font-size: 13px; line-height: 1.4; color: var(--cc-pdp-muted); overflow-wrap: anywhere; }
.store-theme-casa-costa #product-purchase .meta_prd_code { display: none; }
.store-theme-casa-costa .cc-product-description { font-size: var(--cc-pdp-body-size); line-height: 1.6; font-weight: 400; color: #929292; margin: 0 0 clamp(18px, 1vw, 26px); }
.store-theme-casa-costa .cc-product-finish { display: flex; align-items: center; gap: 24px; margin: 0; color: #7a858a; font-size: clamp(10px, .5vw, 13px); text-transform: uppercase; }
.store-theme-casa-costa .cc-product-finish label { flex-shrink: 0; margin: 0; }
.store-theme-casa-costa .cc-product-finish select, .store-theme-casa-costa .cc-product-finish-value { border: 1px solid var(--cc-pdp-line); border-radius: 24px; padding: 10px 20px; width: auto; max-width: 100%; min-width: 0; min-height: 40px; background: #fff; color: #333; }
.store-theme-casa-costa .cc-product-options { text-decoration: underline; }
.store-theme-casa-costa .cc-product-thumbnails { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; margin: clamp(16px, .9vw, 23px) 0 0; width: 86%; }
.store-theme-casa-costa .cc-product-thumbnail { display: block; flex: 0 0 calc((100% - 6px) / 4); min-width: 0; padding: 0; box-sizing: border-box; aspect-ratio: 1; border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fff; }
.store-theme-casa-costa .cc-product-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.store-theme-casa-costa .cc-product-thumbnail[aria-current="true"] { border-color: #999; }
.store-theme-casa-costa .cc-product :is(a, select):focus-visible { outline: 2px solid #151515 !important; outline-offset: 2px; }
.store-theme-casa-costa #product-purchase { grid-column: 2; grid-row: 2; min-width: 0; width: 100%; padding: 0; margin: 0; scroll-margin-top: 110px; }
.store-theme-casa-costa #product-purchase > .container { width: 100%; max-width: none; padding: 0; }
.store-theme-casa-costa #product-purchase .row { margin: 0; }
.store-theme-casa-costa #product-purchase .row > .col-md-6 { width: 100%; padding: 0; }
.store-theme-casa-costa #product-purchase :is(.product-infor-cate, .product-infor-desc, .tf-zoom-main) { display: none; }
.store-theme-casa-costa #product-purchase .tf-product-info-wrap { position: static !important; padding: 0; margin: 0 !important; }
.store-theme-casa-costa #product-purchase .tf-product-info-list { border: 0; border-radius: 0; box-shadow: none; padding: 0; gap: 18px; }
.store-theme-casa-costa #product-purchase .tf-product-info-list > .br-line { display: none; }
.store-theme-casa-costa #product-purchase .product-infor-meta { margin-bottom: 6px !important; }
.store-theme-casa-costa #product-purchase .meta_prd_code { font-size: clamp(13px, .7vw, 18px); color: #111; }
.store-theme-casa-costa #product-purchase .meta_prd_code > span:first-child { font-weight: 700; color: #111; }
.store-theme-casa-costa #product-purchase #prod-precio-iva { font-size: clamp(28px, 1.7vw, 44px); line-height: 1.2; font-weight: 750; color: #356289 !important; }
.store-theme-casa-costa #product-purchase :is(.tf-product-extra-link, .tf-product-delivery-return, #product-shipping-preview) { font-size: clamp(12px, .65vw, 16px); }
.store-theme-casa-costa #product-purchase .tf-product-extra-link { gap: clamp(14px, 1.5vw, 38px); flex-wrap: wrap; }
.store-theme-casa-costa #product-purchase .group-action { display: flex; gap: 10px; margin-top: 0; }
.store-theme-casa-costa #product-purchase .tf-product-total-quantity { width: 86%; }
.store-theme-casa-costa #product-purchase .tf-product-total-quantity:has(#btn-buy-now) > p { display: none; }
.store-theme-casa-costa #product-purchase .tf-product-total-quantity > p:has(.cc-quantity-stock) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.store-theme-casa-costa #product-purchase p:has(.cc-quantity-stock) #qty-max-tip:empty { display: none; }
.store-theme-casa-costa #product-purchase .group-action .tf-btn { flex: 1; min-width: 0; height: auto; min-height: 44px; padding: 10px 18px; border-radius: 10px; font-size: 14px; }
.store-theme-casa-costa #product-purchase #btn-add-cart:not(:disabled):not(.disabled) { background: var(--cc-pdp-action) !important; color: #fff !important; box-shadow: none; letter-spacing: 0; font-weight: 400; border: 0; }
.store-theme-casa-costa #product-purchase #btn-add-cart:not(:disabled):not(.disabled):is(:hover, :focus-visible) { background: rgba(var(--cc-pdp-action-rgb), .9) !important; }
.store-theme-casa-costa #product-purchase #btn-buy-now:not(:disabled):not(.disabled) { background: var(--cc-pdp-blue) !important; border-color: var(--cc-pdp-blue) !important; color: #fff !important; }
.store-theme-casa-costa #product-purchase #btn-buy-now:not(:disabled):not(.disabled):is(:hover, :focus-visible) { background: rgba(var(--cc-pdp-blue-rgb), .9) !important; border-color: transparent !important; }
.store-theme-casa-costa #product-purchase :is(#btn-add-cart, #btn-buy-now):focus-visible { outline: 2px solid var(--cc-pdp-blue); outline-offset: 3px; }
.store-theme-casa-costa #product-purchase .wg-quantity { height: 44px; width: 23%; min-width: max-content; flex: 0 0 23%; border-radius: 24px; }
/* Sin stock: WhatsApp y aviso de reingreso. El alto fijo de .tf-btn cortaba el texto en celular; si no entran en una fila, van uno debajo del otro. */
.store-theme-casa-costa #product-purchase div:has(> #btn-aviso-stock) { flex-wrap: wrap; }
.store-theme-casa-costa #product-purchase div:has(> #btn-aviso-stock) > .tf-btn { flex: 1 1 260px !important; min-width: 0; height: auto; min-height: 46px; padding: 10px 16px; border-radius: 12px !important; font-size: 14px; line-height: 1.3; text-align: center; }
.store-theme-casa-costa.page-product .tf-sticky-btn-atc { display: none !important; }
.store-theme-casa-costa #product-purchase .tf-product-trust-seal:has(> ul:not(.list-card)) { display: none; }
.store-theme-casa-costa .cc-image-viewer { padding: 0 !important; background: rgba(0,0,0,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.store-theme-casa-costa .cc-image-viewer .modal-dialog { width: max-content; max-width: calc(100vw - 144px); height: 100svh; min-height: 100svh; margin: 0 auto; }
.store-theme-casa-costa .cc-image-viewer .modal-content { position: relative; width: max-content; max-width: 100%; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.store-theme-casa-costa .cc-viewer-stage { position: relative; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.store-theme-casa-costa .cc-viewer-image { display: block; width: auto; height: auto; max-width: calc(100vw - 144px); max-height: calc(100svh - 240px); object-fit: contain; background: #fff; }
.store-theme-casa-costa .cc-viewer-arrow { display: grid; place-items: center; position: absolute; width: 44px; height: 44px; padding: 0; border: 1px solid #dedede; border-radius: 50%; background: rgba(255,255,255,.95); color: #151515; font-size: 20px; cursor: pointer; z-index: 2; }
.store-theme-casa-costa .cc-viewer-arrow { top: 50%; transform: translateY(-50%); }
.store-theme-casa-costa .cc-viewer-prev { left: -56px; }
.store-theme-casa-costa .cc-viewer-next { right: -56px; }
.store-theme-casa-costa .cc-viewer-arrow:hover { background: #efefef; }
.store-theme-casa-costa .cc-image-viewer button:focus-visible { outline: 2px solid #356289 !important; outline-offset: 2px; }
.store-theme-casa-costa .cc-viewer-carousel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; width: min(560px, calc(100vw - 32px)); }
.store-theme-casa-costa .cc-viewer-thumbnails { display: flex; align-items: center; justify-content: center; gap: clamp(2px, 1vw, 8px); min-width: 0; width: 100%; max-width: 100%; padding: 4px; }
.store-theme-casa-costa .cc-viewer-thumbnail { flex: 0 1 64px; min-width: 0; width: 64px; height: auto; aspect-ratio: 4 / 5; border: 0; border-radius: 6px; background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.store-theme-casa-costa .cc-viewer-thumbnail[aria-current="true"] { outline: 2px solid #356289; outline-offset: 2px; }
.store-theme-casa-costa .cc-viewer-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
 .store-theme-casa-costa .cc-viewer-thumbnail { flex-basis: 52px; width: 52px; }
}

@media (max-width: 1023px) {
 .store-theme-casa-costa .theme-product-layout { display: flex; flex-direction: column; width: auto; margin: 20px 20px 40px; gap: 24px; }
 .store-theme-casa-costa :is(.cc-product-stage, .cc-product-copy, #product-purchase) { width: 100%; }
 .store-theme-casa-costa .cc-product-breadcrumb { gap: 8px; font-size: 11px; margin-bottom: 18px; }
 .store-theme-casa-costa #cc-product-title { font-size: 28px; }
 .store-theme-casa-costa .cc-product-category { margin-bottom: 10px; }
 .store-theme-casa-costa #product-purchase .group-action { flex-wrap: wrap; }
 .store-theme-casa-costa #product-purchase .wg-quantity { flex-basis: 112px; min-width: max-content; padding-inline: 8px; }
 .store-theme-casa-costa #product-purchase .group-action .tf-btn { padding-inline: 10px; }
}

.store-theme-casa-costa #product-purchase .product-infor-reality { margin-bottom: 0 !important; }
.store-theme-casa-costa #product-purchase:has(#btn-buy-now) .product-infor-reality { display: none; }
.store-theme-casa-costa #product-shipping-preview { margin-bottom: 0 !important; }
@media (max-width: 1023px) {
 .store-theme-casa-costa .cc-product-thumbnails, .store-theme-casa-costa #product-purchase, .store-theme-casa-costa #product-purchase .tf-product-total-quantity { width: 100%; }
}

/* Keep the gallery zoom inside its frame, including the enlarged viewer. */
.store-theme-casa-costa .cc-viewer-stage { overflow: hidden; }

.store-theme-casa-costa .cc-product-thumbnail[hidden] { display: none; }
.store-theme-casa-costa .cc-product-thumbnails.has-more .cc-product-thumbnail { flex-basis: calc((100% - 120px) / 4); }
.store-theme-casa-costa .cc-product-more { display: inline-flex; align-items: center; justify-content: center; text-align: center; flex: 0 0 96px; margin-left: 16px; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--cc-pdp-action); color: #fff; font: inherit; font-size: 14px; font-weight: 700; line-height: 20px; white-space: nowrap; cursor: pointer; text-decoration: none; }
.store-theme-casa-costa .cc-product-more:is(:hover, :focus-visible) { background: rgba(var(--cc-pdp-action-rgb), .9); }

/* Share the main product image's outer alignment with the detail tabs. */
.store-theme-casa-costa.page-product .section-product-description > .container { width: 90.8%; max-width: none; margin-inline: auto; padding-inline: 0; }
@media (max-width: 1023px) {
 .store-theme-casa-costa.page-product .section-product-description > .container { width: calc(100% - 40px); }
}

/* Fit the complete main image in the opening viewport, reserving equal vertical gutters. */
.store-theme-casa-costa .theme-product-layout { margin-top:0; }
.store-theme-casa-costa .cc-product-stage {
 --cc-image-gutter:clamp(36px,4.6vw,118px);
 --cc-stage-height:calc(100svh - var(--cc-pdp-top,100px));
 display:grid; grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);
 height:max(180px,var(--cc-stage-height)); align-self:start;
}
.store-theme-casa-costa .cc-product-breadcrumb { grid-row:1; margin:0; height:100%; align-items:center; }
.store-theme-casa-costa .cc-product-image-link,
.store-theme-casa-costa .cc-product-empty { grid-row:2; align-self:center; justify-self:center; width:min(100%,max(80px,calc(var(--cc-stage-height) - 2 * var(--cc-image-gutter)))); margin:0; }
.store-theme-casa-costa #cc-product-image { object-position:center; }
.store-theme-casa-costa .cc-product-copy { padding-top:clamp(20px,1.1vw,28px); }
@media(max-width:1023px) {
 .store-theme-casa-costa .theme-product-layout { margin-top:0; }
 .store-theme-casa-costa .cc-product-copy { padding-top:0; }
}
/* On phones the image already spans the width: a viewport-tall stage only adds empty gutters above and below it. */
@media(max-width:767px) {
 .store-theme-casa-costa .cc-product-stage { height:auto; grid-template-rows:auto auto; row-gap:16px; padding-top:16px; }
 .store-theme-casa-costa .cc-product-breadcrumb { height:auto; }
 .store-theme-casa-costa .cc-product-image-link,
 .store-theme-casa-costa .cc-product-empty { width:100%; }
}

/* Finish selector: one rounded field and a shared dropdown surface. */
.store-theme-casa-costa .cc-product-mobile-track { display: none; }
.store-theme-casa-costa .cc-product-mobile-heading { display: none; }
.store-theme-casa-costa .cc-viewer-back { display: none; }
@media (max-width: 767px) {
 .store-theme-casa-costa .cc-image-viewer { touch-action: pan-x pan-y; }
 .store-theme-casa-costa .cc-image-viewer .modal-dialog { width: 100%; max-width: 100%; }
 .store-theme-casa-costa .cc-image-viewer .modal-content { width: 100%; }
 .store-theme-casa-costa .cc-viewer-stage { border-radius: 0; }
 .store-theme-casa-costa .cc-viewer-image { width: 100%; max-width: 100%; max-height: none; height: auto; touch-action: none; user-select: none; -webkit-touch-callout: none; }
 .store-theme-casa-costa .cc-viewer-arrow,
 .store-theme-casa-costa .cc-viewer-arrow:hover { background: transparent; border: 0; border-radius: 0; color: #151515; filter: none; box-shadow: none; text-shadow: none; }
 .store-theme-casa-costa .cc-viewer-prev { left: 8px; }
 .store-theme-casa-costa .cc-viewer-next { right: 8px; }
 .store-theme-casa-costa .cc-viewer-back { display: grid; place-items: center; position: fixed; top: max(12px, env(safe-area-inset-top)); left: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: #151515; filter: none; box-shadow: none; text-shadow: none; font-size: 24px; z-index: 3; }
 .store-theme-casa-costa .cc-product-mobile-heading { display: block; width: calc(100% - 40px); margin-inline: 20px; }
 .store-theme-casa-costa .cc-product-mobile-heading .cc-product-sku { margin-bottom: 0; }
 .store-theme-casa-costa .cc-product-stage { width: calc(100% + 40px) !important; margin-inline: -20px; display: flex; flex-direction: column; gap: 12px; }
 .store-theme-casa-costa .cc-product-breadcrumb { width: calc(100% - 40px); margin: 0 20px; }
 .store-theme-casa-costa .cc-product-image-link { border-radius: 0; }
 .store-theme-casa-costa .cc-product-image-link:has(+ .cc-product-mobile-track) { display: none; }
 .store-theme-casa-costa .cc-product-mobile-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
 .store-theme-casa-costa .cc-product-mobile-track::-webkit-scrollbar { display: none; }
 .store-theme-casa-costa .cc-product-mobile-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 0; background: #fff; scroll-snap-align: start; scroll-snap-stop: always; }
 .store-theme-casa-costa .cc-product-mobile-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
 .store-theme-casa-costa .cc-product-stage .cc-product-thumbnails { width: calc(100% - 40px); margin: 0 20px; justify-content: center; }
}

.store-theme-casa-costa .cc-product-finish { gap:24px;font-size:clamp(10px,.5vw,13px);color:#7a858a; }
.store-theme-casa-costa .cc-finish-picker { position:relative;min-width:0;max-width:100%;flex:0 1 auto;width:max-content; }
.store-theme-casa-costa .cc-finish-picker summary,
.store-theme-casa-costa .cc-finish-options a { display:flex;align-items:center;gap:10px;min-height:40px;padding:10px 20px;color:#222;cursor:pointer;text-decoration:none;overflow-wrap:anywhere;font-size:inherit;line-height:1.35; }
.store-theme-casa-costa .cc-finish-picker summary { list-style:none;border:1px solid #d9d9d9;border-radius:10px;background:#fff; }
.store-theme-casa-costa .cc-finish-picker summary::-webkit-details-marker { display:none; }
.store-theme-casa-costa .cc-finish-name { flex:1;min-width:0; }
.store-theme-casa-costa .cc-finish-swatch { display:inline-block;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:var(--cc-swatch,#d9d9d9);border:1px solid rgba(0,0,0,.16); }
.store-theme-casa-costa summary .cc-finish-swatch { border-color:rgba(0,0,0,.12); }
.store-theme-casa-costa .cc-finish-arrow { width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);flex-shrink:0;margin-left:8px; }
.store-theme-casa-costa .cc-finish-picker[open] .cc-finish-arrow { transform:rotate(225deg) translate(-2px,-2px); }
.store-theme-casa-costa .cc-finish-options { position:absolute;top:calc(100% + 12px);left:0;width:100%;box-sizing:border-box;min-width:0;z-index:20;display:flex;flex-direction:column;max-height:300px;overflow-y:auto;padding:12px 6px;border:1px solid #e1e1e1;border-radius:26px;background:#fff;box-shadow:0 16px 38px rgba(0,0,0,.12); }
.store-theme-casa-costa .cc-finish-options a { color:#7c7d89;border:0;border-radius:16px;background:transparent; }
.store-theme-casa-costa .cc-finish-options a:hover,
.store-theme-casa-costa .cc-finish-options a:focus-visible { background:#f4f5f6;color:#333; }
.store-theme-casa-costa .cc-finish-picker summary:focus-visible { outline:2px solid #356289;outline-offset:2px; }
@media(max-width:575px) {
 .store-theme-casa-costa .cc-finish-picker summary,.store-theme-casa-costa .cc-finish-options a { padding:10px 14px;gap:8px;min-height:40px; }
 .store-theme-casa-costa .cc-finish-swatch { width:18px;height:18px;flex-basis:18px; }
 .store-theme-casa-costa .cc-finish-options { border-radius:20px; }
}

.store-theme-casa-costa .cc-product-finish-value { display:inline-flex;align-items:center;gap:10px; }

/* Precio con precio especial por pago manual (product-price.php). */
.store-theme-casa-costa .cc-price-card { width: 100%; min-width: 0; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-family: var(--cc-font); color: var(--cc-pdp-text); }
.store-theme-casa-costa .cc-price-card__special { padding: 14px 16px; background: transparent; border-radius: 0; }
.store-theme-casa-costa .cc-price-card__head { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.store-theme-casa-costa .cc-price-card__label { margin: 0; font-size: var(--cc-pdp-body-size); line-height: 1.4; color: var(--cc-pdp-text); }
.store-theme-casa-costa .cc-price-card__label strong { font-weight: 700; color: var(--cc-ink); }
.store-theme-casa-costa .cc-price-card__badge { flex-shrink: 0; padding: 5px 12px; border-radius: 999px; background: var(--cc-pdp-action); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.store-theme-casa-costa #product-purchase .cc-price-card #prod-precio-iva { font-size: clamp(32px, 3vw, 60px); color: var(--cc-pdp-blue) !important; }
.store-theme-casa-costa .cc-price-card__amount { margin: 12px 0 8px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.store-theme-casa-costa .cc-price-card__tax { margin: 0; font-size: var(--cc-pdp-body-size); line-height: 1.5; color: var(--cc-pdp-text); }
.store-theme-casa-costa .cc-price-card__list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 0; padding: 14px 16px; border: 0; border-radius: 12px; background: rgba(var(--cc-pdp-blue-rgb), .05); font-size: var(--cc-pdp-body-size); color: var(--cc-pdp-text); }
.store-theme-casa-costa .cc-price-card__list-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; max-width: 100%; font-variant-numeric: tabular-nums; }
.store-theme-casa-costa .cc-price-card__list-value strong { flex-basis: 100%; font-size: clamp(24px, 1.9vw, 40px); line-height: 1.2; font-weight: 700; color: var(--cc-pdp-text); overflow-wrap: anywhere; }
.store-theme-casa-costa .cc-price-card__list-value s { color: #9aa09e; }
.store-theme-casa-costa .cc-price-card__sale { font-size: 12px; font-weight: 700; color: var(--cc-blue); }

/* Pestañas Descripción / Especificaciones técnicas: con el tamaño de h5 no entraban en celular y la segunda quedaba cortada. */
@media (max-width: 767px) {
 .store-theme-casa-costa.page-product .tab-btn-wrap-v1:has(a[href="#related-tab"]) { justify-content: center; text-align: center; }
 .store-theme-casa-costa.page-product a.tf-btn-tab[href="#related-tab"] { border-bottom: 0; text-decoration: none; justify-content: center; }
 .store-theme-casa-costa.page-product a.tf-btn-tab[href="#related-tab"] .h4 { font-size: clamp(20px, 6vw, 30px) !important; line-height: 1.2; font-weight: 700 !important; text-decoration: none; }
}

@media (max-width: 767px) {
 .store-theme-casa-costa .cc-price-card__special { padding: 0 14px 16px; }
 .store-theme-casa-costa .cc-price-card__head { gap: 8px; align-items: center; }
 .store-theme-casa-costa .cc-price-card__label { font-size: 14px; line-height: 1.4; }
 .store-theme-casa-costa .cc-price-card__badge { padding: 6px 12px; font-size: 12px; }
 .store-theme-casa-costa #product-purchase .cc-price-card #prod-precio-iva { font-size: 34px; line-height: 1.2; font-weight: 750; margin: 12px 0; }
 .store-theme-casa-costa .cc-price-card__tax { font-size: 14px; line-height: 1.5; }
 .store-theme-casa-costa .cc-price-card__list { width: 100%; padding: 18px 14px; gap: 12px; border: 1px solid #e3e3e3; border-radius: 16px; background: #f9f9f9; font-size: 16px; }
 .store-theme-casa-costa .cc-price-card__list-value strong { font-size: 26px; color: #111; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) { margin: 16px 0 0 !important; padding: 16px 14px !important; border: 1px solid #e3e3e3 !important; border-radius: 16px !important; background: #fff; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) p { font-size: 14px; line-height: 1.5; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) > p { margin-bottom: 12px; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) .cl-text-3 { color: #929292; }
}

@media (max-width: 575px) {
 .store-theme-casa-costa.page-product .tab-btn-wrap-v1:not(.style-2) { white-space: normal; }
 .store-theme-casa-costa.page-product .tab-btn-wrap-v1:not(.style-2) .nav-tab-item { display: flex; min-width: 0; }
 .store-theme-casa-costa.page-product .tab-btn-wrap-v1:not(.style-2) .tf-btn-tab { align-items: flex-end; }
 .store-theme-casa-costa.page-product .tab-btn-wrap-v1:not(.style-2) .tf-btn-tab .h5 { font-size: 17px; line-height: 1.35; }
}

/* Desktop uses the same payment cards as mobile, sized for the purchase column. */
@media (min-width: 768px) {
 .store-theme-casa-costa .cc-price-card__list { width: 100%; padding: 20px 22px; gap: 12px; border: 1px solid #e3e3e3; border-radius: 16px; background: #f9f9f9; font-size: clamp(16px, 1vw, 19px); }
 .store-theme-casa-costa .cc-price-card__list-value strong { font-size: clamp(26px, 1.9vw, 40px); color: #111; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) { width: 100%; min-width: 0; margin: 16px 0 0 !important; padding: 20px 22px !important; border: 1px solid #e3e3e3 !important; border-radius: 16px !important; background: #fff; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) p { font-size: clamp(15px, .95vw, 18px); line-height: 1.5; overflow-wrap: anywhere; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) > p { margin-bottom: 12px; }
 .store-theme-casa-costa #product-purchase .mb-12:has(> p > .fa-badge-percent) .cl-text-3 { color: #929292; }
}
