/* =========================================================
   Tackle Style storefront (dark)
   Brand: the logo's black + sky blue.
   Display type: Big Shoulders Display (shirt-print feel)
   Body type: Archivo
   ========================================================= */

:root {
    --ts-black: #000000;
    --ts-bg: #050607;
    --ts-surface: #0e1114;
    --ts-raised: #161a1f;
    --ts-text: #ffffff;
    --ts-muted: #a3adb8;
    --ts-line: rgba(255, 255, 255, .10);
    --ts-line-strong: rgba(255, 255, 255, .22);

    --ts-sky: #38b2f8;
    --ts-sky-hover: #5cc2fa;
    --ts-sky-wash: rgba(56, 178, 248, .12);
    --ts-sky-ink: #bfe6fd;

    --ts-signal: #ff5b5b;
    --ts-ok: #45d38a;
    --ts-ok-wash: rgba(69, 211, 138, .14);
    --ts-warn-wash: rgba(255, 193, 7, .10);
    --ts-warn-ink: #ffd77a;

    --ts-font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --ts-font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ts-radius-tile: 6px;
    --ts-radius-control: 8px;
    --ts-radius-pill: 999px;

    --ts-header-h: 64px;
}

/* ---------- Base ---------- */

/* Bootstrap provides these on the store; standalone pages (admin sign in) don't load it */
*, *::before, *::after {
    box-sizing: border-box;
}

body.ts-body {
    margin: 0;
    font-family: var(--ts-font-body);
    font-size: 1rem;
    line-height: 1.55;
    background: var(--ts-bg);
    color: var(--ts-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
}

.ts-body main {
    flex: 1 0 auto;
}

.ts-body a {
    color: var(--ts-sky);
}

.ts-body :focus-visible {
    outline: 3px solid var(--ts-sky);
    outline-offset: 2px;
}

.ts-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 576px) {
    .ts-container {
        padding-inline: 24px;
    }
}

.ts-display {
    font-family: var(--ts-font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: .005em;
}

.ts-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ts-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--ts-sky);
    color: var(--ts-black) !important;
    padding: 10px 16px;
    border-radius: var(--ts-radius-control);
    font-weight: 700;
    text-decoration: none;
}

    .ts-skip:focus {
        top: 12px;
    }

.material-symbols-outlined {
    font-size: 1.375rem;
    line-height: 1;
    vertical-align: middle;
}

/* ---------- Buttons ---------- */

.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--ts-radius-control);
    border: 2px solid transparent;
    font-family: var(--ts-font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .ts-btn:disabled,
    .ts-btn[aria-disabled="true"] {
        opacity: .55;
        cursor: not-allowed;
    }

.ts-btn--primary {
    background: var(--ts-sky);
    color: var(--ts-black) !important;
}

    .ts-btn--primary:hover:not(:disabled) {
        background: var(--ts-sky-hover);
        box-shadow: 0 0 24px rgba(56, 178, 248, .35);
    }

.ts-btn--outline {
    background: transparent;
    border-color: var(--ts-line-strong);
    color: var(--ts-text) !important;
}

    .ts-btn--outline:hover:not(:disabled) {
        border-color: var(--ts-text);
        background: rgba(255, 255, 255, .06);
    }

.ts-btn--glass {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .24);
    color: var(--ts-text) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .ts-btn--glass:hover:not(:disabled) {
        background: rgba(255, 255, 255, .16);
    }

.ts-btn--lg {
    min-height: 56px;
    padding: 0 28px;
    font-size: 1.0625rem;
}

.ts-btn--block {
    width: 100%;
}

.ts-link {
    font-weight: 600;
    color: var(--ts-sky);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

    .ts-link:hover {
        text-decoration-thickness: 2px;
    }

/* ---------- Header ---------- */

.ts-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ts-line);
    color: var(--ts-text);
}

.ts-header__bar {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--ts-header-h);
}

.ts-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ts-text) !important;
    text-decoration: none;
    margin-right: auto;
}

/* Logo.png has a wide transparent margin; crop it to the circular badge */
.ts-brand__mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
    background: var(--ts-black);
    box-shadow: 0 0 0 1px rgba(56, 178, 248, .45);
}

    .ts-brand__mark img {
        width: 72px;
        height: 72px;
        margin: -14px;
        display: block;
    }

.ts-brand__name {
    font-family: var(--ts-font-display);
    font-weight: 800;
    font-size: 1.625rem;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
}

.ts-nav {
    display: flex;
    gap: 4px;
}

.ts-nav__link {
    color: rgba(255, 255, 255, .78) !important;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: var(--ts-radius-control);
}

    .ts-nav__link:hover,
    .ts-nav__link[aria-current="page"] {
        color: var(--ts-text) !important;
        background: rgba(255, 255, 255, .08);
    }

