/* Enhanced styles: animations, recipe cards, tasting modules */
:root{--gold:#c9a227;--gold-light:#f0d97a;--dark:#111009;--dark2:#1a1710;--cream:#f5f0e8}
/* small utility */
.fade-in{opacity:0;transform:translateY(12px);animation:fadeInUp .7s forwards}
@keyframes fadeInUp{to{opacity:1;transform:none}}

/* Recipes grid tweaks */
#recipesGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1100px;margin:0 auto}
.product-card{transition:transform .35s ease, box-shadow .35s ease;background:var(--dark2);border:0.5px solid rgba(201,162,39,0.06);padding:20px;border-radius:6px;min-height:320px;display:flex;align-items:stretch}
.product-card:hover{transform:translateY(-8px);box-shadow:0 30px 70px rgba(0,0,0,0.6)}

/* Recipe thumbnail tweaks */
.recipe-thumb{width:100%;height:200px;overflow:hidden;border-radius:6px;background:#0d0c09;display:flex;align-items:center;justify-content:center}
.recipe-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-card .btn-add{margin-top:10px}

/* inner content layout */
.product-card > .card-inner{display:flex;flex-direction:column;justify-content:space-between;width:100%}
.product-card h3{margin:12px 0 6px}
.product-card p{margin:0 0 12px}

/* modal image larger */
.recipe-figure img{width:320px;height:220px;object-fit:cover}
@media(max-width:900px){.recipe-figure img{width:180px;height:120px}}

/* Recipe modal */
.recipe-modal{position:fixed;inset:0;background:rgba(0,0,0,0.7);display:flex;align-items:center;justify-content:center;z-index:800;opacity:0;pointer-events:none}
.recipe-modal.open{opacity:1;pointer-events:all}
.recipe-content{background:var(--dark);padding:28px;border:1px solid rgba(201,162,39,0.18);max-width:760px;width:94%;border-radius:8px;color:var(--cream)}

/* Recipe image */
.recipe-figure{display:flex;gap:18px;align-items:flex-start}
.recipe-figure img{width:180px;height:auto;border-radius:6px;border:0.5px solid rgba(201,162,39,0.12)}
.recipe-steps{color:rgba(245,240,232,0.9);line-height:1.6}

/* Badges */
.badge-wrap{display:flex;align-items:center;gap:12px;margin-top:12px}
.badge-svg{width:64px;height:64px}
.badge-label{color:var(--gold);font-family:'Cinzel',serif;letter-spacing:1px}

/* Certificate button */
.btn-cert{margin-top:12px;background:transparent;border:1px solid rgba(201,162,39,0.5);color:var(--gold);padding:10px 14px;cursor:pointer;border-radius:6px}

/* Tasting modules */
.taste-module{background:linear-gradient(180deg,rgba(201,162,39,0.03),transparent);border:0.5px solid rgba(201,162,39,0.08);padding:18px;margin-bottom:16px;border-radius:6px}
.taste-module h4{color:var(--gold);margin-bottom:8px}
.taste-choices{display:flex;flex-wrap:wrap;gap:10px}
.taste-choice{background:#0f0e0b;padding:10px 12px;border-radius:6px;border:1px solid rgba(201,162,39,0.06);cursor:pointer;color:var(--cream)}
.taste-choice.correct{outline:2px solid #3ad66f}
.taste-choice.wrong{outline:2px solid #d65b5b}

/* Advanced quiz UI */
.quiz-container{background:linear-gradient(180deg,rgba(201,162,39,0.02),transparent);padding:18px;border-radius:8px;border:0.5px solid rgba(201,162,39,0.08);margin-bottom:16px}
.quiz-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.quiz-timer{height:8px;background:#0d0c09;border-radius:8px;overflow:hidden;flex:1;margin-left:12px}
.quiz-timer > span{display:block;height:100%;background:linear-gradient(90deg,var(--gold-light),var(--gold));width:0%}
.quiz-question{font-size:16px;color:rgba(245,240,232,0.9);margin-bottom:12px}
.quiz-choices{display:flex;flex-direction:column;gap:10px}
.choice-disabled{opacity:0.6;pointer-events:none}
.quiz-explain{margin-top:10px;color:rgba(245,240,232,0.75);font-size:13px}
.quiz-controls{display:flex;gap:10px;margin-top:12px}
.btn-next{background:transparent;border:1px solid rgba(201,162,39,0.35);color:var(--gold);padding:10px 14px;cursor:pointer;border-radius:6px}
.btn-restart{background:var(--gold);color:#0a0906;padding:10px 14px;border-radius:6px;border:none;cursor:pointer}

/* small screens */
@media(max-width:900px){#recipesGrid{grid-template-columns:1fr} .products-grid{max-width:360px;margin:0 auto}}
