.woocommerce .woocommerce-MyAccount-navigation {
    width: 20%; /* Mantén el menú estrecho */
}

.woocommerce {
    display: flex;
    gap: 10px; /* Antes WooCommerce usa 30px aprox */
}

@media (max-width: 768px) {
    .woocommerce {
        flex-direction: column;
    }
    .woocommerce .woocommerce-MyAccount-navigation,
    .woocommerce {
        width: 100%;
        margin-left: 0;
    }
}

.gold-button {
    background-color: #DAA520;
    color: white;
    border: none;
    padding: 10px 18px;
    margin-bottom: 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    font-weight: bold;
    transition: background 0.3s;
}

.gold-button:hover {
    background-color: #b8860b;
}
.delete-button {
    background-color: #d9534f !important;
}
.delete-button:hover { background: #a40000; }

.tipo-comida-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}
.tipo-comida-grid label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-row { margin-bottom: 15px; }
.form-row label { display:block; font-weight:bold; margin-bottom:5px; }
    input[type="text"], input[type="number"], textarea, select {
        width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 5px;
    }
    .image-upload { margin-bottom:15px; }
    .preview-img { max-width:150px; border-radius:10px; display:block; margin-bottom:8px; }
    .tipos-comida-grid {
        display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px;
    }
    .checkbox-item { display:flex; align-items:center; gap:8px; }

#restaurant_country {
    height: 45px;
    padding: 8px;
    border-radius: 8px;
    border: 2px solid #d4af37;
    font-size: 16px;
    width: 100%;
    background-color: #fff;
    color: #333;
    transition: 0.3s ease;
}

#restaurant_country:focus {
    border-color: #b7950b;
    outline: none;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.menu-title {
    background: #fdf1d0;
    color: #333;
    padding: 5px 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Imágenes de vista previa */
.preview-img {
    max-width: 120px;   /* límite ancho */
    max-height: 120px;  /* límite alto */
    height: auto;
    width: auto;
    display: block;
    margin: 10px 0;
    border-radius: 6px;
    object-fit: contain; /* mantiene proporción */
    background: none; /* quitar cualquier fondo */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* opcional: sombra ligera */
}
