/* Craft Connect main stylesheet
   Clean Figma-aligned system for the public marketplace pages. */

:root {
    --cream: #f1ead7;
    --cream-soft: #fbf6e8;
    --cream-warm: #e8dfc7;
    --sage: #8fa160;
    --sage-dark: #62713f;
    --sage-deep: #334018;
    --terra: #c86d4f;
    --terra-dark: #9c4e37;
    --ink: #2b2b2b;
    --ink-soft: #40362d;
    --muted: rgba(64, 54, 45, .68);
    --line: rgba(46, 38, 30, .2);
    --white-glass: rgba(255, 252, 242, .78);
    --shadow-soft: 0 18px 50px rgba(51, 42, 31, .13);
    --shadow-card: 0 12px 30px rgba(51, 42, 31, .12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 999px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Mulish", "DM Sans", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 14% 6%, rgba(200, 109, 79, .14), transparent 28rem),
        radial-gradient(circle at 88% 16%, rgba(143, 161, 96, .16), transparent 30rem),
        var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

/* ── Page transitions ─────────────────────────── */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bottomSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-30px); }
}
@keyframes bottomSlideIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes leftOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}
@keyframes leftIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLROut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}
@keyframes fadeLRIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes topScaleOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-30px) scale(0.95); }
}
@keyframes topScaleIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#page-content {
    min-height: 50vh;
}

.page-out--fade    { animation: fadeOut .35s ease forwards; }
.page-in--fade     { animation: fadeIn .35s ease forwards; }
.page-out--bottom  { animation: bottomSlideOut .35s ease forwards; }
.page-in--bottom   { animation: bottomSlideIn .4s cubic-bezier(.16,1,.3,1) forwards; }
.page-out--scale   { animation: scaleOut .35s ease forwards; }
.page-in--scale    { animation: scaleIn .4s cubic-bezier(.16,1,.3,1) forwards; }
.page-out--left    { animation: leftOut .35s ease forwards; }
.page-in--left     { animation: leftIn .4s cubic-bezier(.16,1,.3,1) forwards; }
.page-out--fadeLR  { animation: fadeLROut .35s ease forwards; }
.page-in--fadeLR   { animation: fadeLRIn .4s cubic-bezier(.16,1,.3,1) forwards; }
.page-out--topScale { animation: topScaleOut .35s ease forwards; }
.page-in--topScale { animation: topScaleIn .4s cubic-bezier(.16,1,.3,1) forwards; }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .28;
    background-image:
        linear-gradient(rgba(64, 54, 45, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 54, 45, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: -1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--sage-dark);
    text-decoration: none;
    transition: color .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
}

a:hover {
    color: var(--terra-dark);
}

mark {
    background: rgba(200, 109, 79, .2);
    color: inherit;
    border-radius: 6px;
    padding: 0 .12em;
}

.container {
    width: min(100% - 32px, 1380px);
    max-width: 1380px;
}

.announcement-bar {
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: .35rem 1rem;
    background: rgba(240, 234, 214, 0.7);
    color: var(--ink-soft);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(46, 38, 30, .08);
}

/* Navigation */
.artisan-navbar {
    padding: 0;
    background: transparent;
}

.figma-nav-wrap {
    max-width: none;
    width: 100%;
    padding: 0;
    --bs-gutter-x: 0;
}

.artisan-navbar .container.figma-nav-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.artisan-navbar-shell {
    width: 100%;
    background: var(--sage);
    box-shadow: 0 10px 22px rgba(42, 49, 24, .08);
}

.artisan-navbar-inner {
    height: 114px;
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 3.25rem);
    align-items: center;
    gap: clamp(1rem, 2.8vw, 2.6rem);
    position: relative;
}

.nav-menu-toggle {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    color: var(--cream-soft);
    font-size: 1.8rem;
    line-height: 1;
    flex: 0 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-menu-toggle:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* ── Sidebar drawer ── */
.nav-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.nav-sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.nav-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--cream-soft);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0,0,0,.12);
}

.nav-sidebar.open {
    transform: translateX(0);
}

.nav-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.nav-sidebar-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
}

.nav-sidebar-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--ink-soft);
    cursor: pointer;
    padding: .25rem;
}

.nav-sidebar-close:hover {
    color: var(--terra);
}

.nav-sidebar-links {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.nav-sidebar-links li {
    border-bottom: 1px solid rgba(46,38,30,.06);
}

.nav-sidebar-links a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1.5rem;
    color: var(--ink-soft);
    font-size: 1rem;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.nav-sidebar-links a:hover {
    background: rgba(143,161,96,.12);
    color: var(--ink);
}

.nav-sidebar-links a i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: var(--sage);
}

body.sidebar-open {
    overflow: hidden;
}

/* ── Brand name in public navbar ── */
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    color: inherit;
}

.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: #F0EAD6;
    letter-spacing: .03em;
    white-space: nowrap;
}

.artisan-navbar .nav-brand {
    flex: 1 1 auto;
    justify-content: center;
}

.artisan-navbar .artisan-toggler,
.artisan-navbar .navbar-collapse {
    display: none;
}

@media (min-width: 992px) {
    .artisan-navbar-inner {
        height: 114px;
        width: min(100%, 1500px);
        padding: 0 clamp(1rem, 3vw, 3.25rem);
        gap: clamp(1rem, 2.8vw, 2.6rem);
    }
    .artisan-navbar .nav-brand {
        flex: 0 0 auto;
        justify-content: flex-start;
    }
    .artisan-navbar .nav-brand-name {
        display: none;
    }
    .artisan-navbar .navbar-collapse {
        display: flex;
        flex-basis: auto;
    }
    .nav-sidebar-home {
        display: none;
    }
    .nav-menu-toggle {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
    .nav-brand-medallion {
        width: 98px;
        height: 98px;
        margin: 0;
    }
    .nav-brand-medallion img {
        width: 60px;
        height: 60px;
    }
    .nav-action-list {
        gap: clamp(.65rem, 1.15vw, 1.2rem);
        padding-right: 0;
    }
    .nav-icon-link i,
    .nav-auth-link i {
        font-size: 2rem;
    }
}

/* ── Dashboard top navbar (admin + artisan, mobile only) ── */
/* Moved to assets/css/dashboards.css to keep main.css free of dashboard button overrides */

.artisan-toggler {
    border: 1px solid rgba(255, 252, 242, .55);
    color: var(--cream-soft);
    border-radius: 12px;
    padding: .45rem .65rem;
}

.artisan-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 252, 242, .2);
}

