/* ==========================================================================
   Ayuvani — animated marks on the storefront auth pages
   --------------------------------------------------------------------------
   Companion to auth-motion.css, which covers the admin and vendor sign-in
   screens. This file covers the three pages on the customer-facing theme:

     .ayv-mark--shopfront   vendor registration   replaces seller-registration.png
     .ayv-mark--bloom       customer sign-in      replaces user-vector.svg
     .ayv-mark--bloom       customer sign-up      had no mark at all

   Two files rather than one because the two halves of the app load assets
   through different helpers and neither page type loads the other's
   stylesheets. Keeping them apart means the storefront does not pull in
   five scenes it will never draw.

   What they DO share, deliberately: palette, stroke weight, leaf shape and
   the draw-in technique. Somebody who signs in as a customer and later
   registers as a vendor should recognise the second page as the same
   brand.

   Same three constraints as the admin file: no build step (assets are
   served straight from public/), no JavaScript (nothing is hidden until a
   script runs), and every selector scoped under .ayv-mark.
   ========================================================================== */

.ayv-mark {
    --ayv-forest: #1b3a19;
    --ayv-leaf: #2f6b2c;
    --ayv-sage: #8fb089;
    --ayv-sun: #f7e52e;
    --ayv-sun-deep: #e8cf1a;

    display: block;
    margin-inline: auto;
}

.ayv-mark svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.ayv-mark--shopfront { width: min(300px, 100%); }
.ayv-mark--bloom     { width: 96px; }

/* Shared by every stroked shape in both scenes. pathLength="100" is set in
   the markup so this one dash value fits paths and rects alike. */
