:root {
    --ahido-ink: #171714;
    --ahido-brown: #6f4b35;
    --ahido-copper: #a65a18;
    --ahido-gold: #e6a738;
    --ahido-cream: #f7f3eb;
    --ahido-sand: #e8dfd1;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ahido-ink);
    background: var(--ahido-cream);
    text-rendering: optimizeLegibility;
}

::selection {
    color: white;
    background: var(--ahido-copper);
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr);
    font-family: Inter, sans-serif;
    background: #fbfaf7;
}

.auth-brand {
    position: fixed;
    z-index: 20;
    top: 30px;
    left: 38px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ahido-ink);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.04em;
    text-decoration: none;
}

.auth-brand small {
    display: block;
    margin-top: -3px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .6;
}

.auth-brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 12px 30px rgba(166, 90, 24, .24);
}

.auth-brand-mark img,
.ahido-logo-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ahido-wordmark-light {
    filter: brightness(0) invert(1);
}

.ahido-logo-badge-light {
    background: rgba(255, 255, 255, .18) !important;
    color: #fff !important;
}

.auth-client-story,
.seller-auth-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px clamp(38px, 7vw, 110px) 70px;
}

.auth-client-story {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .15), transparent 55%),
        #eee5d7;
}

.auth-story-content {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--ahido-copper);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    content: "";
    background: currentColor;
}

.auth-story-content h1 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(50px, 6.2vw, 88px);
    font-weight: 850;
    line-height: .96;
    letter-spacing: -.065em;
}

.auth-story-content > p {
    max-width: 570px;
    margin: 30px 0 0;
    color: rgba(52, 37, 27, .72);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
}

.auth-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 46px;
}

.auth-proof-grid article {
    padding: 22px;
    border: 1px solid rgba(111, 75, 53, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .54);
    backdrop-filter: blur(12px);
}

.auth-proof-grid strong,
.auth-proof-grid span {
    display: block;
}

.auth-proof-grid strong {
    margin-bottom: 7px;
    font-size: 14px;
}

.auth-proof-grid span {
    color: rgba(52, 37, 27, .62);
    font-size: 12px;
    line-height: 1.5;
}

.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.auth-orb-one {
    top: -110px;
    right: -80px;
    width: 370px;
    height: 370px;
    background: rgba(224, 157, 48, .18);
}

.auth-orb-two {
    bottom: -180px;
    left: -90px;
    width: 440px;
    height: 440px;
    border: 90px solid rgba(166, 90, 24, .07);
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px clamp(28px, 5vw, 72px);
    background: #fbfaf7;
}

.auth-card {
    width: min(470px, 100%);
}

