/* =====================================================================
   OR'OLIO – Stili aggiuntivi per le pagine interne
   (si appoggia alle variabili colore di style.css)
   ===================================================================== */

/* ---------- Titolo pagina + breadcrumb ---------- */
.herboil__breadcrumb-area { padding: 45px 0 40px; }
.oo-page-title { font-size: 38px; font-weight: 700; margin: 0 0 8px; }
.breadcrumb-list ul li { font-size: 14px; }

.oo-section { padding: 80px 0 90px; }
.oo-section-sm { padding: 60px 0 70px; }
.oo-lead { font-size: 18px; line-height: 1.8; }
.oo-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.oo-eyebrow { color: var(--main-color-one); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 500; margin-bottom: 10px; }

/* ---------- Header ---------- */
.header-top-menu .oo-count, .herboil__mini-cart .oo-count { font-weight: 700; }
.oo-mini-empty { margin: 0 0 15px; }
.mini-cart-item-content h4 small { color: var(--paragraph-color); font-weight: 400; }

/* ---------- Form ---------- */
.oo-form label { display: block; font-size: 14px; font-weight: 500; color: var(--heading-color); margin-bottom: 6px; }
.oo-form label .req { color: var(--main-color-one); }
.oo-form input[type=text], .oo-form input[type=email], .oo-form input[type=password],
.oo-form input[type=tel], .oo-form input[type=number], .oo-form select, .oo-form textarea {
    width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--border-color-4);
    background: #fff; color: var(--heading-color); margin-bottom: 20px; border-radius: 0; font-size: 15px;
}
.oo-form textarea { height: auto; min-height: 150px; padding: 12px 15px; }
.oo-form input:focus, .oo-form select:focus, .oo-form textarea:focus { border-color: var(--main-color-one) !important; }
.oo-form .oo-help { font-size: 13px; margin: -14px 0 18px; }
.oo-form .btn-wrapper { margin-top: 10px; }
.oo-form button.boxed-btn { cursor: pointer; }
.oo-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.oo-form legend, .oo-form h4.oo-form-title { font-size: 22px; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color-2); width: 100%; }
.oo-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; cursor: pointer; }
.oo-check input { margin-top: 5px; accent-color: var(--main-color-one); width: 16px; height: 16px; flex: 0 0 16px; }
.oo-form .oo-check { font-weight: 400; color: var(--paragraph-color); }

/* Pannello (login, registrazione) */
.oo-panel { background: var(--secondary-color-3); padding: 45px 45px 35px; height: 100%; }
.oo-panel h3 { font-size: 26px; margin-bottom: 10px; }
.oo-panel > p { margin-bottom: 25px; }
.account-login-form .btn-wrapper .boxed-btn { text-align: center; }
.oo-link-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; margin: 5px 0 15px; }
.oo-benefits { list-style: none; padding: 0; margin: 0 0 30px; }
.oo-benefits li { padding: 8px 0 8px 30px; position: relative; }
.oo-benefits li:before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; color: var(--main-color-one); }

