﻿﻿/* 
 * ======================================================================================
 *  MASTER CSS - DOCTORPOINT.IT
 * --------------------------------------------------------------------------------------
 *  ORGANIZATION INDEX:
 *  1.  GLOBAL RESET & BASE STYLES
 *  2.  TYPOGRAPHY & UTILITIES (Colors, Alignments, Helpers)
 *  3.  LAYOUT STRUCTURE (Body, Container, Columns)
 *  4.  HEADER SECTION (Top Bar, Logo, Navigation, Search)
 *  5.  HERO SECTION
 *  6.  SIDEBAR & MENUS (Tree, Categories, Info Boxes)
 *  7.  PRODUCT LISTING (Grid, Cards, Product Box)
 *  8.  PRODUCT DETAIL & REVIEWS
 *  9.  CART & CHECKOUT (Tables, Forms, Steps)
 *  10. UI COMPONENTS (Autocomplete, Cookie Banner, Messages)
 *  11. FOOTER SECTION
 *  12. PRINT STYLES
 * ======================================================================================
 */


/* ======================================================================================
 *  1. GLOBAL RESET & BASE STYLES
 * ====================================================================================== */
* {
    margin: 0;
    padding: 0;
}

body {
    font: 100% 'Montserrat';
    background-color: #f1f1f1;
}

img {
    border-style: none;
}

a {
    color: #13499a;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* General Heading Reset if needed, currently mostly h3 specific */
}

h3 {
    font-size: 1.2em;
}

#body-foto {
    font: 84% 'Montserrat';
    text-align: center;
    padding: 5px;
    background-color: #333;
}

/* ======================================================================================
 *  2. TYPOGRAPHY & UTILITIES
 * ====================================================================================== */
/* Font Styles */
.grassetto,
.fbold,
.tobold {
    font-weight: bold;
}

.corsivo {
    font-style: italic;
}

.strike {
    text-decoration: line-through;
}

.underline {
    text-decoration: underline;
    color: #13499a;
}

.arancione {
    font-weight: bold;
    color: #ff4405;
}

.money {
    color: Green;
}

.cred {
    color: red;
}

/* Colors Helpers */
.totverde {
    font-weight: bold;
    color: Green;
}

.totblu {
    font-weight: bold;
    color: #36c;
}

.blu {
    color: #36c;
}

.grigio {
    color: #999;
}

.verde {
    color: Green;
}

.totgrigio {
    font-weight: bold;
    color: #999;
}

.labelGima {
    font-weight: bold;
    color: Green;
}

/* Alignment Utilities */
.clear {
    clear: both;
}

.marginauto {
    margin-right: auto;
    margin-left: auto;
}

.AlignCenter,
.tcenter {
    text-align: center;
}

.AlignRight {
    text-align: right;
}

.AlignLeft {
    text-align: left;
}

.Margin5px {
    margin: 5px;
}

/* Floats */
.FloatRight {
    left: 0;
    float: right;
    position: relative;
    top: 0;
}

.FloatLeft {
    float: left;
    position: relative;
    top: 0;
    left: 7px;
    width: 135px;
}

.FloatLeftlist {
    float: left;
    position: relative;
    top: 0;
    left: 7px;
}

.FloatLeft1 {
    float: left;
    position: relative;
}

/* Width Helpers */
.w75 {
    width: 75%;
}

.w80 {
    width: 80%;
}

.w100 {
    width: 100%;
}

/* Spacing Helpers */
.mtop5 {
    margin-top: 5px;
}

.mtop10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

/* Visibility */
.hide {
    display: none;
}

.hos {
    display: none;
}

.nascosto_mobile {
    /* See Media Queries */
}


/* ======================================================================================
 *  3. LAYOUT STRUCTURE
 * ====================================================================================== */
#body {
    width: 100%;
    margin: 0 auto;
    max-width: 950px;
}

#base {
    clear: both;
    text-align: center;
    font-size: .8em;
}

/* Columns System */
#colonna_sx,
#colonna_dx {
    float: left;
    width: 200px;
    margin-left: -100%;
}

#colonna_dx {
    float: left;
    width: 200px;
    margin-left: -200px;
    text-align: right;
}

#contenuto_sx,
#contenuto_dx {
    text-align: center;
    width: 100%;
}

#contenuto_dx {
    float: right;
    margin-right: 10px;
}

#contenuto_sx {
    margin-left: 10px;
}

#colonna_centrale {
    float: left;
    width: 100%;
}

