/* Reglas de tienda extraidas de style.css el 04-08-2026.
   Se cargan SOLO en ficha de producto, tienda, categoria, carrito, checkout y cuenta.
   Ver la condicion en inc/modules/01-assets.php. */

html body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
html body.single-product .woocommerce-tabs .panel,
html body.single-product .woocommerce-tabs #tab-description,
html body.single-product .woocommerce-tabs #tab-additional_information,
html body.single-product .woocommerce-tabs #tab-tifoso_size_guide {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(14, 18, 27, 0.96), rgba(7, 10, 15, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    color: #F8FAFC !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22) !important;
}
html body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2,
html body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h3,
html body.single-product .woocommerce-tabs .panel h2,
html body.single-product .woocommerce-tabs .panel h3 {
    color: #FFFFFF !important;
}
html body.single-product .woocommerce-tabs .woocommerce-Tabs-panel p,
html body.single-product .woocommerce-tabs .panel p,
html body.single-product .woocommerce-tabs .woocommerce-Tabs-panel li,
html body.single-product .woocommerce-tabs .panel li {
    color: #E5E7EB !important;
}
html body.single-product .woocommerce-tabs table,
html body.single-product .woocommerce-tabs table.shop_attributes,
html body.single-product .woocommerce-tabs table.woocommerce-product-attributes,
html body.single-product .woocommerce-tabs .tifoso-sg-table {
    width: 100% !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 14px !important;
    background: #0B1120 !important;
}
html body.single-product .woocommerce-tabs table th,
html body.single-product .woocommerce-tabs table td,
html body.single-product .woocommerce-tabs table.shop_attributes th,
html body.single-product .woocommerce-tabs table.shop_attributes td,
html body.single-product .woocommerce-tabs table.woocommerce-product-attributes th,
html body.single-product .woocommerce-tabs table.woocommerce-product-attributes td,
html body.single-product .woocommerce-tabs .tifoso-sg-table th,
html body.single-product .woocommerce-tabs .tifoso-sg-table td {
    border: 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
    background: rgba(15, 23, 42, 0.92) !important;
    color: #F8FAFC !important;
    opacity: 1 !important;
}
html body.single-product .woocommerce-tabs table th,
html body.single-product .woocommerce-tabs table.shop_attributes th,
html body.single-product .woocommerce-tabs table.woocommerce-product-attributes th,
html body.single-product .woocommerce-tabs .tifoso-sg-table th {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #F7D75B !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
}
html body.single-product .woocommerce-tabs table tr:last-child th,
html body.single-product .woocommerce-tabs table tr:last-child td,
html body.single-product .woocommerce-tabs .tifoso-sg-table tr:last-child th,
html body.single-product .woocommerce-tabs .tifoso-sg-table tr:last-child td {
    border-bottom: 0 !important;
}
html body.single-product .woocommerce-tabs table td p,
html body.single-product .woocommerce-tabs table.shop_attributes td p,
html body.single-product .woocommerce-tabs table.woocommerce-product-attributes td p {
    margin: 0 !important;
    color: #F8FAFC !important;
}
/* PDP gallery safety: contain FlexSlider paint + uniform thumbs (all products).
   Root cause of floating photo: inactive slides float:left and paint over summary.
   CRITICAL: do NOT set width/max-width:100% on .woocommerce-product-gallery__image
   inside .flex-viewport — that breaks FlexSlider (slides become wrapper-wide → blank main). */