.artisan-nav-links {
    align-items: center;
    gap: clamp(.45rem, 1.3vw, 1.45rem);
}

.artisan-nav-links .nav-link {
    padding: .55rem .35rem;
    color: var(--cream-soft);
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.5vw, 1.4rem);
    font-weight: 500;
    letter-spacing: .01em;
    text-shadow: 0 1px 0 rgba(46, 38, 30, .12);
    position: relative;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}

.artisan-nav-links .nav-link:hover,
.artisan-nav-links .nav-link.active {
    color: #fff;
}

.artisan-nav-links .nav-link:hover {
    background: rgba(255, 255, 255, .08);
}

.artisan-nav-links .nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--cream-soft);
    border-radius: var(--radius-pill);
    transition: transform .25s ease;
}

.artisan-nav-links .nav-link:hover::after,
.artisan-nav-links .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-action-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(.4rem, .8vw, .75rem);
    margin-left: auto;
    min-width: 190px;
    padding-right: clamp(.25rem, .5vw, .5rem);
}

.nav-icon-link,
.nav-auth-link {
    color: var(--cream-soft);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .12rem;
    min-width: 48px;
    font-family: var(--font-display);
    font-size: 1.13rem;
}

.nav-icon-link i,
.nav-auth-link i {
    font-size: 1.6rem;
    line-height: 1;
}

.nav-icon-link:hover,
.nav-auth-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-icon-link {
    position: relative;
}

.nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--terra, #c4643b);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    pointer-events: none;
}

.nav-notif { position: relative; }
.nav-notif-toggle { background: transparent; border: 0; }
.nav-notif-menu { min-width: 320px; max-width: 360px; padding: 0; border: 1px solid var(--line, #e6ddd0); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.nav-lang-toggle button.nav-icon-link { background: none; border: none; padding: 0; color: var(--cream-soft); cursor: pointer; }
.nav-notif-header { display: flex; align-items: center; justify-content: space-between; padding: .65rem 1rem; border-bottom: 1px solid var(--line, #e6ddd0); background: #faf7f2; }
.nav-notif-empty { padding: 1rem; }
.nav-notif-list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.nav-notif-item { display: flex; gap: .65rem; padding: .75rem 1rem; color: inherit; text-decoration: none; border-bottom: 1px solid #f1ece1; }
.nav-notif-item:hover { background: #faf7f2; }
.nav-notif-item i { font-size: 1.1rem; color: var(--terra, #c4643b); margin-top: 2px; }
.nav-notif-title { font-weight: 600; font-size: .88rem; }
.nav-notif-body { margin-top: 2px; }
.nav-notif-time { margin-top: 4px; }

.nav-logout-link {
    border: 1px solid rgba(255, 252, 242, .55);
    color: var(--cream-soft);
    border-radius: var(--radius-pill);
    padding: .45rem .9rem;
    font-weight: 700;
    font-size: .9rem;
}

.nav-logout-link:hover {
    background: var(--cream-soft);
    color: var(--sage-deep);
}

.nav-icon-copy {
    font-size: .68rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .02em;
    text-align: center;
}

/* Nav medallion */
.nav-brand-medallion {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: var(--cream-soft);
    display: grid;
    place-items: center;
    box-shadow: 0 12px 25px rgba(56, 50, 32, .12);
}

.nav-brand-medallion img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Shared layout */
.page-shell {
    padding: clamp(2.6rem, 6vw, 5rem) 0;
}

.page-heading {
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3.2rem);
    text-align: center;
}

.section-eyebrow,
.about-section-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--terra-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: .55rem;
}

.page-title,
.section-title,
.about-section-title {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.02em;
}

.page-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
}

.section-title,
.about-section-title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.page-lead,
.about-section-copy {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    max-width: 740px;
    margin: .9rem auto 0;
}

.breadcrumb {
    margin-bottom: 1.7rem;
    font-size: .95rem;
}

.breadcrumb a {
    font-weight: 800;
}

.breadcrumb-item.active {
    color: var(--muted);
}

.card,
.checkout-card,
.detail-section-card,
.summary-panel,
.catalog-filter-panel,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 252, 242, .74);
    box-shadow: var(--shadow-card);
}

.card {
    color: var(--ink-soft);
}

.form-label {
    color: var(--ink-soft);
    font-weight: 800;
    font-size: .9rem;
}

.form-control,
.form-select {
    border: 1px solid rgba(46, 38, 30, .26);
    border-radius: 14px;
    background-color: rgba(255, 252, 242, .92);
    color: var(--ink);
    padding: .78rem .95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 .22rem rgba(143, 161, 96, .22);
    background-color: #fffdf5;
}

textarea.form-control {
    min-height: 110px;
}

.btn {
    border-radius: var(--radius-pill);
    font-weight: 800;
    padding: .75rem 1.3rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sage,
.btn-clay {
    background: var(--sage);
    border-color: var(--sage-dark);
    color: var(--cream-soft);
    box-shadow: 0 12px 25px rgba(98, 113, 63, .22);
}

.btn-sage:hover,
.btn-clay:hover {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: #fff;
}

.btn-terra {
    background: var(--terra);
    border-color: var(--terra-dark);
    color: #21160f;
    box-shadow: 0 12px 25px rgba(200, 109, 79, .24);
}

.btn-terra:hover {
    background: var(--terra-dark);
    border-color: var(--terra-dark);
    color: #fff;
}

.btn-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-outline-secondary {
    border-color: rgba(46, 38, 30, .45);
    color: var(--ink-soft);
}

.btn-outline-secondary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-outline-ivory {
    border: 1px solid rgba(255, 252, 242, .7);
    color: var(--cream-soft);
}

.btn-outline-ivory:hover {
    background: var(--cream-soft);
    color: var(--ink);
}

.alert {
    border-radius: var(--radius-sm);
    border-width: 1px;
}

.badge {
    border-radius: var(--radius-pill);
    padding: .45rem .7rem;
}

/* Home hero */
.figma-home {
    padding: clamp(0.1rem, 0.6vw, 0.6rem) 0;
}

.figma-home-container {
    width: min(100% - 32px, 1744px);
    max-width: 1744px;
}

.figma-home-frame {
    position: relative;
    overflow: hidden;
    min-height: clamp(620px, 80vh, 820px);
    border: 1px solid rgba(255, 252, 242, 0.9);
    border-radius: 3px;
    background: var(--cream-soft);
    box-shadow: 0 24px 65px rgba(50, 40, 30, .16);
}

.landing-hero-bg,
.landing-hero-overlay {
    position: absolute;
    inset: 0;
}

.landing-hero-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--cream-soft);
    filter: saturate(.95);
}

.landing-hero-overlay {
    background:
        linear-gradient(180deg, rgba(255, 252, 242, .86) 0%, rgba(255, 252, 242, .42) 40%, rgba(241, 234, 215, .08) 100%),
        radial-gradient(circle at 50% 22%, rgba(255, 252, 242, .8), transparent 30rem);
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(1.1rem, 2.8vw, 2rem);
}

.hero-search-shell {
    align-self: center;
    width: min(100%, 708px);
}

.hero-search-form {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 253, 248, .96);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(42, 35, 27, .08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hero-search-form:focus-within {
    transform: scale(1.03);
    box-shadow: 0 14px 32px rgba(42, 35, 27, .14);
    border-color: var(--sage);
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    padding: .4rem .85rem;
    outline: 0;
}

.hero-search-input::placeholder {
    color: rgba(64, 54, 45, .58);
}

.hero-search-button {
    width: 48px;
    min-height: 48px;
    border: 0;
    border-left: 1px solid rgba(46, 38, 30, .18);
    background: transparent;
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.hero-search-button:hover {
    background: rgba(143, 161, 96, .16);
}

.hero-floating-pill {
    position: absolute;
    top: 100px;
    min-width: 220px;
    padding: .75rem 1.4rem;
    border: 1.4px solid rgba(46, 38, 30, .78);
    border-radius: var(--radius-pill);
    color: #1f1711;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    letter-spacing: .04em;
    text-align: center;
    box-shadow: 0 14px 28px rgba(46, 38, 30, .12);
    transition: transform .22s ease, background .22s ease, color .22s ease;
}

.hero-left {
    left: clamp(2rem, 5vw, 4rem);
    background: var(--sage);
}

.hero-right {
    right: clamp(2rem, 5vw, 4rem);
    background: var(--terra);
}

.hero-floating-pill:hover {
    color: #fff;
    transform: translateY(-3px);
}

.hero-left:hover {
    background: var(--sage-dark);
}

.hero-right:hover {
    background: #b0553e;
}

.hero-brand {
    margin: clamp(1rem, 3vw, 2.5rem) auto clamp(2rem, 4vw, 3rem);
    text-align: center;
    max-width: 720px;
}

.hero-brand img {
    width: clamp(96px, 10vw, 154px);
    margin: 0 auto .65rem;
}

.hero-brand h1 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: .03em;
}

.hero-brand p {
    margin: .75rem auto 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    line-height: 1.25;
}

.hero-bottom-panel {
    width: 100%;
    margin-top: auto;
    padding: .6rem clamp(1.25rem, 2.6vw, 2.2rem) .7rem;
    background: rgba(46, 42, 36, .56);
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.hero-bottom-panel + .hero-bottom-panel {
    margin-top: .5rem;
}

.hero-bottom-head {
    color: var(--cream-soft);
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: .4rem;
    text-align: center;
}

.hero-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 230px);
    justify-content: space-evenly;
    gap: clamp(.4rem, .8vw, .7rem);
}

/* Product tiles (Latest Art, Featured Art) */
.product-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 230px;
    height: 270px;
    border-radius: 45px;
    overflow: hidden;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(2px);
    transition: transform .2s, box-shadow .2s;
    min-width: 0;
}

.product-tile.scroll-reveal.visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.product-tile-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--cream-warm);
}

