@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #f5f3ef;
    --paper: #fffdfa;
    --ink: #171715;
    --muted: #77746d;
    --line: #dedbd4;
    --soft: #ebe8e1;
    --dark: #171715;
    --shadow: 0 24px 80px rgba(20, 20, 18, .08);
    --ease: cubic-bezier(.2, .75, .2, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.8
}

body.no-scroll {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea {
    font: inherit
}

button {
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.announcement {
    background: #171715;
    color: #f6f3ec;
    text-align: center;
    font-size: 12px;
    letter-spacing: .02em;
    padding: 8px
}

.announcement span {
    opacity: .5;
    margin: 0 8px
}

.header {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1
}

.brand span {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: .2em
}

.brand small {
    font-size: 8px;
    letter-spacing: .35em;
    color: var(--muted);
    margin-top: 7px
}

.main-nav {
    display: flex;
    gap: 30px;
    font-size: 14px
}

.main-nav a {
    position: relative
}

.main-nav a:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: .35s var(--ease)
}

.main-nav a:hover:after {
    width: 100%
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    font-size: 20px;
    line-height: 1
}

.menu-toggle[aria-expanded="true"] {
    background: var(--ink);
    color: var(--paper)
}

.icon-btn,
.bag-btn {
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(255, 255, 255, .45);
    transition: .3s var(--ease)
}

.icon-btn:hover,
.bag-btn:hover {
    transform: translateY(-2px);
    background: #fff
}

.bag-btn b {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    font-size: 11px
}

.hero {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
    align-items: center;
    padding: 55px 0 95px
}

.eyebrow {
    margin: 0 0 15px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    color: var(--muted)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

.hero h1 {
    font-size: clamp(50px, 7vw, 92px);
    line-height: 1.03;
    letter-spacing: -.06em;
    margin-bottom: 25px;
    font-weight: 900
}

.hero h1 em,
h2 em {
    font-style: normal;
    color: #8d8a82
}

.lead {
    color: var(--muted);
    max-width: 520px;
    font-size: 16px
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    transition: .35s var(--ease);
    font-weight: 700;
    font-size: 13px
}

.btn-dark {
    background: var(--dark);
    color: white;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14)
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18)
}

.btn-outline {
    border: 1px solid var(--ink)
}

.btn-outline:hover {
    background: var(--ink);
    color: white;
    transform: translateY(-3px)
}

.text-link {
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 5px
}

.hero-metrics {
    display: flex;
    gap: 28px;
    margin-top: 35px
}

.hero-metrics div {
    display: flex;
    flex-direction: column
}

.hero-metrics strong {
    font-size: 19px
}

.hero-metrics span {
    font-size: 10px;
    color: var(--muted)
}

.hero-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #ddd;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
    transition: transform .8s var(--ease)
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-5px)
}

.hero-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: saturate(.78)
}

.hero-tag {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35)
}

.hero-tag span {
    font-size: 9px;
    letter-spacing: .18em
}

.hero-tag b {
    font-size: 18px
}

.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    white-space: nowrap
}

.ticker div {
    display: inline-block;
    padding: 14px 0;
    font-size: 11px;
    letter-spacing: .25em;
    animation: marquee 22s linear infinite
}

.ticker span {
    margin: 0 24px;
    opacity: .4
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-30%)
    }
}

.shop {
    padding: 110px 0
}

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

.section-head h2,
.split-copy h2,
.story-card h2 {
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.06;
    letter-spacing: -.04em;
    margin: 0
}

.section-note {
    max-width: 360px;
    color: var(--muted);
    font-size: 13px
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.filter {
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    transition: .25s
}

.filter.active,
.filter:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.product-card {
    position: relative;
    min-width: 0
}

.product-media {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #e9e6df;
    aspect-ratio: 3/4
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease), filter .8s var(--ease);
    filter: saturate(.78)
}

.product-card:hover .product-media img {
    transform: scale(1.05);
    filter: saturate(.95)
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px
}

.product-action {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    opacity: 0;
    transform: translateY(12px);
    transition: .35s var(--ease)
}

.product-card:hover .product-action {
    opacity: 1;
    transform: none
}

.quick-add {
    width: 100%;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1)
}

.product-info {
    padding: 13px 3px
}

.product-top {
    display: flex;
    justify-content: space-between;
    gap: 10px
}

.product-name {
    font-weight: 800;
    font-size: 14px
}

.product-category {
    font-size: 10px;
    color: var(--muted);
    margin-top: 2px
}