#centrale {
    margin-left: 220px;
    margin-right: 220px;
    margin-top: 10px;
}

.centro-colonne {
    margin: 0 auto;
    clear: both;
}

/* Middle Content Blocks */
.centro-colonne .centro-top-sx {
    background: #13499a;
    padding: 0;
    width: 100%;
    text-align: left;
}

.centro-colonne .centro-top-sx .centro-top-dx {
    background: #13499a;
    margin-left: 4px;
}

.centro-colonne .centro-top-sx .centro-top-dx .centro-top,
.centro-top-ord {
    background: #13499a;
    height: 24px;
    margin-right: 4px;
    text-align: left;
    color: #fff;
    line-height: 24px;
    min-height: 24px;
    height: auto;
}

.centro-top-ord {
    position: relative;
}

.centro-mezzo,
.centro-mezzo-prodotti,
.centro-mezzo-news,
.centro-mezzo-gestione {
    background-color: #FFF;
    padding: 5px 0 0 0;
    font-size: .9em;
    border-radius: 15px;
}

.centro-mezzo {
    padding-bottom: 10px;
    border-radius: 15px;
}

div.centro-mezzo li {
    margin-left: 20px;
}

/* Specific list styling */

.centro-mezzo-prodotti {
    padding: 10px 10px;
}

.centro-mezzo-news {
    min-height: 55em;
    padding: 20px 20px 0 20px;
    line-height: 2.8em;
}

.centro-mezzo-gestione {
    /* Base style shared above */
}

.sfondo_azzurro_centro {
    background-color: #dff4ff;
    border-radius: 15px;
}

/* Page Skeleton Helpers */
.scheletro-pagina {
    clear: both;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
}

#centra_intestazione {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#SpazioTop,
#SpazioTop2 {
    max-width: 100%;
    box-sizing: border-box;
}


/* ======================================================================================
 *  4. HEADER SECTION
 * ====================================================================================== */
#site-header {
    display: flex;
    flex-direction: column;
    background-color: #13499a;
    /* Tuo colore principale */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    width: 100%;
}

/* Top Bar (Phone/Mobile) */
.header-top-bar {
    background-color: #0e3675;
    /* Blu più scuro per contrasto */
    color: #ffffff;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
}

.top-bar-container {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
}

.top-bar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-text {
    color: #FFD700;
    font-weight: 600;
}

/* On mobile, stack them or hide checks */
@media (max-width: 768px) {

    .top-bar-left,
    .top-bar-center {
        display: none;
    }

    .top-bar-container {
        justify-content: flex-end;
    }
}

.top-phone-link {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s;
}

.top-phone-link:hover {
    opacity: 0.8;
    color: #b3d4fc !important;
}

/* Main Row (Logo, Search, Cart) */
.header-main-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Logo - Ricerca elastica - Banner */
    align-items: center;
    gap: 30px;
    padding: 15px 20px;
}

.header-logo img {
    max-height: 90px;
    width: auto;
    display: block;
}

/* Navigation Row */
.header-nav-row {
    background-color: rgba(0, 0, 0, 0.15);
    /* Sfondo leggermente scuro trasparente */
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Header Search */
.header-search {
    width: 100%;
    max-width: 100%;
}

.search-wrapper {
    width: 100%;
    animation: fadeInUp 0.5s ease;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #e6f2ff;
    /* Azzurrino */
    border-radius: 50px;
    padding: 4px;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: #13499a;
}

.search-container:focus-within {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(55, 139, 199, 0.15);
    transform: translateY(-1px);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 20px;
    color: #000000;
    outline: none;
    font-weight: 400;
}

.search-input::placeholder {
    color: #95a5a6;
    font-weight: 300;
}

.search-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #13499a;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(55, 139, 199, 0.3);
    border: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    background-color: #13499a;
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
    color: transparent;
}

.search-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(55, 139, 199, 0.4);
}

.search-button:active {
    transform: scale(0.95);
}

.search-advanced-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #13499a;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
}

.search-advanced-button svg {
    transition: transform 0.3s ease;
}

/* Header Contacts & Cart */
.header-contacts {
    display: flex;
    align-items: center;
}

.header-cart {
    height: 60px;
    width: auto;
    background: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#linkcarrello {
    position: relative;
    top: 3px;
}

.img_assistenza {
    max-width: 180px;
    height: auto;
    transition: opacity 0.3s ease;
}

.img_assistenza:hover {
    opacity: 0.8;
}