html body.single-product .woocommerce-product-gallery,
html body.single-product div.product div.images {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product div.product div.images .flex-viewport {
    background: rgba(255,255,255,.02) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}
html body.single-product .woocommerce-product-gallery__wrapper {
    display: block !important;
}
html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
html body.single-product .woocommerce-product-gallery__image img,
html body.single-product div.product div.images img.wp-post-image {
    width: 100% !important;
    height: auto !important;
    max-height: 560px !important;
    object-fit: contain !important;
    object-position: center center !important;
    aspect-ratio: auto !important;
}
/* Summary above any leaked gallery paint */
html body.single-product div.product .summary,
html body.single-product div.product .summary.entry-summary {
    position: relative !important;
    z-index: 5 !important;
    isolation: isolate !important;
}
/* Uniform thumbnail row: same size for every product */
html body.single-product .woocommerce-product-gallery .flex-control-thumbs,
html body.single-product ol.flex-control-nav.flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: both !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    order: 2 !important;
    align-self: stretch !important;
}
/* WooCommerce clearfix ::before/::after steal the first grid cell → 4th thumb wraps */
html body.single-product .woocommerce-product-gallery .flex-control-thumbs::before,
html body.single-product .woocommerce-product-gallery .flex-control-thumbs::after,
html body.single-product ol.flex-control-nav.flex-control-thumbs::before,
html body.single-product ol.flex-control-nav.flex-control-thumbs::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
html body.single-product .woocommerce-product-gallery .flex-control-thumbs:has(> li:nth-child(5)):not(:has(> li:nth-child(6))) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
html body.single-product .woocommerce-product-gallery .flex-control-thumbs:has(> li:nth-child(6)) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
html body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
html body.single-product ol.flex-control-nav.flex-control-thumbs li {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
    grid-column: auto !important;
    grid-row: auto !important;
}
html body.single-product .woocommerce-product-gallery .flex-control-thumbs img,
html body.single-product ol.flex-control-nav.flex-control-thumbs img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(229,184,66,.22) !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    padding: 4px !important;
}
html body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: rgba(229,184,66,.75) !important;
    background: rgba(229,184,66,.12) !important;
}
html body.single-product .tifoso-creative-visual {
    margin: 18px 0 0 !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 170px) !important;
    align-items: center !important;
    gap: 14px !important;
    border: 1px solid rgba(229, 184, 66, .24) !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, rgba(13, 18, 30, .92), rgba(8, 10, 14, .94)) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}
html body.single-product .tifoso-creative-visual__copy span {
    display: inline-flex !important;
    margin-bottom: 6px !important;
    color: #E5B842 !important;
    font-size: .68rem !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}
