/*
 * XMOVE Product View - frontend.css limpio
 * Reemplaza TODO el CSS anterior. No pegar debajo.
 */

:root {
    --xmpv-green: #3fb743;
    --xmpv-green-dark: #2e9632;
    --xmpv-dark: #2f364c;
    --xmpv-blue: #7680ad;
    --xmpv-soft-blue: #cbd5f7;
    --xmpv-bg: #f8f9ff;
    --xmpv-text: #111827;
    --xmpv-muted: #6b7280;
    --xmpv-border: #e5e7eb;
    --xmpv-white: #ffffff;
    --xmpv-shadow-soft: 0 12px 35px rgba(47, 54, 76, 0.08);
    --xmpv-shadow-card: 0 10px 28px rgba(47, 54, 76, 0.06);
    --xmpv-font-title: "Transducer Extended", "Arial Black", "Montserrat", Arial, sans-serif;
    --xmpv-font-body: "Futura 100", "Montserrat", "Inter", Arial, sans-serif;
}

body.xmpv-product-page {
    background: var(--xmpv-bg);
    padding-bottom: 96px;
}

body.xmpv-product-page.single-product div.product {
    display: block !important;
}

body.xmpv-product-page.single-product div.product .summary.entry-summary,
body.xmpv-product-page.single-product div.product .woocommerce-product-gallery {
    display: none !important;
}

body.xmpv-product-page > .woocommerce-breadcrumb {
    display: none !important;
}

.xmpv-root,
.xmpv-root * {
    box-sizing: border-box;
}

.xmpv-root {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 18px 44px;
    color: var(--xmpv-text);
    font-family: var(--xmpv-font-body);
    clear: both;
}

.xmpv-title-font {
    font-family: var(--xmpv-font-title);
    letter-spacing: -0.02em;
}

/* Breadcrumb */

.xmpv-breadcrumb {
    width: 100%;
    margin: 0 0 16px;
    color: var(--xmpv-muted);
    font-size: 13px;
    line-height: 1.4;
}

.xmpv-breadcrumb .woocommerce-breadcrumb {
    display: block !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.xmpv-breadcrumb a {
    color: #4b5563 !important;
    text-decoration: none !important;
    font-weight: 800;
}

.xmpv-breadcrumb a:hover {
    color: var(--xmpv-green) !important;
}

/* Hero */

.xmpv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(290px, 0.58fr);
    gap: 26px;
    align-items: start;
}

.xmpv-gallery {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 18px;
    min-width: 0;
}

.xmpv-gallery-thumbs {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xmpv-media-column {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.xmpv-gallery > .xmpv-key-specs {
    grid-column: 2;
    grid-row: 2;
}

.xmpv-thumb {
    width: 104px;
    height: 104px;
    padding: 0;
    border: 1px solid rgba(203, 213, 247, 0.95);
    border-radius: 14px;
    background: var(--xmpv-bg);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(47, 54, 76, 0.07);
    transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.xmpv-thumb:hover,
.xmpv-thumb.is-active {
    border-color: var(--xmpv-green);
    transform: translateY(-1px);
}

.xmpv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: var(--xmpv-bg);
}

.xmpv-main-media {
    position: relative;
    min-height: 590px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 72% 24%, rgba(203, 213, 247, 0.26), transparent 34%),
        var(--xmpv-bg);
    border: 1px solid rgba(203, 213, 247, 0.9);
    overflow: hidden;
    box-shadow: var(--xmpv-shadow-soft);
}

.xmpv-main-media::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 7%;
    height: 15%;
    background: radial-gradient(ellipse, rgba(47, 54, 76, 0.12), transparent 68%);
    pointer-events: none;
}

.xmpv-main-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 590px;
    object-fit: contain;
    display: block;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.08s ease;
}

.xmpv-main-image.is-changing {
    opacity: 0.7;
}

.xmpv-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.xmpv-badge-main {
    top: 18px;
    left: 18px;
    color: #fff;
    background: var(--xmpv-green);
}

.xmpv-badge-discount {
    top: 18px;
    right: 18px;
    color: #fff;
    background: var(--xmpv-dark);
}

/* Video button */