.ts-header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ts-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: var(--ts-radius-control);
    color: var(--ts-text) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: .9375rem;
}

    .ts-icon-btn:hover {
        background: rgba(255, 255, 255, .08);
    }

/* label stays in the accessibility tree on mobile, shown from tablet up */
@media (max-width: 767.98px) {
    .ts-icon-btn__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .ts-header__bar {
        gap: 4px;
    }

    .ts-brand__name {
        font-size: 1.375rem;
    }

    .ts-nav__link {
        padding: 10px 8px;
    }

    .ts-icon-btn {
        padding: 0 6px;
    }
}

@media (max-width: 359.98px) {
    .ts-brand__name {
        display: none;
    }
}

/* ---------- Toasts ---------- */

.ts-toast-wrap {
    position: fixed;
    top: calc(var(--ts-header-h) + 12px);
    right: 16px;
    left: 16px;
    z-index: 1100;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.ts-toast {
    pointer-events: auto;
    max-width: 420px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 14px 16px;
    border-radius: var(--ts-radius-control);
    background: var(--ts-raised);
    color: var(--ts-text);
    border: 1px solid var(--ts-line);
    border-left: 4px solid var(--ts-ok);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .6);
    font-weight: 500;
}

.ts-toast--error {
    border-left-color: var(--ts-signal);
}

.ts-toast .material-symbols-outlined {
    color: var(--ts-ok);
}

.ts-toast--error .material-symbols-outlined {
    color: var(--ts-signal);
}

.ts-toast__close {
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--ts-muted);
    padding: 0 2px;
    cursor: pointer;
}

/* ---------- Footer ---------- */

.ts-footer {
    background: var(--ts-black);
    border-top: 1px solid var(--ts-line);
    color: var(--ts-muted);
    padding: 56px 0 32px;
    margin-top: 96px;
}

.ts-footer__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .ts-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

.ts-footer__title {
    color: var(--ts-text);
    font-family: var(--ts-font-display);
    font-weight: 800;
    font-size: 1.375rem;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ts-footer__tagline {
    max-width: 34ch;
    margin: 0;
}

.ts-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

    .ts-footer__list a {
        color: var(--ts-muted);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

        .ts-footer__list a:hover {
            color: var(--ts-sky);
        }

.ts-footer__wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--ts-radius-control);
    background: #25d366;
    color: var(--ts-black) !important;
    font-weight: 700;
    text-decoration: none;
}

    .ts-footer__wa:hover {
        background: #3ee07d;
    }

.ts-footer__bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--ts-line);
    font-size: .875rem;
}

/* ---------- Section heads ---------- */

.ts-section {
    padding-top: 88px;
    scroll-margin-top: calc(var(--ts-header-h) - 48px);
}

.ts-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.ts-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ts-section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0;
}

.ts-section-rule {
    width: 72px;
    height: 4px;
    border-radius: var(--ts-radius-pill);
    background: var(--ts-sky);
    margin-top: 14px;
}

.ts-section-sub {
    color: var(--ts-muted);
    margin: 8px 0 0;
}

/* ---------- Home: hero ---------- */

.ts-hero {
    position: relative;
    min-height: calc(100svh - var(--ts-header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 768px) {
    .ts-hero {
        min-height: min(calc(100svh - var(--ts-header-h)), 860px);
    }
}

.ts-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

    .ts-hero__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
        display: block;
    }

/* black from the logo at the edges, its sky blue glowing in behind the headline */
.ts-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 45% at 50% 42%, rgba(56, 178, 248, .28), transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 38%, rgba(0, 0, 0, .92) 88%, var(--ts-bg) 100%);
}

.ts-hero__content {
    position: relative;
    text-align: center;
    padding-block: 64px 40px;
}

.ts-hero__badge {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ts-black);
    box-shadow: 0 0 0 2px rgba(56, 178, 248, .6), 0 0 40px rgba(56, 178, 248, .45);
}

    .ts-hero__badge img {
        width: 124px;
        height: 124px;
        margin: -24px;
        display: block;
    }

.ts-hero__title {
    font-family: var(--ts-font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(4rem, 15vw, 10rem);
    line-height: .84;
    letter-spacing: -.005em;
    margin: 0 0 24px;
    text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}

    .ts-hero__title span {
        display: block;
    }

.ts-hero__accent {
    color: var(--ts-sky);
    text-shadow: 0 0 36px rgba(56, 178, 248, .45);
}

.ts-hero__chant {
    font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, .86);
    max-width: 34ch;
    margin: 0 auto 32px;
}

    .ts-hero__chant strong {
        color: var(--ts-text);
        font-weight: 700;
    }

