@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

:root {
    --emerald-primary: #064e3b;
    --emerald-mid: #059669;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }

.logo { font-size: 1.5rem; font-weight: 800; color: var(--emerald-primary); }
.logo span { color: var(--emerald-mid); }

.badge { background: #dcfce7; color: #166534; padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 0.7rem; display: inline-block; }

.btn-primary { background: var(--emerald-primary); color: white; padding: 12px 24px; border-radius: 12px; font-weight: 700; transition: 0.3s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(6,78,59,0.3); }

.btn-secondary { border: 2px solid var(--emerald-primary); color: var(--emerald-primary); padding: 12px 24px; border-radius: 12px; font-weight: 700; transition: 0.3s; }
.btn-secondary:hover { background: #ecfdf5; }

/* Cards */
.type-card {
    background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px;
    display: flex; flex-direction: column; position: relative; transition: all 0.3s ease;
}
.type-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }

.card-title { font-weight: 800; font-size: 1.25rem; color: #111827; margin-bottom: 4px; }
.card-price { font-weight: 800; color: var(--emerald-mid); font-size: 1.1rem; margin-bottom: 12px; }

.card-list { list-style: none; padding: 0; font-size: 0.9rem; color: #4b5563; space-y: 8px; }
.card-list li { margin-bottom: 6px; }

.btn-detail { width: 100%; text-align: center; color: #6b7280; font-size: 0.85rem; padding: 8px; text-decoration: underline; background: none; border: none; cursor: pointer; }
.btn-detail:hover { color: var(--emerald-primary); }

.btn-buy { width: 100%; background: var(--emerald-mid); color: white; font-weight: 700; padding: 10px; border-radius: 10px; transition: 0.2s; }
.btn-buy:hover { background: var(--emerald-primary); }

.hidden-detail { display: none; background: #f9fafb; padding: 12px; border-radius: 8px; font-size: 0.85rem; margin-top: 12px; border-top: 1px solid #e5e7eb; animation: fadeIn 0.3s; }
.hidden-detail.show { display: block; }

/* Botones Elección Rápida */
.choice-btn {
    background: white; border: 1px solid #d1d5db; padding: 10px 20px; rounded-full;
    font-weight: 600; color: #374151; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.choice-btn:hover { background: var(--emerald-primary); color: white; border-color: var(--emerald-primary); transform: scale(1.05); }

/* Carrito */
.cart-sidebar {
    position: fixed; top: 0; right: 0; height: 100vh; width: 400px; background: white;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15); transform: translateX(100%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: 100;
}
.cart-sidebar.open { transform: translateX(0); }

.btn-checkout { background: #f97316; color: white; padding: 16px; border-radius: 16px; font-weight: 800; font-size: 1.1rem; transition: 0.3s; }
.btn-checkout:hover { background: #ea580c; transform: scale(1.02); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: float 5s ease-in-out infinite; }

@media (max-width: 480px) { .cart-sidebar { width: 100%; } }