.xmpv-main-media .xmpv-video-button,
.xmpv-main-media .xmpv-video-trigger-v2 {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: auto;
    z-index: 8;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    min-width: 132px;
    height: 42px;
    padding: 6px 15px 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(63, 183, 67, 0.96);
    color: #fff;
    box-shadow: 0 12px 26px rgba(63, 183, 67, 0.24), 0 0 0 6px rgba(63, 183, 67, 0.08);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.xmpv-main-media .xmpv-video-button:hover,
.xmpv-main-media .xmpv-video-trigger-v2:hover {
    background: #6b7280;
    color: #fff;
    box-shadow: 0 12px 26px rgba(47, 54, 76, 0.22), 0 0 0 6px rgba(107, 114, 128, 0.08);
}

.xmpv-main-media .xmpv-video-play {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    color: #fff;
}

.xmpv-main-media .xmpv-video-play svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xmpv-main-media .xmpv-video-label {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

/* Summary */

.xmpv-summary-card {
    position: sticky;
    top: 22px;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(203, 213, 247, 0.9);
    box-shadow: var(--xmpv-shadow-soft);
}

.xmpv-brand {
    margin: 0 0 8px;
    color: var(--xmpv-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.xmpv-product-title {
    max-width: 340px;
    margin: 0;
    color: var(--xmpv-text);
    font-size: clamp(22px, 2.1vw, 30px);
    line-height: 1.12;
    font-weight: 900;
}

.xmpv-product-subtitle {
    display: none !important;
}

.xmpv-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 0;
    color: var(--xmpv-muted);
    font-size: 14px;
}

.xmpv-stars {
    color: var(--xmpv-green);
    letter-spacing: 2px;
    font-size: 15px;
}

.xmpv-rating strong {
    color: var(--xmpv-text);
}

.xmpv-price {
    margin: 16px 0 0;
    color: var(--xmpv-green);
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1;
    font-weight: 900;
}

.xmpv-price del {
    margin-right: 10px;
    color: #8a8f9d;
    font-size: 19px;
    font-weight: 700;
    opacity: 0.85;
}

.xmpv-price ins {
    text-decoration: none;
}

.xmpv-payment-info {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    color: var(--xmpv-dark);
    font-size: 14px;
}

.xmpv-payment-info p {
    margin: 0;
    font-weight: 700;
}

.xmpv-payment-button {
    width: fit-content;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--xmpv-dark);
    border-radius: 11px;
    background: transparent;
    color: var(--xmpv-dark);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.xmpv-payment-button:hover {
    border-color: var(--xmpv-green);
    color: var(--xmpv-green);
}

/* Trust list */

.xmpv-trust-list {
    display: grid;
    gap: 11px;
    margin: 18px 0;
    padding: 17px 0;
    border-top: 1px solid var(--xmpv-border);
    border-bottom: 1px solid var(--xmpv-border);
}

.xmpv-trust-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.xmpv-trust-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: var(--xmpv-dark);
    background: #f2f5ff;
}

.xmpv-trust-item.is-available .xmpv-trust-icon {
    color: var(--xmpv-green);
    background: rgba(63, 183, 67, 0.12);
}

.xmpv-trust-icon svg,
.xmpv-whatsapp-button svg,
.xmpv-sticky-actions svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xmpv-trust-icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.9;
}

.xmpv-trust-item strong {
    display: block;
    color: var(--xmpv-text);
    font-size: 13px;
    line-height: 1.25;
}

.xmpv-trust-item small {
    display: block;
    margin-top: 3px;
    color: var(--xmpv-muted);
    font-size: 11px;
    line-height: 1.3;
}

/* Actions / WooCommerce cart */

.xmpv-actions {
    display: grid;
    gap: 12px;
}

#xmpv-product-buy-panel .xmpv-add-to-cart {
    width: 100%;
}

#xmpv-product-buy-panel .xmpv-add-to-cart .stock,
#xmpv-product-buy-panel .xmpv-add-to-cart .woocommerce-variation-availability {
    display: none !important;
}

#xmpv-product-buy-panel .xmpv-add-to-cart form.cart {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
}

#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .quantity {
    width: 100%;
    margin: 0 !important;
}

#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .quantity input.qty {
    width: 100%;
    max-width: 100%;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
}

#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .button,
#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 50px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: normal;
}

#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .button::before,
#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .single_add_to_cart_button::before {
    content: "🛒";
    display: inline-block;
    font-size: 15px;
    line-height: 1;
}

#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .button:hover,
#xmpv-product-buy-panel .xmpv-add-to-cart form.cart .single_add_to_cart_button:hover {
    background: #6b7280;
    color: #fff;
}