html body.single-product .tifoso-creative-visual__copy strong {
    display: block !important;
    margin-bottom: 5px !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: .98rem !important;
    line-height: 1.15 !important;
}
html body.single-product .tifoso-creative-visual__copy p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .66) !important;
    font-size: .78rem !important;
    line-height: 1.45 !important;
}
html body.single-product .tifoso-creative-visual__frame {
    min-height: 112px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .06) !important;
}
html body.single-product .tifoso-creative-visual__image {
    width: 100% !important;
    max-height: 150px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 10px !important;
}
html body.single-product .tifoso-size-guide .tifoso-sg-table th,
html body.single-product .tifoso-size-guide .tifoso-sg-table td,
html body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th,
html body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td,
html body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes p {
    color: #111827 !important;
}
html body.single-product .tifoso-size-guide .tifoso-sg-table th,
html body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th {
    background: #F8FAFC !important;
    color: #B88716 !important;
}
html body.single-product .tifoso-size-guide .tifoso-sg-table td,
html body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
    background: #FFFFFF !important;
}
.single-product .tfi-social-proof-panel .tfi-social-proof-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
/* 33. EMPTY CART + SEARCH FINISHING PASS */
body.woocommerce-cart .cart-empty.woocommerce-info,
body.woocommerce-cart .return-to-shop {
    display: none !important;
}
html body.single-product div.product.type-product {
    margin-top: 12px !important;
}
html body.single-product .summary.entry-summary {
    gap: 16px !important;
}
html body.single-product .summary.entry-summary .product_title {
    font-size: clamp(1.95rem, 3.1vw, 2.85rem) !important;
    line-height: 1.02 !important;
    letter-spacing: .015em !important;
    max-width: 12ch !important;
}
html body.single-product .summary.entry-summary .woocommerce-product-rating {
    width: fit-content !important;
    min-height: 34px !important;
    padding: 0 14px !important;
}
html body.single-product div.product p.price,
html body.single-product div.product span.price {
    font-size: clamp(2rem, 3vw, 2.6rem) !important;
    margin: 0 !important;
}
html body.single-product .woocommerce-product-details__short-description p {
    max-width: 44ch !important;
    font-size: .98rem !important;
    line-height: 1.74 !important;
    color: #d8d6ce !important;
}
html body.single-product form.cart {
    margin-top: 6px !important;
    padding-top: 16px !important;
}
html body.single-product form.cart .variations label {
    color: #f1eee4 !important;
}
html body.single-product .single_add_to_cart_button {
    min-height: 58px !important;
    font-size: .98rem !important;
    letter-spacing: .08em !important;
}
html body.single-product .tfi-buy-confidence-panel,
html body.single-product .tifoso-garanzia,
html body.single-product .tifoso-pay-assurance {
    border-radius: 18px !important;
    border-color: var(--tfi-panel-border) !important;
    background: var(--tfi-panel-bg) !important;
    box-shadow: var(--tfi-panel-shadow) !important;
}
html body.single-product .tfi-buy-confidence-panel {
    padding: 18px !important;
    margin: 16px 0 4px !important;
}
html body.single-product .tfi-buy-confidence-main strong {
    font-size: 1rem !important;
    line-height: 1.45 !important;
}
html body.single-product .tfi-buy-confidence-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}
html body.single-product .tfi-buy-confidence-grid span,
html body.single-product .tfi-buy-confidence-grid a {
    min-height: 46px !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
}
html body.single-product .tfi-first-order-inline {
    min-height: 46px !important;
    margin-top: 14px !important;
}
html body.single-product .tifoso-pay-assurance {
    margin-top: 6px !important;
    padding: 18px 16px 4px !important;
}
html body.single-product .tifoso-pay-badges {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 8px !important;
}
html body.single-product .tifoso-pay-badges span {
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.03) !important;
}
html body.single-product .tifoso-garanzia {
    margin: 16px 0 0 !important;
    padding: 18px !important;
}
html body.single-product .tifoso-garanzia__hero {
    align-items: center !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
html body.single-product .tifoso-garanzia__visual {
    background: linear-gradient(135deg, rgba(229,184,66,.18), rgba(229,184,66,.08)) !important;
    border: 1px solid rgba(229,184,66,.18) !important;
}
html body.single-product .tifoso-garanzia__hero strong {
    font-size: .95rem !important;
    line-height: 1.45 !important;
}
html body.single-product .tifoso-garanzia__head {
    font-size: .84rem !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}
html body.single-product .tifoso-garanzia__row {
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,.05) !important;
}
html body.single-product .tifoso-garanzia__row:first-of-type {
    border-top: 0 !important;
}
html body.single-product .tifoso-garanzia__row strong {
    font-size: .86rem !important;
}
html body.single-product .tifoso-garanzia__row span {
    font-size: .78rem !important;
    line-height: 1.55 !important;
    color: #cfcbbf !important;
}
html body.single-product .woocommerce-tabs {
    padding-top: 18px !important;
}
html body.single-product .woocommerce-tabs .panel,
html body.single-product .woocommerce-Tabs-panel {
    border-radius: 0 0 18px 18px !important;
}
html body.woocommerce-cart .cart_totals,
html body.woocommerce-checkout #order_review,
html body.woocommerce-checkout .woocommerce-billing-fields,
html body.woocommerce-checkout .woocommerce-additional-fields {
    box-shadow: var(--tfi-panel-shadow) !important;
}
html body.woocommerce-cart .cart_totals h2,
html body.woocommerce-checkout #order_review_heading,
html body.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem) !important;
}
html body.woocommerce-checkout p.form-row label {
    color: #f2efe4 !important;
    font-size: .78rem !important;
}
html body.woocommerce-checkout input.input-text,
html body.woocommerce-checkout select,
html body.woocommerce-checkout textarea {
    background: rgba(9,10,12,.72) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
}
html body.woocommerce-checkout .tfi-checkout-secure-payments,
html body.woocommerce-checkout .tfi-checkout-help-box {
    background: rgba(255,255,255,.02) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
}
/* Product categories: buyer-first catalog with complete, readable product names. */
html body.tax-product_cat .tfi-category-archive-heading {
    max-width: 760px !important;
    margin: 0 0 18px !important;
}
html body.tax-product_cat .tfi-category-archive-heading h1 {
    margin: 6px 0 8px !important;
    letter-spacing: 0 !important;
}
html body.tax-product_cat .tfi-category-archive-heading p {
    margin: 0 !important;
    line-height: 1.5 !important;
}
html body.tax-product_cat ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}
html body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    text-overflow: clip !important;
    white-space: normal !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}
html body.tax-product_cat ul.products li.product .button,
html body.tax-product_cat ul.products li.product a.button,
html body.tax-product_cat ul.products li.product .add_to_cart_button {
    margin-top: auto !important;
}
/* Barra de progreso spedizione gratuita (pagina carrello) */
.woocommerce-cart .woocommerce .tifoso-freeship-bar,
.woocommerce-cart .woocommerce .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    background-color: var(--tifoso-bg-sec) !important;
    border: 1px solid var(--tifoso-border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
/* Forzar el 100% de ancho en el contenido del carrito y checkout */
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    float: none !important;
}
.woocommerce-cart .woocommerce-cart-form {
        grid-column: 1 !important;
        margin-bottom: 0 !important;
    }