@keyframes ayv-mark-draw {
    from { stroke-dashoffset: 100; opacity: 0; }
    10%  { opacity: 1; }
    to   { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes ayv-mark-pop {
    from { opacity: 0; transform: scale(0.3); }
    to   { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Scene — SHOPFRONT (vendor registration)
   ========================================================================== */

.ayv-arch,
.ayv-shelf,
.ayv-shop-floor,
.ayv-shop-sunline {
    fill: none;
    stroke: var(--ayv-forest);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
}

.ayv-arch         { stroke-width: 3.4; animation: ayv-mark-draw 1600ms cubic-bezier(0.3, 0.8, 0.4, 1) 150ms forwards; }
.ayv-shop-floor   { stroke-width: 3.2; animation: ayv-mark-draw 700ms ease-out 300ms forwards; }
.ayv-shelf        { stroke-width: 3;   animation: ayv-mark-draw 650ms ease-out 1100ms forwards; }
.ayv-shop-sunline { stroke-width: 2.8; animation: ayv-mark-draw 550ms ease-out 2600ms forwards; }

/* The jars arrive as whole objects rather than drawing themselves: three
   more outlines tracing in would read as clutter against the arch, and
   objects being set down on a shelf is the idea anyway. */
.ayv-jar rect {
    fill: #fff;
    stroke: var(--ayv-leaf);
    stroke-width: 2.6;
    stroke-linejoin: round;
}

.ayv-jar {
    opacity: 0;
    transform-box: view-box;
    /* `both`, not `backwards`. The base rule sets opacity: 0 so the jars do
       not flash before their delay; `backwards` alone covers the delay but
       drops the element back to its own styles when the animation ends —
       straight back to opacity: 0. The jars drew, then vanished. */
    animation: ayv-jar-land 700ms cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

.ayv-jar--1 { animation-delay: 1400ms; }
.ayv-jar--2 { animation-delay: 1580ms; }
.ayv-jar--3 { animation-delay: 1760ms; }

@keyframes ayv-jar-land {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ayv-shop-sun {
    fill: none;
    stroke: var(--ayv-sun);
    stroke-width: 5;
    stroke-linecap: round;
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation:
        ayv-shop-rise 850ms cubic-bezier(0.16, 1, 0.3, 1) 2200ms backwards,
        ayv-shop-breathe 6s ease-in-out 3100ms infinite;
}

@keyframes ayv-shop-rise {
    from { transform: translateY(18px) scale(0.7); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes ayv-shop-breathe {
    0%, 100% { stroke: var(--ayv-sun); }
    50%      { stroke: var(--ayv-sun-deep); }
}

.ayv-shop-halo {
    fill: var(--ayv-sun);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: ayv-shop-halo 6s ease-in-out 3100ms infinite;
}

@keyframes ayv-shop-halo {
    0%, 100% { transform: scale(1);    opacity: 0.16; }
    50%      { transform: scale(1.22); opacity: 0.32; }
}

.ayv-shop-leaf {
    fill: none;
    stroke: var(--ayv-leaf);
    stroke-width: 2.8;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
    animation: ayv-mark-draw 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ayv-shop-leaf:nth-of-type(1) { animation-delay: 2900ms; }
.ayv-shop-leaf:nth-of-type(2) { animation-delay: 3040ms; }

/* ==========================================================================
   Scene — BLOOM (customer sign-in and sign-up)

   Small, so it gets a short entrance: at 96px the whole thing is read in
   one glance and a slow trace just delays the form.
   ========================================================================== */

.ayv-petal {
    fill: none;
    stroke: var(--ayv-forest);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
    animation: ayv-mark-draw 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 55ms apart. The markup lists petals top-first then alternating sides, so
   this opens outward instead of sweeping round like a spinner. */
.ayv-petal:nth-of-type(1) { animation-delay: 120ms; }
.ayv-petal:nth-of-type(2) { animation-delay: 175ms; }
.ayv-petal:nth-of-type(3) { animation-delay: 230ms; }
.ayv-petal:nth-of-type(4) { animation-delay: 285ms; }
.ayv-petal:nth-of-type(5) { animation-delay: 340ms; }
.ayv-petal:nth-of-type(6) { animation-delay: 395ms; }
.ayv-petal:nth-of-type(7) { animation-delay: 450ms; }
.ayv-petal:nth-of-type(8) { animation-delay: 505ms; }

.ayv-bloom-core {
    fill: var(--ayv-sun);
    stroke: var(--ayv-forest);
    stroke-width: 2.6;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation:
        ayv-mark-pop 480ms cubic-bezier(0.34, 1.56, 0.64, 1) 620ms forwards,
        ayv-bloom-pulse 4.5s ease-in-out 1200ms infinite;
}

@keyframes ayv-bloom-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

.ayv-bloom-halo {
    fill: var(--ayv-sun);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: ayv-bloom-halo 4.5s ease-in-out 1200ms infinite;
}

@keyframes ayv-bloom-halo {
    0%, 100% { transform: scale(1);    opacity: 0.14; }
    50%      { transform: scale(1.25); opacity: 0.3; }
}

/* ==========================================================================
   Reduced motion
   None, not less. Every animation here is decorative, so there is nothing
   to weigh against a stated accessibility need. Each element is put into
   its finished state rather than left frozen part-drawn.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .ayv-mark *,
    .ayv-mark *::before,
    .ayv-mark *::after {
        animation: none !important;
        transition: none !important;
    }

    .ayv-arch,
    .ayv-shelf,
    .ayv-shop-floor,
    .ayv-shop-sunline,
    .ayv-shop-leaf,
    .ayv-petal {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    .ayv-jar,
    .ayv-shop-sun,
    .ayv-bloom-core {
        opacity: 1;
        transform: none;
    }

    .ayv-shop-halo,
    .ayv-bloom-halo {
        opacity: 0.2;
        transform: none;
    }
}

/* ==========================================================================
   STOREFRONT AUTHENTICATION
   Customer sign-in, customer sign-up, vendor registration.
   Rebuilt 2026-11-13, third pass.

   These three live in the storefront theme rather than the admin template,
   and they were the last screens still wearing the old look: flat fills, a
   flat button, square white panels. The admin and vendor sign-in pages are
   now soft clay with fields pressed into it, so this brings all seven ways
   into the platform onto the same material.

   WHAT IS SHARED WITH THE ADMIN SIDE
   The clay surface, the two-shadow lighting, the pressed fields, the
   button with a top highlight and a dark bottom lip, the serif heading and
   the accent hairline. Same tokens, same values.

   WHAT IS NOT
   The two-column picture panel. These pages sit inside the storefront with
   the site header above them and the footer below; a full-height split
   would fight both. They are centred cards on a tinted band instead, which
   is the same idea at the scale the page allows.

   SPECIFICITY
   storefront-motion.css is sheet 19 and the theme's style.css is sheet 22,
   so source order runs the wrong way here and style.css gets the last word
   on a single-class selector. Doubling .login-card lifts a rule from
   (0,1,0) to (0,2,0) without reaching for !important, which anything
   overriding this later would then have to match. The vendor registration
   rules hang off #seller-registration, an id, which outranks the theme
   outright and needs no such trick.
   ========================================================================== */

.login-card,
#seller-registration {
    --ayv-forest: #14301a;
    --ayv-leaf: #2f6b2c;
    --ayv-leaf-light: #3f8a3b;
    --ayv-accent: #d4bf35;
    --ayv-accent-deep: #a8932a;

    --ayv-clay: #f1ece0;
    --ayv-clay-top: #fdfbf4;
    --ayv-clay-shade: #d8d1c0;
    --ayv-clay-lit: #ffffff;

    --ayv-ink: #16301c;
    --ayv-ink-soft: rgba(22, 48, 28, 0.62);
    --ayv-ink-faint: rgba(22, 48, 28, 0.34);
}

/* ---- the band behind the card ----------------------------------------
   :has() rather than a class, because adding one would mean editing the
   Blade files for something purely decorative. Browsers without :has()
   get the card on the page's own background, which still reads correctly.
   This is the one rule here allowed to be missed. */

.container:has(> .row > .login-card),
.create-an-account {
    position: relative;
    isolation: isolate;
}

.container:has(> .row > .login-card)::before,
.create-an-account::after {
    content: "";
    position: absolute;
    inset: -2rem -10vw;
    z-index: -1;

    background:
        radial-gradient(40rem 26rem at 18% 12%, rgba(255, 246, 198, 0.55) 0%, rgba(255, 246, 198, 0) 62%),
        radial-gradient(44rem 28rem at 84% 88%, rgba(143, 176, 137, 0.28) 0%, rgba(143, 176, 137, 0) 66%),
        linear-gradient(158deg, #f5f2e4 0%, #ebe8d8 54%, #dfe2cd 100%);
    border-radius: 2.5rem;
}

.create-an-account::after {
    inset: -1rem -4vw;
}

/* The template's own background image on the registration page, a pale
   pattern that now fights the band. */
.create-an-account-bg-img {
    display: none;
}

/* ==========================================================================
   1. THE CARDS
   ========================================================================== */

.login-card.login-card,
#seller-registration .bg-white {
    background: linear-gradient(160deg, var(--ayv-clay-top) 0%, var(--ayv-clay) 100%) !important;
    border: 0;
    border-radius: 28px !important;
    box-shadow:
        14px 18px 36px rgba(90, 86, 52, 0.18),
        -10px -10px 26px rgba(255, 255, 255, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.login-card.login-card {
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

/* ---- headings --------------------------------------------------------- */

.login-card h2,
#seller-registration h4,
.create-an-account h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ayv-ink);
}

/* The accent hairline over the heading, the same mark the admin side
   carries above its headline. */
.login-card h2::before,
#seller-registration h4::before,
.create-an-account h3::before {
    content: "";
    display: block;
    width: 2.75rem;
    height: 2px;
    margin: 0 auto 0.85rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ayv-accent), rgba(212, 191, 53, 0));
}

#seller-registration h4::before,
.create-an-account h3::before {
    margin-inline: 0;
}

/* The bloom mark above the customer headings, kept from the first pass but
   now sitting in a lit clay tile, as the logo does on the admin side. */
.login-card .ayv-mark--bloom {
    width: clamp(52px, 7vw, 64px);
    padding: 0.6rem;
    border-radius: 20px;
    background: linear-gradient(150deg, var(--ayv-clay-top), var(--ayv-clay));
    box-shadow:
        5px 7px 14px rgba(90, 86, 52, 0.16),
        -4px -4px 10px rgba(255, 255, 255, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   2. FIELDS PRESSED INTO THE CLAY
   Two inset shadows and no border. The focus state keeps both and adds an
   accent ring, so a keyboard user still has an unmistakable marker.
   ========================================================================== */

.login-card.login-card .form-control,
#seller-registration .form-control,
#seller-registration .form-select {
    height: 50px;
    padding: 0.7rem 1.1rem;
    border: 0;
    border-radius: 16px;
    background: var(--ayv-clay);
    color: var(--ayv-ink);
    box-shadow:
        inset 4px 4px 9px var(--ayv-clay-shade),
        inset -4px -4px 9px var(--ayv-clay-lit);
    transition: box-shadow 200ms ease;
}

#seller-registration textarea.form-control {
    height: auto;
    border-radius: 18px;
}

.login-card .form-control::placeholder,
#seller-registration .form-control::placeholder {
    color: var(--ayv-ink-faint);
}

.login-card.login-card .form-control:focus,
#seller-registration .form-control:focus,
#seller-registration .form-select:focus {
    outline: none;
    background: var(--ayv-clay);
    box-shadow:
        inset 4px 4px 9px var(--ayv-clay-shade),
        inset -4px -4px 9px var(--ayv-clay-lit),
        0 0 0 2px var(--ayv-accent);
}

/* Leading icons, as background images so no Blade file needs new markup.
   Matched on the field's name as well as its type: the customer sign-in
   takes an email or a phone number in one text input called user_identity,
   which no type selector would reach.

   .login-card is doubled because the rule above sets the `padding`
   shorthand at (0,3,0); a single-class padding-left loses to it and the
   placeholder runs under the icon. */
.login-card.login-card input[name="user_identity"],
.login-card.login-card input[type="email"],
.login-card.login-card input[type="password"],
#seller-registration input[type="email"],
#seller-registration input[type="password"] {
    padding-left: 2.95rem;
    background-repeat: no-repeat;
    background-position: 1.1rem center;
    background-size: 18px 18px;
}

.login-card.login-card input[name="user_identity"],
.login-card.login-card input[type="email"],
#seller-registration input[type="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b2c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='3.5'/%3E%3Cpath d='m3.5 7.5 8.5 5.6 8.5-5.6'/%3E%3C/svg%3E");
}

.login-card.login-card input[type="password"],
#seller-registration input[type="password"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b2c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='10.5' rx='3.2'/%3E%3Cpath d='M8 10V7.2a4 4 0 0 1 8 0V10'/%3E%3C/svg%3E");
}

/* ---- groups -----------------------------------------------------------
   The password fields carry a show/hide toggle and the phone field a
   country picker. The dent moves to the group and the field inside goes
   flat, or the page shows two rounded rectangles stacked. */

.login-card .input-group,
#seller-registration .input-group {
    border: 0;
    border-radius: 16px;
    background: var(--ayv-clay);
    box-shadow:
        inset 4px 4px 9px var(--ayv-clay-shade),
        inset -4px -4px 9px var(--ayv-clay-lit);
    transition: box-shadow 200ms ease;
}

.login-card .input-group:focus-within,
#seller-registration .input-group:focus-within {
    box-shadow:
        inset 4px 4px 9px var(--ayv-clay-shade),
        inset -4px -4px 9px var(--ayv-clay-lit),
        0 0 0 2px var(--ayv-accent);
}

.login-card.login-card .input-group .form-control,
.login-card.login-card .input-group .form-control:focus,
#seller-registration .input-group .form-control,
#seller-registration .input-group .form-control:focus {
    background: transparent;
    box-shadow: none;
}

