/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
 *
 * ── Semantic class hooks (sa-*) ────────────────────────────────────────────
 * Every section, snippet and key element carries a stable `sa-` class you can
 * target with plain CSS — no Tailwind rebuild needed. These classes ship with
 * NO styles of their own; they exist purely as selectors for you to hook onto.
 *
 * Page scope   body.sa-tpl-<template>      e.g. .sa-tpl-product, .sa-tpl-shop
 *              body.sa-no-product-images / .sa-no-category-images when the
 *              matching theme setting is off
 * Chrome       .sa-header .sa-navbar .sa-footer
 *              .sa-navbar-link .sa-navbar-logo .sa-navbar-cart .sa-footer-link
 * Sections     .sa-<component>             e.g. .sa-hero, .sa-features, .sa-faq
 *   variant    .sa-<component>--<variant>  e.g. .sa-hero--split-media
 *   inner      .sa-<component>-title / -subtitle / -eyebrow / -media /
 *              -items / -item / -actions / -link / -price / -badge / -icon
 * Primitives   .sa-btn (+ .sa-btn--<variant>), .sa-section-header
 *              (.sa-section-title / -eyebrow / -subtitle),
 *              .sa-product-card (+ .sa-product-card--<style>,
 *              .sa-product-card-title / -price / -stock / -status / -badges),
 *              .sa-product-form + .sa-add-to-cart, .sa-product-gallery,
 *              .sa-cart-panel + .sa-cart-item, .sa-searchbar, .sa-pagination,
 *              .sa-breadcrumbs, .sa-toasts + .sa-toast, .sa-feedback-card
 *
 * Example — bigger hero heading only on the product page:
 *   .sa-tpl-product .sa-hero-title { font-size: 3rem; }
 * ───────────────────────────────────────────────────────────────────────────
*/

/* ===== OPS theme ===== */
::selection{background:#a63bff;color:#fff}
.sa-header{border-bottom:1px solid rgba(166,59,255,.25)}
.sa-navbar-logo img{border-radius:9999px;box-shadow:0 0 18px rgba(166,59,255,.55)}
[data-scheme="dark"] .sa-hero-title{background:linear-gradient(180deg,#fff,#cfa9ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.sa-btn{letter-spacing:.05em;text-transform:uppercase;font-weight:700}
.sa-btn:hover{box-shadow:0 0 20px rgba(166,59,255,.5)}
.sa-product-card{transition:box-shadow .2s,border-color .2s}
.sa-product-card:hover{box-shadow:0 0 28px rgba(166,59,255,.35)}
.sa-footer{border-top:1px solid rgba(166,59,255,.25)}


/* ===== OPS animated background (dark mode) ===== */
html[data-scheme="dark"] body.bg-background{background-color:transparent!important}
html[data-scheme="dark"] body::before,html[data-scheme="dark"] body::after{content:"";position:fixed;pointer-events:none;z-index:-1}
html[data-scheme="dark"] body::before{inset:-25%;background:
 radial-gradient(38vmax 38vmax at 20% 25%,rgba(166,59,255,.30),transparent 62%),
 radial-gradient(34vmax 34vmax at 78% 28%,rgba(92,64,255,.24),transparent 62%),
 radial-gradient(44vmax 44vmax at 50% 85%,rgba(205,90,255,.20),transparent 62%);
 animation:ops-drift 24s ease-in-out infinite alternate;will-change:transform}
html[data-scheme="dark"] body::after{inset:0;opacity:.5;
 background-image:linear-gradient(rgba(166,59,255,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(166,59,255,.10) 1px,transparent 1px);
 background-size:48px 48px;
 -webkit-mask-image:radial-gradient(ellipse at 50% 30%,#000 10%,transparent 75%);mask-image:radial-gradient(ellipse at 50% 30%,#000 10%,transparent 75%);
 animation:ops-grid 6s linear infinite}
@keyframes ops-drift{0%{transform:translate3d(-4%,-3%,0) scale(1)}50%{transform:translate3d(5%,3%,0) scale(1.12)}100%{transform:translate3d(-2%,6%,0) scale(1.05)}}
@keyframes ops-grid{to{background-position:0 48px,0 0}}
@media (prefers-reduced-motion:reduce){html[data-scheme="dark"] body::before,html[data-scheme="dark"] body::after{animation:none}}
