/* ==========================================================================
   URBEWINE – FOGLIO DI STILE UNICO (v11.1.0)
   --------------------------------------------------------------------------
   Questo è l'UNICO file CSS personalizzato del sito. Modificare solo qui.
   Non usare più: CSS aggiuntivo del Personalizza, style.css del tema figlio.

   Il sito è responsive: un solo CSS, con regole diverse per larghezza schermo.
   Punti di cambio (uguali al tema Blocksy):
     - Mobile:  fino a 689px   ->  @media (max-width: 689.98px)
     - Tablet:  690 - 999px    ->  @media (min-width: 690px) and (max-width: 999.98px)
     - Desktop: da 1000px      ->  @media (min-width: 1000px)

   INDICE (l'ordine conta: le sezioni dopo vincono su quelle prima)
     10. Design system, home, schede prodotto, carrello  (ex "pro-styles")
     20. Card prodotto desktop/mobile                    (ex style.css tema figlio)
     30. Ottimizzazioni touch mobile                     (ex CSS aggiuntivo)
     40. Header, card, footer premium                    (ex "ultra-override")
     50. Schede prodotto v2 (negozio e home)            (nuovo, v11.1)
     90. Header e hero MOBILE, menu tablet/desktop       (nuovo, v11)

   NOTA: le sezioni 10-40 sono state spostate qui SENZA modifiche (verificato
   pixel per pixel). Contengono molti "!important" ereditati: in futuro,
   quando si modifica una sezione, conviene semplificarla.
   ========================================================================== */


/* ==========================================================================
   10. DESIGN SYSTEM, HOME, SCHEDE PRODOTTO (ex pro-styles)
   ========================================================================== */

/* Hide Default Theme Header & Hero Cover Block on Homepage to enforce Callmewine Layout */
header:not(.urbewine-callmewine-header), #masthead, .site-header, .home #header, .home .ext-hero-section {
    display: none !important;
}

/* ==========================================================================
   YOUTHFUL & FRESH D2C ENOTECA DESIGN SYSTEM (v3.5.0)
   ========================================================================== */

body, .site {
    background-color: #faf9f6 !important;
    color: #111827 !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 0. Top Announcement Bar (Absolute Top of Page Order -999999) */
.urbewine-top-announcement-bar {
    order: -999999 !important;
    width: 100% !important;
    background: #1a1715 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 9px 16px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    box-sizing: border-box !important;
}

/* 1. Header & Navigation Refinements */
.urbewine-callmewine-header {
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03) !important;
    display: flex !important;
    flex-direction: column !important;
}

.urbewine-header-main {
    order: 1 !important;
    padding: 14px 24px !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.urbewine-sub-header-nav {
    order: 2 !important;
    border-top: 1px solid #f0f0f5 !important;
    background: #ffffff !important;
    padding: 10px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.urbewine-header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

/* Left: Logo 58-60px Left-Aligned & Visibile */
.urbewine-header-left {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    min-width: 180px !important;
}

.urbewine-logo-img {
    height: 58px !important;
    max-height: 60px !important;
    min-height: 54px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Center: Product Search Bar */
.urbewine-header-center {
    flex-grow: 1 !important;
    max-width: 580px !important;
}

.urbewine-header-search-form {
    display: flex !important;
    align-items: center !important;
    background: #f5f5f7 !important;
    border: 1px solid #e1e1e5 !important;
    border-radius: 30px !important;
    padding: 4px 16px !important;
    transition: all 0.2s ease !important;
}

.urbewine-header-search-form:focus-within {
    background: #ffffff !important;
    border-color: #721c24 !important;
    box-shadow: 0 0 0 3px rgba(114, 28, 36, 0.1) !important;
}

.urbewine-search-input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 4px !important;
    font-size: 14px !important;
    color: #2b2b2b !important;
    outline: none !important;
}

.urbewine-search-submit {
    background: transparent !important;
    border: none !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 4px !important;
}

/* Right: Compact Account & Cart */
.urbewine-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

.urbewine-header-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #2b2b2b !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    position: relative !important;
    transition: color 0.2s ease !important;
}

.urbewine-header-icon-link:hover {
    color: #721c24 !important;
}

.urbewine-cart-badge {
    background: #721c24 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 2px !important;
}

/* Sub-Header Horizontal Navigation */
.urbewine-sub-header-nav {
    border-top: 1px solid #f0f0f5 !important;
    background: #ffffff !important;
    padding: 8px 24px !important;
}

.urbewine-sub-nav-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
}

.urbewine-sub-nav-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #2b2b2b !important;
    text-decoration: none !important;
    padding: 4px 0 !important;
    transition: color 0.2s ease !important;
}

.urbewine-sub-nav-link:hover {
    color: #721c24 !important;
}

.urbewine-sub-nav-highlight {
    color: #721c24 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   EDITORIALE WARM CALLMEWINE GRAPHIC DESIGN SYSTEM (v3.2.0)
   ========================================================================== */

body, .site {
    background-color: #fbf9f6 !important;
    color: #1f1f1f !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 1. Header & Navigation Refinements */
.urbewine-callmewine-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e4de !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03) !important;
    display: block !important;
}

.urbewine-header-main {
    padding: 12px 24px !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

.urbewine-header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.urbewine-header-left {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.urbewine-logo-img {
    height: 52px !important;
    max-height: 55px !important;
    min-height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.urbewine-header-center {
    flex-grow: 1 !important;
    max-width: 580px !important;
}

.urbewine-header-search-form {
    display: flex !important;
    align-items: center !important;
    background: #f4efe6 !important;
    border: 1px solid #e2ddd3 !important;
    border-radius: 30px !important;
    padding: 4px 16px !important;
    transition: all 0.2s ease !important;
}

.urbewine-header-search-form:focus-within {
    background: #ffffff !important;
    border-color: #6b1d2f !important;
    box-shadow: 0 0 0 3px rgba(107, 29, 47, 0.1) !important;
}

.urbewine-search-input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 4px !important;
    font-size: 14px !important;
    color: #1f1f1f !important;
    outline: none !important;
}

.urbewine-search-submit {
    background: transparent !important;
    border: none !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 4px !important;
}

.urbewine-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-shrink: 0 !important;
}

.urbewine-header-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #1f1f1f !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    position: relative !important;
    transition: color 0.2s ease !important;
}

