:root {
    --fashion01-paper: #fbf9f4;
    --fashion01-paper-strong: #f4f1eb;
    --fashion01-ink: #191915;
    --fashion01-muted: #69675f;
    --fashion01-line: #d8d4cb;
}

body.fashion01-theme {
    min-width: 320px;
    color: var(--fashion01-ink);
    background-color: var(--fashion01-paper);
    overflow-x: clip;
}

.fashion01-theme .ec-layoutRole,
.fashion01-theme .ec-layoutRole__header,
.fashion01-theme .ec-layoutRole__footer,
.fashion01-theme .ec-layoutRole__legacy-wrapper,
.fashion01-theme .ec-layoutRole__adaptive,
.fashion01-theme .ec-layoutRole__contents,
.fashion01-theme .ec-layoutRole__main {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.fashion01-theme .ec-layoutRole__adaptive {
    display: block;
}

.fashion01-theme .ec-layoutRole__main::before,
.fashion01-theme .ec-layoutRole__main::after {
    display: none;
}

.fashion01-theme .site-header,
.fashion01-theme .site-footer {
    width: 100%;
}

.fashion01-theme .footer-column h2,
.fashion01-theme .footer-column h3 {
    margin: 4px 0 22px;
    font-size: 14px;
    font-weight: 600;
}

.fashion01-theme .drawer-category-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
}

.fashion01-theme .drawer-category-row > a {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.fashion01-theme .drawer-category-toggle {
    width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
}

.fashion01-theme .drawer-category-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: transform 0.2s ease;
}

.fashion01-theme .drawer-category-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.fashion01-theme .cart-empty {
    min-height: 96px;
    display: grid;
    place-items: center;
    margin: 0;
    color: var(--fashion01-muted);
}

.fashion01-theme .breadcrumb-separator {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.fashion01-theme .category-sidebar .chevron,
.fashion01-theme .pagination .page-arrow svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.fashion01-theme .thumb-more svg,
.fashion01-theme .ec-modal-close svg,
.fashion01-theme .detail-lightbox button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.fashion01-theme .gallery-main-button {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    cursor: zoom-in;
}

.fashion01-theme .gallery-main-button .gallery-counter {
    display: block;
}

.fashion01-theme .product-regular-price {
    margin: 0 0 4px;
    color: var(--fashion01-muted);
    font-size: 0.8rem;
}

.fashion01-theme .product-info > .badge {
    position: static;
    margin: 0 6px 4px 0;
}

.fashion01-theme .stock.is-sold-out {
    color: #9b3434;
}

.fashion01-theme .score-stars {
    display: inline-flex;
    gap: 2px;
}

.fashion01-theme .review-star {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #aaa69d;
    stroke-width: 1.25;
}

.fashion01-theme .review-star.is-filled {
    fill: #2e2e29;
    stroke: #2e2e29;
}

.fashion01-theme .fashion-empty-state {
    margin: 28px 0 0;
    padding: 28px;
    border-block: 1px solid var(--fashion01-line);
    color: var(--fashion01-muted);
    text-align: center;
}

.fashion01-theme .benefit a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fashion01-theme .ec-modal-close {
    display: grid;
    place-items: center;
}

.fashion01-theme .ec-modal {
    position: fixed;
    z-index: 220;
    inset: 0;
    display: none;
}

.fashion01-theme .ec-modal[aria-hidden="false"] {
    display: block;
}

.fashion01-theme .ec-modal-overlay {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 20, 17, 0.64);
}

.fashion01-theme .ec-modal-wrap {
    position: relative;
    width: min(100%, 460px);
    padding: 42px 34px 34px;
    color: var(--fashion01-ink);
    background: var(--fashion01-paper);
    text-align: center;
}

.fashion01-theme .ec-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
}

.fashion01-theme #ec-modal-header {
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: 20px;
}

.fashion01-theme .ec-modal-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fashion01-theme .ec-inlineBtn--cancel,
.fashion01-theme .ec-inlineBtn--action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--fashion01-ink);
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fashion01-theme .ec-inlineBtn--cancel {
    background: transparent;
}

.fashion01-theme .ec-inlineBtn--action {
    color: #fff;
    background: var(--fashion01-ink);
}

.fashion01-theme .ec-inlineBtn--cancel:hover,
.fashion01-theme .ec-inlineBtn--cancel:focus-visible {
    color: var(--fashion01-ink);
    background: #ece7df;
    box-shadow: 0 6px 16px rgba(32, 32, 28, 0.12);
    transform: translateY(-1px);
}

.fashion01-theme .ec-inlineBtn--action:hover,
.fashion01-theme .ec-inlineBtn--action:focus-visible {
    color: #fff;
    background: #45463f;
    box-shadow: 0 6px 16px rgba(32, 32, 28, 0.18);
    transform: translateY(-1px);
}

.fashion01-theme .ec-inlineBtn--cancel:active,
.fashion01-theme .ec-inlineBtn--action:active {
    box-shadow: none;
    transform: translateY(0);
}

.fashion01-theme .detail-lightbox {
    width: min(92vw, 1000px);
    height: min(90vh, 900px);
    max-width: none;
    max-height: none;
    padding: 28px 72px;
    border: 0;
    color: #fff;
    background: #171713;
    overflow: hidden;
}