/* Messaggi */
.oo-alert { padding: 15px 20px; margin-bottom: 25px; border-left: 4px solid; font-size: 15px; background: #fff; }
.oo-alert-info { border-color: var(--main-color-one); background: var(--secondary-color-3); }
.oo-alert-success { border-color: #6b8e23; background: #f1f6e8; }
.oo-alert-warn { border-color: #d9a400; background: #fff8e1; }
.oo-alert-error { border-color: #c0392b; background: #fdecea; }

.oo-toast {
    position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; z-index: 99999;
    background: var(--heading-color); color: #fff; padding: 14px 24px; font-size: 15px; transition: all .3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.2); max-width: 92%;
}
.oo-toast.show { opacity: 1; transform: translate(-50%, 0); }
.oo-toast a { color: #f3c79f; text-decoration: underline; }
.oo-toast.warn { background: #8a5a00; }

/* Stato vuoto */
.oo-empty { text-align: center; padding: 40px 20px 20px; }
.oo-empty > i { font-size: 60px; color: var(--main-color-one); margin-bottom: 20px; }
.oo-empty h3 { margin-bottom: 10px; }
.oo-empty .btn-wrapper { margin-top: 25px; }

/* ---------- Card prodotto ---------- */
.herboil__product-item { position: relative; }
.oo-badge { position: absolute; top: 15px; left: 15px; z-index: 3; background: var(--main-color-one); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; }
.oo-badge-grey { background: #777; top: 15px; left: auto; right: 60px; }
.oo-wish-btn {
    position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
    border: 0; background: #fff; color: var(--main-color-one); box-shadow: 0 3px 9px rgba(140,140,133,.25); font-size: 16px; padding: 0;
}
.oo-wish-btn .fa-heart, .oo-wish-link .fa-heart { display: none; }
.oo-wish-btn.is-active .fa-heart, .oo-wish-link.is-active .fa-heart { display: inline-block; }
.oo-wish-btn.is-active .fa-heart-o, .oo-wish-link.is-active .fa-heart-o { display: none; }
.herboil__product-item .product-bmi { margin-bottom: 4px; }

/* ---------- Shop ---------- */
.shop-options { margin-bottom: 40px; flex-wrap: wrap; gap: 15px; }
.shop-options h3 { margin: 0; font-size: 26px; }
.shop-options .oo-shop-tools { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.oo-select { height: 44px; border: 1px solid var(--border-color-4); padding: 0 12px; background: #fff; min-width: 200px; color: var(--heading-color); }
.oo-sidebar .widget { margin-bottom: 40px; }
.oo-sidebar .widget-title { font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color-2); }
.oo-sidebar ul { list-style: none; padding: 0; margin: 0; }
.oo-sidebar ul li a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--paragraph-color); }
.oo-sidebar ul li a.active, .oo-sidebar ul li a:hover { color: var(--main-color-one); }
.oo-search { position: relative; }
.oo-search input { width: 100%; height: 46px; border: 1px solid var(--border-color-4); padding: 0 45px 0 14px; }
.oo-search button { position: absolute; right: 0; top: 0; height: 46px; width: 46px; border: 0; background: transparent; color: var(--main-color-one); }
.oo-side-banner { background: var(--section-bg-1); padding: 30px 25px; text-align: center; }
.oo-side-banner h4 { margin-bottom: 8px; }

/* ---------- Dettaglio prodotto ---------- */
.oo-gallery .product-details-large-img-active { overflow: hidden; background: var(--secondary-color); }
.oo-gallery .product-details-large-img img { width: 100%; }
.oo-gallery .product-details-small-img img { cursor: pointer; background: var(--secondary-color); }
.product-details-content .oo-cat { margin: 0 0 5px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.product-details-content .product-title { margin-bottom: 0; }
.oo-format { margin: 2px 0 0; color: var(--paragraph-color); }
.product-details-content .product-price span { color: var(--heading-color); font-weight: 700; }
.product-details-content .product-price del { font-size: 18px; color: #999; margin-left: 10px; }
.oo-stock { font-size: 14px; font-weight: 500; }
.oo-stock.in { color: #5b7d1e; }
.oo-stock.out { color: #c0392b; }
.oo-buy-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 15px; }
.oo-buy-row .btn-wrapper { margin: 0; }
.product-details-buy-btn { margin-top: 0; }
.product-details-buy-btn .boxed-btn { padding: 10px 40px !important; }
.oo-wish-line { margin: 20px 0 10px; }
.oo-wish-link { color: var(--paragraph-color); }
.oo-wish-link i { color: var(--main-color-one); margin-right: 4px; }
.oo-perks { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--border-color-2); }
.oo-perks li { padding: 4px 0; font-size: 14px; }
.oo-perks li i { width: 22px; color: var(--main-color-one); }
.product-details-tab-menu a { cursor: pointer; }
.product-details-tab-content .tab-pane { padding: 10px 0 0; }
.oo-spec-table { width: 100%; max-width: 640px; border-collapse: collapse; }
.oo-spec-table th, .oo-spec-table td { padding: 12px 15px; border-bottom: 1px solid var(--border-color-2); text-align: left; vertical-align: top; }
.oo-spec-table th { width: 40%; color: var(--heading-color); font-weight: 500; background: var(--secondary-color-3); }

/* Quantità */
.oo-qty { display: inline-flex; align-items: stretch; border: 1px solid #ccc; height: 43px; width: 125px; background: #fff; }
.oo-qty-btn { width: 36px; border: 0; background: var(--secondary-color); color: var(--heading-color); font-size: 18px; padding: 0; }
.oo-qty input { width: calc(100% - 72px); border: 0 !important; text-align: center; -moz-appearance: textfield; padding: 0; }
.oo-qty input::-webkit-outer-spin-button, .oo-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-product-count-price .oo-qty { height: 36px; }

/* ---------- Carrello ---------- */
.shoping-cart-table td { vertical-align: top; }
.cart-product-thumbnail img { background: var(--secondary-color); }
.cart-product-count-price ul li { vertical-align: middle; }
.oo-line-total { font-weight: 700; color: var(--heading-color); font-size: 18px; }
.oo-remove { font-size: 14px; color: var(--paragraph-color); }
.shoping-cart-total-inner h4 { margin-bottom: 15px; }
.shoping-cart-total-btn { margin-top: 25px; }
.oo-total-row td { font-size: 18px; color: var(--heading-color); }
.oo-hint { font-size: 14px; color: var(--main-color-one); margin: 10px 0 0; }

/* ---------- Checkout ---------- */
.oo-checkout-box { background: var(--secondary-color-3); padding: 35px 30px; position: sticky; top: 20px; }
.oo-checkout-box h4 { margin-bottom: 20px; }
.oo-sum-items { width: 100%; margin-bottom: 15px; }
.oo-sum-items td { padding: 8px 5px; vertical-align: middle; font-size: 15px; }
.oo-sum-items td:first-child { width: 70px; position: relative; }
.oo-sum-items img { width: 60px; background: #fff; border: 1px solid var(--border-color-2); }
.oo-sum-qty { position: absolute; top: 0; left: 48px; background: var(--main-color-one); color: #fff; border-radius: 50%; width: 22px; height: 22px; text-align: center; line-height: 22px; font-size: 12px; }
.shipping-method { margin-top: 0; margin-bottom: 30px; }
.shipping-method ul li label { font-weight: 400; color: var(--heading-color); }
.shipping-method ul li label small { display: block; color: var(--paragraph-color); }
.shipping-method ul li .check { top: 12px; transform: none; }
.payment-info { font-size: 14px; background: #fff; border: 1px dashed var(--border-color-4); padding: 12px 15px; margin: -5px 0 20px 35px; display: none; }
.oo-pay-icons { margin-left: 8px; color: var(--paragraph-color); font-size: 20px; vertical-align: middle; }
#fattura-campi { display: none; }
.oo-secure { font-size: 13px; text-align: center; margin-top: 15px; }
.oo-secure i { color: var(--main-color-one); }
.oo-checkout-box .btn-wrapper .boxed-btn { display: block; width: 100%; text-align: center; }

/* ---------- Conferma ordine ---------- */
.oo-thanks { text-align: center; margin-bottom: 40px; }
.oo-thanks > i { font-size: 70px; color: #6b8e23; margin-bottom: 15px; }
.shipped-to { margin-top: 0; }

/* ---------- Account ---------- */
.oo-account-side { background: var(--secondary-color-3); padding: 30px 0; }
.oo-account-user { padding: 0 30px 25px; border-bottom: 1px solid var(--border-color-2); margin-bottom: 10px; }
.oo-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--main-color-one); color: #fff; font-size: 28px; line-height: 64px; text-align: center; margin-bottom: 12px; }
.oo-account-user h5 { margin: 0; }
.oo-account-user p { margin: 0; font-size: 14px; word-break: break-all; }
.oo-account-nav { display: block; }
.oo-account-nav a { display: block; padding: 12px 30px; color: var(--paragraph-color); border-left: 3px solid transparent; }
.oo-account-nav a i { width: 24px; color: var(--main-color-one); }
.oo-account-nav a.active, .oo-account-nav a:hover { color: var(--heading-color); background: #fff; border-left-color: var(--main-color-one); }
.oo-account-main h3 { margin-bottom: 20px; }
.oo-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 25px 0; }
.oo-stat { border: 1px solid var(--border-color-2); padding: 25px; display: block; color: var(--paragraph-color); }
.oo-stat i { font-size: 26px; color: var(--main-color-one); margin-bottom: 10px; display: block; }
.oo-stat strong { display: block; color: var(--heading-color); font-size: 18px; }
.oo-orders-table { width: 100%; border-collapse: collapse; }
.oo-orders-table th, .oo-orders-table td { padding: 14px 12px; border-bottom: 1px solid var(--border-color-2); text-align: left; }
.oo-orders-table th { background: var(--secondary-color-3); color: var(--heading-color); font-weight: 500; }

/* ---------- Azienda / contenuti ---------- */
.oo-img-cover { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.oo-values { margin-top: 20px; }
.oo-value { text-align: center; padding: 35px 25px; background: var(--secondary-color-3); height: 100%; }
.oo-value i { font-size: 40px; color: var(--main-color-one); margin-bottom: 18px; }
.oo-value h4 { margin-bottom: 10px; }
.oo-numbers { background: var(--section-bg-1); padding: 60px 0; text-align: center; }
.oo-numbers strong { display: block; font-size: 42px; color: var(--main-color-one); font-weight: 700; line-height: 1.2; }
.oo-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--section-bg-1); }
.oo-timeline li { position: relative; padding: 0 0 30px 30px; }
.oo-timeline li:before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--main-color-one); }
.oo-timeline li h5 { margin-bottom: 4px; }

/* Luoghi */
.oo-place { padding: 60px 0; border-bottom: 1px solid var(--border-color-2); scroll-margin-top: 20px; }
.oo-place:last-child { border-bottom: 0; }
.oo-place img { width: 100%; height: 340px; object-fit: cover; }
.oo-place h2 { margin-bottom: 15px; }
.oo-place-meta { list-style: none; padding: 0; margin: 20px 0; }
.oo-place-meta li { padding: 5px 0; }
.oo-place-meta li i { width: 22px; color: var(--main-color-one); }
.oo-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.oo-chips a { border: 1px solid var(--main-color-one); padding: 8px 20px; color: var(--main-color-one); }
.oo-chips a:hover { background: var(--main-color-one); color: #fff; }

/* Certificati */
.oo-cert { border: 1px solid var(--border-color-2); padding: 30px; height: 100%; display: flex; flex-direction: column; }
.oo-cert > i { font-size: 42px; color: var(--main-color-one); margin-bottom: 15px; }
.oo-cert h4 { margin-bottom: 6px; }
.oo-cert .oo-cert-meta { font-size: 14px; margin-bottom: 15px; }
.oo-cert .btn-wrapper { margin-top: auto; }

/* FAQ */
.oo-faq .card { border: 0; border-bottom: 1px solid var(--border-color-2); border-radius: 0; }
.oo-faq .card-header { background: transparent; border: 0; padding: 0; }
.oo-faq .card-header a { display: block; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 500; color: var(--heading-color); position: relative; }
.oo-faq .card-header a:after { content: "\f068"; font-family: FontAwesome; position: absolute; right: 5px; top: 22px; color: var(--main-color-one); font-size: 14px; }
.oo-faq .card-header a.collapsed:after { content: "\f067"; }
.oo-faq .card-body { padding: 0 0 20px; }
.oo-faq h3 { margin: 40px 0 10px; }

/* Testi legali */
.oo-legal h2 { font-size: 24px; margin: 40px 0 15px; }
.oo-legal h2:first-child { margin-top: 0; }
.oo-legal ul { padding-left: 20px; }
.oo-legal ul li { list-style: disc; margin-bottom: 6px; }
.oo-legal table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.oo-legal table th, .oo-legal table td { padding: 10px 12px; border: 1px solid var(--border-color-2); text-align: left; }
.oo-legal table th { background: var(--secondary-color-3); }
.oo-updated { font-size: 14px; font-style: italic; }

/* Contatti */
.oo-contact-item { display: flex; gap: 18px; margin-bottom: 30px; }
.oo-contact-item i { font-size: 22px; color: var(--main-color-one); width: 50px; height: 50px; line-height: 50px; text-align: center; background: var(--secondary-color-3); border-radius: 50%; flex: 0 0 50px; }
.oo-contact-item h5 { margin: 0 0 3px; }
.oo-contact-item p { margin: 0; }
.oo-map { width: 100%; height: 380px; border: 0; display: block; background: var(--secondary-color); }

/* 404 */
.oo-404 { text-align: center; padding: 120px 0; }
.oo-404 strong { font-size: 140px; line-height: 1; color: var(--main-color-one); display: block; font-weight: 700; }

/* Utilità */
.margin-top-30 { margin-top: 30px; }
.margin-top-60 { margin-top: 60px; }
.margin-top-80 { margin-top: 80px; }
.btn-wrapper .boxed-btn + .boxed-btn { margin-left: 10px; }

@media (max-width: 991px) {
    .oo-panel { padding: 30px 25px; margin-bottom: 30px; height: auto; }
    .oo-checkout-box { margin-top: 30px; position: static; }
    .oo-account-side { margin-bottom: 30px; }
    .oo-sidebar { margin-top: 50px; }
    .oo-place img { height: 260px; margin-bottom: 25px; }
}
@media (max-width: 575px) {
    .oo-page-title { font-size: 28px; }
    .oo-section { padding: 50px 0 60px; }
    .cart-product-thumbnail { min-width: 90px; max-width: 90px; }
    .cart-product-info { padding-left: 15px; }
    .cart-product-count-price ul li { margin-bottom: 10px; }
    .btn-wrapper .boxed-btn + .boxed-btn { margin-left: 0; margin-top: 10px; }
    .oo-404 strong { font-size: 90px; }
}

/* =====================================================================
   VERSIONE MOBILE / TABLET  (correzioni impaginazione)
   ===================================================================== */
.oo-mobile-icons { display: none; }
.oo-lbl-short { display: none; }

/* Su schermi touch il pulsante "Aggiungi al carrello" è sempre visibile */
@media (hover: none), (max-width: 991px) {
    .herboil__product-item { margin-bottom: 30px; padding-bottom: 15px; }
    .herboil__product-item .product-hover-action,
    .herboil__product-item:hover .product-hover-action {
        position: static; opacity: 1; visibility: visible; box-shadow: none;
        border-bottom: 0; padding: 0 12px; bottom: auto;
    }
    .herboil__product-item:hover { box-shadow: none; }
}

@media (max-width: 991px) {
    /* --- Header: logo centrato, niente selettore valuta --- */
    .herboil__header-top-area { padding: 0; }
    .header-top-inner { justify-content: center !important; padding: 8px 0 !important; min-height: 0 !important; }
    .header-top-inner .header-top-left,
    .header-top-inner .header-top-right { display: none !important; }
    .header-top-logo { width: auto !important; text-align: center; margin: 0 auto; }
    .header-top-logo img { max-height: 44px; width: auto; }

    /* --- Barra menu: altezza fissa, niente sovrapposizioni --- */
    .herboil__navbar-area { border-bottom: 1px solid var(--border-color-2); }
    .herboil__navbar-inner { min-height: 56px; padding: 0 !important; position: relative; }
    .mean-container .mean-bar { position: relative !important; float: none; min-height: 0; height: 0; z-index: 999 !important; }
    .mean-container a.meanmenu-reveal { top: 11px !important; left: 0 !important; border-color: var(--heading-color) !important; }
    .mean-container a.meanmenu-reveal span { background: var(--heading-color) !important; }
    .mean-container .mean-nav { margin-top: 56px !important; left: -15px; right: -15px; width: auto !important; z-index: 9999; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
    .mean-container .mean-nav ul li a { color: #fff; font-size: 15px; }
    .header-search-minicart { display: none !important; }
    .oo-mobile-icons {
        display: flex; align-items: center; gap: 6px;
        position: absolute; right: 0; top: 0; height: 56px; z-index: 5;
    }
    .oo-mobile-icons a { position: relative; width: 42px; height: 42px; line-height: 42px; text-align: center; font-size: 20px; color: var(--heading-color); }
    .oo-mobile-icons .oo-dot {
        position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px;
        border-radius: 9px; background: var(--main-color-one); color: #fff; font-size: 11px; font-weight: 700;
    }
    .oo-mobile-icons .oo-dot:empty, .oo-mobile-icons .oo-dot.is-zero { display: none; }

    /* --- Titolo pagina --- */
    .herboil__breadcrumb-area { padding: 28px 0 24px; }

    /* --- Dettaglio prodotto --- */
    .oo-gallery { margin-bottom: 30px; }
    .product-details-small-img { width: 100% !important; float: none !important; margin: 0 0 10px !important; }
    .product-details-small-img .slick-slide { margin: 0 5px; }
    .product-details-content .product-title { font-size: 28px; }
    .product-details-tab-menu { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .product-details-tab-menu a { flex: 0 0 auto; font-size: 15px; padding: 11px 16px; white-space: nowrap; }
    .margin-top-80 { margin-top: 50px; }

    /* --- Shop --- */
    .shop-options { margin-bottom: 25px; }
}

@media (max-width: 767px) {
    /* Slider home */
    .herboil__slide-item-inner { padding: 40px 0 50px !important; }
    .herboil__slide-content h1 { font-size: 28px !important; }
    .herboil__slide-content h2 { font-size: 19px !important; }
    .herboil__slide-content .btn-wrapper { margin-top: 20px !important; }
    .herboil__slide-img { margin-top: 25px; text-align: center; }
    .herboil__slide-img img { max-height: 280px; width: auto !important; display: inline-block !important; }
    .herboil__slider-area .slick-dots { bottom: 15px !important; }
    .herboil__section-title .section-title { font-size: 28px; }
    .herboil__product-area { margin-top: 50px !important; }

    /* Schede prodotto: 2 per riga, più compatte */
    .herboil__product-item .product-info { padding: 12px 8px 10px !important; }
    .herboil__product-item .product-title { font-size: 15px !important; line-height: 1.3; margin-bottom: 2px; }
    .herboil__product-item .product-bmi { font-size: 13px; }
    .herboil__product-item .product-price { font-size: 14px; }
    .herboil__product-item .product-price del { display: block; font-size: 12px; }
    .herboil__product-item .product-hover-action { padding: 0 8px !important; }
    .herboil__product-item .product-hover-action ul li { display: block; margin: 0; }
    .herboil__product-item .add-to-cart-btn { display: block; width: 100%; padding: 0 6px; font-size: 12px; height: 36px; line-height: 34px; }
    .oo-lbl-long { display: none; }
    .oo-lbl-short { display: inline; }
    .oo-wish-btn { width: 32px; height: 32px; font-size: 14px; top: 8px; right: 8px; }
    .oo-badge { top: 8px; left: 8px; font-size: 11px; padding: 2px 6px; }
    .oo-badge-grey { top: 34px; right: auto; left: 8px; }
    .row > .col-6 { padding-left: 8px; padding-right: 8px; }
    #shop-grid, #home-products, #related-products, #wishlist-content .row { margin-left: -8px; margin-right: -8px; }

    /* Pulsanti a tutta larghezza */
    .oo-buy-row { gap: 12px; }
    .oo-buy-row .oo-qty { width: 125px; }
    .oo-buy-row .btn-wrapper { flex: 1; }
    .oo-buy-row .btn-wrapper .boxed-btn, .product-details-buy-btn .boxed-btn { display: block; width: 100%; text-align: center; padding-left: 10px !important; padding-right: 10px !important; }
    .oo-btn-row .boxed-btn, .shoping-cart-btn-area .boxed-btn, .oo-empty .boxed-btn { display: block; width: 100%; text-align: center; margin: 0 0 10px !important; }
    .btn-wrapper .boxed-btn + .boxed-btn { margin-left: 0; margin-top: 10px; }

    /* Carrello: foto a sinistra, dati a destra */
    .shoping-cart-table tr { display: flex !important; align-items: flex-start; padding: 18px 0; }
    .shoping-cart-table tr td { display: block !important; text-align: left !important; }
    .cart-product-thumbnail { min-width: 85px !important; max-width: 85px !important; margin: 0 !important; }
    .cart-product-info { padding: 0 0 0 15px !important; flex: 1; }
    .cart-product-info .product-title { font-size: 17px; margin-bottom: 2px; }
    .cart-product-count-price { margin-top: 10px !important; padding-top: 0 !important; border-top: 0 !important; }
    .cart-product-count-price ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; }
    .cart-product-count-price ul li { display: block !important; margin: 0 !important; }
    .oo-line-total { font-size: 16px; }
    .shoping-cart-btn-area ul li { display: block; margin: 0; }
    .shoping-cart-total-inner { padding: 25px 20px 30px !important; margin-top: 20px; }

    /* Checkout */
    .oo-checkout-box { padding: 25px 18px; }
    .payment-info { margin-left: 0; }
    .shipping-method ul li { padding-left: 32px; }

    /* Account */
    .oo-account-side { padding: 20px 0; }
    .oo-account-user { display: flex; align-items: center; gap: 15px; padding: 0 20px 18px; }
    .oo-avatar { margin: 0; flex: 0 0 56px; width: 56px; height: 56px; line-height: 56px; font-size: 24px; }
    .oo-account-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .oo-account-nav a { flex: 0 0 auto; padding: 10px 14px; border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; }
    .oo-account-nav a.active, .oo-account-nav a:hover { border-bottom-color: var(--main-color-one); }
    .oo-stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .oo-stat { padding: 16px; font-size: 13px; }
    .oo-orders-table { font-size: 14px; }
    .oo-orders-table th, .oo-orders-table td { padding: 10px 8px; white-space: nowrap; }

    /* Contenuti */
    .oo-place { padding: 40px 0; }
    .oo-place img { height: 220px; margin-bottom: 20px; }
    .oo-place h2 { font-size: 26px; }
    .oo-numbers strong { font-size: 34px; }
    .oo-img-cover { min-height: 240px; }
    .oo-panel { padding: 25px 18px; }
    .oo-map { height: 280px; }
    .oo-faq .card-header a { font-size: 16px; }
    .oo-toast { left: 15px; right: 15px; transform: translateY(30px); max-width: none; }
    .oo-toast.show { transform: translateY(0); }
    .oo-form input[type=text], .oo-form input[type=email], .oo-form input[type=password],
    .oo-form input[type=tel], .oo-form input[type=number], .oo-form select { height: 48px; font-size: 16px; } /* 16px evita lo zoom automatico su iPhone */
    .oo-form textarea { font-size: 16px; }
}

/* Schede prodotto della stessa riga alla stessa altezza (telefono/tablet) */
@media (max-width: 991px) {
    #shop-grid > [class*=col-], #home-products > [class*=col-], #related-products > [class*=col-], #wishlist-content .row > [class*=col-] { display: flex; }
    #shop-grid .herboil__product-item, #home-products .herboil__product-item,
    #related-products .herboil__product-item, #wishlist-content .herboil__product-item { display: flex; flex-direction: column; width: 100%; }
    .herboil__product-item .product-info { flex: 1 0 auto; }
    .herboil__product-item .product-hover-action { margin-top: auto; }

    /* Shop: filtri sopra i prodotti, compatti */
    .oo-sidebar { margin-top: 0; margin-bottom: 25px; }
    .oo-sidebar .widget { margin-bottom: 18px; }
    .oo-sidebar .widget-title { display: none; }
    .oo-sidebar #shop-categories { display: flex; flex-wrap: wrap; gap: 8px; }
    .oo-sidebar #shop-categories li a { display: inline-block; padding: 6px 14px; border: 1px solid var(--border-color-4); font-size: 14px; }
    .oo-sidebar #shop-categories li a span { display: none; }
    .oo-sidebar #shop-categories li a.active { border-color: var(--main-color-one); background: var(--main-color-one); color: #fff; }
    .oo-sidebar .oo-side-banner { display: none; }
    .oo-sidebar .oo-check { margin-bottom: 0; }
    .shop-options h3 { font-size: 22px; }
}
@media (max-width: 991px) {
    .oo-sidebar #shop-categories li a { height: 36px; line-height: 22px; box-sizing: border-box; }
}
@media (max-width: 767px) {
    .oo-account-user { display: grid !important; grid-template-columns: 56px 1fr; column-gap: 15px; align-items: center; }
    .oo-account-user .oo-avatar { grid-row: span 2; }
    .oo-account-user h5, .oo-account-user p { grid-column: 2; }
}