.urbewine-header-icon-link:hover {
    color: #6b1d2f !important;
}

.urbewine-cart-badge {
    background: #6b1d2f !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 2px !important;
}

.urbewine-sub-header-nav {
    border-top: 1px solid #f0ebe1 !important;
    background: #ffffff !important;
    padding: 10px 24px !important;
}

.urbewine-sub-nav-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 32px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
}

.urbewine-sub-nav-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    color: #2c2925 !important;
    text-decoration: none !important;
    padding: 4px 0 !important;
    transition: color 0.2s ease !important;
}

.urbewine-sub-nav-link:hover {
    color: #6b1d2f !important;
}

.urbewine-sub-nav-highlight {
    color: #6b1d2f !important;
    font-weight: 700 !important;
}

/* 2. Hero Section (#fbf9f6 Editoriale Warm) */
.urbewine-hero-callmewine {
    background: #fbf9f6 !important;
    padding: 56px 24px !important;
    border-bottom: 1px solid #e8e4de !important;
}

.urbewine-hero-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    align-items: center !important;
    gap: 48px !important;
}

.urbewine-hero-badge {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #6b1d2f !important;
    background: rgba(107, 29, 47, 0.08) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 18px !important;
}

.urbewine-hero-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 42px !important;
    line-height: 1.2 !important;
    color: #1f1f1f !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    margin-top: 0 !important;
}

.urbewine-hero-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #5c5854 !important;
    margin-bottom: 30px !important;
    max-width: 540px !important;
}

.urbewine-hero-actions-youthful,
.urbewine-hero-actions {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin-top: 24px !important;
}

.urbewine-btn-hero-primary-exact,
.urbewine-btn-hero-pop-primary,
.urbewine-btn-hero-primary {
    background: #8b1e3f !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.22) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.urbewine-btn-hero-primary-exact:hover,
.urbewine-btn-hero-pop-primary:hover,
.urbewine-btn-hero-primary:hover {
    background: #6e1531 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(139, 30, 63, 0.3) !important;
}

.urbewine-btn-hero-secondary-exact,
.urbewine-btn-hero-pop-secondary,
.urbewine-btn-hero-secondary {
    background: transparent !important;
    color: #8b1e3f !important;
    border: 1.5px solid #8b1e3f !important;
    padding: 13px 26px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.urbewine-btn-hero-secondary-exact:hover,
.urbewine-btn-hero-pop-secondary:hover,
.urbewine-btn-hero-secondary:hover {
    background: #8b1e3f !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.urbewine-hero-showcase-img {
    width: 100% !important;
    max-height: 390px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.07) !important;
}

/* 3. Quick Selections Grid Cards */
.urbewine-quick-selections-section {
    padding: 48px 24px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e8e4de !important;
}

.urbewine-quick-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.urbewine-quick-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px !important;
    color: #1f1f1f !important;
    font-weight: 700 !important;
    margin-bottom: 28px !important;
    text-align: center !important;
}

.urbewine-quick-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

.urbewine-quick-card {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: #fbf9f6 !important;
    border: 1px solid #eae5dd !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.urbewine-quick-card:hover {
    background: #ffffff !important;
    border-color: #6b1d2f !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(107, 29, 47, 0.09) !important;
}

.urbewine-quick-icon {
    font-size: 30px !important;
    flex-shrink: 0 !important;
}

.urbewine-quick-info h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1f1f1f !important;
    margin: 0 0 3px 0 !important;
}

.urbewine-quick-info p {
    font-size: 12px !important;
    color: #66615b !important;
    margin: 0 !important;
}

/* 3b. Vineyard Showcase Banner */
.urbewine-vineyard-banner-section {
    position: relative !important;
    margin: 40px auto !important;
    max-width: 1240px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    min-height: 340px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

.urbewine-vineyard-overlay {
    background: linear-gradient(90deg, rgba(20,10,15,0.88) 0%, rgba(20,10,15,0.3) 100%) !important;
    width: 100% !important;
    height: 100% !important;
    padding: 50px 40px !important;
    display: flex !important;
    align-items: center !important;
}

.urbewine-vineyard-content {
    max-width: 550px !important;
    color: #ffffff !important;
}

.urbewine-vineyard-tag {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    color: #e5a93c !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 12px !important;
}

.urbewine-vineyard-content h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
    line-height: 1.25 !important;
}

.urbewine-vineyard-content p {
    font-size: 15px !important;
    color: #e2ded8 !important;
    margin-bottom: 22px !important;
    line-height: 1.5 !important;
}

/* 4. WooCommerce Product Card Polish & Perfect Flexbox Alignment */
li.wc-block-product,
.woocommerce ul.products li.product,
.products .product {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    padding: 18px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    text-align: center !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 480px !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
.products .product:hover,
li.wc-block-product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(107, 29, 47, 0.1) !important;
    border-color: #6b1d2f !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-grow: 1 !important;
    text-decoration: none !important;
}

.wc-block-grid__product-image img,
.wc-block-components-product-image img,
.wc-block-product img,
.wp-block-woocommerce-product-image img,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product a img,
.products .product img,
.products .product a img {
    object-fit: contain !important;
    width: 100% !important;
    height: 260px !important;
    max-height: 260px !important;
    min-height: 260px !important;
    padding: 10px 0 !important;
    background: transparent !important;
    margin: 0 auto 14px auto !important;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.06)) !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.woocommerce ul.products li.product:hover img,
li.wc-block-product:hover img {
    transform: scale(1.04) !important;
}

li.wc-block-product .wp-block-post-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.products .product .woocommerce-loop-product__title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1f1f1f !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    padding: 0 4px !important;
    min-height: 44px !important;
    max-height: 52px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce ul.products li.product .price,