.ts-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 479.98px) {
    .ts-hero__ctas .ts-btn {
        width: 100%;
    }
}

.ts-hero__promises {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 28px;
    display: grid;
    gap: 10px;
}

@media (min-width: 768px) {
    .ts-hero__promises {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

.ts-hero__promise {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--ts-radius-control);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ts-line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: .9375rem;
}

    .ts-hero__promise .material-symbols-outlined,
    .ts-hero__promise .bi {
        color: var(--ts-sky);
        font-size: 1.5rem;
        line-height: 1;
        flex: none;
    }

    .ts-hero__promise a {
        color: var(--ts-text);
    }

/* one orchestrated moment: headline lines rise on load */
@media (prefers-reduced-motion: no-preference) {
    .ts-hero__badge,
    .ts-hero__title span,
    .ts-hero__chant,
    .ts-hero__ctas {
        animation: ts-rise .7s cubic-bezier(.2, .7, .2, 1) both;
    }

    .ts-hero__title span:nth-child(1) {
        animation-delay: .08s;
    }

    .ts-hero__title span:nth-child(2) {
        animation-delay: .18s;
    }

    .ts-hero__chant {
        animation-delay: .3s;
    }

    .ts-hero__ctas {
        animation-delay: .38s;
    }

    @keyframes ts-rise {
        from {
            transform: translateY(24px);
            opacity: 0;
        }

        to {
            transform: none;
            opacity: 1;
        }
    }
}

/* ---------- Home: collections ---------- */

.ts-collections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .ts-collections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .ts-collections {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

.ts-collection {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--ts-radius-tile);
    overflow: hidden;
    background: var(--ts-surface);
    border: 1px solid var(--ts-line);
    color: var(--ts-text) !important;
    text-decoration: none;
}

    .ts-collection img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .ts-collection::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .35) 45%, transparent 70%);
    }

    .ts-collection:hover img {
        transform: scale(1.06);
    }

    .ts-collection:hover {
        border-color: rgba(56, 178, 248, .6);
    }

.ts-collection__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 24px;
}

.ts-collection__name {
    font-family: var(--ts-font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 2.25rem;
    line-height: .95;
    margin: 0 0 14px;
}

.ts-collection__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--ts-radius-control);
    background: var(--ts-sky);
    color: var(--ts-black);
    font-weight: 700;
    font-size: .9375rem;
}

    .ts-collection__cta .material-symbols-outlined {
        font-size: 1.25rem;
        transition: transform .2s ease;
    }

.ts-collection:hover .ts-collection__cta .material-symbols-outlined {
    transform: translateX(3px);
}

/* ---------- Home: featured band ---------- */

.ts-band {
    margin-top: 88px;
    padding: 72px 0 80px;
    background: linear-gradient(180deg, rgba(56, 178, 248, .06), transparent 60%);
    border-top: 1px solid var(--ts-line);
}

/* ---------- Product grid + card ---------- */

.ts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
}

@media (min-width: 768px) {
    .ts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 24px;
    }
}

@media (min-width: 1200px) {
    .ts-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ts-card {
    display: block;
    text-decoration: none;
    color: var(--ts-text) !important;
}

.ts-card__img {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--ts-surface);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius-tile);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .ts-card__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

.ts-card:hover .ts-card__img {
    border-color: rgba(56, 178, 248, .55);
    box-shadow: 0 12px 32px rgba(56, 178, 248, .12);
}

    .ts-card:hover .ts-card__img img {
        transform: scale(1.04);
    }

.ts-card__flag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--ts-radius-pill);
    background: var(--ts-signal);
    color: var(--ts-black);
    font-size: .8125rem;
    font-weight: 700;
}

.ts-card__body {
    padding-top: 12px;
}

.ts-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-card:hover .ts-card__title {
    color: var(--ts-sky);
}

.ts-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ts-price__now {
    font-family: var(--ts-font-display);
    font-weight: 800;
    font-size: 1.625rem;
    line-height: 1;
    color: var(--ts-sky);
}

.ts-price__was {
    color: var(--ts-muted);
    text-decoration: line-through;
    font-size: .9375rem;
}

.ts-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ts-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8125rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--ts-radius-pill);
    border: 1px solid var(--ts-line-strong);
    color: var(--ts-muted);
}

.ts-tag--stock {
    border-color: transparent;
    background: var(--ts-ok-wash);
    color: var(--ts-ok);
}

/* ---------- Category page ---------- */

.ts-page-head {
    padding-top: 40px;
    margin-bottom: 20px;
}

.ts-page-title {
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    margin: 0;
}

.ts-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--ts-radius-control);
    background: var(--ts-sky-wash);
    color: var(--ts-sky-ink);
    font-weight: 500;
    margin: 0;
}

    .ts-note .material-symbols-outlined {
        color: var(--ts-sky);
    }