.woocommerce-cart .cart-collaterals {
        grid-column: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }
/* Cabecera de la tabla */
.woocommerce-cart table.shop_table.cart th {
    background: #121418 !important;
    color: var(--tifoso-gold) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border: none !important;
    padding: 16px 20px !important;
    font-size: 0.90rem !important;
    letter-spacing: 0.05em !important;
}
/* Celdas de la tabla */
.woocommerce-cart table.shop_table.cart td {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: none !important;
    padding: 20px !important;
    background: transparent !important;
    color: #FFFFFF !important;
    vertical-align: middle !important;
}
/* Imagen de producto en el carrito */
.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 70px !important;
    height: auto !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* Nombre de producto y variación */
.woocommerce-cart table.shop_table.cart td.product-name a {
    color: #F5F5F0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.woocommerce-cart table.shop_table.cart td.product-name a:hover {
    color: var(--tifoso-gold) !important;
}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation {
    margin-top: 6px !important;
    font-size: 0.8rem !important;
    color: var(--tifoso-gold) !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt,
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd {
    display: inline !important;
    margin: 0 !important;
}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt::after {
    content: ": " !important;
}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd::after {
    content: " | " !important;
}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd:last-child::after {
    content: "" !important;
}
/* Botón de eliminar (Cruz) */
.woocommerce-cart table.shop_table.cart a.remove {
    color: #A8A8A0 !important;
    font-size: 1.6rem !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    background: transparent !important;
}
.woocommerce-cart table.shop_table.cart a.remove:hover {
    color: var(--tifoso-red) !important;
    background: transparent !important;
    transform: scale(1.2) !important;
}
/* Fila de acciones y cupones */
.woocommerce-cart table.shop_table.cart td.actions {
    background: #121418 !important;
    border-top: 1px solid rgba(229, 184, 66, 0.15) !important;
    padding: 16px 20px !important;
}
.woocommerce-cart table.shop_table.cart .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    float: left !important;
}
.woocommerce-cart table.shop_table.cart .coupon input[type="text"] {
    background: #0A0B0D !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    padding: 8px 14px !important;
    width: 190px !important;
    min-height: 40px !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}
.woocommerce-cart table.shop_table.cart .coupon button.button,
.woocommerce-cart table.shop_table.cart button[name="update_cart"] {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em !important;
    min-height: 40px !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}
.woocommerce-cart table.shop_table.cart .coupon button.button {
    background: transparent !important;
    border: 1px solid var(--tifoso-gold) !important;
    color: var(--tifoso-gold) !important;
}
.woocommerce-cart table.shop_table.cart .coupon button.button:hover {
    background: var(--tifoso-gold) !important;
    color: #0A0B0D !important;
}
.woocommerce-cart table.shop_table.cart button[name="update_cart"] {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #A8A8A0 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    float: right !important;
}
.woocommerce-cart table.shop_table.cart button[name="update_cart"]:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
}
/* ============================================================
   COJA DE TOTALES DEL CARRITO (WIDGET DERECHA)
   ============================================================ */
.woocommerce-cart .cart-collaterals .cart_totals {
    background: rgba(18, 20, 24, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(229, 184, 66, 0.15) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* Título Totales */
.woocommerce-cart .cart_totals h2 {
    color: var(--tifoso-gold) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid rgba(229, 184, 66, 0.15) !important;
    padding-bottom: 12px !important;
}
/* Tabla de totales */
.woocommerce-cart .cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    border: none !important;
}
.woocommerce-cart .cart_totals table.shop_table tr th,
.woocommerce-cart .cart_totals table.shop_table tr td {
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    color: #FFFFFF !important;
}
.woocommerce-cart .cart_totals table.shop_table tr th {
    color: #A8A8A0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    width: 35% !important;
}
.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td,
.woocommerce-cart .cart_totals table.shop_table tr.shipping td {
    font-size: 0.95rem !important;
    text-align: right !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-cart .cart_totals table.shop_table tr.order-total th {
    font-size: 1.05rem !important;
    color: #FFFFFF !important;
}
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    color: var(--tifoso-gold) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-align: right !important;
}
/* Modifica Indirizzo */
.woocommerce-cart .cart_totals .shipping-calculator-button {
    color: var(--tifoso-gold) !important;
    text-decoration: underline !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}
.woocommerce-cart .cart_totals .shipping-calculator-button:hover {
    color: var(--tifoso-gold-hover) !important;
}
/* Botón Procedi con l'ordine (Finalizar compra) */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--tifoso-gold) !important;
    color: #0A0B0D !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    min-height: 52px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(229, 184, 66, 0.3) !important;
    border: none !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    text-align: center !important;
}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--tifoso-gold-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229, 184, 66, 0.45) !important;
}
.woocommerce-checkout #order_review {
    background: rgba(18, 20, 24, 0.75) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