.auth-card h2 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.auth-intro {
    margin: 16px 0 32px;
    color: rgba(52, 37, 27, .66);
    font-size: 15px;
    line-height: 1.65;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form label > span {
    display: block;
    margin: 0 0 9px 5px;
    color: var(--ahido-brown);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.auth-form input {
    box-sizing: border-box;
    width: 100%;
    height: 62px;
    padding: 0 22px;
    border: 1px solid rgba(111, 75, 53, .12);
    border-radius: 22px;
    outline: none;
    color: var(--ahido-ink);
    background: #fff;
    font: 600 16px Inter, sans-serif;
    box-shadow: 0 12px 38px rgba(42, 29, 20, .045);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.auth-form input:focus {
    border-color: var(--ahido-copper);
    box-shadow: 0 0 0 4px rgba(166, 90, 24, .1), 0 18px 44px rgba(42, 29, 20, .07);
    transform: translateY(-1px);
}

.auth-form .otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .38em;
}

.auth-primary-button {
    display: flex;
    height: 62px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: linear-gradient(110deg, #9b4d0f, #e2a034);
    box-shadow: 0 17px 38px rgba(166, 90, 24, .24);
    cursor: pointer;
    font: 800 15px Inter, sans-serif;
    transition: transform .2s, box-shadow .2s;
}

.auth-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(166, 90, 24, .31);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
    color: rgba(52, 37, 27, .45);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(111, 75, 53, .14);
}

.auth-social-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-social-actions:has(> :only-child) {
    grid-template-columns: 1fr;
}

.auth-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border: 1px solid rgba(111, 75, 53, .16);
    border-radius: 999px;
    background: #fff;
    color: #1a1c1c;
    cursor: pointer;
    font: 800 13px Inter, sans-serif;
    transition: transform .15s, border-color .15s, background .15s;
}

.auth-social-button:hover {
    transform: translateY(-1px);
    border-color: rgba(111, 75, 53, .32);
    background: #fbf8f4;
}

.auth-social-status {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(52, 37, 27, .62);
    text-align: center;
}

.auth-social-status.is-error {
    color: #9b2929;
}

.auth-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.auth-alert-success {
    color: #17613a;
    border: 1px solid #b7e4ca;
    background: #effaf3;
}

.auth-alert-error {
    color: #9b2929;
    border: 1px solid #f0bebe;
    background: #fff1f1;
}

.auth-secondary-link {
    display: block;
    margin-top: 18px;
    color: var(--ahido-copper);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.auth-switch {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 38px;
    padding: 18px 0;
    border-top: 1px solid rgba(111, 75, 53, .12);
    border-bottom: 1px solid rgba(111, 75, 53, .12);
    color: rgba(52, 37, 27, .62);
    font-size: 13px;
}

.auth-switch a {
    color: var(--ahido-ink);
    font-weight: 900;
    text-decoration: none;
}

.auth-legal {
    margin: 24px auto 0;
    color: rgba(52, 37, 27, .48);
    font-size: 10px;
    line-height: 1.65;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.auth-legal a {
    color: inherit;
    font-weight: 900;
}

.auth-mobile-logo {
    display: none;
}

.seller-auth-hero {
    color: #fff;
    background:
        radial-gradient(circle at 80% 14%, rgba(230, 167, 56, .24), transparent 30%),
        linear-gradient(145deg, #171714, #29231d 65%, #3a291b);
}

.auth-brand-light {
    color: #fff;
}

.eyebrow-light {
    color: #f2bd5c;
}

.seller-auth-hero .auth-story-content > p {
    color: rgba(255, 255, 255, .65);
}

.seller-grid-decoration {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom right, #000, transparent 75%);
}

.seller-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
}

.seller-feature-row span {
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.055);
    font-size: 12px;
    font-weight: 800;
}

.seller-metric-card {
    display: flex;
    max-width: 520px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 46px;
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(12px);
}

.seller-metric-card span,
.seller-metric-card strong {
    display: block;
}

.seller-metric-card span {
    margin-bottom: 6px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.seller-metric-card strong {
    font-size: 15px;
}

.metric-bars {
    display: flex;
    height: 44px;
    align-items: end;
    gap: 5px;
}

.metric-bars i {
    width: 8px;
    border-radius: 5px;
    background: linear-gradient(#f2bd5c, #a65a18);
}

.metric-bars i:nth-child(1) { height: 30%; }
.metric-bars i:nth-child(2) { height: 48%; }
.metric-bars i:nth-child(3) { height: 42%; }
.metric-bars i:nth-child(4) { height: 72%; }
.metric-bars i:nth-child(5) { height: 100%; }

.auth-business-button {
    background: linear-gradient(110deg, #171714, #4a3829);
    box-shadow: 0 17px 38px rgba(23, 23, 20, .2);
}

.auth-security-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 15px;
    border-radius: 18px;
    color: #35583d;
    background: #f0f7ef;
}

.auth-security-note > span {
    display: grid;
    flex: 0 0 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #4e805a;
    font-weight: 900;
}

.auth-security-note p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
}

/* Common visual polish */
.ahido-navbar {
    border-bottom: 1px solid rgba(111, 75, 53, .08);
    box-shadow: 0 10px 35px rgba(42, 29, 20, .055);
}

.seller-sidebar {
    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(245,239,230,.94)),
        #f3eee6;
    box-shadow: 12px 0 40px rgba(42, 29, 20, .055);
}

.seller-sidebar a {
    border-radius: 14px;
}

.seller-mobile-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-client-story,
    .seller-auth-hero {
        display: none;
    }

    .auth-panel {
        min-height: 100vh;
        padding: 38px 22px;
        background:
            radial-gradient(circle at 90% 0, rgba(230, 167, 56, .17), transparent 30%),
            #f7f3eb;
    }

    .seller-auth-panel {
        background:
            radial-gradient(circle at 80% 0, rgba(166, 90, 24, .17), transparent 30%),
            #f7f3eb;
    }

    .auth-brand {
        display: none;
    }

    .auth-mobile-logo {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 52px;
        font-size: 19px;
    }

    .auth-mobile-logo .auth-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .seller-sidebar {
        width: min(84vw, 300px) !important;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    body.seller-menu-open .seller-sidebar {
        transform: translateX(0);
    }

    .seller-sidebar + .ml-64,
    .seller-sidebar ~ .ml-64 {
        margin-left: 0 !important;
        width: 100%;
    }

    .seller-mobile-toggle {
        position: fixed;
        z-index: 60;
        right: 18px;
        bottom: 18px;
        display: grid;
        width: 54px;
        height: 54px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: linear-gradient(145deg, var(--ahido-copper), var(--ahido-gold));
        box-shadow: 0 16px 36px rgba(166, 90, 24, .3);
    }
}

@media (max-width: 620px) {
    .auth-card h2 {
        font-size: 34px;
    }

    .auth-switch {
        flex-direction: column;
        gap: 7px;
    }

    .auth-form input,
    .auth-primary-button {
        height: 58px;
    }
}


/* Connected content: full width right of sidebar */
.seller-sidebar ~ .ml-64,
.seller-sidebar + .ml-64,
aside.w-72 ~ .ml-64,
aside.w-72 + .ml-64 {
    min-width: 0;
    width: 100%;
    max-width: none;
}

.ml-64 > main,
.ml-64 main {
    width: 100%;
    max-width: none;
}

/* ——— Home (Alibaba positioning, Ahido identity) ——— */
.ahido-home {
    width: 100%;
}

.ahido-home-shell {
    width: min(1480px, 100%);
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 32px);
}

.ahido-home-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-block: 1.5rem 2.5rem;
}