.img_assistenza {
    height: 90px;
    float: right;
    margin-right: 14px;
}

/* Legacy ovverride */
.img_assistenza2 {
    height: 90px;
}


/* Legacy Top Menu (Old structure if still used) */
#MenuTop {
    background: #ffffff;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    /* Legacy floats */
    float: right;
    width: 175px;
    margin-top: 10px;
}

ul.puntoTOP {
    list-style-type: none;
    line-height: 23px;
    color: #039;
    font-weight: bold;
    vertical-align: middle;
    text-transform: uppercase;
}

ul.puntoTOP li {
    padding: 0 0 0 20px;
    background: url('images/tasti/pallino.png') 0 center no-repeat;
    vertical-align: middle;
    font-size: .9em;
}

.puntoTOP a {
    color: #ffffff;
}

.puntoTOP a:hover {
    color: gray;
    text-decoration: underline;
}

/* Header Responsive */
@media (max-width: 1024px) {
    .header-main-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .header-logo {
        margin: 0 auto;
        justify-content: center;
    }

    #site-header {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .header-contacts {
        justify-content: center;
    }

    @media only screen and (max-device-width :1024px) {
        ul.puntoTOP li {
            font-size: .8em;
        }
    }
}

@media (max-width: 768px) {
    #site-header {
        padding: 15px;
    }

    .search-container {
        padding: 3px;
        gap: 6px;
    }

    .search-input {
        padding: 12px 12px;
        font-size: 14px;
    }

    .search-button {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .search-advanced-button {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .search-advanced-button svg {
        width: 16px;
        height: 16px;
    }

    .puntoTOP {
        flex-direction: column;
        gap: 10px;
    }

    /* Mobile Cart Image */
    #ImgCarrello {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        margin: 10px auto;
    }
}

@media (max-width: 600px) {
    .nascosto_mobile {
        display: none;
    }

    .top-bar-container {
        justify-content: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .search-advanced-button {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .search-input {
        padding: 10px 8px;
        font-size: 13px;
    }

    .header-logo img {
        max-height: 45px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ======================================================================================
 *  5. HERO SECTION
 * ====================================================================================== */
.hero-section {
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 15px;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.btn-primary {
    background-color: #378bc7;
    color: white !important;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background-color: #2a6d9e;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid #378bc7;
    color: #378bc7 !important;
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: #378bc7;
    color: white !important;
}

.hero-features {
    display: flex;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Floating Animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

/* Hero Responsive */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }
}


/* ======================================================================================
 *  6. SIDEBAR & MENUS
 * ====================================================================================== */
.menu-colonne {
    clear: both;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
    border-radius: 15px;
}

.menu-colonne .menu-top-sx {
    padding: 0;
    width: 100%;
    text-align: left;
    margin-top: 10px;
}

.menu-colonne .menu-top-sx .menu-top-dx {
    background: #13499a;
}

.menu-colonne .menu-top-sx .menu-top-dx .menu-top {
    background: #13499a;
    height: 21px;
    text-align: center;
    color: #fff;
    height: auto;
    border-radius: 15px;
}

/* Menu Titles */
h2.titolo-menu-colonneh2,
h3.titolo-menu-colonneh3,
.titolo-menu-colonneh2,
.titolo-menu-colonne2h2 {
    font-weight: bold;
    color: #fff;
    background-color: #13499a;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.titolo-menu-colonneh2 {
    font-size: 1.1em;
    display: block;
}

h1.titolo-menu-colonneh1 {
    color: #fff;
    font-size: .9em;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 15px;
}

h1.titolo-menu-colonne2h2 {
    font-size: .9em;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    width: 89%;
    border-radius: 15px;
}

/* Sidebar Middle Blocks */
.menu-mezzo,
.menu-tree,
.menu-mezzo-ricerca,
.menu-gestione,
.menu-mezzo-orari,
.menu-mezzo-comunica,
.menu-mezzo-carrello {
    background-color: #FFF;
    border-radius: 15px;
}

.menu-tree {
    text-align: left;
    margin: 0;
}

.menu-mezzo-comunica {
    font-size: .9em;
    padding: 5px 5px 0 5px;
    text-align: left;
    border: #039 1px solid;
}

.menu-mezzo-carrello {
    text-align: center;
}

.menu-mezzo-orari {
    margin-bottom: 0;
    padding-bottom: 90px;
    background: #FFF url('images/tasti/mepa2.jpg') center top no-repeat;
    font-size: 1.1em;
    text-align: center;
}

.menu-mezzo-spedizioni {
    height: 100px;
    background: #FFF url('images/tasti/sda.jpg') center center no-repeat;
    text-align: center;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.menu-mezzo-spedizioni1 {
    height: 100px;
    background: #FFF url('images/tasti/brt.jpg') center center no-repeat;
    text-align: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.menu-orari,
.menu-spedizione {
    color: #0060b5;
    font-weight: bold;
}

/* Sidebar Logos/Links */
.logo_linkato {
    display: block;
    width: 145px;
    padding-bottom: 90px;
    background: transparent;
}

.logo-linkato {
    display: block;
    height: 100px;
    width: 180px;
}

.doctor-linkato {
    display: block;
    height: auto;
    width: 100%;
    max-width: 617px;
}

/* Tree Navigation */
.TreeF {
    font-size: .9em;
}

.TreeF a {
    color: maroon;
    background-color: transparent;
    text-decoration: none;
}

.TreeF a:hover {
    color: #95907f;
    text-decoration: underline;
}

.TreeP {
    font-weight: bold;
    text-transform: uppercase;
    font-size: .8em;
}

.TreeP a {
    color: #039;
    background-color: transparent;
    text-decoration: none;
}

.TreeP a:hover {
    color: #95907f;
    text-decoration: underline;
}

.Tree-Top {
    margin-top: -10px;
}

/* News & Novelty Lists */
.novita {
    padding: 0 0 5px 0;
    width: 95%;
}

ul.novita-punto {
    padding: .1em 0 .3em 0;
    list-style-type: none;
    line-height: .9em;
    color: #039;
    font-weight: bold;
}

/* Other Sidebar Elements */
#pagamenti {
    background: url('images/intestazioni/visa.jpg') center top no-repeat;
    height: 50px;
}

#img-presentazione {
    width: 100%;
    z-index: 1;
}

#foto {
    padding: 5px;
    background-color: #fff;
    margin: 5px;
}

div#numeri ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul#numeri li {
    display: inline-block;
    height: 190px;
    margin-left: 4px;
    margin-right: 4px;
}

ul#numeri li a span {
    color: #039;
}

/* Rotations/Banners */
div#rotazione1,
div#rotazione2,
div#rotazione3,
div#rotazione4 {
    float: left;
    margin: 0;
    padding: 0;
    width: 33%;
}