.login-card .input-group-text,
#seller-registration .input-group-text {
    background: transparent;
    border: 0;
    color: var(--ayv-ink-faint);
}

/* ==========================================================================
   3. BUTTONS
   A top highlight and a dark bottom lip inside the fill, so the control
   has a body. On :active the lip goes and it sinks.
   ========================================================================== */

.login-card .btn--primary,
#seller-registration .btn--primary,
#seller-registration button[type="submit"] {
    position: relative;
    overflow: hidden;

    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    min-height: 50px;
    font-weight: 600;
    color: #fff;

    background: linear-gradient(145deg, var(--ayv-leaf-light) 0%, var(--ayv-forest) 100%);
    box-shadow:
        0 12px 22px -8px rgba(20, 48, 26, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -3px 0 rgba(0, 0, 0, 0.18);
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.login-card .btn--primary:hover,
#seller-registration .btn--primary:hover,
#seller-registration button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 16px 28px -8px rgba(20, 48, 26, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.login-card .btn--primary:active,
#seller-registration .btn--primary:active,
#seller-registration button[type="submit"]:active {
    transform: translateY(1px);
    box-shadow:
        0 4px 10px -4px rgba(20, 48, 26, 0.5),
        inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* The social sign-in buttons are secondary and should not compete with the
   primary action, so they take the shape but not the weight: raised out of
   the clay rather than coloured. */
.login-card .btn:not(.btn--primary) {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(150deg, var(--ayv-clay-top), var(--ayv-clay));
    color: var(--ayv-ink);
    box-shadow:
        4px 5px 10px rgba(90, 86, 52, 0.16),
        -3px -3px 8px rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   4. LABELS, LINKS, CHECKBOXES
   ========================================================================== */

.login-card label,
#seller-registration label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ayv-ink-soft);
    margin-bottom: 0.45rem;
}

/* The asterisk and the inline error beside a label are not labels and
   should not be shouted. */
.login-card label .text-danger,
#seller-registration label .text-danger {
    letter-spacing: 0;
    text-transform: none;
}

