/* This Soap Works retail storefront — browser-ready CSS layered on local Tailwind. */

:root {
    --forest: #123c2d;
    --leaf: #287a4b;
    --lime: #b8df74;
    --gold: #f5b942;
    --coral: #e9664b;
    --cream: #fffaf0;
    --ink: #16231d;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

::selection {
    background: var(--lime);
    color: var(--forest);
}

a, button, input, select, textarea { transition: 180ms ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(245, 185, 66, .65);
    outline-offset: 3px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    color: var(--leaf);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.section-eyebrow::before {
    width: 1.6rem;
    height: 2px;
    content: "";
    background: var(--gold);
}

.brand-mark-shell {
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 4rem;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.brand-mark-shell img { width: 100%; height: 100%; object-fit: contain; }

.btn-primary,
.btn-secondary,
.btn-amazon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 3.2rem;
    padding: .85rem 1.45rem;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--leaf), var(--forest));
    box-shadow: 0 12px 28px -12px rgba(18, 60, 45, .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(18, 60, 45, .85); }
.btn-secondary {
    color: var(--forest);
    background: rgba(255, 255, 255, .82);
    border: 2px solid rgba(18, 60, 45, .2);
}
.btn-secondary:hover { background: #fff; border-color: var(--leaf); transform: translateY(-2px); }
.btn-amazon {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #232f3e, #131921);
    border: 2px solid #ffb22c;
    box-shadow: 0 12px 28px -12px rgba(19, 25, 33, .85);
}
.btn-amazon::before {
    display: inline-grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    content: "a";
    border-radius: 999px;
    color: #131921;
    background: #ffb22c;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}
.btn-amazon:hover { transform: translateY(-2px); border-color: #ffd36f; box-shadow: 0 18px 32px -12px rgba(19, 25, 33, .9); }

.hero-headline {
    background: linear-gradient(110deg, #fff 4%, #fff 42%, #f5b942 72%, #b8df74 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.retail-hero-showcase::after {
    position: absolute;
    top: -1.1rem;
    right: 1rem;
    content: "✦";
    color: var(--gold);
    font-size: 3rem;
    filter: drop-shadow(0 8px 18px rgba(245,185,66,.45));
    animation: floatSparkle 3.5s ease-in-out infinite;
}

@keyframes floatSparkle { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-10px) rotate(12deg)} }

.product-glow {
    position: relative;
    isolation: isolate;
}
.product-glow::before {
    position: absolute;
    inset: 10% 8%;
    z-index: -1;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 223, 116, .9), rgba(245, 185, 66, .25) 55%, transparent 72%);
    filter: blur(20px);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

.feature-card {
    border: 1px solid rgba(18, 60, 45, .1);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 55px -38px rgba(18, 60, 45, .65);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px -34px rgba(18, 60, 45, .75); }

.feedback-card {
    overflow: hidden;
    border: 1px solid rgba(18, 60, 45, .1);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 24px 58px -38px rgba(18, 60, 45, .75);
}
.feedback-card:hover { transform: translateY(-5px) rotate(.25deg); box-shadow: 0 30px 66px -36px rgba(18, 60, 45, .85); }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.stars { color: var(--gold); letter-spacing: 2px; }

.locator-search {
    width: 100%;
    padding: .9rem 1.25rem;
    border: 1px solid rgba(18, 60, 45, .18);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 60, 45, .08);
}
.locator-search:focus { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(40, 122, 75, .15); outline: none; }

.store-list::-webkit-scrollbar { width: 6px; }
.store-list::-webkit-scrollbar-thumb { background: #bfd9c7; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