.ts-note--warn {
    background: var(--ts-warn-wash);
    color: var(--ts-warn-ink);
}

    .ts-note--warn .material-symbols-outlined {
        color: var(--ts-warn-ink);
    }

.ts-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 24px 0 12px;
}

@media (min-width: 640px) {
    .ts-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
        gap: 12px;
    }
}

.ts-search {
    position: relative;
}

    .ts-search > .material-symbols-outlined {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ts-muted);
        pointer-events: none;
    }

.ts-search__input {
    width: 100%;
    height: 50px;
    padding: 0 44px 0 46px;
    border: 1px solid var(--ts-line-strong);
    border-radius: var(--ts-radius-control);
    background: var(--ts-surface);
    font: inherit;
    color: var(--ts-text);
}

    .ts-search__input::placeholder {
        color: #7d8894;
    }

    .ts-search__input:focus {
        border-color: var(--ts-sky);
        outline: none;
        box-shadow: 0 0 0 3px rgba(56, 178, 248, .25);
    }

    .ts-search__input::-webkit-search-cancel-button {
        display: none;
    }

.ts-search__clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: var(--ts-radius-control);
    background: transparent;
    color: var(--ts-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ts-search__clear:hover {
        background: rgba(255, 255, 255, .08);
        color: var(--ts-text);
    }

/* collection switcher: shows the current collection, opens the picker */
.ts-switch-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 50px;
    padding: 0 14px 0 6px;
    border: 1px solid var(--ts-line-strong);
    border-radius: var(--ts-radius-control);
    background: var(--ts-surface);
    color: var(--ts-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

    .ts-switch-btn:hover {
        border-color: var(--ts-sky);
        background: var(--ts-raised);
    }

    .ts-switch-btn > .material-symbols-outlined {
        margin-left: auto;
        color: var(--ts-sky);
    }

.ts-switch-btn__thumb {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 6px;
    overflow: hidden;
    background: var(--ts-raised);
}

    .ts-switch-btn__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.ts-switch-btn__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.ts-switch-btn__label {
    font-size: .75rem;
    color: var(--ts-muted);
}

.ts-switch-btn__value {
    font-family: var(--ts-font-display);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* collection picker: <dialog> — centered panel on desktop, bottom sheet on phones */
body.ts-no-scroll {
    overflow: hidden;
}

.ts-picker {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ts-text);
    width: min(980px, calc(100vw - 48px));
    max-width: none;
    max-height: min(86vh, 860px);
    overflow: visible;
}

    .ts-picker::backdrop {
        background: rgba(0, 0, 0, .72);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

.ts-picker__panel {
    position: relative;
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(56, 178, 248, .16), transparent 70%),
        var(--ts-surface);
    border: 1px solid rgba(56, 178, 248, .3);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .4);
    padding: 22px 24px 28px;
}

.ts-picker__head {
    position: sticky;
    top: -22px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -22px -24px 18px;
    padding: 22px 24px 14px;
    background: linear-gradient(var(--ts-surface) 70%, transparent);
}

.ts-picker__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin: 0;
}

.ts-picker__close {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--ts-line-strong);
    background: rgba(255, 255, 255, .04);
    color: var(--ts-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .ts-picker__close:hover {
        border-color: var(--ts-text);
        background: rgba(255, 255, 255, .1);
    }

.ts-picker__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .ts-picker__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}

.ts-pick {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ts-raised);
    border: 2px solid transparent;
    color: var(--ts-text) !important;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

    .ts-pick img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease, filter .3s ease;
    }

    .ts-pick::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .25) 50%, transparent 75%);
    }

    .ts-pick:hover,
    .ts-pick:focus-visible {
        border-color: var(--ts-sky);
        transform: translateY(-3px);
        outline: none;
    }

        .ts-pick:hover img,
        .ts-pick:focus-visible img {
            transform: scale(1.07);
        }

    .ts-pick.is-current {
        border-color: var(--ts-sky);
        box-shadow: 0 0 0 4px rgba(56, 178, 248, .2), 0 0 32px rgba(56, 178, 248, .3);
    }

.ts-pick__name {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    font-family: var(--ts-font-display);
    font-weight: 900;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    line-height: .95;
    text-transform: uppercase;
}

.ts-pick__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 6px;
    border-radius: var(--ts-radius-pill);
    background: var(--ts-sky);
    color: var(--ts-black);
    font-size: .8125rem;
    font-weight: 700;
}

    .ts-pick__badge .material-symbols-outlined {
        font-size: 1rem;
    }

/* the chosen card while its page loads */
.ts-pick.is-loading img {
    filter: brightness(.45);
}