.login-card a:not(.btn),
#seller-registration a:not(.btn) {
    color: var(--ayv-leaf);
    font-weight: 600;
    transition: color 140ms ease;
}

.login-card a:not(.btn):hover,
#seller-registration a:not(.btn):hover {
    color: var(--ayv-accent-deep);
}

.login-card .custom-control-input,
.login-card .form-check-input,
#seller-registration .custom-control-input,
#seller-registration .form-check-input {
    border: 0;
    background-color: var(--ayv-clay);
    box-shadow:
        inset 2px 2px 4px var(--ayv-clay-shade),
        inset -2px -2px 4px var(--ayv-clay-lit);
}

.login-card .custom-control-input:checked,
.login-card .form-check-input:checked,
#seller-registration .custom-control-input:checked,
#seller-registration .form-check-input:checked {
    background-color: var(--ayv-leaf);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 6px -2px rgba(20, 48, 26, 0.5);
}

/* The divider between the form and the social buttons, which was a hard
   grey rule. */
.login-card .or-sign-in-with-row::before,
.login-card .or-sign-in-with-row::after {
    background: linear-gradient(90deg, transparent, var(--ayv-clay-shade), transparent);
}

/* The logo and banner upload tiles on the registration page, which were
   dashed grey rectangles. */
#seller-registration .upload-file,
#seller-registration .drag-and-drop-file-upload {
    border-radius: 18px;
    border-color: rgba(47, 107, 44, 0.26);
    background: var(--ayv-clay);
    box-shadow:
        inset 3px 3px 7px var(--ayv-clay-shade),
        inset -3px -3px 7px var(--ayv-clay-lit);
}