/* Encabezados */
.woocommerce-checkout h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    margin-bottom: 24px !important;
}
.woocommerce-checkout #order_review_heading {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding-left: 10px !important;
    border-left: 4px solid var(--tifoso-gold) !important;
    line-height: 1.2 !important;
}
/* Stack de Billing y Shipping */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-checkout .col2-set .col-2 {
    margin-top: 35px !important;
}
/* Inputs de Checkout */
.woocommerce-checkout p.form-row {
    margin-bottom: 18px !important;
    padding: 0 !important;
}
.woocommerce-checkout label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #A8A8A0 !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}
.woocommerce-checkout label .required {
    color: #FF5E5E !important;
    text-decoration: none !important;
}
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background: rgba(10, 11, 13, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    padding: 12px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    outline: none !important;
    border-color: var(--tifoso-gold) !important;
    background: rgba(10, 11, 13, 0.8) !important;
    box-shadow: 0 0 10px rgba(229, 184, 66, 0.2) !important;
}
/* Select2 personalización */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background-color: rgba(10, 11, 13, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    height: 48px !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #FFFFFF !important;
    line-height: 48px !important;
    padding-left: 16px !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}
/* Tabla de Orden */
.woocommerce-checkout-review-order-table {
    border: none !important;
    margin-bottom: 24px !important;
    background: transparent !important;
    width: 100% !important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 16px 0 !important;
    background: transparent !important;
    color: #FFFFFF !important;
}
.woocommerce-checkout-review-order-table thead th {
    color: #A8A8A0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-top: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}
/* Totales y Envío */
.woocommerce-checkout-review-order-table .product-total {
    text-align: right !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}
.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout-review-order-table tr.tax-total th {
    color: #A8A8A0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}
.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tr.shipping td,
.woocommerce-checkout-review-order-table tr.tax-total td {
    text-align: right !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    color: #FFFFFF !important;
}
.woocommerce-checkout-review-order-table #shipping_method {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.woocommerce-checkout-review-order-table #shipping_method li {
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}
/* Total general */
.woocommerce-checkout-review-order-table tr.order-total th {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    border-bottom: none !important;
}
.woocommerce-checkout-review-order-table tr.order-total td {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--tifoso-gold) !important;
    text-align: right !important;
    border-bottom: none !important;
}
.woocommerce-checkout input[type="radio"],
.woocommerce-checkout input[type="checkbox"] {
    accent-color: var(--tifoso-gold) !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}
.woocommerce-checkout .col2-set {
        padding: 20px !important;
    }
.woocommerce-checkout #order_review {
        padding: 20px !important;
        margin-top: 30px !important;
    }
.woocommerce-checkout .col2-set {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
/* Evitar que el nombre de producto se comprima y se rompa palabra por palabra */
.woocommerce-checkout-review-order-table td.product-name {
    width: 70% !important;
    max-width: 70% !important;
    text-align: left !important;
}
.woocommerce-checkout-review-order-table td.product-total {
    width: 30% !important;
    text-align: right !important;
    white-space: nowrap !important;
}
/* ============================================================
   Final conversion overrides - PDP / shop / mobile buy
   ============================================================ */
.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr) !important;
    gap: 34px !important;
    align-items: start !important;
    overflow: visible !important;
}
html body.single-product.woocommerce div.product.type-product .woocommerce-product-gallery,
    html body.single-product div.product .woocommerce-product-gallery {
        position: relative !important;
        top: auto !important;
        align-self: start !important;
        z-index: 1 !important;
        transform: none !important;
    }