div#rotazione1 ul,
div#rotazione2 ul,
div#rotazione3 ul,
div#rotazione4 ul {
    list-style: none outside none;
    list-style-type: none;
}

div#rotazione1 ul li,
div#rotazione2 ul li,
div#rotazione3 ul li,
div#rotazione4 ul li {
    float: left;
    list-style: none outside none;
    position: absolute;
}


/* ======================================================================================
 *  7. PRODUCT LISTING
 * ====================================================================================== */
/* Product Grid & Cards */
.product-grid {
    display: grid;
    list-style: none;
}

.product-grid-item {
    display: block;
}

.product-card {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: block;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.product-image-container img {
    width: 75%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-container img {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Lazy Loading State */
.product-image-container img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-container img[src]:not([data-src]) {
    opacity: 1;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-title {
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    overflow: hidden;
    min-height: 42px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.product-price {
    margin-top: auto;
    padding-top: 8px;
}

/* Price Styling */
.product-price .siprezzolistino,
.siprezzolistino,
span.siprezzolistino,
.siprezzosoglia,
.product-price .siprezzosoglia {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    display: block;
}

.product-price .noprezzolistino,
.noprezzolistino,
.noprezzolistino span {
    font-size: 16px;
    color: #595959;
    text-decoration: line-through;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.product-price .siprezzosoglia {
    font-size: 22px;
    font-weight: 600;
}

.sisconto,
span.sisconto {
    font-weight: bold;
    color: #000000;
    font-size: 22px;
}

.iva {
    font-size: 0.70em;
}

.totricerca {
    font-weight: bold;
    color: #9fc;
}

/* Legacy List View */
#lista-prodotto {
    padding: 5px;
    margin: 5px 5px 5px 0;
    border: 1px solid #ccc;
    width: 30.5%;
    height: 222px;
    float: left;
    font-size: .9em;
}

.nome-prodotto {
    line-height: 1.1em;
    color: rgb(0, 0, 0);
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

/* Home Table/Cell Styles */
.celleofferte,
td.celleimmagini,
.celleofferteHome {
    border: 1px solid #ccccccc9;
    background-color: #fff;
    border-radius: 15px;
}

.celleofferteHome {
    height: 240px;
    width: 240px;
    display: table;
}

.verticaleOfferte {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

/* Image Columns Home */
.colonnehome {
    float: left;
    margin: 0;
    padding: 0;
    width: 184px;
}

.colonnehome .boxfoto {
    position: relative;
    z-index: 10;
    height: 130px;
    width: 184px;
}

.img_header,
.img_header0,
.img_header1 {
    width: 185px;
    height: 130px;
}

.img_header0 {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-bottomleft: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
}

.img_header1 {
    border-top-right-radius: 9px;
    border-bottom-right-radius: 8px;
    -moz-border-radius-topright: 9px;
    -moz-border-radius-bottomright: 8px;
    -webkit-border-top-right-radius: 9px;
    -webkit-border-bottom-right-radius: 8px;
}

/* Product Responsive */
@media (min-width: 1201px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .product-title {
        font-size: 14px;
        min-height: 38px;
    }

    .product-price .siprezzolistino {
        font-size: 18px;
    }

    .product-price .sisconto {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-title {
        font-size: 13px;
        min-height: 36px;
    }
}


/* ======================================================================================
 *  8. PRODUCT DETAIL & REVIEWS
 * ====================================================================================== */
#contenitore-prodotto {
    margin: 5px 5px 0 5px;
}

#box-prodotto {
    width: 40%;
    float: left;
}

#img-prodotto-griglia {
    margin: 0 auto 10px auto;
    border: 1px solid silver;
    text-align: center;
}

#imgprodotto {
    width: 100%;
}

#desc-prodotto {
    float: left;
    width: 32%;
    margin-left: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.nco-prodotti {
    margin: 0 auto;
    text-align: center;
}

.imgprodottolink {
    position: relative;
    display: inline-block;
}

.imgprodottolink:hover:before {
    content: '';
    display: block;
    background: url('images/tasti/mag.png') center center no-repeat rgba(0, 0, 0, .6);
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0;
    right: 0;
}

/* Image Lists (Mini/Big) */
div#minipics,
#bigpics {
    text-align: center;
}

div#minipics ul,
#bigpics ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div#minipics li {
    display: inline-block;
}

#bigpics li {
    display: inline-block;
    margin: 0 4px 5px;
}

div#minipics a {
    text-decoration: none;
}