/* ==========================================================================
   5. MOTION
   The same rhythm and easing as the admin side, so the two sets feel like
   one product. On the form groups rather than every child, to leave the
   headings and the mark out of it.
   ========================================================================== */

@keyframes ayv-card-in {
    from { opacity: 0; transform: translateY(16px) scale(0.985); }
    to   { opacity: 1; transform: none; }
}

@keyframes ayv-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

@keyframes ayv-rule-draw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {

    .login-card,
    #seller-registration .bg-white {
        animation: ayv-card-in 620ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }

    .login-card h2::before,
    #seller-registration h4::before,
    .create-an-account h3::before {
        transform-origin: left center;
        animation: ayv-rule-draw 540ms cubic-bezier(0.22, 1, 0.36, 1) 320ms backwards;
    }

    .login-card h2::before {
        transform-origin: center;
    }

    .login-card form .form-group,
    .login-card form .mb-3,
    .login-card form .mb-4,
    #seller-registration .mb-4 {
        animation: ayv-rise 460ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }

    .login-card form .form-group:nth-child(1),
    .login-card form .mb-3:nth-child(1) { animation-delay: 150ms; }
    .login-card form .form-group:nth-child(2),
    .login-card form .mb-3:nth-child(2) { animation-delay: 210ms; }
    .login-card form .form-group:nth-child(3),
    .login-card form .mb-3:nth-child(3) { animation-delay: 270ms; }
    .login-card form .form-group:nth-child(n+4),
    .login-card form .mb-3:nth-child(n+4) { animation-delay: 330ms; }
}

