/* =========================
   WooCommerce - Alveare Ossolano
   ========================= */


/* Box prodotto */
.single-product div.product div.summary {
    background: #ffffff;
    padding: 42px 38px;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(216, 155, 0, 0.18);
}

/* Titolo prodotto */
.single-product .product_title {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 18px;
    color: #050505;
}

/* Prezzo */
.single-product p.price,
.single-product span.price {
    font-size: 28px;
    font-weight: 700;
    color: #050505;
    margin-bottom: 46px;
}

/* Area quantità + bottone */
.single-product form.cart {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 0;
    margin-bottom: 34px;
}

/* Wrapper quantità */
.single-product form.cart .quantity {
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

/* Input quantità */
.single-product .quantity input.qty {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid rgba(216, 155, 0, 0.28);
    background: #fffaf0;
    font-size: 22px;
    font-weight: 700;
    color: #050505;
    text-align: center;
    box-shadow: none;
}

/* Pulsanti + e - di Salient/WooCommerce */
.single-product .quantity .minus,
.single-product .quantity .plus {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    color: #6e6e6e;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.single-product .quantity .minus:hover,
.single-product .quantity .plus:hover {
    background: #d89b00;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Bottone carrello centrato */
.single-product button.single_add_to_cart_button,
.single-product .single_add_to_cart_button {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 270px;
    min-height: 56px;
    margin: 0 auto !important;
    padding: 16px 28px !important;
    border-radius: 8px !important;
    background: #d89b00 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 26px rgba(216, 155, 0, 0.24);
    transition: all 0.2s ease;
}

.single-product button.single_add_to_cart_button:hover,
.single-product .single_add_to_cart_button:hover {
    background: #bd8700 !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(216, 155, 0, 0.32);
}

/* Meta prodotto */
.single-product .product_meta {
    margin-top: 0;
    font-size: 14px;
    color: #635546;
}

.single-product .product_meta a {
    color: #d89b00;
    font-weight: 700;
}


/* =========================
   Sezioni prodotto senza tab
   ========================= */

.single-product .woocommerce-tabs {
    display: none !important;
}

.alveare-product-sections {
    max-width: 1180px;
    margin: 80px auto 0;
    padding: 0 20px 40px;
}

.alveare-product-sections-inner {
    display: grid;
    gap: 34px;
}

.alveare-product-section {
    background: #ffffff;
    border-radius: 28px;
    padding: 38px 44px;
    border: 1px solid rgba(216, 155, 0, 0.18);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.045);
}

/* Titoli sezioni: senza evidenziazione laterale */
.alveare-product-section h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 24px;
    padding: 0;
    color: #050505;
    font-weight: 800;
}

.alveare-product-section h2:before,
.alveare-product-section h2:after {
    display: none !important;
    content: none !important;
}

/* Testo descrizione */
.alveare-product-section p {
    font-size: 18px;
    line-height: 1.75;
    color: #171717;
    margin-bottom: 0;
}

/* Rimuove eventuale bordo/evidenziazione nella descrizione */
.alveare-product-section blockquote,
.alveare-product-section .woocommerce-product-details__short-description,
.alveare-product-section .description {
    border-left: 0 !important;
    padding-left: 0 !important;
}


/* =========================
   Informazioni aggiuntive
   ========================= */

/* Toglie doppio sfondo e doppio bordo */
.alveare-product-section table.shop_attributes {
    width: 100%;
    border: 0 !important;
    background: transparent !important;
    margin: 0;
    box-shadow: none !important;
}

.alveare-product-section table.shop_attributes tbody,
.alveare-product-section table.shop_attributes tr,
.alveare-product-section table.shop_attributes th,
.alveare-product-section table.shop_attributes td {
    background: transparent !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}



.alveare-product-section table.shop_attributes th,
.alveare-product-section table.shop_attributes td {
    padding: 18px 0 !important;
    font-size: 16px;
    color: #111111;
    text-align: left;
}

.alveare-product-section table.shop_attributes th {
    width: 150px;
    font-weight: 800;
}

.alveare-product-section table.shop_attributes td p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}


/* Mobile */
@media (max-width: 768px) {
    .single-product div.product div.summary {
        padding: 34px 26px;
        border-radius: 24px;
    }

    .single-product .product_title {
        font-size: 36px;
    }

    .single-product p.price,
    .single-product span.price {
        font-size: 26px;
        margin-bottom: 38px;
    }

    .single-product form.cart {
        gap: 24px;
    }

    .single-product button.single_add_to_cart_button,
    .single-product .single_add_to_cart_button {
        max-width: 100%;
    }

    .alveare-product-sections {
        margin-top: 54px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .alveare-product-section {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .alveare-product-section h2 {
        font-size: 26px;
    }

    .alveare-product-section p {
        font-size: 16px;
    }

    .alveare-product-section table.shop_attributes th,
    .alveare-product-section table.shop_attributes td {
        display: block;
        width: 100%;
        padding: 10px 0 !important;
    }

    .alveare-product-section table.shop_attributes th {
        padding-bottom: 2px !important;
    }

    .alveare-product-section table.shop_attributes td {
        padding-top: 2px !important;
    }
}

/* Rimuove definitivamente i bordi della tabella Informazioni aggiuntive */
.single-product .alveare-product-section table.shop_attributes,
.single-product .alveare-product-section table.shop_attributes tbody,
.single-product .alveare-product-section table.shop_attributes tr,
.single-product .alveare-product-section table.shop_attributes th,
.single-product .alveare-product-section table.shop_attributes td {
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Alcuni temi applicano il bordo al primo/ultimo elemento */
.single-product .alveare-product-section table.shop_attributes tr:first-child,
.single-product .alveare-product-section table.shop_attributes tr:last-child,
.single-product .alveare-product-section table.shop_attributes th:first-child,
.single-product .alveare-product-section table.shop_attributes td:last-child {
    border: none !important;
    border-bottom: none !important;
}

/* Pseudo-elementi eventuali del tema */
.single-product .alveare-product-section table.shop_attributes:before,
.single-product .alveare-product-section table.shop_attributes:after,
.single-product .alveare-product-section table.shop_attributes tr:before,
.single-product .alveare-product-section table.shop_attributes tr:after,
.single-product .alveare-product-section table.shop_attributes td:before,
.single-product .alveare-product-section table.shop_attributes td:after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Spaziatura pulita */
.single-product .alveare-product-section table.shop_attributes {
    margin: 0 !important;
    border-collapse: collapse !important;
}

.single-product .alveare-product-section table.shop_attributes th,
.single-product .alveare-product-section table.shop_attributes td {
    padding: 10px 0 !important;
}

.single-product .alveare-product-section table.shop_attributes tr {
    display: flex;
    align-items: center;
    gap: 80px;
}

.single-product .alveare-product-section table.shop_attributes th {
    width: auto !important;
    min-width: 70px;
    font-weight: 800;
}

.single-product .alveare-product-section table.shop_attributes td {
    font-weight: 500;
}

.single-product .alveare-product-section table.shop_attributes td p {
    margin: 0 !important;
}