div#minipics a:hover {
    color: maroon;
    text-decoration: none;
    background-color: transparent;
}

#bigpics li img {
    max-width: 590px;
}

/* Stars Rating */
.ratingStar {
    font-size: 0;
    width: 13px;
    height: 12px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: block;
    background-repeat: no-repeat;
}

.filledRatingStar {
    background-image: url('Images/tasti/FilledStar.png');
}

.emptyRatingStar {
    background-image: url('Images/tasti/EmptyStar.png');
}

.savedRatingStar {
    background-image: url('Images/tasti/SavedStar.png');
}


/* ======================================================================================
 *  9. CART & CHECKOUT
 * ====================================================================================== */
.paginazione A {
    color: #13499a;
    font-weight: bold;
}

.paginazione A:hover {
    text-decoration: underline;
}

/* Grid Tables */
.grid,
.grid-fine {
    width: 100%;
    margin-top: 10px;
}

.grid-fine {
    margin: 0;
}

.grid h2,
.grid-fine h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    height: 20px;
    line-height: 20px;
    font-size: 1em;
    font-weight: bold;
}

.grid .h2,
.grid-fine .h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    height: 20px;
    line-height: 20px;
    font-size: 1.0;
    font-weight: bold;
}

.grid .datatable,
.grid .datatable1,
.grid .datatable_opt {
    width: 100%;
    color: #666;
    border-style: none;
}

.grid .datatable TH,
.grid .datatable1 TH,
.grid .datatable_opt TH {
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 0;
    text-align: center;
    padding: 2px 4px;
    color: #333;
    border-bottom: solid 2px #bbd9ee;
}

.grid .datatable TD,
.grid .datatable1 TD,
.grid .datatable_opt TD {
    font-size: .9em;
    text-align: left;
    padding: 6px 4px;
    border-bottom: solid 1px #bbd9ee;
}

.grid .datatable1 TD {
    text-align: center;
    padding: 2px 0;
}

.grid .datatable .first,
.grid .datatable1 .first,
.grid .datatable_opt .first {
    padding-left: 10px;
}

/* Cart Table Specifics */
.td-carrello {
    border: 1px dashed silver;
    padding: 2px;
    font-size: .9em;
}