li.wc-block-product .wc-block-components-product-price {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #6b1d2f !important;
    margin-bottom: 14px !important;
    margin-top: auto !important;
    min-height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
li.wc-block-product .wc-block-components-product-button,
li.wc-block-product .wp-block-button {
    margin-top: auto !important;
    width: 100% !important;
    align-self: flex-end !important;
}

.woocommerce ul.products li.product .price del {
    color: #99948e !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    margin-right: 6px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
li.wc-block-product .wp-block-button__link,
li.wc-block-product .wc-block-components-product-button__button {
    background: #6b1d2f !important;
    background-color: #6b1d2f !important;
    color: #ffffff !important;
    border-radius: 24px !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    width: 100% !important;
    box-shadow: 0 4px 12px rgba(107, 29, 47, 0.18) !important;
    cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
li.wc-block-product .wp-block-button__link:hover,
li.wc-block-product .wc-block-components-product-button__button:hover {
    background: #541423 !important;
    background-color: #541423 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(107, 29, 47, 0.28) !important;
}

.woocommerce span.onsale,
.products .product .onsale {
    background: #6b1d2f !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    min-height: auto !important;
    line-height: 1.3 !important;
}

/* Mobile Breakpoints */
@media (max-width: 900px) {
    .urbewine-header-container {
        flex-wrap: wrap !important;
    }
    .urbewine-header-center {
        order: 3 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .urbewine-hero-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .urbewine-quick-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .urbewine-hero-title {
        font-size: 32px !important;
    }
}

@media (max-width: 550px) {
    .urbewine-quick-grid {
        grid-template-columns: 1fr !important;
    }
    .urbewine-icon-label {
        display: none !important;
    }
}

/* Trust Bar & Product Specifications */
.urbewine-trust-bar {
    background: #1a1715 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 9px 12px !important;
    text-align: center !important;
}
.urbewine-trust-container {
    display: flex !important;
    justify-content: center !important;
    gap: 28px !important;
    flex-wrap: wrap !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.urbewine-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Secondary Archive & Category Page Header (Callmewine Style) & Pure White Background */
body,
body.archive,
body.tax-product_cat,
body.post-type-archive-product,
body.woocommerce-shop,
#main,
main,
.site-main,
.site-content,
#content,
.ast-container,
.ct-container,
.entry-content,
.ast-archive-description,
.woocommerce-products-header,
.ast-archive-header,
.page-header,
.archive-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Completely Purge & Hide Theme Native Hero Section Gray Band (.hero-section[data-type="type-2"]) */
.hero-section,
.hero-section[data-type="type-2"],
[data-prefix="woo_categories"] .hero-section,
header.entry-header.ct-container-narrow,
.woocommerce-products-header__title,
.ast-archive-title,
.page-header .page-title,
.woocommerce-products-header .page-title,
header.page-header,
.ast-archive-header,
.woocommerce-products-header,
.archive-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Eliminate Top Padding on Blocksy Container so Content Starts Directly Below Navigation */
.ct-container[data-vertical-spacing*="top"],
main > .ct-container,
#main > .ct-container,
.site-main > .ct-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.urbewine-editorial-page-header {
    background: #ffffff !important;
    padding: 24px 0 14px 0 !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid #f2eee8 !important;
    width: 100% !important;
}

.urbewine-header-inner-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}

.urbewine-breadcrumbs {
    font-family: 'Inter', sans-serif !important;
    font-size: 12.5px !important;
    color: #888888 !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.urbewine-breadcrumbs a {
    color: #888888 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.urbewine-breadcrumbs a:hover {
    color: #721c24 !important;
}

.urbewine-breadcrumbs .sep {
    color: #cccccc !important;
    font-size: 11px !important;
}

.urbewine-breadcrumbs span {
    color: #444444 !important;
    font-weight: 500 !important;
}

.urbewine-header-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 6px !important;
}

.urbewine-archive-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.urbewine-product-count-badge {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #721c24 !important;
    background: rgba(114, 28, 36, 0.07) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    display: inline-block !important;
}

.urbewine-archive-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #555555 !important;
    line-height: 1.55 !important;
    max-width: 820px !important;
    margin-top: 6px !important;
}

.urbewine-archive-desc p {
    margin: 0 !important;
    color: #555555 !important;
    font-size: 14px !important;
}

/* 5. Interactive Occasion Filter Pills Bar (Shop / Negozio Page) */
.urbewine-occasion-section {
    margin: 16px auto 24px auto !important;
    max-width: 1200px !important;
    padding: 18px 22px !important;
    background: #ffffff !important;
    border: 1px solid #e8e4de !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}

.urbewine-occasion-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.01em !important;
}

.urbewine-occasion-pills-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.urbewine-pill-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    background: #fbf9f6 !important;
    border: 1.5px solid #eae5dd !important;
    border-radius: 30px !important;
    color: #374151 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02) !important;
}

.urbewine-pill-item:hover {
    background: #ffffff !important;
    border-color: #8b1e3f !important;
    color: #8b1e3f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(139, 30, 63, 0.12) !important;
}

.urbewine-pill-item.active {
    background: #8b1e3f !important;
    border-color: #8b1e3f !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(139, 30, 63, 0.25) !important;
}

.urbewine-pill-icon {
    font-size: 16px !important;
    line-height: 1 !important;
}

.urbewine-pill-text {
    white-space: nowrap !important;
}

.urbewine-pill-reset {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 14px !important;
    background: #fee2e2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 20px !important;
    color: #991b1b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 6px !important;
    transition: all 0.2s ease !important;
}

.urbewine-pill-reset:hover {
    background: #fca5a5 !important;
    color: #7f1d1d !important;
}

.urbewine-callmewine-box {
    background: #fbf9f6 !important;
    border: 1px solid #eae5dd !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
.urbewine-specs-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #6b1d2f !important;
    margin-bottom: 12px !important;
}
.urbewine-scale-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
}
.urbewine-scale-dots {
    color: #6b1d2f !important;
    letter-spacing: 2px !important;
}
.urbewine-service-specs {
    border-top: 1px solid #eae5dd !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    font-size: 14px !important;
}
.urbewine-product-trust-footer {
    border-top: 1px dashed #d8d2c7 !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    font-size: 13px !important;
    color: #444 !important;
}
.urbewine-trust-point {
    margin-bottom: 6px !important;
}