.xmpv-whatsapp-button {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid var(--xmpv-green);
    color: #fff;
    background: var(--xmpv-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.xmpv-whatsapp-button:hover {
    color: #fff;
    background: #6b7280;
    border-color: #6b7280;
}

.xmpv-whatsapp-button svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

/* Key specs */

.xmpv-key-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 14px 0 0;
    border: 1px solid rgba(203, 213, 247, 0.88);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(47, 54, 76, 0.06);
    overflow: hidden;
}

.xmpv-key-spec {
    min-height: 92px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 13px 12px;
    text-align: center;
    border-right: 1px solid var(--xmpv-border);
}

.xmpv-key-spec:last-child {
    border-right: 0;
}

.xmpv-key-spec-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: var(--xmpv-blue);
}

.xmpv-key-spec-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xmpv-key-spec-label {
    color: var(--xmpv-muted);
    font-size: 11px;
    font-weight: 800;
}

.xmpv-key-spec-value {
    color: var(--xmpv-text);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
}

/* Tabs */

.xmpv-tabs-section {
    margin: 32px 0 44px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(203, 213, 247, 0.88);
    box-shadow: 0 12px 35px rgba(47, 54, 76, 0.07);
    overflow: hidden;
}

.xmpv-tabs-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.xmpv-tab-button {
    position: relative;
    min-height: 58px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    color: var(--xmpv-dark);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.xmpv-tab-button:last-child {
    border-right: 0;
}

.xmpv-tab-button::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
}

.xmpv-tab-button:hover,
.xmpv-tab-button.is-active {
    color: var(--xmpv-green);
    background: #f8f9ff;
}

.xmpv-tab-button.is-active::after {
    background: var(--xmpv-green);
}

.xmpv-tabs-content {
    padding: 28px;
}

.xmpv-tab-panel[hidden] {
    display: none !important;
}

/* Specs V2 */

.xmpv-specs-main {
    margin: 0;
}

.xmpv-specs-main h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #111827;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.xmpv-specs-main h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: var(--xmpv-green);
}

.xmpv-specs-v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.xmpv-spec-section {
    padding: 20px;
    border: 1px solid rgba(203, 213, 247, 0.9);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(63, 183, 67, 0.055), transparent 34%),
        #ffffff;
    box-shadow: var(--xmpv-shadow-card);
}

.xmpv-spec-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.xmpv-spec-section-head span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--xmpv-green);
    box-shadow: 0 0 0 6px rgba(63, 183, 67, 0.10);
}

.xmpv-spec-section-head h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.xmpv-spec-grid-v2 {
    display: grid;
    gap: 10px;
}

.xmpv-spec-card-v2 {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 12px;
    border: 1px solid #eef0f6;
    border-radius: 15px;
    background: #f8f9ff;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.xmpv-spec-card-v2:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(63, 183, 67, 0.35);
}

.xmpv-spec-icon-v2 {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px;
    color: var(--xmpv-green);
    background: rgba(63, 183, 67, 0.10);
}

.xmpv-spec-icon-v2 svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xmpv-spec-card-v2 strong {
    display: block;
    margin-bottom: 3px;
    color: #111827;
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 900;
}

.xmpv-spec-card-v2 p {
    margin: 0;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 600;
}

/* Fallback if old specs table still exists */

.xmpv-specs-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 0;
    background: transparent;
}

.xmpv-spec-row {
    display: grid;
    grid-template-columns: 42px minmax(120px, 0.72fr) minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 68px;
    padding: 15px 17px;
    border: 1px solid rgba(203, 213, 247, 0.82);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 8px 22px rgba(47, 54, 76, 0.045);
}

.xmpv-spec-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px;
    color: var(--xmpv-green);
    background: rgba(63, 183, 67, 0.10);
}

.xmpv-spec-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xmpv-spec-row strong {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.xmpv-spec-row span:last-child {
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

/* Manual button */

.xmpv-specs-manual-action {
    margin: 22px 0 0;
    padding: 0;
    border: 0;
}

.xmpv-specs-manual-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--xmpv-green);
    background: var(--xmpv-green);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(63, 183, 67, 0.20);
}

.xmpv-specs-manual-action a:hover {
    background: #6b7280;
    border-color: #6b7280;
    color: #fff;
}

/* Product sheet and reviews */

.xmpv-product-sheet-content {
    width: 100%;
    max-width: 100%;
}