.price {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap
}

.compare {
    font-size: 10px;
    color: #aaa;
    text-decoration: line-through;
    margin-right: 6px
}

.split-banner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 560px;
    background: #e6e2da;
    border-radius: 28px;
    overflow: hidden
}

.split-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.72)
}

.split-copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 70px
}

.split-copy p:not(.eyebrow) {
    color: var(--muted);
    max-width: 430px;
    margin: 28px 0
}

.story {
    padding: 120px 0
}

.story-card {
    min-height: 500px;
    border-radius: 28px;
    background: #1b1a18;
    color: #f5f1e9;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.story-card:before {
    content: '01';
    position: absolute;
    left: 6%;
    top: 4%;
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, .035)
}

.story-card p:not(.eyebrow) {
    max-width: 560px;
    color: #b8b4aa;
    margin: 28px 0;
    font-size: 15px
}

.signature {
    font-size: 10px;
    letter-spacing: .2em;
    color: #908d84
}

.footer {
    background: #171715;
    color: #ece7dc;
    padding: 70px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
    gap: 40px
}

.footer h3 {
    font-size: 12px;
    margin-bottom: 14px
}

.footer-grid>div>a:not(.brand),
.footer-grid>div>p {
    display: block;
    color: #a7a39a;
    font-size: 12px;
    margin: 7px 0
}

.subscribe {
    display: flex;
    border: 1px solid #46443f;
    border-radius: 999px;
    padding: 4px
}

.subscribe input {
    min-width: 0;
    width: 100%;
    background: none;
    border: 0;
    outline: 0;
    color: white;
    padding: 8px 10px
}

.subscribe button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1eee7;
    color: #181714
}

.footer-bottom {
    border-top: 1px solid #373630;
    margin-top: 50px;
    padding-top: 18px;
    color: #77746c;
    font-size: 10px;
    display: flex;
    justify-content: space-between
}

.search-overlay,
.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.search-overlay.open,
.modal.open {
    display: flex
}

.modal-backdrop,
.search-overlay {
    background: rgba(15, 15, 14, .6);
    backdrop-filter: blur(6px)
}

.search-box,
.modal-card {
    position: relative;
    width: min(720px, 100%);
    background: var(--paper);
    border-radius: 28px;
    padding: 36px;
    box-shadow: var(--shadow)
}

.search-box input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    outline: 0;
    font-size: 24px;
    padding: 13px 0
}

.close {
    position: absolute;
    left: 20px;
    top: 18px;
    font-size: 28px;
    color: var(--muted)
}

.search-results {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    max-height: 40vh;
    overflow: auto
}

.search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 15px
}

.search-result img {
    width: 54px;
    height: 68px;
    object-fit: cover;
    border-radius: 11px
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    visibility: hidden
}

.cart-drawer.open {
    visibility: visible
}

.cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    transition: .35s
}

.cart-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(460px, 100%);
    background: var(--paper);
    transform: translateX(100%);
    transition: .45s var(--ease);
    display: flex;
    flex-direction: column
}

.cart-drawer.open .cart-backdrop {
    opacity: 1
}

.cart-drawer.open .cart-panel {
    transform: none
}

.cart-head {
    padding: 30px 28px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between
}

.cart-head h2 {
    margin: 0;
    font-size: 24px
}

.cart-items {
    flex: 1;
    overflow: auto;
    padding: 22px 28px
}

.cart-item {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.cart-item img {
    width: 74px;
    height: 92px;
    object-fit: cover;
    border-radius: 12px
}

.cart-item h4 {
    margin: 0 0 3px;
    font-size: 13px
}

.cart-item small {
    color: var(--muted);
    display: block
}

.qty {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    width: max-content;
    margin-top: 8px
}

.qty button {
    width: 26px;
    height: 26px
}

.qty span {
    display: grid;
    place-items: center;
    width: 27px;
    font-size: 11px
}

.cart-footer {
    padding: 24px 28px;
    border-top: 1px solid var(--line)
}

.subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px
}

.subtotal span {
    color: var(--muted);
    font-size: 13px
}

.full {
    width: 100%
}

.cart-footer small {
    display: block;
    text-align: center;
    color: #999;
    font-size: 10px;
    margin-top: 10px
}

.checkout-card {
    max-width: 560px
}

.checkout-card form {
    display: grid;
    gap: 14px;
    margin-top: 22px
}

.checkout-card label {
    font-size: 11px;
    color: var(--muted)
}