.single-product .single_add_to_cart_button {
    min-height: 56px !important;
    border-radius: 12px !important;
    padding: 16px 34px !important;
    font-size: 1.06rem !important;
    letter-spacing: .06em !important;
}
.single-product .tfi-buy-confidence-panel {
    margin-top: 14px !important;
    padding: 14px !important;
    border-radius: 12px !important;
}
.single-product .tfi-buy-confidence-main {
    margin-bottom: 10px !important;
}
.single-product .tfi-buy-confidence-main strong {
    font-size: .92rem !important;
    line-height: 1.38 !important;
}
.single-product .tfi-buy-confidence-grid {
    gap: 7px !important;
}
.single-product .tfi-buy-confidence-grid span,
.single-product .tfi-buy-confidence-grid a {
    min-height: 38px !important;
    padding: 7px 9px !important;
    border-radius: 9px !important;
    font-size: .78rem !important;
    line-height: 1.2 !important;
}
.single-product .tfi-buy-confidence-panel svg,
.single-product .tfi-buy-confidence-grid svg,
.single-product .tifoso-trust-badges svg,
.single-product .tifoso-sg-trigger-v2 svg {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    display: block !important;
}
/* PDP premium service block - stable icon sizing and visual polish */
html body.single-product .summary svg,
html body.single-product form.cart svg,
html body.single-product .tfi-buy-confidence-panel svg,
html body.single-product .tifoso-trust-row svg,
html body.single-product .tifoso-pay-assurance svg,
html body.single-product .tifoso-garanzia svg {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    display: inline-block !important;
}
.single-product .tifoso-trust-row,
.single-product .tifoso-pay-assurance,
.single-product .tifoso-garanzia {
    max-width: 100% !important;
}
.single-product .tifoso-garanzia {
    margin: 18px 0 0 !important;
    padding: 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(229,184,66,.20) !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(229,184,66,.20), transparent 34%),
        linear-gradient(180deg, rgba(18,20,24,.96), rgba(10,11,13,.98)) !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.single-product .tifoso-garanzia__hero {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
.single-product .tifoso-garanzia__visual {
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 14px !important;
    color: #0A0B0D !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.32), transparent 42%),
        linear-gradient(135deg, #F0CE6D, #C99B22) !important;
    box-shadow: 0 12px 26px rgba(229,184,66,.22) !important;
}
.single-product .tifoso-garanzia__eyebrow {
    display: block !important;
    margin-bottom: 4px !important;
    color: var(--tifoso-gold) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: .70rem !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}
.single-product .tifoso-garanzia__hero strong {
    display: block !important;
    color: #FFFFFF !important;
    font-size: .95rem !important;
    line-height: 1.35 !important;
}
.single-product .tifoso-garanzia__head {
    margin-bottom: 11px !important;
    font-size: .88rem !important;
    letter-spacing: .08em !important;
}
.single-product .tifoso-garanzia__row {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 11px !important;
}
.single-product .tifoso-garanzia__row strong {
    font-size: .88rem !important;
    line-height: 1.28 !important;
}
.single-product .tifoso-garanzia__row span {
    display: block !important;
    font-size: .78rem !important;
    line-height: 1.45 !important;
}
.single-product .woocommerce-info {
    max-width: 1160px !important;
    margin: 8px auto 20px !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
}
.single-product form.variations_form .single_variation_wrap {
    display: grid !important;
    gap: 12px !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
    align-items: center !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart .quantity {
    grid-column: 1 !important;
    margin: 0 !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    margin: 0 !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart .tifoso-sg-trigger-v2 {
    grid-column: 1 / -1 !important;
    margin: -2px 0 0 !important;
    justify-self: start !important;
    font-size: .78rem !important;
    letter-spacing: .08em !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart .tifoso-trust-row {
    grid-column: 1 / -1 !important;
    margin: 6px 0 0 !important;
}
.single-product form.variations_form.cart .variations td.value {
    display: grid !important;
    gap: 10px !important;
}
.single-product .tifoso-size-select--enhanced {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}
.single-product .tifoso-size-pills {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}
.single-product .tifoso-size-pill {
    min-height: 48px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.03) !important;
    color: #f5f3eb !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: .96rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}
.single-product .tifoso-size-pill:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(229,184,66,.38) !important;
    background: rgba(229,184,66,.08) !important;
}
.single-product .tifoso-size-pill.is-active {
    border-color: rgba(229,184,66,.7) !important;
    background: linear-gradient(180deg, rgba(229,184,66,.24), rgba(229,184,66,.12)) !important;
    color: #fff5d2 !important;
    box-shadow: 0 12px 24px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.04) !important;
}
.single-product .tifoso-size-pill:disabled {
    opacity: .34 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    transform: none !important;
}
html body.single-product .summary.entry-summary {
    display: grid !important;
    gap: 14px !important;
}
html body.single-product .summary.entry-summary > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
html body.single-product .summary.entry-summary .product_title {
    max-width: 15ch !important;
}
html body.single-product .summary.entry-summary .price {
    margin-top: 6px !important;
}
html body.single-product .tfi-buy-confidence-panel {
    padding: 18px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) !important;
}
html body.single-product form.variations_form.cart {
    padding: 16px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.015) !important;
}
html body.single-product form.variations_form.cart .variations {
    margin-bottom: 8px !important;
}
html body.single-product form.variations_form.cart .variations th.label,
html body.single-product form.variations_form.cart .variations td.value {
    background: transparent !important;
}
html body.single-product form.variations_form.cart .variations select {
    min-height: 46px !important;
    width: 100% !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
}
html body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px 14px !important;
    align-items: center !important;
}
html body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart .quantity {
    width: 64px !important;
}
html body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    width: 100% !important;
    display: block !important;
}
html body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart .tifoso-sg-trigger-v2 {
    margin: 0 !important;
    font-size: .74rem !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}