.urbewine-shipping-progress-wrap {
    background: #f4efe6 !important;
    border: 1px solid #e2ddd3 !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
.urbewine-shipping-msg {
    font-size: 14px !important;
    margin-bottom: 8px !important;
}
.urbewine-shipping-bar-bg {
    background: #DCE0E5 !important;
    height: 8px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}
.urbewine-shipping-bar-fill {
    background: linear-gradient(90deg, #721c24 0%, #D43F57 100%) !important;
    height: 100% !important;
    transition: width 0.4s ease !important;
}

.urbewine-age-modal-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: rgba(17, 21, 24, 0.94) !important;
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    pointer-events: auto !important;
    transition: opacity 0.15s ease !important;
}
.urbewine-age-modal-content {
    background: #ffffff !important;
    border-radius: 16px !important;
    max-width: 420px !important;
    width: 100% !important;
    padding: 28px 22px !important;
    text-align: center !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
    position: relative !important;
    z-index: 100000000 !important;
    pointer-events: auto !important;
}
.urbewine-age-logo {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #721c24 !important;
    margin-bottom: 12px !important;
}
.urbewine-btn-primary {
    background: #721c24 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 16px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}
.urbewine-btn-secondary {
    background: transparent !important;
    color: #666 !important;
    border: 1px solid #ccc !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 10px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

/* =========================================================
   STRUTTURA CARD CONDIVISA V3 (Stile Callmewine - 3 COLONNE)
   ========================================================= */

/* 1. Desktop Layout a 3 Colonne */
@media (min-width: 992px) {
    .woocommerce ul.products,
    .wc-block-grid__products {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
    .woocommerce ul.products::before, .woocommerce ul.products::after {
        display: none !important;
    }
}

/* 2. Card Struttura Base */
.woocommerce ul.products li.product,
.woocommerce ul.products li.wc-block-product {
    padding: 16px 16px 20px 16px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 3. Immagine con Sfondo Grigio */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.wc-block-product .wc-block-components-product-image {
    display: block !important;
    background: #f7f7f8 !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    padding: 12px !important;
    position: relative !important;
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.wc-block-product img {
    height: 280px !important;
    max-height: 280px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
    mix-blend-mode: multiply !important;
}

/* 4. Titolo flessibile */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.wc-block-product .wp-block-post-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1f1f1f !important;
    line-height: 1.35 !important;
    margin: 0 0 16px 0 !important;
    text-align: left !important;
}

/* 5. Posizionamento assoluto per carrello (Così si affianca al prezzo!) */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.wc-block-product .wc-block-components-product-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin-top: auto !important;
    text-align: left !important;
    line-height: 44px !important;
    padding-right: 50px !important; /* Spazio per il bottone */
}

/* Trasforma il bottone in un quadrato bordeaux sulla destra */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.wc-block-product .wp-block-button__link {
    position: absolute !important;
    bottom: 20px !important;
    right: 16px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 0 !important; /* Nasconde il testo */
    background-color: #9c3b4a !important; /* Bordeaux Callmewine */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E") !important;
    background-size: 20px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

/* Hover effect */
@media (min-width: 992px) {
    .woocommerce ul.products li.product {
        transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    }
    .woocommerce ul.products li.product:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
    }
}



/* =========================================================
   STRUTTURA CARD GUTENBERG (HOMEPAGE) - IDENTICA AL CATALOGO
   ========================================================= */

/* 1. Resettiamo completamente i blocchi Gutenberg per farli comportare come HTML normale */
body.home li.wc-block-product .wp-block-group,
body.home li.wc-block-product .wp-block-columns,
body.home li.wc-block-product .wp-block-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important; /* Distrugge la struttura a 2 colonne di Gutenberg */
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    min-height: 0 !important;
    height: auto !important;
    position: static !important;
}

/* 2. Ripristiniamo la Card Esterna (li) per essere identica al catalogo */
body.home li.wc-block-product {
    padding: 16px 16px 70px 16px !important; /* 70px in basso per contenere prezzo e carrello */
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important; /* ANCORAGGIO ASSOLUTO QUI */
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* 3. Margini interni all'area testo */
body.home li.wc-block-product .wp-block-group.wp-container-content-9cfa9a5a {
    padding-top: 16px !important;
}

/* 4. Immagine */
body.home li.wc-block-product .wc-block-components-product-image {
    background: #f7f7f8 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
    display: block !important;
}

body.home li.wc-block-product .wc-block-components-product-image img {
    height: 280px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
}

/* 5. Titolo a tutta larghezza (come nel catalogo) */
body.home li.wc-block-product .wp-block-post-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
}

/* 6. Prezzo ancorato in basso a sinistra (dentro la card LI) */
body.home li.wc-block-product .wp-block-woocommerce-product-price {
    position: absolute !important;
    bottom: 16px !important;
    left: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    z-index: 5 !important;
}

body.home li.wc-block-product .wc-block-components-product-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    line-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 7. Bottone ancorato in basso a destra (dentro la card LI) */
body.home li.wc-block-product .wp-block-button.wc-block-components-product-button {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 10 !important;
    display: block !important;
    transform: none !important;
    float: none !important;
}

/* Stile Quadrato del Carrello (Identico al Catalogo) */
body.home li.wc-block-product .wp-block-button__link {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 0 !important; 
    background-color: #9c3b4a !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E") !important;
    background-size: 20px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
}

body.home li.wc-block-product .wp-block-button__link:hover {
    background-color: #b53852 !important;
}

body.home li.wc-block-product .wp-block-button__link span {
    display: none !important;
}


/* ==========================================================================
   20. CARD PRODOTTO DESKTOP / MOBILE (ex style.css tema figlio)
   ========================================================================== */

/* =========================================================
   1. STRUTTURA CARD CONDIVISA (Stile Callmewine)
   ========================================================= */
html .woocommerce ul.products li.product,
html body.home .woocommerce ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #ebebeb !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  position: relative !important;
}

/* =========================================================
   2. DESKTOP ONLY (min-width: 769px) - Bottiglie Imponenti
   ========================================================= */
@media screen and (min-width: 769px) {
  html .woocommerce ul.products li.product,
  html body.home .woocommerce ul.products li.product {
    padding: 16px 14px 14px 14px !important;
    min-height: 490px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  html .woocommerce ul.products li.product:hover,
  html body.home .woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
  }

  html .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
  html body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 330px !important;
    width: 100% !important;
    background: #fbfbfb !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    text-decoration: none !important;
  }

  html .woocommerce ul.products li.product img,
  html body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
    height: 310px !important;
    max-height: 310px !important;
    width: auto !important;
    max-width: 90% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.07)) !important;
  }

  html .woocommerce ul.products li.product .woocommerce-loop-product__title,
  html body.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    color: #1f1f1f !important;
    margin: 6px 0 !important;
  }

  html .woocommerce ul.products li.product .price,
  html body.home .woocommerce ul.products li.product .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-top: auto !important;
  }
}

/* =========================================================
   3. MOBILE ONLY (max-width: 768px) - 2 Colonne Compatte
   ========================================================= */