.td-carrello_y {
    border: 1px dashed silver;
    background-color: #ffffe0;
    padding: 2px;
    font-size: .9em;
}

.th-carrello {
    padding: 2px;
    font-size: 1em;
    color: #000;
    line-height: 1.2em;
}

.riga1-carrello {
    background-color: #e8f5fd;
}

.riga2-carrello {
    background-color: #fff;
}

.modifica-carrello {
    background-color: #f7f7f7;
    vertical-align: middle;
}

.intesta-carrello {
    background-color: #FFF;
    font-weight: bold;
    text-align: center;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: silver;
    vertical-align: bottom;
}

.sotto-carrello {
    background-color: #FFF;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
}

/* Checkout Layout */
#box-pagina-carrello {
    float: left;
    width: 22%;
    text-align: center;
}

#div-carrello {
    z-index: 103;
    text-align: center;
    margin: 0 auto;
}

#box-ricalcola {
    z-index: 103;
    width: 100%;
    margin-top: 10px;
}

.ordina-carrello {
    text-align: center;
    margin-top: 10px;
}

.contenitore-ordine {
    margin: 10px 10px 0 10px;
}

.contenitore-testo,
.contenitore-condizioni,
.contenitore-contatti {
    margin: 10px 20px 0 20px;
}

.contenitore-condizioni {
    font-size: 90%;
}

.ordina-ordine,
.ordina-ordine-totale,
.ordina-ordine-omaggio {
    clear: both;
    text-align: center;
    margin: 10px 10px 0 10px;
}

.ordina-ordine-totale {
    text-align: left;
}

.ordina-ordine-omaggio {
    border-bottom-style: dashed;
    border-bottom-width: 1px;
    border-bottom-color: silver;
    padding-bottom: 5px;
}

#ordine-sx {
    width: 100%;
}

#ordine-dx {
    width: 100%;
    text-align: left;
}

.chek-orizzntale {
    margin-left: 8em;
}

#divOmaggio {
    text-align: left;
    margin-top: 5px;
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}

.ScontoCC {
    margin-top: 20px;
    background-color: #ffc;
}

#DivGiaNelCarrello1 {
    background-color: #e5e5e5;
    text-align: center;
    margin-right: 2em;
    margin-left: 2em;
}

#box-sconto-credito {
    margin-right: 2em;
    margin-left: 2em;
}

#box-sconto-credito1 {
    margin-right: 2em;
    margin-left: 2em;
    float: left;
    width: 63%;
}

.sped-gratis {
    height: 40px;
    float: right;
    width: 26%;
    text-align: center;
}

/* Labels & Inputs in Checkout */
.etichette,
.etichettedx,
.etichette-conf,
.etichette-confdx,
.etichette-news {
    width: 11em;
    float: left;
    text-align: right;
    margin-left: -5px;
}

.etichettedx,
.etichette-confdx {
    width: 6em;
}

.etichette-news {
    width: 15em;
}

.etichette-conf,
.etichette-confdx {
    color: #999;
}

.etichette1 {
    width: 160px;
    float: left;
    text-align: right;
    margin-left: -5px;
}

.campi1 {
    width: 300px;
}

.form-error,
.help-block {
    margin-left: 120px;
    display: block;
    color: #b94a48;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 140%;
    font-size: 1.2em;
    font-weight: bold;
}

input[type="text"]:focus,
input[type="password"]:focus {
    background-color: #fdfea0;
}

.drop_ordina {
    -webkit-appearance: none;
    font-size: 1em;
    margin-bottom: 0;
    float: right;
    margin-top: 3px;
}

.drop_down_opzioni {
    color: #fff;
    width: 100%;
    font-size: 12px;
    padding: 5px;
    border: 2px solid #090101;
    box-shadow: 0 0 10px 0 #888;
}

#ctl00_ContentPlaceHolder1_DropDownList1 {
    float: left;
    width: 10%;
}

#ctl00_ContentPlaceHolder1_RadioButtonDitta_1 {
    margin-left: 20px;
}

#ctl00_UpdatePanelcar {
    min-height: 25px;
    margin-right: 10px;
}

#DropDownListpro {
    width: 304px;
}

#tabellaSoglie {
    width: 100%;
}

#tabellaSX {
    vertical-align: top;
    margin-top: 0;
    padding-top: 0;
    border: 0;
    border-right: 1px solid black;
    padding-right: 1px;
    margin-right: 0;
}