.checkout-card input,
.checkout-card textarea,
.admin-card input,
.admin-card textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 12px;
    outline: 0;
    margin-top: 6px
}

.form-note {
    font-size: 10px;
    color: #999
}

.order-success {
    text-align: center;
    padding: 25px 0
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #1d1c19;
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 100;
    font-size: 12px
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

.page-hero {
    padding: 80px 0 60px
}

.page-hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -.05em;
    max-width: 900px
}

.page-hero p {
    color: var(--muted);
    max-width: 620px
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 100px
}

.about-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 42px;
    min-height: 310px
}

.about-card.dark {
    background: #1b1a18;
    color: white
}

.about-card h2 {
    font-size: 32px
}

.about-card p {
    color: var(--muted);
    font-size: 13px
}

.dark p {
    color: #a7a39a
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 18px;
    margin-bottom: 100px
}

.contact-card {
    background: var(--paper);
    border-radius: 24px;
    border: 1px solid var(--line);
    padding: 38px
}

.admin-shell {
    padding: 50px 0
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 18px
}

.admin-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 25px
}

.orders {
    display: grid;
    gap: 12px
}

.order-row {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px
}

.order-row small {
    color: var(--muted)
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: .8s var(--ease)
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(max-width:900px) {

    .hero,
    .split-banner,
    .about-grid,
    .contact-grid,
    .admin-grid {
        grid-template-columns: 1fr
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .main-nav {
        display: none
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center
    }

    .section-head {
        display: block
    }

    .section-note {
        margin-top: 15px
    }

    .split-copy {
        padding: 45px
    }

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

    .hero {
        padding-top: 25px
    }

    .hero-art {
        order: -1
    }

    .hero-metrics {
        gap: 20px
    }
}

@media(max-width:560px) {
    .shell {
        width: min(100% - 24px, 1180px)
    }

    .header {
        height: 74px
    }

    .header {
        position: relative
    }

    .header .brand {
        min-width: 0
    }

    .header-actions {
        display: flex;
        margin-right: auto
    }

    .header-actions .bag-btn {
        display: none
    }

    .header-actions .icon-btn {
        width: 42px;
        padding: 0
    }

    .main-nav.is-open {
        display: flex;
        position: absolute;
        z-index: 20;
        top: calc(100% - 4px);
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        overflow: visible;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow)
    }

    .main-nav.is-open a {
        width: 100%;
        padding: 10px 12px;
        font-size: 13px
    }

    .main-nav.is-open a:after {
        display: none
    }

    .main-nav.is-open .nav-return {
        margin-top: 5px;
        text-align: center;
        border-color: var(--ink)
    }

    .main-nav.is-open .nav-return:after {
        display: none
    }

    .page-hero {
        padding: 52px 0 46px
    }

    .page-hero h1 {
        font-size: clamp(34px, 10vw, 52px);
        line-height: 1.18
    }

    .hero {
        gap: 26px;
        padding-bottom: 65px
    }

    .hero h1 {
        font-size: clamp(44px, 14vw, 60px)
    }

    .hero-cta {
        flex-wrap: wrap;
        gap: 14px
    }

    .split-copy,
    .contact-card,
    .about-card,
    .checkout-items-card,
    .checkout-summary {
        padding: 22px
    }

    .checkout-card-head h2,
    .checkout-summary h2 {
        font-size: 22px
    }

    .header .brand span {
        font-size: 21px
    }

    .hero h1 {
        font-size: 56px
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .product-action {
        opacity: 1;
        transform: none
    }

    .split-banner {
        border-radius: 20px
    }

    .story-card {
        padding: 34px;
        min-height: 430px
    }

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

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin: 7px 0
    }

    .search-box,
    .modal-card {
        padding: 28px 20px
    }

    .cart-panel {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

.empty-state {
    grid-column: 1/-1;
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line);
    border-radius: 24px;
    color: var(--muted);
    font-size: 14px;
    background: rgba(255, 255, 255, .25)
}

/* --- Premium motion layer / portfolio showcase --- */
body.is-loading {
    overflow: hidden
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #171715;
    color: #f5f1e9;
    display: grid;
    place-items: center;
    transition: opacity .22s ease, visibility .22s ease
}

.site-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.loader-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(12px);
    animation: loaderRise .42s cubic-bezier(.2, .8, .2, 1) forwards
}

.loader-mark span {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: .22em
}

.loader-mark small {
    font-size: 8px;
    letter-spacing: .38em;
    opacity: .55
}

.loader-mark i {
    width: 42px;
    height: 1px;
    background: #f5f1e9;
    transform: scaleX(0);
    transform-origin: center;
    animation: loaderLine .38s .08s cubic-bezier(.2, .8, .2, 1) forwards
}

.loader-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #2b2a27;
    overflow: hidden
}