.ts-pick.is-loading::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .25);
    border-top-color: var(--ts-sky);
    animation: ts-spin .7s linear infinite;
}

@keyframes ts-spin {
    to {
        transform: rotate(360deg);
    }
}

/* phones: bottom sheet */
@media (max-width: 767.98px) {
    .ts-picker {
        width: 100vw;
        max-height: 88svh;
        margin: auto 0 0;
    }

    .ts-picker__panel {
        border-radius: 18px 18px 0 0;
        border-bottom: 0;
        padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
    }

        /* grab handle */
        .ts-picker__panel::before {
            content: "";
            display: block;
            width: 44px;
            height: 5px;
            margin: 0 auto 10px;
            border-radius: var(--ts-radius-pill);
            background: rgba(255, 255, 255, .25);
        }

    .ts-picker__head {
        top: -10px;
        margin: 0 -16px 14px;
        padding: 4px 16px 12px;
    }
}

/* motion: panel rises in, cards follow one after another */
@media (prefers-reduced-motion: no-preference) {
    .ts-picker[open] {
        animation: ts-picker-in .35s cubic-bezier(.2, .8, .2, 1) both;
    }

        .ts-picker[open]::backdrop {
            animation: ts-fade .3s ease both;
        }

        .ts-picker[open] .ts-picker__grid > li {
            animation: ts-pick-in .45s cubic-bezier(.2, .8, .2, 1) both;
            animation-delay: calc(80ms + var(--i, 0) * 55ms);
        }

    .ts-picker.is-closing {
        animation: ts-picker-out .22s ease-in both;
    }

        .ts-picker.is-closing::backdrop {
            animation: ts-fade .22s ease-in reverse both;
        }

    @keyframes ts-picker-in {
        from {
            opacity: 0;
            transform: translateY(28px) scale(.97);
        }
    }

    @keyframes ts-picker-out {
        to {
            opacity: 0;
            transform: translateY(28px) scale(.97);
        }
    }

    @keyframes ts-pick-in {
        from {
            opacity: 0;
            transform: translateY(18px) scale(.94);
        }
    }

    @keyframes ts-fade {
        from {
            opacity: 0;
        }
    }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 767.98px) {
    @keyframes ts-picker-in {
        from {
            transform: translateY(100%);
        }
    }

    @keyframes ts-picker-out {
        to {
            transform: translateY(100%);
        }
    }
}

.ts-count {
    color: var(--ts-muted);
    font-weight: 500;
    margin: 0 0 24px;
}

.ts-empty {
    text-align: center;
    padding: 64px 16px;
    max-width: 460px;
    margin: 0 auto;
}

    .ts-empty .material-symbols-outlined {
        font-size: 3.5rem;
        color: var(--ts-sky);
    }

.ts-empty__title {
    font-size: 2.25rem;
    margin: 12px 0 8px;
}

.ts-empty p {
    color: var(--ts-muted);
    margin-bottom: 24px;
}

/* ---------- Product details ---------- */

.ts-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 24px 0 0;
    margin: 0 0 20px;
    font-size: .9375rem;
    color: var(--ts-muted);
}

    .ts-crumbs li + li::before {
        content: "/";
        margin-right: 6px;
        color: rgba(255, 255, 255, .25);
    }

    .ts-crumbs a {
        color: var(--ts-muted);
    }

        .ts-crumbs a:hover {
            color: var(--ts-sky);
        }

.ts-pdp {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

@media (min-width: 992px) {
    .ts-pdp {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 56px;
        align-items: start;
    }

    .ts-gallery {
        position: sticky;
        top: calc(var(--ts-header-h) + 24px);
    }
}

.ts-gallery__main {
    aspect-ratio: 1 / 1;
    background: var(--ts-surface);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius-tile);
    overflow: hidden;
}

    .ts-gallery__main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: opacity .15s ease;
    }

        .ts-gallery__main img.is-swapping {
            opacity: .3;
        }

.ts-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 2px 2px 4px;
}

.ts-thumb {
    flex: none;
    width: 76px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--ts-radius-tile);
    background: var(--ts-surface);
    overflow: hidden;
    cursor: pointer;
    opacity: .7;
}

    .ts-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .ts-thumb:hover {
        opacity: 1;
    }

    .ts-thumb[aria-current="true"] {
        border-color: var(--ts-sky);
        opacity: 1;
    }

.ts-buy__title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin: 0 0 12px;
}

.ts-buy .ts-price__now {
    font-size: 2.25rem;
}

.ts-buy .ts-price__was {
    font-size: 1.0625rem;
}

.ts-save {
    font-weight: 700;
    color: var(--ts-signal);
    font-size: .9375rem;
}

