/* Moved from storefront/shop.php (was an inline <style> block). */
body { background:var(--cream); }
.product-card.catalog-hidden { display: none; }
.product-card.catalog-out {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
@keyframes catalogIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.product-card.catalog-in {
    animation: catalogIn 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.product-card-img .img-icon {
    width: 72px;
    height: 72px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: transform 0.4s ease;
}
.product-card:hover .img-icon { transform: scale(1.18); }
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:9999; align-items:center; justify-content:center; }
.modal-overlay.open { display:flex; }
.modal-box { position:relative; background:var(--surface); border-radius:20px; padding:44px 28px 32px; max-width:420px; width:100%; margin:16px; text-align:center; box-shadow:0 30px 80px rgba(0,0,0,0.35); }
.modal-box .modal-close { position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%; background:color-mix(in srgb, var(--surface) 90%, transparent); border:none; cursor:pointer; font-size:20px; line-height:1; color:var(--ink); display:flex; align-items:center; justify-content:center; transition:background 0.2s; }
.modal-box .modal-close:hover { background:var(--cream-dark); }
.account-modal-icon { width:64px; height:64px; border-radius:50%; background:var(--cream); margin:0 auto 18px; display:flex; align-items:center; justify-content:center; }
.account-modal-icon img { width:28px; height:28px; }
.modal-box .account-modal-eyebrow { font-size:16px; color: var(--accent-ink); margin-bottom:8px; line-height:1.5; }
.modal-box h3 { font-family:'Inter', Arial, sans-serif; font-size:22px; line-height:1.5; color:var(--ink); margin-bottom:10px; }
.modal-box p { font-size:14px; color:var(--text-muted); margin-bottom:24px; line-height:1.65; }
.modal-btns { display:flex; gap:12px; justify-content:center; margin-top:8px; }
.modal-btns a { flex:1; padding:12px 18px; border-radius:8px; font-size:14px; font-weight:700; text-decoration:none; text-align:center; white-space:nowrap; transition:opacity 0.2s, transform 0.15s; }
.modal-btn-primary { background:var(--gold); color:var(--on-gold); box-shadow:0 4px 10px rgba(217, 207, 188,0.26); }
.modal-btn-primary:hover { opacity:0.88; }
.modal-btn-outline { background:transparent; color:var(--ink); border:1px solid var(--brown-mid); font-weight:600; }
.modal-btn-outline:hover { background:var(--cream); }
@media (prefers-reduced-motion: reduce) {
    .product-card.catalog-out { transition: none; }
    .product-card.catalog-in { animation: none; }
    .fade-up { opacity: 1; transform: none; }
}