.loader-line span {
    display: block;
    height: 100%;
    background: #f5f1e9;
    transform: translateX(100%);
    animation: loaderBar .52s .04s cubic-bezier(.65, 0, .35, 1) forwards
}

@keyframes loaderRise {
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes loaderLine {
    to {
        transform: scaleX(1)
    }
}

@keyframes loaderBar {
    to {
        transform: translateX(0)
    }
}

.main-nav a.active {
    font-weight: 800
}

.main-nav a.active:after {
    width: 100%
}

.featured {
    padding: 120px 0 110px
}

.featured-head {
    align-items: end
}

.featured-head h2 {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -.05em
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.featured-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--delay, 0ms)
}

.featured-card.in {
    opacity: 1;
    transform: none
}

.featured-media {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 22px;
    background: #e8e5de;
    isolation: isolate;
    box-shadow: 0 14px 40px rgba(20, 20, 18, .06);
    transform: translateZ(0)
}

.featured-media:before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(130deg, transparent 25%, rgba(255, 255, 255, .45) 45%, transparent 62%);
    transform: translateX(120%);
    transition: transform .9s cubic-bezier(.2, .8, .2, 1);
    z-index: 2;
    pointer-events: none
}

.featured-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.72);
    transform: scale(1.001);
    transition: transform .9s var(--ease), filter .7s var(--ease)
}

.featured-orbit {
    position: absolute;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    left: -40px;
    bottom: -45px;
    z-index: 1;
    opacity: 0;
    transform: scale(.55);
    transition: opacity .5s, transform .7s var(--ease);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .035), 0 0 0 36px rgba(255, 255, 255, .02)
}

.featured-view {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(20, 20, 18, .22);
    backdrop-filter: blur(12px);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s, transform .5s var(--ease)
}

.featured-view b {
    font-size: 16px
}

.featured-badge {
    position: absolute;
    right: 13px;
    top: 13px;
    z-index: 3;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 800
}

.featured-card:hover .featured-media {
    box-shadow: 0 28px 60px rgba(20, 20, 18, .14);
    transform: translateY(-5px)
}

.featured-card:hover .featured-media img {
    transform: scale(1.075) rotate(-1deg);
    filter: saturate(.95)
}

.featured-card:hover .featured-media:before {
    transform: translateX(-120%)
}

.featured-card:hover .featured-orbit {
    opacity: 1;
    transform: scale(1) rotate(18deg)
}

.featured-card:hover .featured-view {
    opacity: 1;
    transform: none
}

.featured-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 3px 0;
    align-items: start
}

.featured-info h3 {
    font-size: 14px;
    margin: 0;
    font-weight: 900
}

.featured-info p {
    font-size: 10px;
    color: var(--muted);
    margin: 2px 0 0
}

.featured-info strong {
    font-size: 12px;
    white-space: nowrap
}

.hero-copy,
.hero-art {
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: .15s
}

.hero-copy:not(.in) {
    opacity: 0;
    transform: translateY(20px)
}

.hero-art:not(.in) {
    opacity: 0;
    transform: translateY(28px) scale(.985)
}

.hero-copy.in,
.hero-art.in {
    opacity: 1;
    transform: none
}

.hero-card:after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 26px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s
}

.hero-card:hover:after {
    opacity: 1
}

.ticker div {
    will-change: transform
}

.btn,
.featured-media,
.product-media,
.hero-card {
    will-change: transform
}

@media(max-width:900px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .main-nav {
        gap: 14px;
        font-size: 12px
    }

    .header-actions .bag-btn {
        padding: 0 12px
    }

    .featured {
        padding: 90px 0
    }

    .featured-view {
        opacity: 1;
        transform: none;
        bottom: 12px;
        left: 12px;
        right: 12px
    }
}

@media(max-width:560px) {
    .main-nav {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        scrollbar-width: none;
        flex: 1;
        justify-content: flex-start
    }

    .main-nav::-webkit-scrollbar {
        display: none
    }

    .main-nav a {
        white-space: nowrap;
        font-size: 10px
    }

    .header {
        gap: 10px
    }

    .header-actions {
        display: none
    }

    .featured-grid {
        gap: 10px
    }

    .featured-head {
        margin-bottom: 24px
    }

    .featured-info {
        display: block
    }

    .featured-info strong {
        display: block;
        margin-top: 4px
    }

    .loader-mark span {
        font-size: 28px
    }
}