.ts-buy__form {
    margin-top: 24px;
}

.ts-field-group {
    padding: 22px 0;
    border-top: 1px solid var(--ts-line);
}

.ts-field-group--bare {
    padding: 0;
    border: 0;
}

.ts-mode[hidden] + .tab-content .ts-pane-note {
    margin-top: 0;
}

.ts-field-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

    .ts-field-label small {
        font-weight: 500;
        color: var(--ts-muted);
        font-size: .875rem;
    }

/* In stock / pre-order switch (keeps .stock-toggle + .active for productDetails.js) */
.ts-mode {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
}

.ts-mode__opt {
    text-align: left;
    padding: 14px 16px;
    border: 2px solid var(--ts-line);
    border-radius: var(--ts-radius-control);
    background: var(--ts-surface);
    color: var(--ts-text);
    cursor: pointer;
    font: inherit;
    transition: border-color .15s ease, background-color .15s ease;
}

    .ts-mode__opt:hover {
        border-color: var(--ts-line-strong);
    }

    .ts-mode__opt.active {
        border-color: var(--ts-sky);
        background: var(--ts-sky-wash);
    }

.ts-mode__name {
    display: block;
    font-weight: 700;
}

.ts-mode__meta {
    display: block;
    font-size: .875rem;
    color: var(--ts-muted);
    margin-top: 2px;
}

.ts-pane-note {
    margin: 14px 0 0;
}

.ts-pane-block {
    margin-top: 18px;
}

/* Chips: sizes, name options, patches (input.btn-check + label.ts-chip) */
.ts-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ts-chip {
    min-width: 52px;
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ts-line-strong);
    border-radius: var(--ts-radius-control);
    background: var(--ts-surface);
    color: var(--ts-text);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    margin: 0;
}

    .ts-chip:hover {
        border-color: var(--ts-text);
    }

.btn-check:checked + .ts-chip {
    background: var(--ts-sky);
    border-color: var(--ts-sky);
    color: var(--ts-black);
}

.btn-check:focus-visible + .ts-chip {
    outline: 3px solid var(--ts-sky);
    outline-offset: 2px;
}

/* Custom print: inputs + live shirt-back preview */
.ts-print {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 16px;
    align-items: start;
    margin-top: 18px;
}

@media (min-width: 576px) {
    .ts-print {
        grid-template-columns: minmax(0, 1fr) 168px;
    }
}

.ts-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--ts-line-strong);
    border-radius: var(--ts-radius-control);
    background: var(--ts-surface);
    font: inherit;
    color: var(--ts-text);
}

    .ts-input::placeholder {
        color: #7d8894;
    }

    .ts-input:focus {
        border-color: var(--ts-sky);
        outline: none;
        box-shadow: 0 0 0 3px rgba(56, 178, 248, .25);
    }

    .ts-input:disabled,
    .ts-input[readonly] {
        background: var(--ts-raised);
        color: var(--ts-muted);
    }

.ts-label {
    display: block;
    font-weight: 600;
    font-size: .9375rem;
    margin-bottom: 6px;
}

.ts-hint {
    display: block;
    font-size: .8125rem;
    color: var(--ts-muted);
    margin-top: 4px;
}

.ts-shirt {
    background: var(--ts-sky-wash);
    border: 1px solid rgba(56, 178, 248, .25);
    border-radius: var(--ts-radius-tile);
    padding: 8px;
    margin: 0;
}

    .ts-shirt svg {
        display: block;
        width: 100%;
        height: auto;
    }

    .ts-shirt text {
        font-family: var(--ts-font-display);
        font-weight: 800;
        fill: var(--ts-black);
    }

        .ts-shirt text.is-placeholder {
            fill: #a7b4bf;
        }

.ts-shirt__caption {
    text-align: center;
    font-size: .75rem;
    color: var(--ts-muted);
    margin: 4px 0 0;
}

/* Patch switch */
.ts-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    margin: 0;
}

    .ts-switch small {
        font-weight: 500;
        color: var(--ts-muted);
    }

    .ts-switch input {
        appearance: none;
        -webkit-appearance: none;
        flex: none;
        width: 48px;
        height: 28px;
        border-radius: var(--ts-radius-pill);
        background: rgba(255, 255, 255, .2);
        position: relative;
        cursor: pointer;
        transition: background-color .15s ease;
        margin: 0;
    }

        .ts-switch input::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--ts-text);
            box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
            transition: transform .15s ease;
        }

        .ts-switch input:checked {
            background: var(--ts-sky);
        }

            .ts-switch input:checked::after {
                transform: translateX(20px);
                background: var(--ts-black);
            }

/* Quantity + add to cart */
.ts-buy__actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    padding-top: 22px;
    border-top: 1px solid var(--ts-line);
}