.product-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-tile-label {
    position: absolute;
    bottom: .65rem;
    left: 50%;
    transform: translateX(-50%);
    padding: .4rem .85rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--cream-soft);
    background: rgba(46, 42, 36, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(253, 250, 244, .18);
    border-radius: 999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 1.5rem);
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

/* Category tiles (slideshow) */
.category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 230px;
    height: 270px;
    border-radius: 45px;
    overflow: hidden;
    background: var(--cream-warm);
    transition: transform .2s, box-shadow .2s;
    min-width: 0;
}

.category-tile.scroll-reveal.visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.category-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--cream-warm);
}

.category-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .8s ease;
}

.category-slide.static,
.category-slide.visible {
    opacity: 1;
}

.category-tile-label {
    position: absolute;
    bottom: .65rem;
    left: 50%;
    transform: translateX(-50%);
    padding: .4rem .85rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--cream-soft);
    background: rgba(46, 42, 36, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(253, 250, 244, .18);
    border-radius: 999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 1.5rem);
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.artisan-floater-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 2rem;
}

.artisan-floater-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 18px;
    background: rgba(255, 252, 242, .86);
    color: var(--ink);
    transition: transform .2s, box-shadow .2s;
}

.artisan-floater-card.scroll-reveal.visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(46, 38, 30, .12);
}

.artisan-floater-avatar,
.artisan-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--cream-soft);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.artisan-floater-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink);
}

.artisan-floater-specialty,
.artisan-floater-location,
.artisan-floater-stats {
    color: var(--muted);
    font-size: .9rem;
}

.artisan-floater-stats {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: .3rem;
    justify-content: center;
}

/* Artisan profile header */
.artisan-profile-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 252, 242, .78);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
}

.artisan-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--cream-soft);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.artisan-profile-info {
    flex: 1;
    min-width: 0;
}

