/*
Theme Name: sicilygravelrides.com
Description: Tema WordPress moderno e responsive, completamente compatibile con Elementor e WooCommerce. Ottimizzato per prestazioni e SEO.
Author: sicilygravelrides
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sicilygravelrides
Tags: e-commerce, elementor, responsive, woocommerce, modern, clean
*/

/* Reset e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container principale */
.kemedia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.kemedia-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navigation */
.kemedia-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.kemedia-nav li {
    margin: 0 15px;
}

.kemedia-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.kemedia-nav a:hover {
    color: #007cba;
}

/* Footer */
.kemedia-footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .kemedia-container {
        padding: 0 15px;
    }
    
    .kemedia-nav ul {
        flex-direction: column;
    }
}
/*
 === STILI AGGIUNTIVI KEMEDIA === */

/* Layout e Grid */
.kemedia-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.kemedia-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kemedia-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Immagini responsive */
.kemedia-img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

.kemedia-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contenuto post */
.kemedia-post-content {
    padding: 20px;
}

.kemedia-post-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.4;
}

.kemedia-post-title a:hover {
    color: #007cba;
}

.kemedia-post-meta {
    margin: 10px 0;
    font-size: 0.9em;
    color: #666;
}

.kemedia-post-meta span {
    margin-right: 15px;
}

.kemedia-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.kemedia-read-more:hover {
    background: #005a87;
}

/* Header e Navigation */
.kemedia-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.kemedia-site-title {
    margin: 0;
    font-size: 1.8em;
}

.kemedia-site-title a {
    color: #333;
    text-decoration: none;
}

.kemedia-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.kemedia-hamburger {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.kemedia-hamburger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.kemedia-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.kemedia-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.kemedia-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header carrello */
.kemedia-header-cart {
    position: relative;
}

.kemedia-cart-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
}

.kemedia-cart-count {
    background: #007cba;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    margin-left: 5px;
}

/* Footer */
.kemedia-footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.kemedia-footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.kemedia-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.kemedia-social-icons a {
    margin: 0 10px;
    font-size: 1.5em;
    text-decoration: none;
}

/* WooCommerce Styles */
.kemedia-woocommerce-main {
    padding: 40px 0;
}

.kemedia-shop-header {
    text-align: center;
    margin-bottom: 40px;
}

.kemedia-shop-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
}

.kemedia-products-grid .woocommerce-loop-product__title {
    font-size: 1.1em;
    margin: 10px 0;
}

.kemedia-products-grid .price {
    font-weight: 600;
    color: #007cba;
}

/* Singolo prodotto */
.kemedia-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.kemedia-product-gallery {
    position: relative;
}

.kemedia-product-summary h1 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333;
}

/* Commenti */
.kemedia-comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.kemedia-comment-list {
    list-style: none;
    padding: 0;
}

.kemedia-comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.kemedia-comment-body {
    display: flex;
    gap: 15px;
}

.kemedia-comment-avatar img {
    border-radius: 50%;
}