#tabellaSXNoBorder,
#tabellaCTNoBorder {
    vertical-align: top;
    margin-top: 0;
    padding-top: 0;
    border: 0;
    padding-right: 0;
}

#tabellaDX {
    vertical-align: top;
    margin-top: 0;
    padding-top: 0;
}

#tabellaCT {
    vertical-align: top;
    margin-top: 0;
    padding-top: 0;
    border: 0;
    border-right: 1px solid black;
    padding-right: 1px;
}

/* Lists helpers within text */
.mid ul li,
td ul li,
span ul li {
    margin-left: 12px;
}

.mid ol li,
td ol li,
span ol li {
    margin-left: 15px;
}


/* ======================================================================================
 *  10. UI COMPONENTS
 * ====================================================================================== */
/* Autocomplete */
.ui-autocomplete {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: none;
    margin-top: 8px;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001 !important;
}

.ui-menu-item {
    padding: 0;
}

.ui-menu .ui-menu-item {
    text-align: left;
}

.ui-menu .ui-menu-item a {
    line-height: 1.0 !important;
    font-size: .9em !important;
}

.ui-state-hover {
    background: #428bca !important;
}

ul>li:nth-child(1) .ui-menu-item a {
    color: black;
    font-weight: bold;
}

.ui-corner-all {
    font-size: 1.1em !important;
}

.ui-menu-item-wrapper {
    padding: 12px 20px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.ui-menu-item-wrapper:hover {
    background: #f0f7fc;
    color: #378bc7;
}

/* Cookie Policy */
#cookie-policy-i {
    display: block;
    z-index: 10000;
    position: fixed;
    background-color: #fff;
    font-size: 12px;
    color: #000;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -2px 2px #0866b8;
    border-top: solid 1px #0866b8;
    text-align: center;
}

.CookieMonsterOk,
.CookieMonsterOk:hover {
    background: #0866b8 none repeat scroll 0 0;
    border: medium none;
    border-radius: 5px;
    color: #fff;
    margin-left: 10px;
    padding: 5px;
}

/* Messages & Errors */
.messaggio-errore {
    z-index: 10000;
}

/* Search Boxes (Legacy) */
#ricerca {
    padding: 0 0 0 15px;
    margin: 5px 10px 0 0;
    background: url('images/tasti/frecce.gif') 0 center no-repeat;
    float: right;
    text-align: right;
}

#ricerca A {
    color: #13499a;
    font-weight: bold;
}

#ricerca A:hover {
    text-decoration: underline;
}

#ricerca-av {
    padding: 0 0 0 15px;
    margin: 5px 0 0 0;
    background: url('images/tasti/frecce.gif') 0 center no-repeat;
    text-align: left;
}

#ricerca-av A {
    color: #13499a;
    font-weight: bold;
}

#ricerca-av A:hover {
    text-decoration: underline;
}

#RicercaBox,
#VCERicerca {
    z-index: 200;
}

/* Layout Images/Placeholders */
.imgsx {
    float: left;
    padding: .5em 1em 1em .8em;
}

.imgdx {
    float: right;
    padding: .5em 1em 1em .8em;
}

.imgMenu {
    margin: 0 auto 6px auto;
    width: 82.5%;
    max-width: 165px;
}

.imgPub {
    margin: 0 3px 6px 3px;
    width: 100%;
}

/* Descriptions & Paragraphs */
.PDescrizione {
    width: 100%;
}

.PSoglie {
    margin-top: 10px;
}

.Popzioni {
    width: 600px;
    margin-top: 10px;
}

.PMessaggi {
    width: 510px;
    margin-top: 10px;
}

.paragrafo,
.p-nascosto,
.p-centrato,
.paragrafo-privacy {
    text-align: left;
    line-height: 1.6em;
    margin-bottom: 1em;
}

.p-centrato {
    text-align: center;
}

.p-nascosto {
    margin-bottom: .5em;
}

.paragrafo-privacy {
    text-align: justify;
    font-weight: bold;
}

h3.testo {
    color: #000;
    font-size: .95em;
}

.Blue-Condizioni {
    text-align: left;
    margin-bottom: .5em;
    color: #039;
    font-weight: bold;
}

.titolo-consegna {
    text-align: center;
    background-color: navy;
}

.td-gestione {
    border: 1px dashed silver;
    padding: 5px;
    font-size: .9em;
}

.datap {
    z-index: 5000;
}

.divListPag {
    text-align: left;
    width: 40%;
    margin: 0 auto 0 auto;
}

