/* --- EINHEITLICHE BUTTON-KONFIGURATION --- */

:root {
    --vintage-turquois-dark: #4a8d96;
    --vintage-turquois-hover: #3a6f76; /* Konsistenter Hover-Wert aus cart.css */
}

/* Gemeinsame Basis für alle Buttons */
.btn-custom,
.btn-submit,
.btn-checkout {
    /* Größe & Abstände (Basierend auf Checkout-Button) */
    display: inline-block;
    width: 100%; /* Standardmäßig volle Breite für Formulare/Warenkorb */
    padding: 15px 40px !important; /* Gleiche Höhe wie der Checkout-Button */

    /* Typografie */
    font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none !important;

    /* Design */
    background-color: var(--vintage-turquois-dark) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;

    /* Interaktion */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 141, 150, 0.3);
    text-shadow: 0.5px 0.5px 0px rgba(0,0,0,0.2) !important;
}

/* Verhalten beim Hovern (einheitlich für alle) */
.btn-custom:hover,
.btn-submit:hover,
.btn-checkout:hover {
    background-color: var(--vintage-turquois-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 141, 150, 0.4);
    color: white !important;
}

/* Verhalten beim Klicken */
.btn-custom:active,
.btn-submit:active,
.btn-checkout:active {
    transform: translateY(0);
}

/* --- AUSNAHMEREGELN --- */

/* Falls der Custom-Button (z.B. "In den Warenkorb") nicht die volle Breite einnehmen soll */
.btn-custom {
    width: auto;
    min-width: 200px;
}

/* Spezial-Korrektur für die Kategorie-Links auf der Produktseite */
#category-grid .nav-link {
    border: none !important;
    padding: 0 !important;
    background: none !important;
    width: 100%;
    transform: none !important; /* Verhindert Button-Verhalten für die Kacheln */
    box-shadow: none !important;
}

#category-grid .nav-link::after {
    display: none !important;
}
