/* --- CONTROLES, BUSCADOR Y BOTONES --- */
.header-controls { padding: 0 15px; }
.search-section { margin-top: 10px; display: flex; gap: 8px; }
.search-wrapper { position: relative; flex: 1; }

.search-wrapper input {
    width: 100%; padding: 12px 45px 12px 15px; border-radius: 50px;
    border: 2px solid transparent; outline: none; color: var(--text-principal);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s ease;
}
.search-wrapper input:focus { border-color: var(--color-super-naranja); box-shadow: 0 0 0 3px rgba(250, 169, 22, 0.2); }

.search-icon-circle {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background-color: var(--color-super-naranja); width: 34px; height: 34px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: white; cursor: pointer;
    box-shadow: 0 2px 5px rgba(250, 169, 22, 0.4);
}

.btn-sort {
    background-color: var(--text-principal); color: white; border: none; padding: 0 15px;
    border-radius: 50px; font-weight: 600; font-size: 0.8rem; cursor: pointer; white-space: nowrap; transition: 0.3s;
}
.btn-sort:hover { background-color: #0f1722; }

.filter-cards-container {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 15px; height: 0; overflow: hidden; opacity: 0;
}

.filter-card {
    color: white; padding: 10px; border-radius: 8px; text-align: center;
    font-size: 0.7rem; font-weight: bold; text-transform: uppercase; border: none;
    cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: 0.2s;
}
.filter-card:hover { transform: translateY(-2px); }

/* --- BOTONES DEL CARRITO Y FLOTANTES --- */
.btn-add-cart {
    box-shadow: 0 4px 15px rgba(0, 163, 162, 0.2); background-color: var(--color-andina-cian);
    color: white; border: none; border-radius: 8px; transition: 0.3s;
}
.btn-add-cart:hover:not(:disabled) { background: #008F8E !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 163, 162, 0.3); }
.btn-add-cart:active:not(:disabled) { transform: translateY(0); }
.btn-add-cart:disabled { background: #e2e8f0 !important; color: #94a3b8 !important; border: 1px dashed #cbd5e1 !important; box-shadow: none !important; transform: none !important; }

.btn-flotante {
    position: fixed; bottom: 30px; right: 30px; background-color: var(--color-super-naranja); 
    color: #1F2D3D; border: none; border-radius: 50px; padding: 15px 25px; font-size: 1.1rem;
    font-weight: bold; box-shadow: 0 10px 25px rgba(250, 169, 22, 0.4); cursor: pointer;
    z-index: 1000; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease;
}
.btn-flotante:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 30px rgba(250, 169, 22, 0.6); }

/* --- ANIMACIONES GLOBALES --- */
#storeStatus {
    color: white; padding: 6px 14px; border-radius: 50px; font-weight: 800; font-size: 0.7rem;
    text-transform: uppercase; border: 1px solid rgba(255,255,255,0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.3s ease;
}
#storeStatus:not(.closed) { animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* --- FOOTER --- */
footer { text-align: center; padding: 40px 20px; background: transparent; margin-top: 20px; }
.admin-link { color: var(--text-secundario); text-decoration: none; font-size: 0.8rem; transition: 0.3s; }
.admin-link:hover { color: var(--color-andina-cian); }