.fashion01-theme .detail-lightbox::backdrop {
    background: rgba(16, 16, 14, 0.92);
}

.fashion01-theme .detail-lightbox > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fashion01-theme .detail-lightbox-close,
.fashion01-theme .detail-lightbox-arrow {
    position: absolute;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.fashion01-theme .detail-lightbox-close {
    top: 12px;
    right: 12px;
}

.fashion01-theme .detail-lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.fashion01-theme .detail-lightbox-arrow.is-prev {
    left: 12px;
}

.fashion01-theme .detail-lightbox-arrow.is-next {
    right: 12px;
}

@media (max-width: 620px) {
    .fashion01-theme .detail-lightbox {
        width: 100vw;
        height: 100dvh;
        padding: 64px 16px;
    }
}

.fashion01-theme .product-media.is-sold-out img,
.fashion01-theme .product-card .is-sold-out img {
    filter: grayscale(0.7) brightness(0.72);
}

.fashion01-theme .product-media .badge.hot {
    right: 9px;
    left: auto;
}

.fashion01-theme .blog-open {
    width: 100%;
    display: block;
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
}

.fashion01-theme .blog-open .blog-media,
.fashion01-theme .blog-open .blog-meta,
.fashion01-theme .blog-open .blog-title {
    display: flex;
}

.fashion01-theme .blog-open .blog-media {
    display: block;
}

.fashion01-theme .fashion-news-description {
    display: none !important;
}

.fashion01-theme .article-dialog-backdrop {
    position: fixed;
    z-index: 120;
    inset: 0;
    background: rgba(25, 25, 21, 0.58);
}

.fashion01-theme .article-dialog {
    position: fixed;
    z-index: 121;
    top: 50%;
    left: 50%;
    width: min(920px, calc(100% - 36px));
    max-height: min(720px, calc(100vh - 48px));
    min-height: 0;
    height: auto;
    padding: clamp(28px, 5vw, 56px);
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid var(--fashion01-line);
    background: var(--fashion01-paper);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
    transform: translate(-50%, -50%);
}

.fashion01-theme .article-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.fashion01-theme .article-dialog-close svg,
.fashion01-theme .hero-arrow svg,
.fashion01-theme .rail-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.fashion01-theme .article-dialog-date {
    color: var(--fashion01-muted);
    font: 11px/1.5 Arial, sans-serif;
    letter-spacing: 0.08em;
}

.fashion01-theme .article-dialog h2 {
    margin: 18px 52px 24px 0;
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.08em;
}

.fashion01-theme .article-dialog-content {
    max-width: 100%;
    min-width: 0;
    margin: 0;
    color: #4f4e48;
    font-family: var(--serif);
    font-size: 15px !important;
    font-weight: 400;
    line-height: 2.1 !important;
    letter-spacing: .02em;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* News descriptions are admin HTML. Keep their content readable instead of
   allowing embedded headings or legacy page rules to make the popup huge. */
.fashion01-theme .article-dialog-content > :where(h1, h2, h3, h4, h5, h6, p, div, blockquote, ul, ol, pre) {
    max-width: 100%;
    margin: 0 0 1.1em;
    font-family: inherit;
    font-size: inherit !important;
    font-weight: inherit;
    line-height: inherit !important;
}

.fashion01-theme .article-dialog-content > :where(ul, ol) {
    padding-left: 1.4em;
}

.fashion01-theme .article-dialog-content > :where(pre) {
    overflow-x: auto;
    white-space: pre-wrap;
}

.fashion01-theme .article-dialog-content :where(img, video, iframe) {
    max-width: 100%;
    height: auto;
}

.fashion01-theme .to-top {
    position: fixed;
    z-index: 90;
    right: clamp(16px, 2.5vw, 30px);
    bottom: clamp(16px, 2.5vw, 30px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease-out, visibility 0s linear .14s;
}

.fashion01-theme .to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.fashion01-theme .to-top.is-visible:hover,
.fashion01-theme .to-top.is-visible:focus-visible {
    color: #eeeae1;
}

.fashion01-theme .fashion-list-empty {
    min-height: 320px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    padding: 44px 20px;
    border: 1px solid var(--fashion01-line);
    text-align: center;
}

.fashion01-theme .fashion-list-empty h2,
.fashion01-theme .fashion-list-empty p {
    margin: 0;
}

.fashion01-theme .fashion-list-empty a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    color: #fff;
    background: #292a25;
}

@media (max-width: 620px) {
    .fashion01-theme .mega-menu,
    .fashion01-theme .desktop-nav {
        display: none;
    }

    .fashion01-theme .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .fashion01-theme .article-dialog {
        padding: 52px 24px 28px;
    }

    .fashion01-theme .ec-modal-overlay {
        padding: 16px;
    }

    .fashion01-theme .ec-modal-wrap {
        padding: 42px 20px 24px;
    }

    .fashion01-theme .ec-modal-box {
        gap: 8px;
    }

    .fashion01-theme .ec-inlineBtn--cancel,
    .fashion01-theme .ec-inlineBtn--action {
        padding-inline: 10px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fashion01-theme *,
    .fashion01-theme *::before,
    .fashion01-theme *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