.artisan-profile-name {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.artisan-profile-specialty {
    margin-top: .25rem;
    color: var(--terra-dark);
    font-weight: 800;
    font-size: .95rem;
}

.artisan-profile-location {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .9rem;
}

.artisan-profile-location i {
    margin-right: .3rem;
}

.artisan-profile-bio {
    margin-top: .75rem;
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 680px;
}

.artisan-profile-stats {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: .75rem;
    color: var(--muted);
    font-size: .9rem;
}

.artisan-profile-stats i {
    margin-right: .3rem;
    color: var(--sage-dark);
}

.page-section {
    padding: 3rem 0;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    color: var(--ink);
    margin: 0;
    font-weight: 500;
    line-height: 1.1;
}

/* Alternating section backgrounds for visual rhythm on the home page */
.section-light { background: var(--cream-soft); }
.section-warm  { background: var(--cream-warm); }

/* Section header: eyebrow label + heading on left, "View all" on right */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    color: var(--sage-dark);
    letter-spacing: .22em;
    text-transform: uppercase;
    margin: 0 0 .35rem;
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--sage-dark);
    text-decoration: none;
    padding: .5rem 0;
    border-bottom: 1.5px solid transparent;
    transition: color .2s, border-color .2s, gap .2s;
}

.section-view-all:hover {
    color: var(--terra);
    border-bottom-color: var(--terra);
    gap: .6rem;
}

/* Trust strip between hero and Latest Art */
.trust-strip {
    background: linear-gradient(180deg, var(--cream-soft) 0%, rgba(143, 161, 96, .12) 50%, var(--cream-soft) 100%);
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-item > i {
    font-size: 1.6rem;
    color: var(--terra);
    background: rgba(196, 104, 75, .12);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.trust-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
    margin: 0 0 .25rem;
    font-weight: 600;
}

.trust-item p {
    font-size: .875rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}

/* Catalog and cards */
.catalog-layout {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.6rem);
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 148px;
}

.catalog-filter-panel {
    padding: 1.25rem;
    background: var(--sage);
    color: var(--cream-soft);
}

.catalog-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.catalog-filter-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.catalog-filter-group {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 252, 242, .26);
}

.catalog-filter-label {
    display: block;
    margin-bottom: .65rem;
    color: var(--cream-soft);
    font-weight: 800;
}

.catalog-filter-links {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.catalog-filter-link {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .68rem .78rem;
    border-radius: 12px;
    color: var(--cream-soft);
    cursor: pointer;
}

.catalog-filter-link:hover,
.catalog-filter-link.active {
    background: rgba(255, 252, 242, .2);
    color: #fff;
}

.catalog-filter-artists .artists-filter-body {
    display: none;
}

.catalog-filter-artists.open .artists-filter-body {
    display: flex;
}

.filter-toggle-icon {
    transition: transform .25s ease;
    display: inline-block;
}

.catalog-filter-artists.open .filter-toggle-icon {
    transform: rotate(0deg);
}

.catalog-filter-artists:not(.open) .filter-toggle-icon {
    transform: rotate(-90deg);
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 252, 242, .62);
}

.catalog-toolbar p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.catalog-grid,
.artisan-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.artisan-product-card {
    overflow: hidden;
    border: 1px solid rgba(200, 109, 79, .55);
    border-radius: 28px;
    background: rgba(255, 252, 242, .78);
    box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.artisan-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--terra-dark);
    box-shadow: 0 20px 42px rgba(51, 42, 31, .16);
}

.artisan-product-media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #d9d9d9;
    overflow: hidden;
}

.artisan-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artisan-product-body {
    padding: 1rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: .32rem .72rem;
    border-radius: var(--radius-pill);
    background: rgba(143, 161, 96, .18);
    color: var(--sage-deep);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.artisan-product-title {
    display: block;
    margin-top: .8rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.05;
}

.artisan-product-meta {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .94rem;
}

.star-row {
    display: flex;
    align-items: center;
    gap: .12rem;
    margin-top: .65rem;
}

.star,
.pick-star {
    color: rgba(64, 54, 45, .28);
    font-size: 1rem;
}

.star.filled,
.pick-star.selected {
    color: #b9852f;
}

.pick-star {
    cursor: pointer;
    font-size: 1.6rem;
}

.artisan-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    margin-top: 1rem;
}

.price-tag,
.product-price,
.basket-line-total,
.summary-total {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.empty-state {
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.pagination {
    gap: .35rem;
}

.page-link {
    border-radius: 12px !important;
    border-color: rgba(46, 38, 30, .18);
    color: var(--ink-soft);
    background: rgba(255, 252, 242, .75);
}

.page-item.active .page-link {
    background: var(--sage);
    border-color: var(--sage);
}

.search-banner {
    margin-bottom: 2rem;
    padding: clamp(1rem, 2.5vw, 1.6rem);
    border-radius: var(--radius-lg);
    background: rgba(255, 252, 242, .62);
    border: 1px solid var(--line);
}

.search-banner p {
    margin: .9rem 0 0;
    color: var(--muted);
}

/* Product detail */
.product-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
    gap: clamp(1.8rem, 4vw, 4rem);
    align-items: start;
}

.product-gallery-panel {
    min-height: 520px;
    border: 1px solid rgba(46, 38, 30, .62);
    border-radius: 28px;
    background: #d9d9d9;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.product-main-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.product-thumb-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    padding: .85rem;
    background: rgba(255, 252, 242, .7);
}

.product-thumb {
    border: 1px solid rgba(46, 38, 30, .25);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    background: #d9d9d9;
}

.product-thumb.active {
    border-color: var(--terra-dark);
}

.product-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.maker-ribbon {
    width: min(70%, 380px);
    margin: -64px auto 0;
    position: relative;
    z-index: 2;
    padding: .85rem 1.5rem;
    border: 1px solid rgba(46, 38, 30, .72);
    border-radius: var(--radius-pill);
    background: var(--sage);
    color: var(--cream-soft);
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.maker-ribbon small {
    opacity: .8;
}

.product-side-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-copy-card,
.detail-section-card {
    padding: clamp(1.2rem, 2.3vw, 1.7rem);
}

.detail-card-title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.85rem;
    margin-bottom: .85rem;
}

.product-description {
    color: var(--ink-soft);
    font-family: var(--font-display);
    font-size: 1.32rem;
    line-height: 1.35;
}

.product-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-action-stack form {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-wrap: wrap;
}

.quantity-shell {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(46, 38, 30, .28);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: rgba(255, 252, 242, .9);
}

.quantity-shell button {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 900;
}

.quantity-shell input {
    width: 54px;
    height: 42px;
    border: 0;
    border-left: 1px solid rgba(46, 38, 30, .14);
    border-right: 1px solid rgba(46, 38, 30, .14);
    background: transparent;
    text-align: center;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(2rem, 5vw, 4rem);
}

.artisan-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: var(--radius-pill);
    background: rgba(143, 161, 96, .18);
    color: var(--sage-deep);
    font-weight: 900;
    font-size: .82rem;
}