@media(prefers-reduced-motion:reduce) {
    .site-loader {
        display: none !important
    }

    body.is-loading {
        overflow: auto
    }

    .featured-card,
    .hero-copy,
    .hero-art {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important
    }

    .featured-media:before,
    .featured-orbit,
    .featured-view {
        transition: none !important
    }
}

.main-nav a {
    transition: transform .35s var(--ease), opacity .35s var(--ease)
}

.main-nav a:hover {
    transform: translateY(-2px)
}

@media(max-width:560px) {
    .main-nav {
        display: none !important
    }

    .main-nav.is-open {
        display: flex !important
    }

    .header-actions .bag-btn {
        display: none !important
    }
}

@media(max-width:900px) {
    .main-nav {
        display: none !important
    }

    .main-nav.is-open {
        display: flex !important
    }

    .home-store-link {
        display: none !important
    }
}

/* Fail-safe loader: never block the showcase indefinitely. */
.site-loader {
    animation: loaderFailsafe .01s linear 700ms forwards;
}

@keyframes loaderFailsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none
    }
}

html.loader-active .site-loader {
    animation: none;
}

.checkout-page {
    padding-bottom: 100px
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
    align-items: start
}

.checkout-items-card,
.checkout-summary {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 28px
}

.checkout-summary {
    position: sticky;
    top: 20px
}

.checkout-card-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 5px
}

.checkout-card-head h2,
.checkout-summary h2 {
    margin: 0;
    font-size: 28px
}

.checkout-card-head>span {
    font-size: 11px;
    color: var(--muted)
}

.checkout-items {
    display: grid
}

.checkout-item {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    align-items: center
}

.checkout-item img {
    width: 92px;
    height: 116px;
    object-fit: cover;
    border-radius: 14px
}

.checkout-item-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    align-items: center
}

.checkout-item-main h3 {
    margin: 0;
    font-size: 16px
}

.checkout-item-main p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px
}

.checkout-item-main>strong {
    font-size: 13px
}

.checkout-item .qty {
    grid-column: 1/-1
}

.checkout-remove {
    font-size: 24px;
    color: var(--muted);
    padding: 8px
}

.checkout-summary h2 {
    margin-bottom: 28px
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    font-size: 13px
}

.summary-line span {
    color: var(--muted)
}

.summary-total {
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 20px;
    font-size: 16px;
    font-weight: 800
}

.checkout-form {
    display: grid;
    gap: 14px;
    margin-top: 22px
}

.checkout-form label {
    font-size: 11px;
    color: var(--muted)
}

.checkout-form input,
.checkout-form textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 12px;
    outline: 0;
    margin-top: 6px;
    font: inherit
}

.checkout-note {
    text-align: center;
    color: #999;
    font-size: 10px;
    margin-top: 12px
}

.checkout-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 80px 20px
}

.checkout-empty .btn {
    display: inline-flex;
    width: auto
}

.search-overlay .close {
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    line-height: 1;
    cursor: pointer;
    transition: .25s
}

.search-overlay .close:hover {
    transform: rotate(90deg) scale(1.05);
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

@media(max-width:800px) {
    .checkout-layout {
        grid-template-columns: 1fr
    }

    .checkout-summary {
        position: static
    }

    .checkout-item {
        grid-template-columns: 72px 1fr auto
    }

    .checkout-item img {
        width: 72px;
        height: 92px
    }
}

.site-logo {
    display: block;
    width: min(190px, 42vw);
    height: auto;
    color: currentColor;
    transition: transform .35s ease, opacity .35s ease
}

.brand:hover .site-logo {
    transform: translateY(-2px);
    opacity: .82
}

.site-logo {
    display: block;
    width: min(190px, 42vw);
    height: auto;
    color: currentColor;
    transition: transform .35s ease, opacity .35s ease
}

.brand:hover .site-logo {
    transform: translateY(-2px);
    opacity: .82
}

.loader-mark img {
    display: block;
    width: min(240px, 56vw);
    height: auto
}

.loader-mark {
    display: flex;
    align-items: center;
    justify-content: center
}

.main-nav .nav-return {
    border: 1px solid var(--ink);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap
}

.main-nav .nav-return:after {
    display: none
}

.main-nav .nav-return:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px)
}