/* Search hero */
.ahido-home-search {
    position: relative;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(230, 167, 56, .18), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 20%, rgba(166, 90, 24, .14), transparent 50%),
        linear-gradient(180deg, #f0e8dc 0%, var(--ahido-cream) 100%);
}

.ahido-home-search__wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .35) 55%, transparent 70%);
    pointer-events: none;
}

.ahido-home-search__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-block: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ahido-home-search__eyebrow {
    margin: 0 0 .75rem;
    color: var(--ahido-copper);
    font-family: Manrope, Inter, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ahido-home-search__title {
    margin: 0 0 1.25rem;
    color: var(--ahido-ink);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.ahido-home-search__form {
    position: relative;
    display: flex;
    align-items: center;
    width: min(720px, 100%);
    background: #fff;
    border: 1px solid rgba(111, 75, 53, .12);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(42, 29, 20, .08);
    overflow: hidden;
}

.ahido-home-search__icon {
    position: absolute;
    left: 1.15rem;
    color: var(--ahido-brown);
    font-size: 1.1rem;
    pointer-events: none;
}

.ahido-home-search__input {
    flex: 1;
    min-width: 0;
    height: 56px;
    padding: 0 1rem 0 2.85rem;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ahido-ink);
    font-size: .95rem;
    font-weight: 500;
}

.ahido-home-search__input::placeholder {
    color: rgba(86, 67, 52, .45);
}

.ahido-home-search__submit {
    flex-shrink: 0;
    height: 56px;
    padding: 0 1.5rem;
    border: 0;
    background: var(--ahido-ink);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}

.ahido-home-search__submit:hover {
    background: var(--ahido-copper);
}

/* Tools row */
.ahido-home-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.ahido-home-tools__item {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(111, 75, 53, .08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ahido-home-tools__item:hover {
    border-color: rgba(166, 90, 24, .28);
    box-shadow: 0 10px 28px rgba(42, 29, 20, .06);
    transform: translateY(-1px);
}

.ahido-home-tools__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: .35rem;
    border-radius: 10px;
    background: rgba(166, 90, 24, .1);
    color: var(--ahido-copper);
    font-size: 1.1rem;
}

.ahido-home-tools__label {
    font-family: Manrope, Inter, sans-serif;
    font-size: .85rem;
    font-weight: 800;
    color: var(--ahido-ink);
}

.ahido-home-tools__hint {
    font-size: .75rem;
    color: rgba(86, 67, 52, .65);
}

/* Mixed floor: categories | hot | banners */
.ahido-mixed-floor {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    min-height: 320px;
}

.ahido-category-rail {
    display: flex;
    flex-direction: column;
    flex: 0 1 260px;
    max-width: 280px;
    background: #fff;
    border: 1px solid rgba(111, 75, 53, .08);
    border-radius: 16px;
    overflow: hidden;
}

.ahido-category-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(111, 75, 53, .08);
}

.ahido-category-rail__title {
    margin: 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ahido-ink);
}

