/* =========================================================
   Product card reutilizable - layout limpio + hover segunda imagen
   Pegar al final de shop-catalog.css o cargar después de shop-catalog.css.
   ========================================================= */
.tbs-product-card,
.tbs-product-card * {
    box-sizing: border-box;
}

.tbs-product-card.product-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
}

.tbs-product-card .tbs-product-card__media,
.tbs-product-card.product-item .tbs-product-card__media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    filter: none !important;
}

.tbs-product-card .tbs-product-card__media::before,
.tbs-product-card .tbs-product-card__media::after,
.tbs-product-card .tbs-product-card__image-wrap::before,
.tbs-product-card .tbs-product-card__image-wrap::after,
.tbs-product-card .tbs-product-card__figure::before,
.tbs-product-card .tbs-product-card__figure::after {
    content: none !important;
    display: none !important;
}

.tbs-product-card .tbs-product-card__media-link,
.tbs-product-card .tbs-product-card__media-link:link,
.tbs-product-card .tbs-product-card__media-link:visited,
.tbs-product-card .tbs-product-card__media-link:hover,
.tbs-product-card .tbs-product-card__media-link:focus {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    text-decoration: none !important;
    background: transparent !important;
}

.tbs-product-card .tbs-product-card__image-wrap {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    line-height: 0 !important;
}

.tbs-product-card .tbs-product-card__figure {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: opacity .22s ease !important;
}

.tbs-product-card .tbs-product-card__figure--primary {
    z-index: 1 !important;
    opacity: 1 !important;
}

.tbs-product-card .tbs-product-card__figure--hover {
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tbs-product-card .tbs-product-card__img,
.tbs-product-card .tbs-product-card__figure img,
.tbs-product-card img.tbs-product-card__img {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}

.tbs-product-card .tbs-product-card__badge,
.tbs-product-card.product-item .tbs-product-card__badge.badge-box {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 5 !important;
    margin: 0 !important;
}

.tbs-product-card .tbs-product-card__content,
.tbs-product-card .product-information.tbs-product-card__content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    background: transparent !important;
}

.tbs-product-card .tbs-product-card__info,
.tbs-product-card .product-item__info.tbs-product-card__info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.tbs-product-card .tbs-product-card__title-link,
.tbs-product-card .tbs-product-card__title-link:link,
.tbs-product-card .tbs-product-card__title-link:visited,
.tbs-product-card .tbs-product-card__title-link:hover,
.tbs-product-card .tbs-product-card__title-link:focus {
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}

.tbs-product-card .tbs-product-card__title,
.tbs-product-card .product-item__title.tbs-product-card__title {
    display: block !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #004236 !important;
    font-family: var(--FONT-STACK-HEADING, Recoleta, Georgia, serif) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    overflow: visible !important;
}

.tbs-product-card .tbs-product-card__price,
.tbs-product-card .product-item__price.tbs-product-card__price {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #373737 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

.tbs-product-card .tbs-product-card__button-wrap,
.tbs-product-card .product-item__view-product.tbs-product-card__button-wrap {
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 0 !important;
}

.tbs-product-card .tbs-product-card__button,
.tbs-product-card .product-item__view-product .tbs-product-card__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 11px 16px !important;
    border: 1px solid #004236 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #004236 !important;
    font-family: var(--FONT-STACK-BODY, "Aktiv Grotesk", Arial, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.tbs-product-card .tbs-product-card__button:hover,
.tbs-product-card .tbs-product-card__button:focus {
    background: #004236 !important;
    color: #ffffff !important;
}

@media (hover: hover) and (pointer: fine) {
    .tbs-product-card.tbs-product-card--has-hover-image .tbs-product-card__media-link:hover .tbs-product-card__figure--primary {
        opacity: 0 !important;
    }

    .tbs-product-card.tbs-product-card--has-hover-image .tbs-product-card__media-link:hover .tbs-product-card__figure--hover {
        opacity: 1 !important;
    }
}

@media (hover: none),
(pointer: coarse) {
    .tbs-product-card .tbs-product-card__figure--primary {
        opacity: 1 !important;
    }

    .tbs-product-card .tbs-product-card__figure--hover {
        opacity: 0 !important;
    }
}

@media (max-width: 749px) {
    .tbs-product-card .tbs-product-card__media {
        margin-bottom: 14px !important;
    }

    .tbs-product-card .tbs-product-card__title,
    .tbs-product-card .product-item__title.tbs-product-card__title {
        font-size: 14px !important;
        line-height: 1.18 !important;
    }

    .tbs-product-card .tbs-product-card__price,
    .tbs-product-card .product-item__price.tbs-product-card__price {
        font-size: 13px !important;
    }
}

.tbs-product-card .tbs-product-card__badge,
.tbs-product-card.product-item .tbs-product-card__badge,
.tbs-product-card.product-item .tbs-product-card__badge.badge-box,
.tbs-product-card .badge-box,
.tbs-product-card .product-item__badge,
.tbs-product-card .product-item__badges,
.tbs-product-card .product-item__label,
.tbs-product-card .product-item__labels,
.tbs-product-card .product-badge,
.tbs-product-card .product-badges,
.tbs-product-card .badge,
.tbs-product-card [class*="badge"],
.tbs-product-card [class*="label"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}