@media screen and (max-width: 768px) {
  html body.home .woocommerce ul.products,
  html body.home ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  html .woocommerce ul.products li.product,
  html body.home .woocommerce ul.products li.product {
    padding: 10px !important;
    min-height: 360px !important;
    max-height: none !important;
  }

  html .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
  html body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 190px !important;
    min-height: 190px !important;
    width: 100% !important;
    background: #fbfbfb !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
  }

  html .woocommerce ul.products li.product img,
  html body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
    height: 175px !important;
    max-height: 175px !important;
    width: auto !important;
    max-width: 90% !important;
    object-fit: contain !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto !important;
  }

  html .woocommerce ul.products li.product .woocommerce-loop-product__title,
  html body.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    min-height: 32px !important;
    margin-bottom: 4px !important;
  }

  html .woocommerce ul.products li.product .price,
  html body.home .woocommerce ul.products li.product .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-top: auto !important;
  }
}

/* =========================================================
   MOBILE FIX UNIFICATO (max 768px) - Home + Store
   Desktop NON toccato
   ========================================================= */
@media screen and (max-width: 768px) {
  /* 1. Titoli fluidi e leggibili su 2-3 righe */
  html .woocommerce ul.products li.product .woocommerce-loop-product__title,
  html body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
  html body.home li.wc-block-product .wp-block-post-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    margin: 4px 0 6px 0 !important;
    position: static !important;
  }

  /* 2. Dettagli tecnici compatti (75 cl | 13% | Italia) */
  html .woocommerce ul.products li.product .product-meta-specs,
  html .woocommerce ul.products li.product .wine-specs,
  html .woocommerce ul.products li.product .urbewine-card-specs-v3 {
    font-size: 11px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    display: block !important;
  }

  /* Spazio in fondo alla card store: le specifiche non finiscono sotto il carrello */
  html .woocommerce ul.products li.product {
    padding-bottom: 64px !important;
  }

  /* 3. Elimina la categoria duplicata che si sovrappone (titolo home / carrello store) */
  html .woocommerce ul.products li.product .price + .product-category,
  html .woocommerce ul.products li.product .button + .product-category,
  html .woocommerce ul.products li.product .posted_in,
  html body.home li.wc-block-product .taxonomy-product_cat {
    display: none !important;
  }

  /* 4. Riga prezzo ben proporzionata */
  html .woocommerce ul.products li.product .price,
  html body.home li.wc-block-product .wc-block-components-product-price {
    font-size: 16px !important;
    font-weight: 700 !important;
  }
}


/* ==========================================================================
   30. OTTIMIZZAZIONI TOUCH MOBILE (ex CSS aggiuntivo del Personalizza)
   ========================================================================== */

.footer-store-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-store-icons img {
  flex: 0 0 45%;
  max-width: 45%;
}

/* Mobile Layout Optimizations for iOS and Android */

/* 1. iOS Auto-Zoom Prevention */
@media (max-width: 768px) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 2. 44px Touch / Tap Target Optimization */
@media (max-width: 768px) {
  button, 
  input[type="submit"], 
  input[type="button"], 
  .button,
  .ct-header-cart,
  .ct-offcanvas-trigger,
  .woocommerce ul.products li.product .button,
  .woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
}

/* 3. 2-Column Mobile Product Grid */
@media (max-width: 680px) {
  .woocommerce ul.products,
  .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .woocommerce ul.products li.product,
  .wc-block-grid__product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    line-height: 1.25;
  }
}

/* 4. Mobile Menu & Navigation Touch Spacing */
@media (max-width: 768px) {
  .ct-mobile-menu a,
  .mobile-menu li a,
  .ct-panel-content li a,
  .offcanvas-menu a {
    padding: 12px 16px !important;
    font-size: 16px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}


/* ==========================================================================
   40. HEADER, CARD, FOOTER PREMIUM (ex ultra-override)
   ========================================================================== */

/* 1. Force Header Flexbox Column & Top-Bar Absolute First Order (-999999) */
html body header.urbewine-callmewine-header,
html body header:not(.urbewine-callmewine-header),
html body .site-header,
html body #masthead {
    display: flex !important;
    flex-direction: column !important;
}

html body .urbewine-top-announcement-bar,
html body .urbewine-trust-bar {
    order: -999999 !important;
    width: 100% !important;
    background: #1a1715 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 9px 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 9999999 !important;
}

html body .urbewine-header-main,
html body .site-header-main,
html body .main-header-bar {
    order: 1 !important;
}

html body .urbewine-sub-header-nav,
html body .site-navigation {
    order: 2 !important;
}

/* Hide Default Theme Header & Hero Cover Block on Homepage */
header:not(.urbewine-callmewine-header),
#masthead:not(.urbewine-callmewine-header),
.site-header:not(.urbewine-callmewine-header),
.whb-header,
.ast-main-header-wrap,
.elementor-location-header,
#header,
.header-wrapper,
.home .ext-hero-section,
.home .hero-section {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 2. Fix Stacked Vertical Logo (400x218 aspect ratio): Expand height to 92-98px for 180px full width clarity */
html body .urbewine-callmewine-header .urbewine-header-left img.urbewine-logo-img,
html body .urbewine-callmewine-header img,
html body img.urbewine-logo-img,
html body img.custom-logo,
html body .site-logo img,
html body .site-branding img,
html body .header-logo img,
html body .logo img,
html body header img,
html body a.custom-logo-link img {
    height: 92px !important;
    max-height: 98px !important;
    min-height: 80px !important;
    width: auto !important;
    max-width: 260px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
}

html body .urbewine-header-left,
html body .site-branding,
html body .custom-logo-link,
html body .site-logo {
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    height: 92px !important;
    min-width: 180px !important;
    display: flex !important;
    align-items: center !important;
}

/* ==========================================================================
   3. BOTTLE RESA & PRODUCT CARD PERFECT FLEXBOX ALIGNMENT (CRITICAL)
   ========================================================================== */
/* Immagini intere (no zoom / no crop): object-fit contain, 260px height, padding */
.wc-block-grid__product-image img,
.wc-block-components-product-image img,
.wc-block-product img,
.wp-block-woocommerce-product-image img,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product a img,
.products .product img,
.products .product a img {
    object-fit: contain !important;
    width: 100% !important;
    height: 260px !important;
    max-height: 260px !important;
    min-height: 260px !important;
    padding: 10px 0 !important;
    background: transparent !important;
    aspect-ratio: auto !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.06)) !important;
}