html body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart .tifoso-trust-row {
    margin: 2px 0 0 !important;
}
html body.single-product .tifoso-pay-assurance {
    margin-top: 8px !important;
    padding-top: 14px !important;
}
html body.single-product .tifoso-pay-badges {
    gap: 8px !important;
}
html body.single-product .tifoso-pay-badges span {
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
}
/* tifoso-fix-mobile-scope */
@media (max-width: 782px) {
html body.woocommerce-shop .tfi-shop-archive-heading span {
        font-size: .68rem !important;
        letter-spacing: .14em !important;
    }
html body.woocommerce-shop .tfi-shop-archive-heading h1 {
        font-size: 2rem !important;
        line-height: 1.02 !important;
        margin: 8px 0 10px !important;
        max-width: 11ch !important;
    }
html body.woocommerce-shop .tfi-shop-archive-heading p {
        font-size: .88rem !important;
        line-height: 1.45 !important;
        max-width: 34ch !important;
    }
html body.woocommerce-shop .tfi-shop-conversion-strip {
        padding: 14px !important;
        border-radius: 14px !important;
    }
html body.woocommerce-shop .tfi-shop-strip-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
html body.woocommerce-shop .tfi-shop-strip-actions a,
    html body.woocommerce-shop .tfi-shop-strip-actions span {
        justify-content: center !important;
        min-height: 38px !important;
        font-size: .72rem !important;
        text-align: center !important;
    }
html body.woocommerce-shop ul.products.columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
html body.woocommerce-shop ul.products.columns-4 li.product {
        min-width: 0 !important;
    }
html body.woocommerce-shop ul.products.columns-4 li.product .woocommerce-loop-product__title {
        font-size: .74rem !important;
        line-height: 1.3 !important;
        height: 2.6em !important;
        max-height: 2.6em !important;
        margin: 10px 10px 6px !important;
    }
html body.woocommerce-shop ul.products.columns-4 li.product .price {
        font-size: .96rem !important;
        margin: 0 10px 8px !important;
    }
html body.woocommerce-shop ul.products.columns-4 li.product .button,
    html body.woocommerce-shop ul.products.columns-4 li.product a.button,
    html body.woocommerce-shop ul.products.columns-4 li.product .add_to_cart_button {
        width: calc(100% - 20px) !important;
        margin: auto 10px 10px !important;
        padding: 10px 10px !important;
        font-size: .72rem !important;
    }
html body.woocommerce-shop .tfi-shop-featured-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}
/* /tifoso-fix-mobile-scope */
html body.single-product .tifoso-size-pills {
        grid-template-columns: repeat(3, minmax(60px, 1fr)) !important;
        gap: 8px !important;
    }
html body.single-product .tifoso-size-pill {
        min-width: 0 !important;
        padding: 0 6px !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow: hidden !important;
        font-size: .9rem !important;
        letter-spacing: .01em !important;
    }
