/* Small additions Tailwind utilities don't cover */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Hero slider */
.hero-slide { opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide.is-active .hero-copy > * { animation: rise .7s both; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Product card image swap on hover */
.p-card .p-img-alt { opacity: 0; transition: opacity .45s ease; }
.p-card:hover .p-img-alt { opacity: 1; }
.p-card .p-actions { transform: translateY(8px); opacity: 0; transition: all .25s ease; }
.p-card:hover .p-actions { transform: none; opacity: 1; }
@media (hover: none) { .p-card .p-actions { transform: none; opacity: 1; } }

/* Mega menu */
.mega { visibility: hidden; opacity: 0; transform: translateY(6px); transition: all .2s ease; }
.has-mega:hover .mega, .has-mega:focus-within .mega { visibility: visible; opacity: 1; transform: none; }

/* Gallery zoom */
.zoom-wrap { overflow: hidden; cursor: zoom-in; }
.zoom-wrap img { transition: transform .2s ease; }

/* Tabs */
.tab-btn[aria-selected="true"] { color: #14161c; border-color: #c8612f; }

/* Toast */
.toast { opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .3s ease; }
.toast.show { opacity: 1; transform: none; }

/* Variant buttons */
[data-variant][aria-pressed="true"] { border-color: #14161c; box-shadow: inset 0 0 0 1px #14161c; }