.ahido-category-rail__all {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ahido-copper);
    text-decoration: none;
}

.ahido-category-rail__list {
    display: flex;
    flex-direction: column;
    max-height: 360px;
    overflow-y: auto;
}

.ahido-category-rail__item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem 1rem;
    text-decoration: none;
    color: var(--ahido-ink);
    border-bottom: 1px solid rgba(111, 75, 53, .05);
    transition: background .15s ease;
}

.ahido-category-rail__item:hover {
    background: rgba(166, 90, 24, .06);
}

.ahido-category-rail__thumb {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ahido-sand);
    font-size: .75rem;
    font-weight: 800;
    color: var(--ahido-copper);
}

.ahido-category-rail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ahido-category-rail__name {
    flex: 1;
    min-width: 0;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ahido-category-rail__chevron {
    flex-shrink: 0;
    font-size: .7rem;
    color: rgba(86, 67, 52, .35);
}

.ahido-category-chips {
    display: none;
}

.ahido-hot-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 280px;
    gap: 1rem;
    min-width: 0;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(111, 75, 53, .08);
    border-radius: 16px;
}

.ahido-hot-panel__title,
.ahido-hot-panel__subtitle {
    margin: 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ahido-ink);
}

.ahido-hot-panel__list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ahido-hot-panel__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(166, 90, 24, .08);
    color: var(--ahido-brown);
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.ahido-hot-panel__link:hover {
    background: rgba(166, 90, 24, .16);
    color: var(--ahido-copper);
}

.ahido-hot-panel__link i {
    font-size: .7rem;
    color: var(--ahido-copper);
}

.ahido-hot-panel__picks {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid rgba(111, 75, 53, .08);
}

.ahido-hot-panel__pick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.ahido-hot-panel__pick {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    text-decoration: none;
    color: inherit;
}

.ahido-hot-panel__pick-img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ahido-sand);
}

.ahido-hot-panel__pick-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ahido-hot-panel__pick-name {
    font-size: .7rem;
    font-weight: 700;
    color: var(--ahido-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ahido-hot-panel__pick-price {
    font-size: .75rem;
    font-weight: 800;
    color: var(--ahido-copper);
}

/* Banner carousel (right column) */
.ahido-banner-panel {
    position: relative;
    flex: 1 1 300px;
    max-width: 400px;
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ahido-sand);
    outline: none;
}

.ahido-banner-panel__track {
    position: absolute;
    inset: 0;
}

.ahido-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity .6s ease;
}

.ahido-banner-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.ahido-banner-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ahido-banner-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(23, 23, 20, .72) 0%, rgba(23, 23, 20, .25) 55%, transparent 100%);
}

.ahido-banner-slide__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1.35rem 2.5rem;
}

.ahido-banner-slide__title {
    margin: 0;
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
}

.ahido-banner-slide__subtitle {
    margin: .35rem 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: .8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ahido-banner-slide__cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: .75rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ahido-ink);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.ahido-banner-slide__cta:hover {
    background: var(--ahido-gold);
    color: var(--ahido-ink);
}

.ahido-banner-panel__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--ahido-ink);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.ahido-banner-panel:hover .ahido-banner-panel__nav,
.ahido-banner-panel:focus-within .ahido-banner-panel__nav {
    display: flex;
}

.ahido-banner-panel__prev {
    left: .65rem;
}

.ahido-banner-panel__next {
    right: .65rem;
}