@media (max-width: 760px) {
/* Mobile thumbs owned by 2541 hslide — do not force a 4-col FlexSlider grid */
    html body.single-product .woocommerce-product-gallery.tifoso-hslide .flex-control-thumbs,
    html body.single-product .woocommerce-product-gallery.tifoso-hslide ol.flex-control-nav.flex-control-thumbs {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}
@media (max-width: 720px) {
html body.single-product .tifoso-creative-visual {
        grid-template-columns: 1fr !important;
    }
html body.single-product .tifoso-creative-visual__frame {
        min-height: 96px !important;
    }
html body.single-product .tifoso-creative-visual__image {
        max-height: 132px !important;
    }
}
@media (max-width: 1080px) {
.single-product .tfi-social-proof-panel .tfi-social-proof-panel__grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 782px) {
body.single-product {
        padding-bottom: 92px !important;
    }
html body.tax-product_cat .tifoso-products-section {
        padding-top: 20px !important;
    }
html body.tax-product_cat .tfi-category-archive-heading {
        margin-bottom: 14px !important;
    }
html body.tax-product_cat .tfi-category-archive-heading span {
        font-size: .66rem !important;
        letter-spacing: .12em !important;
    }
html body.tax-product_cat .tfi-category-archive-heading h1 {
        max-width: none !important;
        font-size: 1.72rem !important;
        line-height: 1.08 !important;
    }
html body.tax-product_cat .tfi-category-archive-heading p {
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        font-size: .86rem !important;
        line-height: 1.42 !important;
    }
html body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
        margin: 10px 10px 6px !important;
        font-size: .78rem !important;
        line-height: 1.28 !important;
    }
.single-product div.product .summary {
        padding: 18px !important;
        border-radius: 16px;
    }
.single-product .single_add_to_cart_button {
        width: 100% !important;
    }
body.single-product {
        padding-bottom: 76px;
    }
.single-product div.product .summary {
        border-radius: 16px !important;
        padding: 18px !important;
    }
.single-product .single_add_to_cart_button {
        width: 100% !important;
    }
.single-product .tfi-buy-confidence-grid {
        grid-template-columns: 1fr !important;
    }
.single-product .tfi-first-order-inline {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
.single-product .tifoso-wa-float {
        bottom: 138px !important;
        right: 14px !important;
    }
.single-product .tifoso-garanzia {
        padding: 13px !important;
        border-radius: 14px !important;
    }
.single-product .tifoso-garanzia__hero {
        grid-template-columns: 50px minmax(0, 1fr) !important;
    }
.single-product .tifoso-garanzia__visual {
        width: 50px !important;
        height: 50px !important;
    }
.single-product form.variations_form .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr !important;
    }
.single-product form.variations_form .woocommerce-variation-add-to-cart .quantity,
    .single-product form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
    .single-product form.variations_form .woocommerce-variation-add-to-cart .tifoso-sg-trigger-v2,
    .single-product form.variations_form .woocommerce-variation-add-to-cart .tifoso-trust-row {
        grid-column: 1 !important;
    }
.single-product .tifoso-size-pills {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
html body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr !important;
    }
html body.single-product .summary.entry-summary .product_title {
        max-width: none !important;
    }
}
@media (max-width: 980px) {
.single-product div.product {
        display: block;
    }
.single-product div.product .summary {
        position: static;
        margin-top: 22px;
    }
.single-product div.product {
        display: block !important;
    }
.single-product div.product .summary {
        position: static !important;
        margin-top: 22px !important;
    }
}

/* PROPOSAL ONLY — append to assets/css/shop.css; it adds no new request. */
body.tax-product_cat .tifoso-category-editorial{max-width:760px;margin:0 0 20px;padding:16px 18px;border:1px solid rgba(217,173,57,.24);border-radius:12px;background:rgba(17,19,24,.78);color:#e7e9ee}
body.tax-product_cat .tifoso-category-editorial h2{margin:0 0 8px;color:#fff;font-size:20px;line-height:1.25}
body.tax-product_cat .tifoso-category-editorial__body p{margin:0 0 8px;line-height:1.55}
body.tax-product_cat .tifoso-category-editorial__featured ul{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;padding:0;list-style:none}
body.tax-product_cat .tifoso-category-editorial__featured a{display:inline-block;padding:7px 10px;border:1px solid rgba(240,196,79,.3);border-radius:999px;font-size:14px}
body.tax-product_cat .tifoso-category-editorial a{color:#f0c44f;text-decoration:underline;text-underline-offset:3px}
body.tax-product_cat .tifoso-category-editorial__cta{margin:10px 0 0}
@media(max-width:760px){body.tax-product_cat .tifoso-category-editorial{margin:0 12px 16px;padding:14px 15px}body.tax-product_cat .tifoso-category-editorial h2{font-size:18px}}