.review-list {
    display: grid;
    gap: .85rem;
}

.review-card {
    padding: 1rem;
    border: 1px solid rgba(46, 38, 30, .14);
    border-radius: 16px;
    background: rgba(255, 252, 242, .74);
}

/* Cart and checkout */
.basket-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
}

.basket-stack,
.checkout-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.basket-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto auto 42px;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(46, 38, 30, .42);
    border-radius: 16px;
    background: rgba(255, 252, 242, .72);
}

.basket-row-unavailable {
    opacity: .68;
}

.basket-image {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    border: 1px solid rgba(46, 38, 30, .25);
    object-fit: cover;
    background: #d9d9d9;
}

.basket-title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
}

.basket-meta {
    color: var(--muted);
}

.basket-remove-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(156, 78, 55, .28);
    border-radius: 50%;
    background: rgba(200, 109, 79, .12);
    color: var(--terra-dark);
    font-weight: 900;
}

.summary-panel {
    position: sticky;
    top: 148px;
    padding: 1.35rem;
}

.summary-title,
.checkout-section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.9rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--muted);
}

.summary-divider {
    height: 1px;
    background: rgba(46, 38, 30, .18);
    margin: 1.1rem 0;
}

.trust-stack {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
    color: var(--muted);
    font-weight: 700;
}

.trust-stack i {
    color: var(--sage-dark);
}

.progress-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    color: var(--muted);
    font-weight: 800;
}

.progress-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(46, 38, 30, .24);
    background: rgba(255, 252, 242, .8);
}

.progress-step.active .progress-dot,
.progress-step.done .progress-dot {
    background: var(--sage);
    color: var(--cream-soft);
}

.progress-line {
    width: min(12vw, 120px);
    height: 2px;
    background: rgba(46, 38, 30, .18);
}

.progress-line.done {
    background: var(--sage);
}

/* ── Order confirmation ────────────────────────── */
.confirm-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(143, 161, 96, .14);
    border: 1px solid rgba(143, 161, 96, .28);
}

.confirm-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--cream-soft);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.confirm-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.confirm-subtitle {
    margin: .25rem 0 0;
    color: var(--muted);
}

/* ── Order status tracker ──────────────────────── */
.tracker-steps {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .75rem;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    position: relative;
}

.tracker-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(46, 38, 30, .2);
    background: var(--cream-soft);
    transition: background .25s, border-color .25s;
}

.tracker-step.done .tracker-dot {
    background: var(--sage);
    border-color: var(--sage);
}

.tracker-step.active .tracker-dot {
    background: var(--terra);
    border-color: var(--terra);
    box-shadow: 0 0 0 4px rgba(196, 104, 75, .2);
}

.tracker-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tracker-step.active .tracker-label {
    color: var(--ink);
    font-weight: 800;
}

.tracker-step.done .tracker-label {
    color: var(--ink-soft);
}

.tracker-line {
    width: 48px;
    height: 2px;
    background: rgba(46, 38, 30, .14);
    flex: 1;
    min-width: 24px;
}

.tracker-line.done {
    background: var(--sage);
}

/* ── Summary items ─────────────────────────────── */
.summary-items {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(46, 38, 30, .08);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-media {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream-soft2);
    flex: 0 0 auto;
    position: relative;
}

.summary-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-qty {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--terra);
    color: var(--cream-soft);
    font-size: .7rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.summary-item-name {
    font-weight: 600;
    color: var(--ink);
}

.summary-item-meta {
    font-size: .85rem;
    color: var(--muted);
}

.summary-item-price {
    margin-left: auto;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink);
}

.checkout-card {
    overflow: hidden;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(46, 38, 30, .12);
    background: rgba(143, 161, 96, .12);
}

.checkout-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sage);
    color: var(--cream-soft);
    font-weight: 900;
}

.checkout-card-body {
    padding: 1.25rem;
}

.delivery-options {
    display: grid;
    gap: .8rem;
}

.delivery-option-card {
    display: block;
    border: 1px solid rgba(46, 38, 30, .18);
    border-radius: 16px;
    background: rgba(255, 252, 242, .82);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.delivery-option-card:hover,
.delivery-option-card:has(input:checked) {
    border-color: var(--sage-dark);
    box-shadow: 0 12px 24px rgba(98, 113, 63, .16);
}

.delivery-option-card input[type="radio"] {
    margin: 0;
}

.delivery-option-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .9rem;
    align-items: center;
    padding: .95rem;
}

.delivery-option-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(143, 161, 96, .18);
    color: var(--sage-deep);
}

.delivery-option-title {
    color: var(--ink);
    font-weight: 900;
}

.delivery-option-desc {
    color: var(--muted);
    font-size: .92rem;
}

.delivery-option-price {
    color: var(--ink);
    font-weight: 900;
}

/* About page */
.about-page {
    padding-top: 0;
}

.about-hero {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: clamp(3rem, 7vw, 6rem) 1rem;
    background:
        linear-gradient(135deg, rgba(43, 43, 43, .88), rgba(43, 43, 43, .62)),
        url("../images/hero-bg.png") center/cover;
    color: var(--cream-soft);
}

.about-hero-inner {
    width: min(100%, 980px);
    text-align: center;
}

.about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--cream-soft);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 500;
    line-height: .92;
}

.about-hero-title em {
    color: #f2b296;
    font-style: italic;
}

.about-hero-copy {
    max-width: 760px;
    margin: 1.25rem auto 0;
    color: rgba(255, 252, 242, .86);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.about-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.8rem;
}

.about-section {
    padding: clamp(3rem, 7vw, 6rem) 1rem;
}