.ahido-banner-panel__dots {
    position: absolute;
    bottom: .75rem;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: .35rem;
}

.ahido-banner-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.ahido-banner-dot.is-active {
    width: 18px;
    background: #fff;
}

@media (max-width: 1100px) {
    .ahido-category-rail {
        flex: 0 1 220px;
    }

    .ahido-banner-panel {
        flex: 1 1 100%;
        max-width: none;
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .ahido-home-search {
        min-height: 180px;
    }

    .ahido-home-search__input {
        height: 48px;
        font-size: .875rem;
    }

    .ahido-home-search__submit {
        height: 48px;
        padding: 0 1rem;
        font-size: .65rem;
    }

    .ahido-home-tools {
        grid-template-columns: 1fr;
    }

    .ahido-category-rail__list,
    .ahido-category-rail__head {
        display: none;
    }

    .ahido-category-rail {
        flex: 1 1 100%;
        max-width: none;
        background: transparent;
        border: 0;
        overflow: visible;
    }

    .ahido-hot-panel,
    .ahido-banner-panel {
        flex: 1 1 100%;
        max-width: none;
    }

    .ahido-category-chips {
        display: flex;
        gap: .85rem;
        overflow-x: auto;
        padding-bottom: .35rem;
        -webkit-overflow-scrolling: touch;
    }

    .ahido-category-chips__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4rem;
        min-width: 72px;
        text-decoration: none;
        color: var(--ahido-ink);
        text-align: center;
    }

    .ahido-category-chips__thumb {
        display: grid;
        place-items: center;
        width: 56px;
        height: 56px;
        overflow: hidden;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 4px 14px rgba(42, 29, 20, .06);
        font-size: 1rem;
        font-weight: 800;
        color: var(--ahido-copper);
    }

    .ahido-category-chips__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ahido-category-chips__name {
        max-width: 80px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ahido-banner-panel {
        min-height: 220px;
    }

    .ahido-banner-panel__nav {
        display: none !important;
    }
}

@media (min-width: 1280px) {
    .ahido-home-search {
        min-height: 260px;
    }
}

/* ——— Public seller boutique (mobile + large web) ——— */
.seller-public-shell {
    width: min(1380px, 100%);
    margin-inline: auto;
    padding: 1rem clamp(16px, 3vw, 32px) 4rem;
}

.seller-public-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seller-public-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.seller-public-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.seller-public-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .13);
}

.seller-public-hero__media {
    position: relative;
    height: 250px;
}

.seller-public-hero__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seller-public-hero__fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #262017 0%, #6A3A00 48%, #FF8A00 100%);
}

.seller-public-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .10) 0%,
        rgba(0, 0, 0, .18) 45%,
        rgba(0, 0, 0, .60) 100%
    );
}

.seller-public-hero__content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.seller-public-hero__avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.seller-public-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.seller-public-hero__avatar span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #F5E9DA;
    color: #914C00;
    font-size: 1.4rem;
    font-weight: 900;
}

.seller-public-hero__meta {
    min-width: 0;
    flex: 1;
}

.seller-public-hero__meta h1 {
    margin: 0;
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -.5px;
    line-height: 1.05;
}

.seller-public-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.seller-public-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
}

.seller-public-actions {
    width: 100%;
}

.seller-public-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: #FF8A00;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}

.seller-public-message:hover {
    filter: brightness(1.05);
    color: #fff;
    transform: translateY(-1px);
}

.seller-public-summary {
    display: none;
    width: 100%;
    padding: 18px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.seller-public-summary h2 {
    margin: 0;
    color: #1A1C1C;
    font-size: .95rem;
    font-weight: 800;
}

.seller-public-summary > p {
    margin: 10px 0 0;
    color: #6f4b35;
    font-size: .8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
}

.seller-public-summary__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.seller-public-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(232, 223, 209, .9);
    background: #F8F3ED;
    color: #6f4b35;
    font-size: 12px;
    font-weight: 700;
}

.seller-public-chip i {
    color: #FF8A00;
    font-size: .85rem;
}