/* ==========================================================================
   6. PHONE
   ========================================================================== */

@media (max-width: 575px) {

    .login-card.login-card,
    #seller-registration .bg-white {
        padding: 1.35rem 1.1rem;
        border-radius: 20px !important;
        box-shadow:
            8px 10px 20px rgba(90, 86, 52, 0.14),
            -6px -6px 16px rgba(255, 255, 255, 0.85);
    }

    .container:has(> .row > .login-card)::before,
    .create-an-account::after {
        inset: -1rem -1.5rem;
        border-radius: 1.5rem;
    }
}

/* ==========================================================================
   7. THE SHOPFRONT DRAWING
   The picture beside the vendor registration form.

   These fills and animations are the same ones auth-motion.css defines for
   the five admin and vendor scenes, repeated here because the storefront
   does not load that file. Two copies of a dozen declarations is the lesser
   evil: pulling auth-motion.css into every storefront page to reuse them
   would bring the whole card and form layout with it.
   ========================================================================== */

.ayv-mark--shopfront {
    width: min(19rem, 100%);
    margin-inline: auto;
}

.ayv-mark--shopfront svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.ayv-scene .ayv-hill-near  { fill: #2f6b2c; opacity: 0.82; }
.ayv-scene .ayv-ground     { fill: #14301a; }
.ayv-scene .ayv-foliage    { fill: #14301a; opacity: 0.92; }
.ayv-scene .ayv-foliage-2  { fill: #2f6b2c; opacity: 0.80; }
.ayv-scene .ayv-foliage-3  { fill: #5b8c52; opacity: 0.70; }
.ayv-scene .ayv-trunk      { fill: none; stroke: #14301a; stroke-linecap: round; }
/* Blurred, not a flat disc. A large circle at low opacity still has a hard
   edge, and on the ripple and orbit scenes it read as a yellow plate behind
   the drawing rather than as light. The blur is what makes it a glow. */
.ayv-scene .ayv-sun-halo   { fill: #f7e52e; opacity: 0.38; filter: blur(18px); }
.ayv-scene .ayv-grain      { fill: #d4bf35; opacity: 0.8; }

.ayv-scene .ayv-glow,
.ayv-scene .ayv-mote {
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes ayv-breathe {
    from { opacity: 0.18; transform: scale(0.94); }
    to   { opacity: 0.34; transform: scale(1.06); }
}

@keyframes ayv-grow {
    from { transform: translateY(12px) scaleY(0.86); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

@keyframes ayv-sway {
    from { transform: rotate(-2deg); }
    to   { transform: rotate(2deg); }
}

@keyframes ayv-motes {
    0%   { opacity: 0;   transform: translate(0, 0); }
    15%  { opacity: 0.7; }
    100% { opacity: 0;   transform: translate(20px, -46px); }
}

@media (prefers-reduced-motion: no-preference) {

    .ayv-scene .ayv-glow { animation: ayv-breathe 7s ease-in-out infinite alternate; }
    .ayv-scene .ayv-grow { animation: ayv-grow 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms backwards; }
    .ayv-scene .ayv-sway { animation: ayv-sway 6s ease-in-out infinite alternate; transform-origin: bottom center; }

    .ayv-scene .ayv-mote { animation: ayv-motes 13s ease-in-out infinite; }
    .ayv-scene .ayv-mote:nth-of-type(2) { animation-duration: 17s; animation-delay: 4s; }
    .ayv-scene .ayv-mote:nth-of-type(3) { animation-duration: 10s; animation-delay: 7s; }
}

@media (prefers-reduced-motion: reduce) {

    .ayv-scene .ayv-mote { display: none; }
}