.divListOm {
    text-align: left;
    width: 50%;
    margin: 0 auto 0 auto;
}

#ctl00_ContentPlaceHolder1_DescrizioneLabel p img {
    width: 80%;
    height: auto;
}

#ctl00_pubblicita1_Repeater1_ctl00_Image1 {
    border-width: 0;
    margin: 0 auto;
    border: solid 2px #0866b8;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.bb {
    font-size: 1.4em;
}


/* ======================================================================================
 *  11. FOOTER SECTION
 * ====================================================================================== */
#pie_pagina {
    display: none;
}

/* Legacy footer */

#site-footer {
    background-color: #f8f9fa;
    color: #333;
    padding: 40px 0 20px;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
    margin-top: 30px;
    text-align: left;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-col {
    flex: 1 1 200px;
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-col h3 {
    color: #0866B8;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #0866B8;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p,
.footer-col ul li {
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #0866B8;
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: 20px;
    color: #000000;
    font-size: 0.85em;
    width: 100%;
}

.disclaimer {
    margin-bottom: 10px;
    font-style: italic;
    margin-left: auto;
    margin-right: auto;
}

.payment-icons img {
    margin: 0 5px;
    vertical-align: middle;
}

.svg-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.blogin {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-col {
        flex: 1 1 100%;
        text-align: center;
        padding-right: 0;
    }

    #site-footer {
        text-align: center;
    }
}


/* ======================================================================================
 *  12. PRINT STYLES
 * ====================================================================================== */
@media print {
    .nascosto_print {
        display: none !important;
    }

    #site-header {
        box-shadow: none;
        position: static;
    }

    /* 1. Reset Globale */
    body,
    html,
    #form1,
    #body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow-x: hidden !important;
        background-color: #fff !important;
        color: #000 !important;
    }

    /* 2. Appiattimento Struttura */
    .main-container,
    .centro-colonne,
    .centro-top,
    .centro-top-sx,
    .centro-top-dx,
    .centro-mezzo,
    .centro-giu,
    #contenitore-prodotto,
    #colonna_centrale,
    #centrale {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        position: static !important;
        left: auto !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    /* 3. Header & Logo */
    #site-header,
    .header-search,
    .header-nav-row,
    .header-top-bar {
        display: none !important;
    }

    .header-logo {
        display: block !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .header-logo img {
        max-width: 200px !important;
        margin: 0 auto !important;
    }

    /* 4. Nascondi Elementi */
    #search-bar,
    .search-container,
    .pulsantiera-header,
    .menu-laterale,
    #imgbcarrello,
    .ordina-carrello input,
    #BShopping,
    #BOrdina,
    #colonna_sx,
    #colonna_dx,
    #MenuTop,
    #cookie-policy-i,
    .nascosto_mobile,
    .nascosto_print {
        display: none !important;
    }

    /* 5. Tabella Carrello */
    #GridView1 {
        width: 100% !important;
        margin: 15px 0 !important;
        border-collapse: collapse !important;
        font-size: 11px !important;
        page-break-inside: auto;
    }

    #GridView1 th,
    #GridView1 td {
        border: 1px solid #000 !important;
        padding: 5px !important;
        color: #000 !important;
    }

    #GridView1 tr th:last-child,
    #GridView1 tr td:last-child {
        display: none !important;
    }

    .td-carrello[align="right"],
    #GridView1 td:nth-child(4),
    #GridView1 td:nth-child(5),
    #GridView1 td:nth-child(6) {
        text-align: right !important;
    }

    /* 6. Totali */
    .ScontoCC,
    #divSconto,
    .ordina-carrello {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 0 0 !important;
        padding: 5px !important;
        float: none !important;
        clear: both !important;
        background: none !important;
        border: none !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    .ScontoCC span,
    .ScontoCC p,
    #divSconto {
        color: #000 !important;
        white-space: normal !important;
        font-size: 12px !important;
        width: auto !important;
    }

    #divSconto img,
    .sped-gratis img {
        max-width: 80px !important;
        margin-top: 5px !important;
    }

    /* 7. Titoli */
    h1,
    h2,
    h3,
    .titolo-menu-colonneh2 {
        color: #000 !important;
        background: none !important;
        text-align: left !important;
        margin: 10px 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        border-bottom: 1px solid #000 !important;
    }
}

/* Fix Hero on Ultrawide Screens */
@media (min-width: 1921px) {
    .hero-img {
        object-position: center 9% !important;
    }
}