.seller-public-tabs {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.seller-public-tab {
    flex: 1;
    height: 48px;
    border: 0;
    background: transparent;
    color: rgba(111, 75, 53, .55);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.seller-public-tab.is-active {
    color: #FF8A00;
}

.seller-public-tab.is-active::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 2.5px;
    border-radius: 999px 999px 0 0;
    background: #FF8A00;
}

.seller-public-panel {
    margin-top: 0;
}

.seller-public-panel.hidden {
    display: none;
}

.seller-public-panel.is-hidden,
.seller-public-panel[hidden] {
    display: none !important;
}

.seller-public-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 6px 0 16px;
}

.seller-public-product {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 14px rgba(0, 0, 0, .07);
    transition: transform .15s ease, box-shadow .15s ease;
}

.seller-public-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, .1);
}

.seller-public-product__img {
    aspect-ratio: 1;
    background: #F3F1ED;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.seller-public-product__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-public-product__img span {
    font-size: .7rem;
    font-weight: 700;
    color: rgba(86, 67, 52, .45);
}

.seller-public-product__body {
    padding: 10px 10px 12px;
}

.seller-public-product__body h3 {
    margin: 0;
    color: #1A1C1C;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
}

.seller-public-product__body p {
    margin: 6px 0 0;
    color: #FF8A00;
    font-size: .875rem;
    font-weight: 800;
}

.seller-public-product__old {
    display: inline-block;
    margin-top: 2px;
    color: rgba(86, 67, 52, .4);
    font-size: .7rem;
    text-decoration: line-through;
}

.seller-public-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px 0 16px;
}

.seller-public-review {
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .05);
}

.seller-public-review__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seller-public-review__author {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #F5E9DA;
    display: grid;
    place-items: center;
    color: #914C00;
    font-weight: 800;
    font-size: .85rem;
}

.seller-public-review__author img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-public-review__head {
    margin: 0;
    color: #1A1C1C;
    font-size: .8125rem;
    font-weight: 800;
}

.seller-public-review__rating {
    margin: 2px 0 0;
    color: #FF8A00;
    font-size: .75rem;
    font-weight: 700;
}

.seller-public-review__body {
    margin: 10px 0 0;
    color: #6f4b35;
    font-size: .8125rem;
    line-height: 1.45;
}

.seller-public-review__product {
    margin: 8px 0 0;
    color: rgba(86, 67, 52, .55);
    font-size: .7rem;
    font-weight: 700;
}

.seller-public-review__reply {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(111, 75, 53, .08);
    color: #6f4b35;
    font-size: .75rem;
    line-height: 1.4;
}

.seller-public-about {
    margin-top: 0;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .05);
}

.seller-public-about h2 {
    margin: 0;
    color: #1A1C1C;
    font-size: .95rem;
    font-weight: 800;
}

.seller-public-about > p {
    margin: 10px 0 0;
    color: #6f4b35;
    font-size: .875rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.seller-public-about__chips {
    margin-top: 16px;
}

.seller-public-empty {
    margin: 32px 0;
    text-align: center;
    color: #6f4b35;
    font-size: .95rem;
    padding: 40px 16px;
    background: rgba(255, 255, 255, .55);
    border-radius: 16px;
}

@media (min-width: 640px) {
    .seller-public-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .seller-public-shell {
        padding-top: 1.75rem;
    }

    .seller-public-layout {
        display: grid;
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 22px;
        align-items: start;
    }

    .seller-public-aside {
        position: sticky;
        top: 88px;
    }

    .seller-public-summary {
        display: block;
    }

    .seller-public-hero__media {
        height: 220px;
    }

    .seller-public-hero__avatar {
        width: 68px;
        height: 68px;
    }

    .seller-public-message {
        height: 52px;
        font-size: 1rem;
    }

    .seller-public-tabs {
        max-width: 100%;
    }

    .seller-public-tab {
        height: 52px;
        font-size: .95rem;
    }

    .seller-public-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .seller-public-product__body {
        padding: 12px 12px 14px;
    }

    .seller-public-product__body h3 {
        font-size: .875rem;
    }

    .seller-public-product__body p {
        font-size: .9375rem;
    }

    .seller-public-reviews {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .seller-public-layout {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 28px;
    }

    .seller-public-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .seller-public-reviews {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-public-hero__media {
        height: 240px;
    }
}

@media (min-width: 1400px) {
    .seller-public-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