.kemedia-comment-author {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.kemedia-comment-metadata {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

/* Form commenti */
.kemedia-comment-form-comment textarea,
.kemedia-comment-form-author input,
.kemedia-comment-form-email input,
.kemedia-comment-form-url input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.kemedia-submit-button {
    background: #007cba;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.kemedia-submit-button:hover {
    background: #005a87;
}

/* Paginazione */
.kemedia-pagination {
    text-align: center;
    margin: 40px 0;
}

.kemedia-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.kemedia-pagination .page-numbers:hover,
.kemedia-pagination .page-numbers.current {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

/* Notifiche */
.kemedia-cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.kemedia-notification-show {
    transform: translateX(0);
}

.kemedia-notification-success {
    background: #28a745;
}

.kemedia-notification-error {
    background: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kemedia-header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .kemedia-menu-toggle {
        display: block;
    }
    
    .kemedia-primary-menu {
        display: none;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 4px;
        padding: 20px;
    }
    
    .kemedia-menu-open {
        display: block !important;
    }
    
    .kemedia-primary-menu li {
        margin: 10px 0;
    }
    
    .kemedia-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kemedia-product-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kemedia-footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .kemedia-comment-body {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .kemedia-container {
        padding: 0 10px;
    }
    
    .kemedia-post-content {
        padding: 15px;
    }
    
    .kemedia-shop-title {
        font-size: 2em;
    }
}/* 
=== WIDGET ELEMENTOR CONTENUTI CORRELATI PER CITTÀ === */

.kemedia-related-by-city-widget {
    margin: 40px 0;
}

.kemedia-related-section {
    margin-bottom: 40px;
}

.kemedia-related-section:last-child {
    margin-bottom: 0;
}

.kemedia-related-section-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.kemedia-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.kemedia-related-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kemedia-related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.kemedia-related-item-image {
    position: relative;
    overflow: hidden;
}

.kemedia-related-item-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kemedia-related-item:hover .kemedia-related-item-image img {
    transform: scale(1.05);
}

.kemedia-related-item-content {
    padding: 20px;
}

.kemedia-related-item-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.kemedia-related-item-title a {
    color: #007cba;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kemedia-related-item-title a:hover {
    color: #005a87;
}

.kemedia-related-item-excerpt {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 10px 0;
}

.kemedia-related-item-price {
    margin-top: 15px;
    font-weight: 600;
}

.kemedia-related-item-price .price {
    color: #007cba;
    font-size: 1.1em;
}

.kemedia-related-item-price .price del {
    color: #999;
    font-size: 0.9em;
}

/* Responsive per il widget */
@media (max-width: 768px) {
    .kemedia-related-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .kemedia-related-item-content {
        padding: 15px;
    }
    
    .kemedia-related-section-title {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .kemedia-related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .kemedia-related-item-image img {
        height: 150px;
    }
}/* =
== WIDGET ELEMENTOR MAPPA OPENSTREETMAP === */

.kemedia-map-widget {
    position: relative;
    width: 100%;
}

.kemedia-map-container {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Stili per gli errori della mappa */
.kemedia-map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
}

.kemedia-map-error p {
    color: #6c757d;
    font-size: 0.9em;
    margin: 0;
    line-height: 1.5;
}

/* Personalizzazioni per i controlli di Leaflet */
.kemedia-map-container .leaflet-control-zoom {
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.kemedia-map-container .leaflet-control-zoom a {
    background-color: #fff;
    border: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kemedia-map-container .leaflet-control-zoom a:hover {
    background-color: #007cba;
    color: #fff;
}

/* Personalizzazioni per i popup */
.kemedia-map-container .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.kemedia-map-container .leaflet-popup-content {
    margin: 15px;
    font-family: inherit;
    font-size: 0.9em;
    line-height: 1.5;
}

.kemedia-map-container .leaflet-popup-tip {
    background: #fff;
}

/* Loading state */
.kemedia-map-container.loading {
    background: #f5f5f5 url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM5OTkiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgc3Ryb2tlLXdpZHRoPSIyIj48Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuNSIgY3g9IjE4IiBjeT0iMTgiIHI9IjE4Ii8+PHBhdGggZD0ibTM5IDM5IDAtMzZjMC05LjktOC4xLTE4LTE4LTE4Ij48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgZnJvbT0iMCAxOCAxOCIgdG89IjM2MCAxOCAxOCIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L3BhdGg+PC9nPjwvZz48L3N2Zz4=') no-repeat center center;
    background-size: 40px 40px;
}

/* Responsive per la mappa */
@media (max-width: 768px) {
    .kemedia-map-container {
        height: 300px;
        border-radius: 6px;
    }
    
    .kemedia-map-error {
        padding: 15px;
    }
    
    .kemedia-map-error p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .kemedia-map-container {
        height: 250px;
        border-radius: 4px;
    }
    
    .kemedia-map-error {
        padding: 10px;
    }
}

/* Stili per i marker personalizzati */
.kemedia-map-container .leaflet-marker-icon {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Animazione per il caricamento della mappa */
@keyframes kemedia-map-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.kemedia-map-container .leaflet-container {
    animation: kemedia-map-fade-in 0.5s ease-out;
}

/* Stili per i controlli di attribuzione */
.kemedia-map-container .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.7em;
    border-radius: 4px;
    padding: 2px 5px;
}

.kemedia-map-container .leaflet-control-attribution a {
    color: #007cba;
    text-decoration: none;
}

.kemedia-map-container .leaflet-control-attribution a:hover {
    text-decoration: underline;
}

/* layout prenotazione*/ 

form#booking_form input {
    border-radius: 10px !important;
}

/* notifiche */

.woocommerce-message {
    background: #d4edda!important;
    color: #155724!important;
    border-left-color: #28a745;
    width: 50%;
    margin: 0 auto;
    margin-top: 50px!important;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    padding: 15px 53px !important;
    border-radius: 8px!important;
    margin-bottom: 20px!important;
    border-left: 4px solid!important;
    font-weight: 500!important;
}
ul.woocommerce-error {
    width: 50%!important;
    margin: 0 auto!important;
    margin-top: 50px!important;
    padding: 20px 10px 20px 45px!important;
}
.woocommerce-error::before {
    margin-top: 8px!important;
}

/* carrrello */

.wc-block-components-product-metadata__description {
    display: none;
}

dl.variation.ovabrw_extra_item {
    display: none;
}




h2.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title {
    font-size: 18px;
}

tr.wc-block-cart-items__header {
    font-size: 18px !important;
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    border: 1px solid hsla(0, 0%, 7%, .11);
    margin-bottom: 16px;
    border-radius: 20px;
    padding: 13px;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background: #ff7526;
    color: #fff;
    border-radius: 10px;
    text-decoration: auto;
}
a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    background: #f46513;
    color: #fff;
    border-radius: 10px;
}

.wc-block-cart-item__wrap {
    font-size: 18px;
}
input#wc-block-components-totals-coupon__input-coupon {
    border-radius: 10px;
    border-color: #e5e5e5;
}
a.wc-block-components-product-name {
    text-decoration: none;
    color: #6c6c6c;
    font-weight: 700;
}

.wc-block-grid.wp-block-product-new.wp-block-woocommerce-product-new.wc-block-product-new.has-4-columns {
    display: none;
}


.empty-cart-custom {
    text-align: center;
    margin: 40px auto;
    margin-top: -10px;
}

.empty-cart-custom .empty-cart-gif {
    display: block;
    max-width: 250px; /* personalizzabile */
    margin: 0 auto 20px auto;
}

.empty-cart-custom h2,
.empty-cart-custom p {
    margin-bottom: 15px;
}

.empty-cart-custom .button {
    margin-top: 10px;
}

dotlottie-wc {
    margin: 0 auto;
    margin-top: -103px !important;
}
p.return-to-shop {
    display: none;
}

a.button.wc-backward {
    background: #ff7526;
    padding: 16px;
    color: #fff;
}

.empty-cart-custom {
    margin-top: -14px;
}


.icon-filtri {
    background: #ffffff !important;
    padding: 10px;
    color: #545454!important;
    border-radius: 50px!important;
    margin-bottom: 10px!important;
    border: 1px solid #54545429!important;
}


a.kemedia-login-link {
    width: 46px !important;
    height: 46px!important;
}


/* login */
/*.e-my-account-tab.e-my-account-tab__dashboard {
    text-align: center;
}
form.woocommerce-form.woocommerce-form-login.login {
    width: 40%;
    margin: 0 auto;
}

form.woocommerce-form.woocommerce-form-login.login {
    width: 40%;
    margin: 0 auto;
    border-radius: 20px !important;
    background: #fff !important;
}
*/




/* ========== SFONDO PAGINA LOGIN "MIO ACCOUNT" ========== */

/******************************************************
 * LAYOUT LOGIN
 ******************************************************/

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a {
    color: #ff7526 !important;
}

button.woocommerce-button.button.woocommerce-form-login__submit:hover {
    background: #000 !important;
    color: #fff !important;
}

form.woocommerce-ResetPassword.lost_reset_password {
    margin: 0 auto !important;
}
/******************************
 LAYOUT CARRELLO 70% / 30%
*******************************/

/* trasforma il wrapper principale in flex */
.woocommerce-cart .woocommerce {
    display: flex;
    align-items: flex-start;
    gap: 40px; /* distanza tra le due colonne */
}

/* colonna sinistra: tabella carrello */
.woocommerce .woocommerce-cart-form {
    width: 70%;
}

/* colonna destra: totale carrello */
.woocommerce .cart-collaterals {
    width: 30%;
}

/* per sicurezza, impedisce che WooCommerce riduca la larghezza */
.woocommerce .cart-collaterals .cart_totals {
    width: 100% !important;
}


.woocommerce-cart.elementor-kit-14 p {
    margin-block-start: 0 !important;
}

h3.wc-block-components-product-name {
    font-size: 18px !important;
    font-weight: 700 !important;
}

td.product-name {
    width: 40%;
}


.woocommerce-cart input#coupon_code {
    width: 80%;
    margin: 10px 10px 10px 0;
    border-radius: 8px;
    padding: 10px;
}

.coupon {
    display: flex;
    align-items: center;
}


/******************************************
  Stile pulsanti carrello (coupon + update)
******************************************/
.woocommerce .actions .button,
.woocommerce .coupon .button {
    background-color: #ffffff !important;   /* sfondo bianco */
    color: #000000 !important;               /* testo nero */
    border: 1px solid #d1d5db !important;    /* grigio chiaro #d1d5db */
    padding: 16px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* hover */
.woocommerce .actions .button:hover,
.woocommerce .coupon .button:hover {
    background-color: #f3f4f6 !important;   /* grigino chiaro */
    border-color: #c5c8cf !important;
}

/* stile per pulsante disabilitato (update cart) */
.woocommerce .actions .button:disabled,
.woocommerce .actions .button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}



.woocommerce form .button:hover, .woocommerce .woocommerce-form-login__submit:hover, .woocommerce .woocommerce-form-register__submit:hover {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

a.checkout-button.button.alt.wc-forward {
    background: #ff7526;
}
a.checkout-button.button.alt.wc-forward:hover {
    background: #ff640b;
}
td.product-name a {
    font-size: 15px;
    font-weight: 600;
}

.woocommerce a.remove {
    color: #000000 !important;
}

.woocommerce a.remove:hover {
    color: #fff !important;
    background: #ff7526;
}

dl.variation {
    font-size: 14px;
}

.cart_totals h2 {
    font-size: 18px !important;
    margin-bottom: 15px;
}
/******************************
 RESPONSIVE (mobile)
*******************************/
@media (max-width: 900px) {
    .woocommerce {
        flex-direction: column;
    }
    
    td.product-name {
    width: 100%;
}

    .woocommerce .woocommerce-cart-form,
    .woocommerce .cart-collaterals {
        width: 100%;
    }
}



/******************************************************
 * BOX FORM LOGIN / REGISTRAZIONE
 ******************************************************/

/* Rimuovo sfondi/bordi di default */
.woocommerce-account .u-column1,
.woocommerce-account .u-column2,
.woocommerce form.login,
.woocommerce form.register {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Titolo principale */
.woocommerce-account h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111827;
}

/* Eventuale “sottotitolo” (puoi farlo con un paragrafo nel contenuto) */
.woocommerce-account .entry-title,
.woocommerce-account .page-title {
    display: none; /* se vuoi nascondere il titolo classico della pagina */
}

/******************************************************
 * CAMPI INPUT
 ******************************************************/

.woocommerce form .form-row {
    margin-bottom: 18px;
}

/* Etichetta sopra campo */
.woocommerce form .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

/* Input testo/password/email */
.woocommerce form .input-text {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #ffffff;
}

.woocommerce form .input-text:focus {
    outline: none;
    border-color: #2563eb;              /* blu */
    box-shadow: 0 0 0 1px #2563eb33;
}

/* Placeholder chiaro */
.woocommerce form .input-text::placeholder {
    color: #9ca3af;
}

/******************************************************
 * CHECKBOX & LINK
 ******************************************************/

.woocommerce form .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
}

.woocommerce-form__input-checkbox {
    width: 16px;
    height: 16px;
}

.woocommerce-LostPassword {
    float: right;
}

.woocommerce-LostPassword a {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

/******************************************************
 * BOTTONE PRINCIPALE
 ******************************************************/

.woocommerce form .button,
.woocommerce .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register__submit {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, box-shadow 0.1s ease, transform 0.1s ease;
}

.woocommerce form .button:hover,
.woocommerce .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-register__submit:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

/******************************************************
 * TESTO IN BASSO (link "Hai già un account? Accedi")
 ******************************************************/

.woocommerce-account .login-footer,
.woocommerce-account .register-footer,
.woocommerce-account p.woocommerce-LostPassword + p {
    margin-top: 24px;
    font-size: 13px;
    color: #6b7280;
}

.woocommerce-account .login-footer a,
.woocommerce-account .register-footer a {
    color: #2563eb;
    text-decoration: none;
}

.woocommerce-account .login-footer a:hover,
.woocommerce-account .register-footer a:hover {
    text-decoration: underline;
}


.page-id-745 .logged-in .woocommerce-account .woocommerce {
    max-width: 100%!important;
    margin-left: 0;
    padding: 40px 0;
    display: block !important;
    align-items: center;
}

.e-my-account-tab.e-my-account-tab__dashboard h2 {
    text-align: center !important;
}

form.woocommerce-form.woocommerce-form-login.login {
    width: 35%;
    margin: 0 auto;
}
@media (max-width: 900px) {
form.woocommerce-form.woocommerce-form-login.login {
    width: 100%;
    margin: 0 auto;
	}
	}
/******************************************************
 * MESSAGGI (ERRORI, INFO)
 ******************************************************/

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border-radius: 8px !important;
    font-size: 13px;
}

/******************************************************
 * RESPONSIVE – SU MOBILE STACK NORMALE
 ******************************************************/

@media (max-width: 900px) {
    body.woocommerce-account {
        background: #ffffff;
    }

    .woocommerce-account .woocommerce {
        margin: 0 auto;
        padding: 30px 20px 40px;
        max-width: 420px;
    }
}

.elementor-24 .elementor-element.elementor-element-5c62456 .kemedia-login-link {
    box-shadow: none !important;
}




/* ============================
   TIMELINE TAPPE ITINERARIO
   ============================ */

/* Contenitore generale (intorno a tutte le .itinerario) */
.tappe-itinerari {
  position: relative;
  margin: 40px 0;
  padding-left: 0px;
  counter-reset: tappa;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Linea verticale principale */
.tappe-itinerari::before {
  content: "";
  position: absolute;
  left: 40px;        /* metà della colonna larga 80px */
  top: 0;
  bottom: 0;
  width: 2px;
  border-left: 2px dashed #d4d9e3;
  /*background: #ededed;*/
  z-index: 0;
}

/* Ogni blocco (una tappa) */
.itinerario {
  position: relative;
  margin: 30px 0;
  counter-increment: tappa;   /* 1, 2, 3, ... */
}

/* Nasconde il pezzo di linea sopra il primo pallino
   e sotto l’ultimo, così la linea sembra iniziare/finire nei numeri */
.tappe-itinerari .itinerario:first-child::before,
.tappe-itinerari .itinerario:last-child::after {
  content: "";
  position: absolute;
  left: 40px;
  width: 6px;
  background: #fff;          /* ← COLORE SFONDO SEZIONE */
  z-index: 1;
}

/* dall’alto fino al centro del primo pallino */
.tappe-itinerari .itinerario:first-child::before {
  top: 0;
  bottom: 50%;
}

/* dal centro dell’ultimo pallino fino in basso */
.tappe-itinerari .itinerario:last-child::after {
  top: 50%;
  bottom: 0;
}

/* Layout interno di ogni tappa */
.tappa {
  display: flex;
  align-items: center;
}

p.tappa-descrizione {
    font-size: 16px;
    font-weight: 400;
    color: #1B1917;
}

/* Colonna pallino */
.tappa-marker {
  position: relative;
  flex: 0 0 80px;
}

/* Pallino numerato automaticamente */
.tappa-marker::before {
  content: counter(tappa);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7526, #ec5600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  z-index: 2;
}

/* Card tappa */
.tappa-card {
  background: #ffffff;
  border-radius: 10px;
  /*box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);*/
  padding: 18px 24px;
  width: 100%;
  border-left: 8px solid #ff7526;
  border-bottom: 1px solid #ededed;
  border-right: 1px solid #ededed;
  border-top: 1px solid #ededed;
}

/* Titolo tappa */
.tappa-nome {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 600;
  color: #1B1917;
}

/* ============================
   INFO BOX (distanza, dislivello, terreno, punti salienti)
   ============================ */

/* Contenitori delle righe meta */
.tappa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Riga 1: meta principali sotto al titolo */
.tappa-meta-top {
  margin-bottom: 10px;
}

/* Riga 2: solo punti salienti, a tutta larghezza */
.tappa-meta-punti {
  margin-bottom: 10px;
}

/* Box generico */
.tappa-info-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Etichetta piccola + icona */
.tappa-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #69727d;
  margin-bottom: 2px;
}

.tappa-info-label i {
  font-size: 12px;
}

/* Valore (es: 15km, 200mt, Sterrato, ecc.) */
.tappa-info-value {
  font-size: 13px;
  font-weight: 600;
  color: #1B1917;
  margin-top: -6px;
}

/* Punti salienti: occupano tutta la riga */
.tappa-meta-punti .tappa-info-box {
  width: 100%;
}

/* ============================
   DESCRIZIONE
   ============================ */

.tappa-descrizione {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 600px) {
  .tappe-itinerari {
    padding-left: 0px;
  }

  .tappa {
    align-items: flex-start;
    margin-left: -53px;
  }

  .tappa-marker {
    flex: 0 0 60px;
    left: 34px;
  }

  .tappa-card {
    padding: 14px 16px;
  }

  .tappa-nome {
    font-size: 18px;
  }

  .tappa-meta {
    gap: 16px;
  }
  .tappe-itinerari .itinerario:first-child::before {
   display:none;
}
}


/*************** Fix Card Partner *****************/

span.elementor-icon-list-text {
    font-size: 13px !important;
}
.elementor-element.e-con-full.e-flex.e-con.e-child.kemedia-city-overlay.kemedia-overlay-top-left a {
    font-size: 12px!important;
}

article.elementor-element.e-con-full.e-flex.e-con.e-child.kemedia-related-item {
    margin-bottom: -14px !important;
    margin-top: 30px;
}

/*************** Fix Card Partner *****************/

.woocommerce-checkout h1.kemedia-page-title {
    font-size: 26px !important;
    margin-top: 27px!important;
    text-align: center!important;
}