.about-section-sand {
    background: rgba(255, 252, 242, .45);
}

.about-section-ink {
    background: var(--ink);
    color: var(--cream-soft);
}

.about-section-ink .about-section-title,
.about-section-ink .about-section-copy {
    color: var(--cream-soft);
}

.about-section-sage {
    background: var(--sage);
    color: var(--cream-soft);
}

.about-section-sage .about-section-title,
.about-section-sage .about-section-copy {
    color: var(--cream-soft);
}

.about-section-sage .about-section-label {
    color: var(--cream-soft);
}

.about-section-sage .about-role-card {
    background: rgba(255, 252, 242, .1);
    border-color: rgba(255, 252, 242, .25);
}

.about-section-sage .about-role-title,
.about-section-sage .about-role-copy {
    color: var(--cream-soft);
}

.about-section-sage .about-role-icon {
    background: rgba(200, 109, 79, .22);
    color: var(--terra);
}

.about-section-inner,
.about-trust-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.about-stat-card,
.about-visual-card,
.about-step-card,
.about-role-card,
.about-trust-card,
.about-faq-item {
    border: 1px solid rgba(46, 38, 30, .15);
    border-radius: var(--radius-md);
    background: rgba(255, 252, 242, .76);
    box-shadow: var(--shadow-card);
}

.about-stat-card {
    padding: 1.2rem;
}

.about-stat-number {
    display: block;
    color: var(--terra-dark);
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 700;
}

.about-stat-label,
.about-card-copy,
.about-step-copy,
.about-role-copy,
.about-trust-copy {
    color: var(--muted);
}

.about-visual-stack {
    display: grid;
    gap: 1rem;
}

.about-visual-card {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
}

.about-icon-badge,
.about-role-icon,
.about-trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(143, 161, 96, .18);
    color: var(--sage-deep);
    font-size: 1.45rem;
    flex: 0 0 auto;
}

.about-card-title,
.about-step-title,
.about-role-title,
.about-trust-title {
    margin: 0 0 .45rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.65rem;
}

.about-step-grid,
.about-role-grid,
.about-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.about-step-card,
.about-role-card,
.about-trust-card {
    padding: 1.35rem;
}

.about-step-number {
    color: var(--terra);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-step-tag {
    display: inline-flex;
    margin-top: .75rem;
    padding: .32rem .72rem;
    border-radius: var(--radius-pill);
    background: rgba(200, 109, 79, .16);
    color: var(--terra-dark);
    font-weight: 900;
    font-size: .8rem;
}

.about-divider-note {
    width: max-content;
    max-width: 100%;
    margin: 2rem auto 0;
    padding: .65rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(143, 161, 96, .16);
    color: var(--sage-deep);
    font-weight: 900;
}

.about-section-ink .about-role-card {
    background: rgba(255, 252, 242, .08);
    border-color: rgba(255, 252, 242, .2);
}

.about-section-ink .about-role-title,
.about-section-ink .about-role-copy {
    color: var(--cream-soft);
}

.about-role-features {
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
    display: grid;
    gap: .5rem;
}

.about-role-feature {
    color: rgba(255, 252, 242, .84);
}

.about-role-feature::before {
    content: "•";
    color: var(--terra);
    margin-right: .45rem;
}

.about-trust {
    padding: clamp(2rem, 5vw, 4rem) 1rem;
    background: rgba(143, 161, 96, .14);
}

.about-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.about-faq-grid {
    display: grid;
    gap: .8rem;
    margin-top: 2rem;
}

.about-faq-item {
    overflow: hidden;
}

.about-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    padding: 1rem 1.2rem;
    color: var(--ink);
    font-weight: 900;
    text-align: left;
}

.about-faq-icon {
    color: var(--terra-dark);
}

.about-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    color: var(--muted);
    transition: max-height .22s ease, padding .22s ease;
}

.about-faq-answer.is-open {
    max-height: 240px;
    padding: 0 1.2rem 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-reveal: base + 5 variant animations.
   Hidden until JS adds .visible when the element enters the viewport. */
.scroll-reveal {
    opacity: 0;
    will-change: opacity, transform, filter;
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease;
}

.scroll-reveal.visible {
    opacity: 1;
}

.reveal-blur         { transform: translateY(12px); filter: blur(8px); }
.reveal-blur.visible { transform: translateY(0);    filter: blur(0); }

.reveal-from-top         { transform: translateY(-40px); }
.reveal-from-top.visible { transform: translateY(0); }

.reveal-from-bottom         { transform: translateY(40px); }
.reveal-from-bottom.visible { transform: translateY(0); }

.reveal-scale         { transform: scale(.85); }
.reveal-scale.visible { transform: scale(1); }

.reveal-rotate-left         { transform: rotate(-6deg) translateX(-24px); }
.reveal-rotate-left.visible { transform: rotate(0) translateX(0); }

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(196, 104, 75, .20), transparent 26rem),
        radial-gradient(circle at 92% 24%, rgba(98, 113, 63, .35), transparent 24rem),
        linear-gradient(135deg, #8fa160 0%, #759150 50%, #62713f 100%);
    color: rgba(253, 250, 244, .82);
    padding: clamp(3rem, 7vw, 5.5rem) 0 1.4rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(253, 250, 244, .12);
    border-radius: 32px;
    pointer-events: none;
}

.site-footer-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    align-items: center;
    text-align: center;
    gap: clamp(.5rem, 1.5vw, 1.25rem);
    padding: clamp(1.25rem, 4vw, 2.4rem);
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(253, 250, 244, .18);
    border-radius: 30px;
    background: rgba(253, 250, 244, .08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
    backdrop-filter: blur(10px);
}