.ts-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ts-line-strong);
    border-radius: var(--ts-radius-control);
    background: var(--ts-surface);
    flex: none;
}

    .ts-stepper button {
        width: 44px;
        height: 54px;
        border: 0;
        background: transparent;
        color: var(--ts-text);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--ts-radius-control);
        cursor: pointer;
    }

        .ts-stepper button:disabled {
            color: rgba(255, 255, 255, .25);
            cursor: not-allowed;
        }

        .ts-stepper button:hover:not(:disabled) {
            background: rgba(255, 255, 255, .08);
        }

.ts-stepper__value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ts-buy__actions .ts-btn {
    flex: 1;
    min-height: 56px;
}

.ts-help {
    margin: 16px 0 0;
    color: var(--ts-muted);
    font-size: .9375rem;
}

.ts-description {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--ts-line);
}

    .ts-description h2 {
        font-size: 1.75rem;
        margin: 0 0 10px;
    }

    .ts-description p {
        white-space: pre-line;
        max-width: 65ch;
        margin: 0;
        color: rgba(255, 255, 255, .86);
    }

/* ---------- Cart ---------- */

.ts-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

@media (min-width: 992px) {
    .ts-two-col {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 48px;
        align-items: start;
    }

    .ts-sticky {
        position: sticky;
        top: calc(var(--ts-header-h) + 24px);
    }
}

.ts-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--ts-surface);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius-control);
}

.ts-line {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

    .ts-line + .ts-line {
        border-top: 1px solid var(--ts-line);
    }

@media (min-width: 576px) {
    .ts-line {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        padding: 20px;
    }
}

.ts-line__img {
    aspect-ratio: 4 / 5;
    border-radius: var(--ts-radius-tile);
    overflow: hidden;
    background: var(--ts-raised);
}

    .ts-line__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.ts-line__title {
    font-weight: 700;
    font-size: 1.0625rem;
    margin: 0 0 8px;
}

.ts-line__specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    margin: 0;
    font-size: .9375rem;
}

    .ts-line__specs dt {
        color: var(--ts-muted);
        font-weight: 500;
    }

    .ts-line__specs dd {
        margin: 0;
        font-weight: 600;
    }

.ts-line__end {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (min-width: 576px) {
    .ts-line__end {
        grid-column: 3;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.ts-line__total {
    font-family: var(--ts-font-display);
    font-weight: 800;
    font-size: 1.625rem;
    line-height: 1;
    color: var(--ts-sky);
}

.ts-remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--ts-radius-control);
    background: transparent;
    color: var(--ts-muted);
    font-weight: 600;
    font-size: .9375rem;
    cursor: pointer;
}

    .ts-remove:hover {
        color: var(--ts-signal);
        background: rgba(255, 91, 91, .12);
    }

    .ts-remove .material-symbols-outlined {
        font-size: 1.125rem;
    }

/* ---------- Summary panel (cart + checkout) ---------- */

.ts-panel {
    background: var(--ts-surface);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius-control);
    padding: 24px;
}

.ts-panel__title {
    font-size: 1.75rem;
    margin: 0 0 18px;
}

.ts-sum {
    margin: 0;
}

.ts-sum__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

    .ts-sum__row dt {
        font-weight: 500;
        color: var(--ts-muted);
    }

    .ts-sum__row dd {
        margin: 0;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }

.ts-sum__row--discount dd {
    color: var(--ts-ok);
}

.ts-sum__row--total {
    border-top: 1px solid var(--ts-line);
    margin-top: 10px;
    padding-top: 16px;
    align-items: baseline;
}

    .ts-sum__row--total:first-child {
        border-top: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .ts-sum__row--total dt {
        color: var(--ts-text);
        font-weight: 700;
    }

    .ts-sum__row--total dd {
        font-family: var(--ts-font-display);
        font-weight: 800;
        font-size: 2.25rem;
        line-height: 1;
        color: var(--ts-sky);
    }

.ts-panel__note {
    font-size: .875rem;
    color: var(--ts-muted);
    margin: 12px 0 20px;
}

.ts-panel__secondary {
    display: block;
    text-align: center;
    margin-top: 14px;
}

.ts-coupon {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ts-line);
}

.ts-coupon__row {
    display: flex;
    gap: 8px;
}

    .ts-coupon__row .ts-input {
        text-transform: uppercase;
    }

    .ts-coupon__row .ts-btn {
        min-height: 48px;
        padding: 0 18px;
    }

.ts-coupon__applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 6px 6px 12px;
    border-radius: var(--ts-radius-control);
    background: var(--ts-ok-wash);
    color: var(--ts-ok);
    font-weight: 600;
}

    .ts-coupon__applied code {
        font-family: inherit;
        color: inherit;
        font-weight: 700;
        letter-spacing: .04em;
    }