.wc-block-grid__product-image,
.wc-block-components-product-image,
.wp-block-woocommerce-product-image,
.wc-block-components-product-image a,
.wp-block-woocommerce-product-image a {
    background: transparent !important;
    height: 260px !important;
    aspect-ratio: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Allineamento orizzontale perfetto: Flexbox column full-height */
li.wc-block-product,
.woocommerce ul.products li.product,
.products .product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* Gutenberg Product Collection Card Item */
li.wc-block-product > .wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

li.wc-block-product > .wp-block-group > .wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px !important;
}

/* Titolo del vino: altezza minima fissa (min-height: 44px) */
li.wc-block-product .wp-block-post-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.products .product .woocommerce-loop-product__title {
    min-height: 44px !important;
    max-height: 52px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-height: 1.35 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #111827 !important;
}

/* Wrapper Prezzo + Pulsante ancorato in basso con margin-top: auto */
li.wc-block-product .wp-block-columns {
    margin-top: auto !important;
    width: 100% !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

li.wc-block-product .wc-block-components-product-button,
li.wc-block-product .wp-block-button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.products .product .button,
.products .product a.button {
    margin-top: auto !important;
    width: 100% !important;
    align-self: flex-end !important;
}

/* Tasto Aggiungi al carrello bordeaux uniforme ed elegante */
li.wc-block-product .wp-block-button__link,
li.wc-block-product .wc-block-components-product-button__button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.products .product .button,
.products .product a.button {
    background: #6b1d2f !important;
    background-color: #6b1d2f !important;
    color: #ffffff !important;
    border-radius: 24px !important;
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(107, 29, 47, 0.18) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

li.wc-block-product .wp-block-button__link:hover,
li.wc-block-product .wc-block-components-product-button__button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.products .product .button:hover,
.products .product a.button:hover {
    background: #541423 !important;
    background-color: #541423 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(107, 29, 47, 0.28) !important;
}

/* ==========================================================================
   4. RIFACIMENTO TOTALE DEL FOOTER (PREMIUM / CALLMEWINE)
   ========================================================================== */
/* Nasconde il vecchio footer Blocksy / WordPress */
footer.ct-footer,
#footer.ct-footer,
.site-footer:not(#urbewine-premium-footer),
footer:not(#urbewine-premium-footer) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Nuovo Footer Premium */
#urbewine-premium-footer,
footer.urbewine-premium-footer {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    background: #161616 !important;
    background-color: #161616 !important;
    color: #d1d5db !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    position: relative !important;
    z-index: 100 !important;
    margin-top: 60px !important;
    border-top: 1px solid #262626 !important;
}

.urbewine-footer-inner {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 56px 24px 40px 24px !important;
    box-sizing: border-box !important;
}

.urbewine-footer-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr !important;
    gap: 40px !important;
}

@media (max-width: 992px) {
    .urbewine-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }
}

@media (max-width: 576px) {
    .urbewine-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
}

.urbewine-footer-col {
    display: flex !important;
    flex-direction: column !important;
}

/* Colonna 1: Brand & Mission */
.urbewine-footer-brand {
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
}

.urbewine-footer-logo-wine {
    color: #ffffff !important;
}

.urbewine-footer-logo-gold {
    color: #d4a373 !important;
    margin-left: 2px !important;
}

.urbewine-footer-mission {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #9ca3af !important;
    margin: 0 0 18px 0 !important;
}

.urbewine-footer-legal-compact {
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #6b7280 !important;
}

.urbewine-footer-legal-compact p {
    margin: 0 0 3px 0 !important;
}

.urbewine-footer-legal-compact strong {
    color: #d1d5db !important;
}

/* Colonne 2 e 3: Titoli & Liste Link */
.urbewine-footer-col-title {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 0 18px 0 !important;
}

.urbewine-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.urbewine-footer-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.urbewine-footer-links a {
    color: #9ca3af !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: inline-block !important;
}

.urbewine-footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

/* Colonna 4: Newsletter & Pagamenti */
.urbewine-footer-newsletter-sub {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #9ca3af !important;
    margin: 0 0 14px 0 !important;
}

.urbewine-footer-newsletter-form {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
}

.urbewine-footer-email-input {
    flex: 1 !important;
    background: #222222 !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    color: #ffffff !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.urbewine-footer-email-input:focus {
    border-color: #6b1d2f !important;
}

.urbewine-footer-newsletter-btn {
    background: #6b1d2f !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    white-space: nowrap !important;
}

.urbewine-footer-newsletter-btn:hover {
    background: #8b1e3f !important;
}

.urbewine-payments-label {
    font-size: 11.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #6b7280 !important;
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}

.urbewine-payment-badges {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.urbewine-pay-badge {
    background: #222222 !important;
    border: 1px solid #333333 !important;
    color: #e5e7eb !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.3px !important;
}

/* Bottom Bar (Fondo pagina) */
.urbewine-footer-bottom-bar {
    border-top: 1px solid #2a2a2a !important;
    padding: 20px 24px !important;
    background: #111111 !important;
    text-align: center !important;
}

.urbewine-footer-bottom-inner {
    max-width: 1240px !important;
    margin: 0 auto !important;
}

.urbewine-footer-copyright {
    font-size: 12px !important;
    color: #888888 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}


/* ==========================================================================
   50. SCHEDE PRODOTTO v2 – bottiglia protagonista (nuovo in v11.1)
   ========================================================================== */

/* Schede prodotto ridisegnate: bottiglia protagonista, testi allineati a sinistra,
   produttore e dettagli sotto il nome, prezzo e carrello sulla stessa riga.
   Valgono sia per il negozio/categorie (C1) sia per le card della home (C2).
   ":not(#uw)" serve solo ad avere priorità sulle vecchie regole con !important. */

/* 50a. Card */
html body ul.products li.product:not(#uw),
html body ul.wc-block-product-template li.wc-block-product:not(#uw) {
  background: #ffffff !important; border: 1px solid #ece7e1 !important; border-radius: 14px !important;
  padding: 0 !important; margin: 0 !important; min-height: 0 !important; max-height: none !important; height: auto !important; align-self: stretch !important;
  display: flex !important; flex-direction: column !important; overflow: hidden !important; position: relative !important;
  box-shadow: none !important; transform: none !important; text-align: left !important;
  transition: box-shadow .25s ease, border-color .25s ease !important;
}
html body ul.products li.product:not(#uw):hover,
html body ul.wc-block-product-template li.wc-block-product:not(#uw):hover {
  box-shadow: 0 14px 34px rgba(60, 20, 30, .10) !important; border-color: #e2d8ce !important; transform: none !important;
}
html body ul.wc-block-product-template li.wc-block-product:not(#uw) > .wp-block-group {
  padding: 0 !important; margin: 0 !important; min-height: 100% !important; height: auto !important; background: transparent !important;
  display: flex !important; flex-direction: column !important; box-shadow: none !important; border: 0 !important;
}
html body ul.wc-block-product-template li.wc-block-product:not(#uw) > .wp-block-group > .wp-block-group {
  padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; flex: 1 0 auto !important; min-height: 0 !important;
}
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-columns,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-column { display: contents !important; }

/* 50b. Immagine: grande, su bianco, senza riquadri */
html body ul.products li.product:not(#uw) figure {
  margin: 0 !important; padding: 22px 16px 4px !important; background: #ffffff !important; height: auto !important;
}
html body ul.products li.product:not(#uw) figure a.ct-media-container,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image a {
  display: flex !important; align-items: center !important; justify-content: center !important;
  height: 330px !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
  background: #ffffff !important; aspect-ratio: auto !important; border-radius: 0 !important; box-shadow: none !important;
}
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image { padding: 22px 16px 4px !important; height: auto !important; }
html body ul.products li.product:not(#uw) figure img,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image img {
  width: 100% !important; height: 100% !important; max-height: none !important; min-height: 0 !important; max-width: none !important;
  object-fit: contain !important; padding: 0 !important; margin: 0 !important; aspect-ratio: auto !important;
  filter: none !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important;
  transition: transform .35s ease !important;
}
html body ul.products li.product:not(#uw):hover figure img,
html body ul.wc-block-product-template li.wc-block-product:not(#uw):hover .wc-block-components-product-image img { transform: scale(1.04) !important; }

/* 50c. Etichetta (Bestseller, Biologico…) */
html body ul.products li.product:not(#uw) .urbewine-card-badges-v3 { position: absolute !important; top: 14px !important; left: 14px !important; z-index: 3 !important; }
html body .uw-card-badge {
  display: inline-block; font: 700 10.5px/1 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: #f5ede1; color: #8a6a3d; padding: 6px 10px; border-radius: 999px;
}

/* 50d. Nome del vino */
html body ul.products li.product:not(#uw) .woocommerce-loop-product__title,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-post-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important; font-size: 16px !important; font-weight: 700 !important;
  line-height: 1.35 !important; letter-spacing: 0 !important; color: #1f1f1f !important; text-align: left !important; text-transform: none !important;
  margin: 14px 18px 6px !important; padding: 0 !important; height: auto !important; min-height: 2.7em !important; max-height: none !important;
  display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
  background: none !important; position: static !important;
}
html body ul.products li.product:not(#uw) .woocommerce-loop-product__title a,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-post-title a {
  display: inline !important; height: auto !important; min-height: 0 !important; width: auto !important; background: none !important;
  color: inherit !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; text-decoration: none !important; font: inherit !important;
}

/* 50e. Produttore e dettagli */
html body .uw-card-producer {
  font: 700 11.5px/1.3 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: #8c1c34; margin: 0 18px 4px; text-align: left;
}
html body .uw-card-specs { font: 500 12.5px/1.4 'Inter', sans-serif; color: #6f6a66; margin: 0 18px; text-align: left; }

/* vecchie righe duplicate */
html body ul.products li.product:not(#uw) ul.entry-meta,
html body ul.products li.product:not(#uw) .urbewine-card-winery-v3,
html body ul.products li.product:not(#uw) .urbewine-card-specs-v3,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .taxonomy-product_cat,
html body ul.products li.product:not(#uw) .added_to_cart,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .added_to_cart { display: none !important; }

/* 50f. Prezzo in basso a sinistra */
html body ul.products li.product:not(#uw) .price,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-woocommerce-product-price {
  margin: auto 0 0 !important; padding: 16px 76px 20px 18px !important; display: block !important; position: static !important; left: auto !important; top: auto !important; width: auto !important; text-align: left !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important; font-size: 21px !important; font-weight: 800 !important; line-height: 1.1 !important; color: #1f1f1f !important;
}
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-price {
  font: inherit !important; color: inherit !important; text-align: left !important; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important;
}
html body ul.products li.product:not(#uw) .price del,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-price del { font-size: 14px !important; font-weight: 500 !important; color: #9a948f !important; margin-right: 6px !important; }
html body ul.products li.product:not(#uw) .price ins,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-price ins { text-decoration: none !important; color: #8c1c34 !important; }

/* 50g. Carrello in basso a destra */
html body ul.products li.product:not(#uw) .ct-woo-card-actions,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-woocommerce-product-button {
  position: absolute !important; right: 16px !important; bottom: 16px !important; left: auto !important; top: auto !important;
  margin: 0 !important; padding: 0 !important; width: auto !important; display: block !important; opacity: 1 !important; transform: none !important;
}
html body ul.products li.product:not(#uw) .ct-woo-card-actions a.button,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-button__link {
  width: 46px !important; height: 46px !important; min-width: 46px !important; min-height: 46px !important; padding: 0 !important; margin: 0 !important;
  border-radius: 12px !important; border: 0 !important; font-size: 0 !important; color: transparent !important; position: static !important;
  background-color: #8c1c34 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E") !important;
  background-size: 21px !important; background-position: center !important; background-repeat: no-repeat !important;
  box-shadow: 0 6px 14px rgba(140, 28, 52, .22) !important; display: block !important; transform: none !important;
}
html body ul.products li.product:not(#uw) .ct-woo-card-actions a.button:hover,
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-button__link:hover { background-color: #6b1d2f !important; }
html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-button__link span { display: none !important; }

/* 50h. Tablet */
@media (min-width: 690px) and (max-width: 999.98px) {
  html body ul.products li.product:not(#uw) figure a.ct-media-container,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image a { height: 280px !important; }
}

/* 50i. Mobile: 2 colonne, bottiglia sempre grande */
@media (max-width: 689.98px) {
  html body ul.products:not(#uw), html body ul.wc-block-product-template:not(#uw) { gap: 12px !important; }
  html body ul.products li.product:not(#uw),
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) { border-radius: 12px !important; }
  html body ul.products li.product:not(#uw) figure,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image { padding: 14px 8px 0 !important; }
  html body ul.products li.product:not(#uw) figure a.ct-media-container,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wc-block-components-product-image a { height: 215px !important; }
  html body ul.products li.product:not(#uw) .woocommerce-loop-product__title,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-post-title { font-size: 13.5px !important; margin: 10px 12px 4px !important; }
  html body .uw-card-producer { font-size: 10.5px; margin: 0 12px 2px; }
  html body .uw-card-specs { font-size: 11.5px; margin: 0 12px; }
  html body ul.products li.product:not(#uw) .price,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-woocommerce-product-price { font-size: 17px !important; padding: 12px 56px 16px 12px !important; }
  html body ul.products li.product:not(#uw) .ct-woo-card-actions,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-woocommerce-product-button { right: 10px !important; bottom: 10px !important; }
  html body ul.products li.product:not(#uw) .ct-woo-card-actions a.button,
  html body ul.wc-block-product-template li.wc-block-product:not(#uw) .wp-block-button__link { width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; background-size: 18px !important; border-radius: 10px !important; }
  html body ul.products li.product:not(#uw) .urbewine-card-badges-v3 { top: 10px !important; left: 10px !important; }
  html body .uw-card-badge { font-size: 9px; padding: 5px 8px; }
}


/* ==========================================================================
   90. HEADER E HERO MOBILE (nuovo in v11)
   ========================================================================== */

/* 90a. Header mobile: non più fisso, compatto (prima occupava metà schermo) */
@media (max-width: 689.98px) {
  html body header.urbewine-callmewine-header { position: relative !important; top: auto !important; }

  /* Barra vantaggi: un messaggio alla volta, su una riga */
  html body .urbewine-callmewine-header .urbewine-top-announcement-bar { height: 32px !important; padding: 0 12px !important; font-size: 12px !important; overflow: hidden !important; }
  html body .urbewine-callmewine-header .urbewine-trust-container { display: block !important; position: relative !important; height: 32px !important; margin: 0 !important; }
  html body .urbewine-callmewine-header .urbewine-trust-item { position: absolute !important; inset: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; white-space: nowrap !important; opacity: 0; animation: uwTopRotate 12s infinite; margin: 0 !important; }
  html body .urbewine-callmewine-header .urbewine-trust-item:nth-child(2) { animation-delay: 4s; }
  html body .urbewine-callmewine-header .urbewine-trust-item:nth-child(3) { animation-delay: 8s; }

  /* Riga logo + icone, ricerca a tutta larghezza sotto */
  html body .urbewine-callmewine-header .urbewine-header-main { padding: 8px 16px 10px !important; }
  html body .urbewine-callmewine-header .urbewine-header-container { gap: 8px 12px !important; align-items: center !important; justify-content: space-between !important; }
  html body .urbewine-callmewine-header .urbewine-header-left { height: auto !important; min-width: 0 !important; }
  html body .urbewine-callmewine-header img.urbewine-logo-img { height: 52px !important; min-height: 0 !important; max-height: 52px !important; max-width: 140px !important; }
  html body .urbewine-callmewine-header .urbewine-header-right { gap: 16px !important; font-size: 20px !important; }
  html body .urbewine-callmewine-header .urbewine-header-center { order: 3 !important; width: 100% !important; flex: 1 1 100% !important; }
  html body .urbewine-callmewine-header .urbewine-search-input { height: 44px !important; min-height: 44px !important; font-size: 16px !important; padding-top: 0 !important; padding-bottom: 0 !important; text-overflow: ellipsis !important; }

  /* Menu categorie: parte dalla prima voce, scorre col dito, senza barra visibile */
  html body .urbewine-callmewine-header .urbewine-sub-header-nav { padding: 0 !important; }
  html body .urbewine-callmewine-header .urbewine-sub-nav-container { justify-content: flex-start !important; gap: 22px !important; padding: 12px 16px !important; overflow-x: auto !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  html body .urbewine-callmewine-header .urbewine-sub-nav-container::-webkit-scrollbar { display: none !important; }
  html body .urbewine-callmewine-header .urbewine-sub-nav-link { font-size: 12.5px !important; padding: 4px 0 !important; flex: 0 0 auto !important; }
}
@keyframes uwTopRotate { 0% { opacity: 0; } 3%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@media (max-width: 689.98px) and (prefers-reduced-motion: reduce) {
  html body .urbewine-callmewine-header .urbewine-trust-item { animation: none !important; opacity: 0 !important; }
  html body .urbewine-callmewine-header .urbewine-trust-item:last-child { opacity: 1 !important; }
}

/* 90b. Hero home mobile: titolo più contenuto, si vedono i pulsanti senza scorrere */
@media (max-width: 689.98px) {
  html body .urbewine-hero-callmewine { padding: 28px 20px 36px !important; }
  html body .urbewine-hero-callmewine .urbewine-hero-title-youthful { font-size: 30px !important; line-height: 1.2 !important; margin-bottom: 12px !important; }
  html body .urbewine-hero-callmewine .urbewine-hero-badge-youthful { font-size: 11px !important; margin-bottom: 10px !important; }
  html body .urbewine-hero-callmewine .urbewine-hero-subtitle-youthful { font-size: 15px !important; }
}

/* 90c. Menu categorie su tablet: stesso comportamento del mobile (scorre dalla prima voce) */
@media (min-width: 690px) and (max-width: 999.98px) {
  html body .urbewine-callmewine-header .urbewine-sub-nav-container { justify-content: flex-start !important; gap: 24px !important; overflow-x: auto !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  html body .urbewine-callmewine-header .urbewine-sub-nav-container::-webkit-scrollbar { display: none !important; }
  html body .urbewine-callmewine-header .urbewine-sub-nav-link { flex: 0 0 auto !important; }
}

/* 90d. Menu categorie su desktop piccoli (1000-1199px): spazi ridotti perché entrino tutte le 8 voci */
@media (min-width: 1000px) and (max-width: 1199.98px) {
  html body .urbewine-callmewine-header .urbewine-sub-nav-container { gap: 16px !important; }
}