.xmpv-product-sheet-content .elementor,
.xmpv-product-sheet-content .elementor-section,
.xmpv-product-sheet-content .elementor-container,
.xmpv-product-sheet-content .elementor-widget-wrap {
    max-width: 100% !important;
}

.xmpv-product-sheet-content img,
.xmpv-product-sheet-content video,
.xmpv-product-sheet-content iframe {
    max-width: 100%;
    height: auto;
}

.xmpv-product-sheet-empty {
    padding: 26px;
    border-radius: 18px;
    background: #f8f9ff;
    border: 1px dashed #cbd5f7;
}

.xmpv-product-sheet-empty h2 {
    margin: 0 0 8px;
    color: var(--xmpv-text);
    font-size: 22px;
    font-weight: 900;
}

.xmpv-product-sheet-empty p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.xmpv-reviews-wrap #reviews {
    margin: 0;
}

.xmpv-reviews-wrap #comments h2,
.xmpv-reviews-wrap #review_form_wrapper .comment-reply-title {
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.xmpv-reviews-wrap textarea,
.xmpv-reviews-wrap input[type="text"],
.xmpv-reviews-wrap input[type="email"] {
    border-radius: 12px;
    border: 1px solid #d8ddf0;
}

.xmpv-reviews-wrap .form-submit .submit {
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--xmpv-green);
    font-weight: 900;
    text-transform: uppercase;
}

/* Modals */

.xmpv-video-modal,
.xmpv-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.xmpv-video-modal.is-open,
.xmpv-payment-modal.is-open {
    display: flex;
}

.xmpv-video-backdrop,
.xmpv-payment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.76);
    backdrop-filter: blur(6px);
}

.xmpv-video-dialog {
    position: relative;
    z-index: 2;
    width: min(960px, 96vw);
    background: #000;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.xmpv-video-frame-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 18px;
}

.xmpv-video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.xmpv-video-close,
.xmpv-payment-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--xmpv-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.xmpv-payment-dialog {
    position: relative;
    z-index: 2;
    width: min(980px, 96vw);
    height: min(720px, 86vh);
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.xmpv-payment-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 56px 14px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.xmpv-payment-header strong {
    color: var(--xmpv-text);
    font-size: 16px;
    font-weight: 900;
}

.xmpv-payment-open-link {
    color: var(--xmpv-green);
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xmpv-payment-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: #f3f4f6;
    font-size: 24px;
}

.xmpv-payment-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sticky bar */

.xmpv-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(203, 213, 247, 0.95);
    box-shadow: 0 -14px 38px rgba(17, 24, 39, 0.13);
    backdrop-filter: blur(14px);
}

.xmpv-sticky-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.xmpv-sticky-product {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.xmpv-sticky-product img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: #f8f9ff;
    border: 1px solid #e5e7eb;
}

.xmpv-sticky-copy {
    min-width: 0;
}

.xmpv-sticky-copy strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xmpv-sticky-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 3px;
    color: var(--xmpv-green);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
}

.xmpv-sticky-price del {
    color: #8a8f9d;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.85;
}

.xmpv-sticky-price ins {
    color: var(--xmpv-green);
    text-decoration: none;
}

.xmpv-sticky-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.xmpv-sticky-cart,
.xmpv-sticky-whatsapp {
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.xmpv-sticky-cart {
    background: #111827;
    color: #fff !important;
    border: 1px solid #111827;
}

.xmpv-sticky-cart:hover {
    background: #6b7280;
    border-color: #6b7280;
    color: #fff !important;
}

.xmpv-sticky-whatsapp {
    background: var(--xmpv-green);
    color: #fff !important;
    border: 1px solid var(--xmpv-green);
}

.xmpv-sticky-whatsapp:hover {
    background: #6b7280;
    border-color: #6b7280;
    color: #fff !important;
}

.xmpv-sticky-actions svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.9;
}

/* Responsive */

@media (max-width: 1180px) {
    .xmpv-hero {
        grid-template-columns: 1fr;
    }

    .xmpv-summary-card {
        position: relative;
        top: auto;
    }

    .xmpv-product-title {
        max-width: 100%;
    }
}