.ts-msg {
    font-size: .875rem;
    margin: 8px 0 0;
    font-weight: 500;
}

.ts-msg--error {
    color: var(--ts-signal);
}

/* ---------- Checkout form ---------- */

.ts-form-card {
    background: var(--ts-surface);
    border: 1px solid var(--ts-line);
    border-radius: var(--ts-radius-control);
    padding: 24px;
}

.ts-form-card__title {
    font-size: 1.75rem;
    margin: 0 0 6px;
}

.ts-form-card__sub {
    color: var(--ts-muted);
    margin: 0 0 22px;
}

.ts-field {
    margin-bottom: 18px;
}

    .ts-field:last-child {
        margin-bottom: 0;
    }

.ts-field-row {
    display: grid;
    gap: 0 18px;
}

@media (min-width: 576px) {
    .ts-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.ts-error {
    display: block;
    color: var(--ts-signal);
    font-size: .875rem;
    margin-top: 4px;
}

.ts-who {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--ts-radius-control);
    background: var(--ts-raised);
    margin-bottom: 22px;
}

    .ts-who .material-symbols-outlined {
        color: var(--ts-sky);
    }

/* ---------- Auth ---------- */

.ts-auth {
    max-width: 440px;
    margin: 48px auto 0;
}

.ts-auth__title {
    font-size: clamp(2.75rem, 9vw, 3.75rem);
    margin: 0 0 8px;
}

.ts-auth__sub {
    color: var(--ts-muted);
    margin: 0 0 28px;
}

.ts-auth .ts-form-card {
    padding: 28px 24px;
}

.ts-password {
    position: relative;
}

    .ts-password .ts-input {
        padding-right: 52px;
    }

.ts-password__toggle {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--ts-radius-control);
    background: transparent;
    color: var(--ts-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .ts-password__toggle:hover {
        background: rgba(255, 255, 255, .08);
        color: var(--ts-text);
    }

/* Google's button guidelines: white surface, dark text, the full-colour G */
.ts-btn--google {
    background: #ffffff;
    color: #1f1f1f !important;
    border-color: #ffffff;
}

    .ts-btn--google:hover:not(:disabled) {
        background: #eef4fb;
        border-color: #eef4fb;
    }

.ts-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--ts-muted);
    font-size: .875rem;
}

    .ts-or::before,
    .ts-or::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--ts-line);
    }

.ts-auth__switch {
    text-align: center;
    margin-top: 22px;
    color: var(--ts-muted);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ---------- Admin sign in (standalone page, same brand as the store) ---------- */

.ts-admin-auth {
    flex: 1 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100svh;
}

@media (min-width: 992px) {
    .ts-admin-auth {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    }
}

.ts-admin-auth__brand {
    display: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 992px) {
    .ts-admin-auth__brand {
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid var(--ts-line);
    }
}

.ts-admin-auth__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.ts-admin-auth__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 65% 45% at 50% 45%, rgba(56, 178, 248, .3), transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .4) 45%, rgba(0, 0, 0, .9));
}

.ts-admin-auth__brand-copy {
    text-align: center;
    padding: 48px;
}

.ts-admin-auth__title {
    font-family: var(--ts-font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: .84;
    margin: 0 0 20px;
    text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}

    .ts-admin-auth__title span {
        display: block;
    }

.ts-admin-auth__lead {
    color: rgba(255, 255, 255, .82);
    font-size: 1.125rem;
    max-width: 30ch;
    margin: 0 auto;
}

.ts-admin-auth__form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(56, 178, 248, .1), transparent 70%),
        var(--ts-bg);
}

.ts-admin-auth__form-wrap {
    width: 100%;
    max-width: 420px;
}

.ts-admin-auth__logo {
    margin-bottom: 36px;
}

.ts-admin-auth__form-wrap .ts-btn--block {
    margin-top: 8px;
}

.ts-admin-auth__error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin: 0 0 16px;
    border-radius: var(--ts-radius-control);
    background: rgba(255, 91, 91, .12);
    border: 1px solid rgba(255, 91, 91, .35);
    color: #ffb3b3;
    font-weight: 500;
}

    .ts-admin-auth__error .material-symbols-outlined {
        color: var(--ts-signal);
    }

@media (prefers-reduced-motion: no-preference) {
    .ts-admin-auth__brand-copy > * {
        animation: ts-rise .7s cubic-bezier(.2, .7, .2, 1) both;
    }

    .ts-admin-auth__title {
        animation-delay: .1s !important;
    }

    .ts-admin-auth__lead {
        animation-delay: .2s !important;
    }
}