.site-footer-mark {
    width: clamp(120px, 15vw, 172px);
    height: clamp(120px, 15vw, 172px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    justify-self: end;
    background: var(--cream-soft);
    box-shadow: inset 0 0 0 1px rgba(46, 38, 30, .12), 0 14px 35px rgba(0, 0, 0, .24);
}

.site-footer-copy {
    min-width: 0;
    width: 100%;
}

.site-footer-mark img {
    width: 61%;
    height: 61%;
    object-fit: contain;
}

.site-footer-kicker {
    display: inline-flex;
    margin-bottom: .35rem;
    color: #E8C7A5;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-footer h2 {
    max-width: 980px;
    margin: 0;
    color: #FFF9EA;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 500;
    line-height: .98;
}

.site-footer .site-footer-copy p {
    max-width: min(100%, 980px);
    margin: 1rem 0 0;
    color: rgba(253, 250, 244, .78);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.site-footer-actions {
    display: grid;
    gap: .75rem;
    min-width: 190px;
}

.footer-primary-link,
.footer-secondary-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.footer-primary-link {
    background: var(--clay);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(196, 104, 75, .3);
}

.footer-secondary-link {
    border: 1px solid rgba(253, 250, 244, .34);
    color: #FFF9EA !important;
}

.site-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(150px, .5fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.site-footer-brand-block h3 {
    text-align: center;
}

.site-footer h3,
.site-footer h4 {
    color: #FFF9EA;
    font-family: var(--font-display);
}

.site-footer h3 {
    font-size: 2rem;
    margin: 0 0 .4rem;
}

.site-footer h4 {
    font-size: 1.35rem;
    margin: 0 0 .8rem;
}

.site-footer p {
    margin: 0;
    max-width: 520px;
    color: rgba(253, 250, 244, .72);
}

.site-footer-links,
.site-footer-meta {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: .45rem;
}

.site-footer a {
    color: rgba(253, 250, 244, .76);
    text-decoration: none;
}

.site-footer a:hover {
    color: #FFF9EA;
}

.site-footer-meta li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.site-footer-meta i {
    color: #E8C7A5;
}

.site-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(253, 250, 244, .16);
    font-size: .92rem;
    color: rgba(253, 250, 244, .62);
}

/* Auth and generic Bootstrap pages */
.container.py-5,
.container.mt-5 {
    padding-top: clamp(3rem, 6vw, 5rem) !important;
    padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.container.mt-5 .col-md-6,
.container.py-5 .col-md-5,
.container.py-5 .col-lg-8 {
    position: relative;
}

.container.mt-5 h2,
.container.py-5 h1,
.container.py-5 h2 {
    color: var(--ink);
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
}

.artisan-form .card,
.container.mt-5 form,
.container.py-5 .card {
    background: rgba(255, 252, 242, .78);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .artisan-navbar-inner {
        height: 96px;
    }

    .nav-brand-medallion {
        width: 82px;
        height: 82px;
        margin: 0;
    }

    .nav-brand-medallion img {
        width: 50px;
        height: 50px;
    }

     .hero-category-grid {
        grid-template-columns: repeat(3, 230px);
    }
    .catalog-grid,
    .artisan-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .artisan-floater-grid,
    .about-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Password show/hide toggle ─────────────────────────── */
.password-toggle {
    border-color: var(--cream-warm);
    color: var(--ink);
    background: #fff;
    transition: background-color .15s ease, color .15s ease;
}
.password-toggle:hover,
.password-toggle:focus {
    background: var(--cream-warm);
    color: var(--ink);
    border-color: var(--ink);
}
.password-toggle i {
    font-size: 1.1rem;
    line-height: 1;
}

@media (min-width: 992px) {
    .artisan-navbar .artisan-navbar-inner {
        height: 114px;
        width: min(100%, 1500px);
        padding: 0 clamp(1rem, 3vw, 3.25rem);
        gap: clamp(1rem, 2.8vw, 2.6rem);
    }

    .artisan-navbar .nav-menu-toggle {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .artisan-navbar .nav-brand-medallion {
        width: 98px;
        height: 98px;
        margin: 0;
    }

    .artisan-navbar .nav-brand-medallion img {
        width: 60px;
        height: 60px;
    }

    .artisan-navbar .nav-action-list .nav-icon-link i,
    .artisan-navbar .nav-action-list .nav-auth-link i {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .artisan-navbar .artisan-navbar-inner {
        height: 114px;
        width: min(100%, 1500px);
        padding: 0 clamp(1rem, 3vw, 3.25rem);
        gap: clamp(1rem, 2.8vw, 2.6rem);
    }

    .artisan-navbar .nav-menu-toggle {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .artisan-navbar .nav-brand-medallion {
        width: 98px;
        height: 98px;
        margin: 0;
    }

    .artisan-navbar .nav-brand-medallion img {
        width: 60px;
        height: 60px;
    }

    .artisan-navbar .nav-action-list .nav-icon-link i,
    .artisan-navbar .nav-action-list .nav-auth-link i {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .site-footer-hero {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .site-footer-mark {
        justify-self: center;
    }

    .site-footer h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .artisan-navbar-inner {
        min-height: 86px;
        flex-wrap: wrap;
        padding: .45rem 1rem;
    }

    .nav-brand {
        margin-right: 0;
    }

    .nav-brand-medallion {
        width: 74px;
        height: 74px;
        margin: 0;
        background: var(--cream-soft);
    }

    .nav-brand-medallion img {
        width: 46px;
        height: 46px;
    }

    .nav-brand-name {
        font-size: 1.1rem;
    }

    .nav-action-list {
        min-width: 0;
        gap: .6rem;
    }

    .nav-icon-link,
    .nav-auth-link {
        min-width: 38px;
    }

    .nav-icon-copy {
        display: none;
    }

    .figma-home {
        padding-top: 0.5rem;
    }

    .hero-floating-pill {
        position: static;
        display: block;
        width: min(100%, 420px);
        min-width: 0;
        margin: 1rem auto 0;
    }

    .hero-brand {
        margin-top: 1.5rem;
    }

    .catalog-layout,
    .product-stage,
    .detail-grid,
    .basket-layout,
    .checkout-layout,
    .about-mission-grid {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar,
    .summary-panel {
        position: static;
    }

    .about-step-grid,
    .about-role-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-footer::before {
        inset: .45rem;
        border-radius: 22px;
    }

    .site-footer-hero {
        border-radius: 22px;
        padding: 1.1rem;
    }

    .site-footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .container {
        width: min(100% - 24px, 1380px);
    }

    .announcement-bar {
        font-size: .95rem;
    }

    .nav-menu-toggle {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }

    .landing-hero-content {
        padding: .85rem;
    }

    .hero-search-form {
        border-radius: 14px;
    }

    .hero-search-input {
        font-size: 1rem;
        padding: .35rem .65rem;
    }

    .hero-search-button {
        width: 42px;
        min-height: 42px;
        font-size: 1.1rem;
    }

    .hero-category-grid {
        grid-template-columns: minmax(0, min(100%, 300px));
        justify-content: center;
    }

    .page-section .hero-category-grid > :nth-child(n + 4) {
        display: none;
    }

    .product-tile,
    .category-tile {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 230 / 270;
    }

    .catalog-grid,
    .artisan-product-grid,
    .artisan-floater-grid,
    .about-stat-grid,
    .about-trust-grid {
        grid-template-columns: 1fr;
    }

    .catalog-main .catalog-grid > :nth-child(n + 4) {
        display: none;
    }

    .product-gallery-panel,
    .product-main-image {
        min-height: 320px;
    }

    .maker-ribbon {
        width: 90%;
        margin-top: -44px;
    }

    .basket-row {
        grid-template-columns: 76px minmax(0, 1fr) 38px;
    }

    .basket-row .quantity-shell,
    .basket-row .basket-line-total {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .basket-row > form:has(.quantity-shell) {
        grid-column: 2 / -1;
        width: 100%;
        min-width: 0;
    }

    .basket-row .quantity-shell {
        width: min(100%, 174px);
        display: grid;
        grid-template-columns: 42px minmax(48px, 1fr) 42px;
    }

    .basket-row .quantity-shell input {
        width: 100%;
        min-width: 0;
    }

    .basket-image {
        width: 76px;
        height: 76px;
    }

    .delivery-option-inner {
        grid-template-columns: auto 1fr;
    }

    .delivery-option-price {
        grid-column: 2;
    }

    .progress-track {
        align-items: flex-start;
        gap: .35rem;
    }

    .progress-line {
        width: 34px;
        margin-top: 20px;
    }

    .site-footer-brand,
    .artisan-profile-card {
        flex-direction: column;
    }

    .artisan-profile-header {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
    }

    .artisan-profile-avatar {
        width: 86px;
        height: 86px;
        font-size: 2.2rem;
    }

    .artisan-profile-name {
        font-size: 1.55rem;
        line-height: 1.05;
    }

    .artisan-profile-bio {
        max-width: none;
    }

    .artisan-profile-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .tracker-steps {
        align-items: stretch;
        flex-direction: column;
        gap: .65rem;
    }

    .tracker-step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .tracker-line {
        width: 2px;
        height: 18px;
        min-width: 0;
        margin-left: 13px;
        flex: 0 0 auto;
    }

    .summary-item {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
    }

    .summary-item-price {
        grid-column: 2;
        margin-left: 0;
    }

    .confirm-banner {
        align-items: flex-start;
    }

    .buyer-sidebar,
    .artisan-sidebar,
    .admin-sidebar {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 140px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .buyer-main,
    .artisan-main,
    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 1rem !important;
    }

    .buyer-sidebar .sidebar-brand,
    .artisan-sidebar .sidebar-brand,
    .admin-sidebar .sidebar-brand {
        display: none !important;
    }

    .buyer-sidebar .sidebar-nav,
    .artisan-sidebar .sidebar-nav,
    .admin-sidebar .sidebar-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: .35rem !important;
        padding: .65rem .75rem !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .buyer-sidebar .sidebar-nav::-webkit-scrollbar,
    .artisan-sidebar .sidebar-nav::-webkit-scrollbar,
    .admin-sidebar .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .buyer-sidebar .sidebar-divider,
    .artisan-sidebar .sidebar-divider,
    .admin-sidebar .sidebar-divider,
    .admin-sidebar .sidebar-section-label {
        display: none !important;
    }

    .buyer-sidebar .sidebar-link,
    .artisan-sidebar .sidebar-link,
    .admin-sidebar .sidebar-link,
    .artisan-sidebar .sidebar-logout,
    .admin-sidebar .sidebar-logout {
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: .55rem .8rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .reveal-rotate-left {
        transform: translateY(24px);
    }

    .reveal-rotate-left.visible {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding-top: 2.2rem;
    }

    .site-footer h2 {
        font-size: 2rem;
    }

    .site-footer-grid {
        gap: 1.25rem;
    }

    .artisan-navbar-inner {
        gap: .55rem;
    }

    .nav-brand-medallion {
        width: 64px;
        height: 64px;
        margin: 0;
        background: var(--cream-soft);
    }

    .nav-brand-medallion img {
        width: 40px;
        height: 40px;
    }

    .catalog-grid,
    .artisan-product-grid,
    .artisan-floater-grid,
    .about-stat-grid,
    .about-trust-grid {
        grid-template-columns: 1fr;
    }

    .nav-action-list {
        gap: .35rem;
    }

    .nav-action-list .nav-icon-link,
    .nav-action-list .nav-auth-link {
        min-width: 32px;
    }

    .nav-action-list .nav-logout-link {
        padding: .35rem .55rem;
        font-size: .75rem;
    }
}

/* ── Password show/hide toggle ─────────────────────────── */
.password-toggle {
    border-color: var(--cream-warm);
    color: var(--ink);
    background: #fff;
    transition: background-color .15s ease, color .15s ease;
}
.password-toggle:hover,
.password-toggle:focus {
    background: var(--cream-warm);
    color: var(--ink);
    border-color: var(--ink);
}
.password-toggle i {
    font-size: 1.1rem;
    line-height: 1;
}

@media (min-width: 992px) {
    .artisan-navbar .artisan-navbar-inner {
        height: 114px;
        width: min(100%, 1500px);
        padding: 0 clamp(1rem, 3vw, 3.25rem);
        gap: clamp(1rem, 2.8vw, 2.6rem);
    }

    .artisan-navbar .nav-menu-toggle {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .artisan-navbar .nav-brand-medallion {
        width: 98px;
        height: 98px;
        margin: 0;
    }

    .artisan-navbar .nav-brand-medallion img {
        width: 60px;
        height: 60px;
    }

    .artisan-navbar .nav-action-list .nav-icon-link i,
    .artisan-navbar .nav-action-list .nav-auth-link i {
        font-size: 2rem;
    }
}