@media (max-width: 820px) {
    body.xmpv-product-page {
        padding-bottom: 128px;
    }

    .xmpv-root {
        padding: 10px 12px 34px;
    }

    .xmpv-breadcrumb {
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.35;
        white-space: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .xmpv-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
    }

    .xmpv-media-column {
        grid-column: 1;
        grid-row: 1;
    }

    .xmpv-gallery-thumbs {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 0 8px;
        scroll-snap-type: x mandatory;
    }

    .xmpv-gallery > .xmpv-key-specs {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0;
    }

    .xmpv-thumb {
        flex: 0 0 92px;
        width: 92px;
        height: 92px;
        scroll-snap-align: start;
    }

    .xmpv-main-media {
        min-height: 370px;
        border-radius: 20px;
    }

    .xmpv-main-image {
        height: 370px;
        padding: 12px;
    }

    .xmpv-main-media .xmpv-video-button,
    .xmpv-main-media .xmpv-video-trigger-v2 {
        right: 14px;
        bottom: 14px;
        min-width: 120px;
        height: 38px;
        padding: 5px 12px 5px 6px;
    }

    .xmpv-main-media .xmpv-video-play {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
    }

    .xmpv-main-media .xmpv-video-label {
        font-size: 11px;
    }

    .xmpv-key-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xmpv-key-spec:nth-child(2) {
        border-right: 0;
    }

    .xmpv-key-spec:nth-child(1),
    .xmpv-key-spec:nth-child(2) {
        border-bottom: 1px solid var(--xmpv-border);
    }

    .xmpv-summary-card {
        padding: 20px;
        border-radius: 20px;
    }

    .xmpv-tabs-section {
        border-radius: 18px;
        overflow: hidden;
    }

    .xmpv-tabs-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        background: #f8f9ff;
        border-bottom: 1px solid #e5e7eb;
    }

    .xmpv-tab-button {
        min-height: 44px;
        padding: 6px 7px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
        color: var(--xmpv-dark);
        font-size: 9.5px;
        line-height: 1.15;
        white-space: normal;
        letter-spacing: 0.01em;
    }

    .xmpv-tab-button::after {
        display: none;
    }

    .xmpv-tab-button.is-active {
        background: var(--xmpv-green);
        border-color: var(--xmpv-green);
        color: #fff;
        box-shadow: 0 8px 18px rgba(63, 183, 67, 0.18);
    }

    .xmpv-tabs-content {
        padding: 18px 14px;
    }

    .xmpv-specs-v2,
    .xmpv-specs-table {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .xmpv-spec-section {
        padding: 16px;
        border-radius: 17px;
    }

    .xmpv-spec-row {
        grid-template-columns: 38px 1fr;
        gap: 10px;
        min-height: auto;
        padding: 14px;
    }

    .xmpv-spec-row span:last-child {
        grid-column: 2 / 3;
    }

    .xmpv-sticky-bar {
        padding: 8px 10px;
    }

    .xmpv-sticky-inner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .xmpv-sticky-product {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 9px;
    }

    .xmpv-sticky-product img {
        width: 44px;
        height: 44px;
    }

    .xmpv-sticky-copy strong {
        font-size: 12px;
    }

    .xmpv-sticky-price {
        font-size: 14px;
        gap: 6px;
    }

    .xmpv-sticky-price del {
        font-size: 12px;
    }

    .xmpv-sticky-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .xmpv-sticky-actions a:only-child {
        grid-column: 1 / -1;
    }

    .xmpv-sticky-cart,
    .xmpv-sticky-whatsapp {
        min-height: 44px;
        padding: 10px 8px;
        border-radius: 12px;
        font-size: 11px;
        line-height: 1.15;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .xmpv-main-media {
        min-height: 330px;
    }

    .xmpv-main-image {
        height: 330px;
        padding: 10px;
    }

    .xmpv-thumb {
        flex-basis: 84px;
        width: 84px;
        height: 84px;
    }

    .xmpv-product-title {
        font-size: 23px;
    }

    .xmpv-price {
        font-size: 30px;
    }

    .xmpv-tab-button {
        font-size: 9px;
        min-height: 42px;
    }

    .xmpv-spec-card-v2 {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    .xmpv-spec-icon-v2 {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================
   XMOVE Product View - Lote 13
   Recuperación visual: miniaturas, título, video, tabs y mobile
   ========================================================== */

/* =========================================
   CONTENEDOR GENERAL / MIGAS DE PAN
   ========================================= */

body.xmpv-product-page .xmpv-root {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.xmpv-product-page .xmpv-breadcrumb {
    max-width: 1320px !important;
    margin: 0 auto 16px !important;
    padding: 0 4px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}


/* =========================================
   MINIATURAS - SIN FONDO NEGRO Y CUBRIENDO TODO
   ========================================= */

.xmpv-gallery-thumbs {
    gap: 12px !important;
}

.xmpv-thumb {
    width: 104px !important;
    height: 104px !important;
    padding: 0 !important;
    border-radius: 15px !important;
    border: 1px solid rgba(203, 213, 247, 0.95) !important;
    background: #f8f9ff !important;
    overflow: hidden !important;
    box-shadow: 0 8px 22px rgba(47, 54, 76, 0.07) !important;
}

.xmpv-thumb:hover,
.xmpv-thumb.is-active {
    border-color: var(--xmpv-green) !important;
    background: #f8f9ff !important;
}

.xmpv-thumb img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 14px !important;
    background: #f8f9ff !important;
}


/* =========================================
   TÍTULO DEL PRODUCTO - MÁS PEQUEÑO
   ========================================= */

.xmpv-summary-card .xmpv-product-title {
    font-size: clamp(25px, 2.1vw, 34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em !important;
    max-width: 100% !important;
}

.xmpv-summary-card .xmpv-brand {
    font-size: 11px !important;
    margin-bottom: 8px !important;
}

.xmpv-summary-card .xmpv-price {
    font-size: clamp(29px, 2.6vw, 38px) !important;
}


/* =========================================
   BOTÓN VER VIDEO - CENTRADO ABAJO
   ========================================= */

.xmpv-main-media .xmpv-video-button,
.xmpv-main-media .xmpv-video-trigger-v2 {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 22px !important;
    z-index: 10 !important;
    transform: translateX(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    width: auto !important;
    min-width: 136px !important;
    max-width: 150px !important;
    height: 42px !important;
    padding: 6px 15px 6px 7px !important;

    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;

    background: rgba(63, 183, 67, 0.96) !important;
    color: #ffffff !important;

    box-shadow:
        0 12px 26px rgba(63, 183, 67, 0.24),
        0 0 0 6px rgba(63, 183, 67, 0.08) !important;

    backdrop-filter: blur(10px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.xmpv-main-media .xmpv-video-button:hover,
.xmpv-main-media .xmpv-video-trigger-v2:hover {
    background: #6b7280 !important;
    color: #ffffff !important;
    box-shadow:
        0 12px 26px rgba(47, 54, 76, 0.22),
        0 0 0 6px rgba(107, 114, 128, 0.08) !important;
}

.xmpv-main-media .xmpv-video-play {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;

    display: inline-grid !important;
    place-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.20) !important;
    color: #ffffff !important;
}

.xmpv-main-media .xmpv-video-play svg {
    width: 14px !important;
    height: 14px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.xmpv-main-media .xmpv-video-label {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}


/* =========================================
   TABS DESKTOP - DISEÑO MÁS LIMPIO
   ========================================= */

.xmpv-tabs-section {
    margin-top: 34px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(203, 213, 247, 0.95) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(47, 54, 76, 0.055) !important;
}

.xmpv-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 8px !important;
    background: #f8f9ff !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.xmpv-tab-button {
    min-height: 52px !important;
    padding: 0 16px !important;

    border: 1px solid transparent !important;
    border-radius: 14px !important;

    background: transparent !important;
    color: var(--xmpv-dark) !important;

    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.035em !important;
    text-align: center !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.xmpv-tab-button::after {
    display: none !important;
}

.xmpv-tab-button:hover {
    background: #ffffff !important;
    border-color: rgba(203, 213, 247, 0.95) !important;
    color: var(--xmpv-green) !important;
}

.xmpv-tab-button.is-active {
    background: var(--xmpv-green) !important;
    border-color: var(--xmpv-green) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(63, 183, 67, 0.18) !important;
}

.xmpv-tabs-content {
    padding: 28px !important;
}


/* =========================================
   ESPECIFICACIONES V2 - GRUPOS CON ÍCONOS
   ========================================= */

.xmpv-specs-table {
    display: none !important;
}

.xmpv-specs-main h2 {
    margin: 0 0 24px !important;
    padding-bottom: 12px !important;
    position: relative !important;

    color: #111827 !important;
    font-size: clamp(24px, 2.3vw, 32px) !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
}

.xmpv-specs-main h2::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 72px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: var(--xmpv-green) !important;
}

.xmpv-specs-v2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.xmpv-spec-section {
    padding: 20px !important;
    border: 1px solid rgba(203, 213, 247, 0.95) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(63, 183, 67, 0.055), transparent 34%),
        #ffffff !important;
    box-shadow: 0 10px 28px rgba(47, 54, 76, 0.055) !important;
}

.xmpv-spec-section-head {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin-bottom: 14px !important;
}

.xmpv-spec-section-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;

    display: inline-grid !important;
    place-items: center !important;

    border-radius: 14px !important;
    background: rgba(63, 183, 67, 0.11) !important;
    color: var(--xmpv-green) !important;
}

.xmpv-spec-section-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.xmpv-spec-section-head h3 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
}

.xmpv-spec-grid-v2 {
    display: grid !important;
    gap: 10px !important;
}

.xmpv-spec-card-v2 {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;

    min-height: 58px !important;
    padding: 12px !important;

    border: 1px solid #eef0f6 !important;
    border-radius: 15px !important;
    background: #f8f9ff !important;

    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}

.xmpv-spec-card-v2:hover {
    transform: translateY(-1px) !important;
    background: #ffffff !important;
    border-color: rgba(63, 183, 67, 0.35) !important;
}

.xmpv-spec-icon-v2 {
    width: 36px !important;
    height: 36px !important;

    display: inline-grid !important;
    place-items: center !important;

    border-radius: 13px !important;
    color: var(--xmpv-green) !important;
    background: rgba(63, 183, 67, 0.10) !important;
}

.xmpv-spec-icon-v2 svg {
    width: 19px !important;
    height: 19px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.xmpv-spec-card-v2 strong {
    display: block !important;
    margin-bottom: 3px !important;

    color: #111827 !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.xmpv-spec-card-v2 p {
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}


/* =========================================
   MOBILE GENERAL
   ========================================= */

@media (max-width: 820px) {
    body.xmpv-product-page .xmpv-root {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.xmpv-product-page .xmpv-breadcrumb {
        font-size: 10px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
    }

    .xmpv-summary-card .xmpv-product-title {
        font-size: 23px !important;
        line-height: 1.12 !important;
    }

    .xmpv-summary-card .xmpv-brand {
        font-size: 10px !important;
    }

    .xmpv-summary-card .xmpv-price {
        font-size: 30px !important;
    }

    .xmpv-gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 12px !important;
    }

    .xmpv-media-column {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .xmpv-gallery-thumbs {
        grid-column: 1 !important;
        grid-row: 2 !important;
        order: unset !important;

        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;

        overflow-x: auto !important;
        padding: 2px 0 8px !important;
        scroll-snap-type: x mandatory !important;
    }

    .xmpv-gallery > .xmpv-key-specs {
        grid-column: 1 !important;
        grid-row: 3 !important;
        margin-top: 0 !important;
    }

    .xmpv-thumb {
        flex: 0 0 92px !important;
        width: 92px !important;
        height: 92px !important;
        scroll-snap-align: start !important;
    }

    .xmpv-main-media .xmpv-video-button,
    .xmpv-main-media .xmpv-video-trigger-v2 {
        left: 50% !important;
        right: auto !important;
        bottom: 14px !important;
        transform: translateX(-50%) !important;

        min-width: 122px !important;
        max-width: 132px !important;
        height: 38px !important;
        padding: 5px 12px 5px 6px !important;
        gap: 7px !important;
    }

    .xmpv-main-media .xmpv-video-play {
        flex-basis: 26px !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
    }

    .xmpv-main-media .xmpv-video-label {
        font-size: 10.5px !important;
    }

    .xmpv-tabs-section {
        margin-top: 24px !important;
        border-radius: 18px !important;
    }

    .xmpv-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 7px !important;
        background: #f8f9ff !important;
        overflow: visible !important;
    }

    .xmpv-tab-button {
        min-height: 40px !important;
        padding: 5px 5px !important;

        border-radius: 11px !important;

        font-size: 8.6px !important;
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .xmpv-tabs-content {
        padding: 18px 14px !important;
    }

    .xmpv-specs-main h2 {
        font-size: 25px !important;
        line-height: 1.12 !important;
        margin-bottom: 18px !important;
    }

    .xmpv-specs-v2 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .xmpv-spec-section {
        padding: 15px !important;
        border-radius: 17px !important;
    }

    .xmpv-spec-section-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 12px !important;
    }

    .xmpv-spec-section-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .xmpv-spec-section-head h3 {
        font-size: 16px !important;
    }

    .xmpv-spec-card-v2 {
        grid-template-columns: 34px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 11px !important;
    }

    .xmpv-spec-icon-v2 {
        width: 32px !important;
        height: 32px !important;
        border-radius: 11px !important;
    }

    .xmpv-spec-icon-v2 svg {
        width: 17px !important;
        height: 17px !important;
    }

    .xmpv-spec-card-v2 strong {
        font-size: 12px !important;
    }

    .xmpv-spec-card-v2 p {
        font-size: 13px !important;
    }
}

@media (max-width: 420px) {
    .xmpv-tab-button {
        font-size: 7.8px !important;
        min-height: 38px !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .xmpv-specs-main h2 {
        font-size: 23px !important;
    }

    .xmpv-summary-card .xmpv-product-title {
        font-size: 22px !important;
    }
}

/* ==========================================================
   XMOVE Product View - Lote 14
   Sticky bar móvil compacta en una sola fila
   ========================================================== */

@media (max-width: 820px) {

    body.xmpv-product-page {
        padding-bottom: 82px !important;
    }

    .xmpv-sticky-bar {
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border-top: 1px solid rgba(203, 213, 247, 0.95) !important;
        box-shadow: 0 -10px 28px rgba(17, 24, 39, 0.14) !important;
        backdrop-filter: blur(14px) !important;
    }

    .xmpv-sticky-inner {
        display: grid !important;
        grid-template-columns: minmax(112px, 0.42fr) minmax(0, 0.58fr) !important;
        align-items: center !important;
        gap: 8px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .xmpv-sticky-product {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .xmpv-sticky-product img {
        width: 42px !important;
        height: 42px !important;
        object-fit: contain !important;
        border-radius: 11px !important;
        background: #f8f9ff !important;
        border: 1px solid #e5e7eb !important;
    }

    .xmpv-sticky-copy {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .xmpv-sticky-copy strong {
        display: block !important;
        color: #111827 !important;
        font-size: 11px !important;
        line-height: 1.12 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .xmpv-sticky-price {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        flex-wrap: nowrap !important;
        margin-top: 2px !important;
        color: var(--xmpv-green) !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    .xmpv-sticky-price del {
        color: #8a8f9d !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        opacity: .85 !important;
    }

    .xmpv-sticky-price ins {
        text-decoration: none !important;
        color: var(--xmpv-green) !important;
    }

    .xmpv-sticky-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: 0 !important;
    }

    .xmpv-sticky-actions a:only-child {
        grid-column: 1 / -1 !important;
    }

    .xmpv-sticky-cart,
    .xmpv-sticky-whatsapp {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 44px !important;
        padding: 9px 8px !important;
        border-radius: 12px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;

        font-size: 10px !important;
        line-height: 1.08 !important;
        font-weight: 900 !important;
        text-align: center !important;
        text-transform: uppercase !important;
        letter-spacing: .02em !important;

        white-space: normal !important;
    }

    .xmpv-sticky-cart {
        background: #111827 !important;
        border: 1px solid #111827 !important;
        color: #ffffff !important;
    }

    .xmpv-sticky-whatsapp {
        background: var(--xmpv-green) !important;
        border: 1px solid var(--xmpv-green) !important;
        color: #ffffff !important;
    }

    .xmpv-sticky-cart:hover,
    .xmpv-sticky-whatsapp:hover {
        background: #6b7280 !important;
        border-color: #6b7280 !important;
        color: #ffffff !important;
    }

    .xmpv-sticky-actions svg {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.9 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }
}

@media (max-width: 380px) {
    .xmpv-sticky-inner {
        grid-template-columns: minmax(98px, 0.38fr) minmax(0, 0.62fr) !important;
        gap: 6px !important;
    }

    .xmpv-sticky-product {
        grid-template-columns: 36px minmax(0, 1fr) !important;
        gap: 6px !important;
    }

    .xmpv-sticky-product img {
        width: 36px !important;
        height: 36px !important;
    }

    .xmpv-sticky-copy strong {
        font-size: 10px !important;
    }

    .xmpv-sticky-price {
        font-size: 11px !important;
    }

    .xmpv-sticky-price del {
        font-size: 9px !important;
    }

    .xmpv-sticky-cart,
    .xmpv-sticky-whatsapp {
        min-height: 40px !important;
        padding: 8px 6px !important;
        font-size: 9px !important;
    }
}