/* ===========================
   FONT
=========================== */

@font-face {
    font-family: "SpecialElite";

    src: url("../fonts/SpecialElite-Regular.ttf") format("truetype");

    font-weight: normal;

    font-style: normal;
}

/* =======================================
   RESET
======================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =======================================
   GLOBAL
======================================= */

body {
    font-family: "SpecialElite", serif;
}

.container {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =======================================
   HEADER
======================================= */

header {
    position: fixed;
    right: 25px;
    bottom: 25px;
    text-align: right;

    z-index: 9999;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1;
}

.logo a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tagline {
    font-family: "SpecialElite";

    font-size: 11px;
}

h1 {
    margin: 0;
}

h1 a {
    text-decoration: none;
    color: #111;
}

header p {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: -0.5px;
    color: #666;
    text-align: right;
}

/* =======================================
   SIDEBAR
======================================= */

.sidebar {
    position: fixed;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 10px;

    z-index: 9999;
}

.sidebar a {
    color: #111;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .3px;
    transition: .3s;
}

.sidebar a:hover {
    opacity: .45;
}

/* =======================================
   HOME
======================================= */

.home-main {
    flex: 1;

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;
}

.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-window {
    width: 500px;
    height: 340px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: .5s;
}

.slide.active {
    opacity: 1;
}

.prev,
.next {
    background: none;
    border: none;

    cursor: pointer;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    font-weight: 300;

    color: #666;

    transition: .25s;

    line-height: 1;
}

.prev:hover,
.next:hover {
    color: #111;
}

.slide-count {
    position: absolute;
    left: 7.5px;
    bottom: 7.5px;
    z-index: 20;
    font-family: "Courier New", monospace;
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .75);
}

/* =======================================
   SHOP
======================================= */

.category-menu {
    display: flex;

    justify-content: center;

    gap: 22px;

    margin: 40px 0 70px;

    flex-wrap: wrap;
}

.category-button {
    background: none;

    border: none;

    cursor: pointer;

    font-size: 11px;

    color: #777;

    transition: .25s;
}

.category-button:hover {
    color: #111;
}

.category-button.active {
    color: #111;

    font-weight: 600;
}

/* =======================================
   PRODUCT CARD
======================================= */

.product-grid {
    width: 100%;
    max-width: 700px;

    margin: 80px auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 60px 30px;
}

.product-card {
    display: flex;

    flex-direction: column;

    text-decoration: none;

    color: #111;
}

.product-image-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition:
        transform .35s ease,
        opacity .35s ease;
}

.product-card.gone img {
    filter: grayscale(100%);

    opacity: .45;
}

.product-card:hover img {
    opacity: .92;
    transform: scale(1.015);
}

.product-card h3 {
    margin-top: 18px;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.35;

    letter-spacing: -0.2px;

    color: #111;

    transition: .25s;
}

.product-card p {
    margin-top: 8px;

    font-size: 12px;

    font-weight: 400;

    color: #777;

    letter-spacing: .2px;

    transition: .25s;
}

.gone-badge {
    position: absolute;

    top: 10px;

    right: 10px;

    padding: 6px 10px;

    background: #111;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    z-index: 20;
}

/* =======================================
   PRODUCT DETAIL
======================================= */

.product-detail {
    max-width: 1200px;

    margin: 40px auto 120px;

    padding: 0 40px;
}

/* BACK */

.back-button {
    position: fixed;

    top: 40px;

    left: 45px;

    text-decoration: none;

    color: #111;

    font-size: 11px;

    letter-spacing: .5px;
}

/* 첫 화면 */

.product-hero {
    display: flex;

    justify-content: center;

    align-items: flex-start;

    gap: 120px;

    margin-top: 70px;
}

/* 대표 사진 */

.product-image {
    flex: 1;

    display: flex;

    justify-content: flex-end;

    min-width: 0;
}

.product-image img {
    width: min(100%, 420px);

    height: auto;

    object-fit: contain;
}

/* 상품 정보 */

.product-info {
    width: 320px;

    padding-top: 20px;
}

.product-title-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-title-row #product-price {
    align-self: flex-end;
    margin: -15px 0 25px;
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

.product-info h1 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.product-info p {
    font-size: 12px;

    color: #555;

    margin-bottom: 8px;

    line-height: 1.7;
}

.product-info hr {
    margin: 35px 0;

    border: none;

    border-top: 1px solid #ddd;
}

.measurement-list {
    margin-top: 24px;
}

.measurement-item {
    display: flex;

    justify-content: space-between;

    font-size: 13px;

    margin-bottom: 6px;
}

.measurement-label {
    color: #666;
}

.measurement-value {
    color: #111;
}

.description {
    line-height: 1.9;
}

/* 상품 NOTES */

.product-notes {
    margin-top: 30px;
}

.product-notes p {
    font-size: 12px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 4px;
}

.add-to-cart {
    margin-top: 28px;

    padding: 0;

    border: none;

    background: none;

    font-family: "SpecialElite", serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #111;

    cursor: pointer;

    transition: opacity .25s;
}

.add-to-cart:hover:not(:disabled) {
    opacity: .45;
}

.add-to-cart:disabled {
    color: #777;

    cursor: default;
}

/* 상세사진 */

.detail-gallery {
    margin-top: 180px;

    display: flex;

    flex-direction: column;

    gap: 120px;
}

.detail-gallery img {
    width: 100%;

    max-width: 500px;

    margin: 0 auto;
}

/* =======================================
   SHOP SECTION TITLE
======================================= */

.section-title {
    grid-column: 1 / -1;

    margin: 40px 0 25px;

    padding-bottom: 12px;

    border-bottom: none;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #111;
}

.section-title.archive {
    margin-top: 90px;

    color: #777;
}

/* =======================================
   ABOUT
======================================= */

/* =======================================
   FOOTER
======================================= */

/* =======================================
SEARCH
======================================= */

body.search-page .search-empty {
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;

    font-family: "SpecialElite", serif;

    font-size: 20px;
    letter-spacing: 1px;

    color: #111;

    text-align: center;

    z-index: 1000;
}

body.search-page .search-query {
    margin-top: 70px;
}

/* CART + SEARCH */

.utility-nav {
    position: fixed;

    top: 20px;
    right: 20px;

    display: flex;
    align-items: center;

    gap: 12px;

    z-index: 10002;
}

.cart-entry,
.order-entry {
    color: #111;

    text-decoration: none;

    font-family: "SpecialElite", serif;

    font-size: 10px;

    line-height: 1;

    letter-spacing: 1px;

    white-space: nowrap;
}

.cart-entry:hover {
    opacity: .45;
}

/* =======================================
   CART
======================================= */

.cart-main {
    width: 100%;
    max-width: 700px;

    margin: 80px auto 120px;

    padding: 0 20px;
}

.cart-title {
    margin-bottom: 40px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.cart-list {
    width: 100%;
}

.cart-item {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 30px;

    padding: 30px 0;

    border-bottom: 1px solid #eee;
}

.cart-item-image {
    display: block;

    width: 100%;
}

.cart-item-image img {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;
}

.cart-item-info {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.cart-item-name {
    color: #111;

    text-decoration: none;

    font-size: 13px;

    line-height: 1.4;
}

.cart-item-price {
    margin-top: 8px;

    font-size: 11px;

    color: #777;
}

.cart-item-status {
    margin-top: 12px;

    font-size: 10px;

    letter-spacing: 1px;

    color: #777;
}

.cart-item.gone .cart-item-image {
    opacity: .45;

    filter: grayscale(100%);
}

.cart-remove {
    margin-top: auto;

    padding: 0;

    border: none;

    background: none;

    font-family: "SpecialElite", serif;

    font-size: 9px;

    letter-spacing: 1px;

    color: #777;

    cursor: pointer;
}

.cart-remove:hover {
    color: #111;
}

.cart-summary {
    margin-top: 50px;
}

.cart-total {
    display: flex;

    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid #111;

    font-size: 12px;
}

.checkout-button {
    display: block;

    margin-top: 35px;
    margin-left: auto;

    padding: 0;

    border: none;

    background: none;

    font-family: "SpecialElite", serif;

    font-size: 11px;

    letter-spacing: 1px;

    color: #111;

    cursor: pointer;
}

.checkout-button:disabled {
    color: #aaa;

    cursor: default;
}

.cart-empty {
    display: none;

    margin-top: 100px;

    text-align: center;

    font-size: 13px;

    letter-spacing: 1px;
}

/* utility-nav 안의 SEARCH는
   기존 fixed 위치 대신 wrapper가 위치를 담당 */

.utility-nav .search-entry {
    position: static;
}

.search-entry {
    position: fixed;

    top: 20px;
    right: 20px;

    padding: 0;

    border: none;
    background: none;

    font-family: "SpecialElite", serif;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1px;

    color: #111;

    cursor: pointer;

    z-index: 10002;
}

.search-entry:hover {
    opacity: .45;
}

/* 검색창 */

.search-panel {
    position: fixed;

    top: 38px;
    right: 20px;

    width: 120px;
    height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        height .2s ease,
        opacity .15s ease;

    z-index: 10002;
}

/* 검색창 열림 */

.search-panel.active {
    height: 20px;
    opacity: 1;
}

/* 검색 form */

.search-panel .search-form {
    position: static;

    display: flex;

    align-items: center;

    width: 100%;
    height: 18px;

    gap: 5px;
}

/* 입력창 */

.search-panel .search-form input {
    flex: 1;

    width: auto;
    min-width: 0;

    height: 17px;

    padding: 0;

    border: none;
    border-bottom: 1px solid #111;

    outline: none;

    background: transparent;

    font-family: "SpecialElite", serif;
    font-size: 9px;

    color: #111;
}

/* GO */

.search-panel .search-form button {
    flex: 0 0 auto;

    padding: 0;

    border: none;
    background: none;

    font-family: "SpecialElite", serif;
    font-size: 9px;
    line-height: 1;

    color: #111;

    cursor: pointer;
}

.search-panel .search-form button:hover {
    opacity: .45;
}

/* ======================
   DESKTOP (기본)
====================== */

.mobile-nav {
    display: none;
}

/* =======================================
   CHECKOUT FOUNDATION
======================================= */

.cart-checkout-message {
    margin-top: 18px;
    text-align: right;
    font-size: 10px;
    line-height: 1.7;
    color: #777;
}

.cart-item.reserved .cart-item-image {
    opacity: .6;
}

.checkout-main {
    width: 100%;
    max-width: 960px;
    margin: 80px auto 140px;
    padding: 0 20px;
}

.checkout-title {
    margin-bottom: 55px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.checkout-loading,
.checkout-error,
.checkout-empty {
    margin-top: 100px;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: .5px;
}

.checkout-empty a {
    display: inline-block;
    margin-top: 25px;
    color: #111;
    font-size: 10px;
    text-decoration: none;
    letter-spacing: 1px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 90px;
    align-items: start;
}

.checkout-form-group + .checkout-form-group {
    margin-top: 65px;
}

.checkout-form-group h3,
.checkout-review h3,
.checkout-active-reservation h3,
.checkout-order-section > h3 {
    margin-bottom: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.checkout-field-wide {
    grid-column: 1 / -1;
}

.checkout-field span {
    font-size: 9px;
    letter-spacing: 1px;
    color: #555;
}

.checkout-field input,
.checkout-field textarea {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #bbb;
    border-radius: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 12px;
    line-height: 1.6;
    color: #111;
}

.checkout-field textarea {
    resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
    border-bottom-color: #111;
}

.checkout-status-message {
    margin-top: 35px;
    font-size: 10px;
    line-height: 1.8;
    color: #777;
}

.checkout-review-button,
.checkout-edit-button,
.checkout-payment-button {
    padding: 0;
    border: none;
    background: none;
    font-family: "SpecialElite", serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: #111;
    cursor: pointer;
}

.checkout-review-button {
    display: block;
    margin-top: 45px;
    margin-left: auto;
}

.checkout-review-button:disabled,
.checkout-payment-button:disabled {
    color: #aaa;
    cursor: default;
}

.checkout-review-list {
    border-top: 1px solid #111;
}

.checkout-review-list > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.checkout-review-list dt {
    font-size: 9px;
    letter-spacing: 1px;
    color: #777;
}

.checkout-review-list dd {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.7;
    color: #111;
}

.checkout-edit-button {
    margin-top: 30px;
    color: #777;
}

.checkout-payment-button {
    display: block;
    margin-top: 35px;
    margin-left: auto;
}

.checkout-order-section {
    position: sticky;
    top: 70px;
}

.checkout-order-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.checkout-order-item img {
    display: block;
    width: 64px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.checkout-order-item.unavailable img {
    opacity: .45;
    filter: grayscale(100%);
}

.checkout-order-item a {
    color: #111;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.5;
}

.checkout-order-item div > p {
    margin-top: 7px;
    font-size: 9px;
    color: #777;
}

.checkout-order-item > p {
    font-size: 10px;
    color: #555;
    white-space: nowrap;
}

.checkout-order-item .checkout-order-status {
    letter-spacing: 1px;
}

.checkout-pricing {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #111;
}

.checkout-pricing > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 10px;
    line-height: 1.5;
}

.checkout-pricing dd {
    text-align: right;
}

.checkout-pricing .checkout-estimated-total {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    color: #111;
}

.checkout-reservation-notice {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.checkout-reservation-notice p {
    margin-bottom: 10px;
    font-size: 9px;
    line-height: 1.8;
    color: #777;
}

/* ORDER LOOKUP */

.order-main {
    width: min(920px, calc(100% - 56px));
    margin: 150px auto 120px;
}

.order-title {
    margin: 0 0 46px;
    font-size: 12px;
}

.order-lookup-section {
    width: min(620px, 100%);
}

.order-lookup-description {
    margin: 0 0 28px;
    font-size: 11px;
    line-height: 1.7;
}

.order-lookup-form {
    display: grid;
    gap: 28px;
}

.order-lookup-field {
    display: grid;
    gap: 12px;
}

.order-lookup-field span {
    font-size: 9px;
    letter-spacing: 0.04em;
}

.order-lookup-field input {
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    padding: 7px 0;
    color: inherit;
    font: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 0;
    outline: 0;
}

.order-lookup-field input:focus {
    border-bottom-color: #000;
}

.order-lookup-button,
.order-lookup-again {
    width: fit-content;
    padding: 0;
    color: inherit;
    font: inherit;
    font-size: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.order-lookup-button {
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.18s ease;
}

.order-lookup-button:disabled {
    color: #999;
    cursor: wait;
}

.order-lookup-button:not(:disabled):hover {
    color: #777;
}

.order-lookup-button:focus-visible {
    outline: 1px solid #000;
    outline-offset: 5px;
}

.order-lookup-message {
    margin: 0;
    font-size: 10px;
    line-height: 1.7;
}

.order-result {
    width: 100%;
}

.order-result-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.order-result-heading h3,
.order-result-section h3 {
    margin: 0;
    font-size: 11px;
}

.order-lookup-again {
    color: #666;
    font-size: 9px;
}

.order-summary,
.order-result-pricing,
.order-shipping-information {
    margin: 0;
}

.order-summary > div,
.order-result-pricing > div,
.order-shipping-information > div {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 24px;
    padding: 17px 0;
    border-top: 1px solid #e5e5e5;
}

.order-summary > div:first-child {
    border-top-color: #000;
}

.order-summary dt,
.order-result-pricing dt,
.order-shipping-information dt {
    font-size: 9px;
}

.order-summary dd,
.order-result-pricing dd,
.order-shipping-information dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.6;
}

.order-result-section {
    margin-top: 52px;
}

.order-result-section > h3 {
    margin-bottom: 20px;
}

.order-result-items {
    border-top: 1px solid #000;
}

.order-result-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

.order-result-item-image {
    display: block;
    width: 68px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #f2f2f2;
}

.order-result-item-information {
    display: grid;
    align-content: center;
    gap: 5px;
}

.order-result-item-name,
.order-result-item-size,
.order-result-item-price {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
}

.order-result-item-size {
    color: #666;
    font-size: 9px;
}

.order-result-total {
    border-top-color: #000 !important;
}

/* =======================================
   MOBILE
======================================= */

@media (max-width:768px) {
    html,
    body {
        height: 100%;

        overflow: auto;
    }

    body.shop-page {
        height: auto;

        overflow: auto;
    }

    body.shop-page .container {
        height: auto;

        min-height: 100vh;

        overflow: visible;
    }

    body.shop-page .shop-main {
        overflow: visible;

        padding-bottom: 120px;
    }

    .prev,
    .next {
        position: absolute;

        top: 50%;

        transform: translateY(-50%);

        font-size: 24px;

        background: none;

        border: none;

        cursor: pointer;

        color: #777;

        z-index: 20;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }

    .hide-mobile-arrows .prev,
    .hide-mobile-arrows .next {
        opacity: 0;

        pointer-events: none;

        transition: opacity .3s ease;
    }

    .slide-count {
        font-size: 7.5px;

        left: 1.5px;

        bottom: 1.5px;
    }

    .home-main {
        flex: 1;

        min-height: 0;

        overflow: hidden;

        display: flex;

        align-items: center;
    }

    .hero {
        flex: 1;

        width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;
    }

    .hero-slider {
        gap: 0;
    }

    .slider-window {
        position: relative;

        overflow: hidden;

        width: 90vw;

        height: 62vw;

        max-width: 500px;

        max-height: 340px;
    }

    .mobile-shop-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 10000;
        padding-top: 0;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
    }

    /* =======================================
    MOBILE HOME NAV
    ======================================= */

    .mobile-nav {
        display: flex;
        align-items: center;
        gap: 18px;
        box-sizing: border-box;
    }

    body.home-page .mobile-nav {
        position: fixed;
        top: 20px;
        left: 20px;
        padding: 0;
    }

    body.shop-page .mobile-nav,
    body.search-page .mobile-nav,
    body.product-page .mobile-nav,
    body.cart-page .mobile-nav,
    body.order-page .mobile-nav,
    body.guide-page .mobile-nav {
        position: relative;
        width: 100%;
        padding: 20px;
    }

    .mobile-menu-list {
        display: flex;

        align-items: center;

        gap: 18px;

        overflow-x: auto;

        white-space: nowrap;

        max-width: 0;

        opacity: 0;

        overflow: hidden;

        transition: max-width .35s ease,
            opacity .25s ease;
    }

    .mobile-menu-list.active {
        max-width: 300px;

        opacity: 1;
    }

    .mobile-menu-list a {
        color: #111;

        text-decoration: none;

        font-size: 13px;

        white-space: nowrap;
    }

    .mobile-menu-btn {
        background: none;

        border: none;

        padding: 0;

        cursor: pointer;

        font-family: "SpecialElite", serif;

        font-size: 14px;

        letter-spacing: 1px;

        color: #111;
    }

    .product-grid {
        width: 100%;

        box-sizing: border-box;

        padding-left: 16px;
        padding-right: 16px;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 42px 18px;
    }

    .shop-page {
        width: 100%;

        max-width: 100%;

        min-width: 0;

        box-sizing: border-box;

        overflow-x: hidden;

        padding-top: 50px;
    }

    .category-menu {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        box-sizing: border-box;

        display: flex;

        justify-content: flex-start;

        gap: 22px;

        margin: 0;

        padding: 0 20px 18px;

        flex-wrap: nowrap;

        overflow-x: auto;

        overflow-y: hidden;

        white-space: nowrap;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .category-menu::-webkit-scrollbar {
        display: none;
    }

    .category-button {
        background: none;

        border: none;

        cursor: pointer;

        font-size: 11px;

        color: #777;

        transition: .25s;

        flex-shrink: 0;

        white-space: nowrap;
    }

    .section-title {
        grid-column: 1 / -1;

        margin-top: 50px;
        margin-bottom: 30px;

        padding-left: 4px;
        padding-right: 4px;

        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;

        color: #111;
    }

    .section-title.archive {
        margin-top: 100px;

        color: #777;
    }

    .sidebar {
        display: flex;

        flex-direction: column;

        gap: 12px;

        position: fixed;

        top: 0;

        left: -220px;

        width: 180px;

        height: 100dvh;

        background: #fff;

        padding: 90px 30px;

        transition: left .35s ease;

        z-index: 9998;
    }

    .sidebar.active {
        left: 0;
    }

    /* =======================================
    MOBILE ORDER LOOKUP
    ======================================= */

    .order-main {
        width: auto;
        margin: 70px 16px 100px;
    }

    .order-title {
        margin-bottom: 35px;
    }

    .order-result-heading {
        display: grid;
        gap: 14px;
    }

    .order-summary > div,
    .order-result-pricing > div,
    .order-shipping-information > div {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 15px;
    }

    .order-result-section {
        margin-top: 40px;
    }

    /* =======================================
    MOBILE PRODUCT DETAIL
    ======================================= */

    body.product-page .product-detail {
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 40px 20px 100px;
    }

    body.product-page .back-button {
        position: static;

        display: block;

        margin-bottom: 35px;
    }

    body.product-page .product-hero {
        flex-direction: column;

        gap: 40px;

        margin: 0;
    }

    body.product-page .product-image {
        width: 100%;

        justify-content: center;
    }

    body.product-page .product-image img {
        width: 100%;

        max-width: 500px;
    }

    body.product-page .product-info {
        width: 100%;

        padding: 0;
    }

    body.product-page .product-info h1 {
        font-size: 20px;

        margin-bottom: 20px;
    }

    body.product-page .product-info hr {
        margin: 30px 0;
    }

    body.product-page .measurement-list {
        margin-top: 22px;
    }

    body.product-page .detail-gallery {
        margin-top: 80px;

        gap: 60px;
    }

    .utility-nav {
        top: 7px;

        right: 20px;

        gap: 10px;
    }

    .cart-entry {
        font-size: 8px;
    }

    /* =======================================
    MOBILE CART
    ======================================= */

    .cart-main {
        margin: 70px auto 100px;

        padding: 0 16px;
    }

    .cart-title {
        margin-bottom: 25px;
    }

    .cart-item {
        grid-template-columns: 90px minmax(0, 1fr);

        gap: 18px;

        padding: 24px 0;
    }

    .cart-item-name {
        font-size: 12px;
    }

    .cart-item-price {
        font-size: 10px;
    }

    .cart-summary {
        margin-top: 35px;
    }

    /* =======================================
    MOBILE SEARCH
    ======================================= */

    .search-entry {
        top: 7px;
        right: 20px;

        font-size: 8px;
    }

    body.search-page .search-page-main {
        padding-top: 70px;
    }

    body.search-page .back-button {
        display: none;
    }

    body.search-page .search-empty {
        font-size: 16px;

        letter-spacing: .8px;
    }

    .search-panel {
        top: 32.5px;
        right: 20px;

        width: 105px;
    }

    .search-panel.active {
        height: 20px;
    }

    .search-panel .search-form {
        height: 18px;
        gap: 4px;
    }

    .search-panel .search-form input {
        height: 15px;
        font-size: 8px;
    }

    .search-panel .search-form button {
        font-size: 8px;
    }

    /* =======================================
             MOBILE checkout
    ======================================= */

    body.checkout-page .mobile-nav {
        position: relative;
        width: 100%;
        padding: 20px;
    }

    .checkout-main {
        margin: 70px auto 110px;
        padding: 0 16px;
    }

    .checkout-title {
        margin-bottom: 35px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .checkout-field-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .checkout-field-wide {
        grid-column: auto;
    }

    .checkout-order-section {
        position: static;
    }

    .checkout-review-list > div {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 15px;
    }

    .checkout-order-item {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 14px;
    }

    .checkout-order-item img {
        width: 58px;
    }

    .cart-checkout-message {
        text-align: left;
    }
    .utility-nav .order-entry {
        font-size: 8px;
        line-height: normal;
    }
}

/* =======================================
   GUIDE
======================================= */

.guide-main {
    width: min(720px, calc(100% - 56px));
    margin: 150px auto 120px;
}

.guide-title {
    margin: 0 0 46px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.guide-section {
    max-width: 640px;
}

.guide-section + .guide-section {
    margin-top: 56px;
    padding-top: 34px;

    border-top: 1px solid #ddd;
}

.guide-section h3 {
    margin: 0 0 22px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.guide-section p {
    margin: 0 0 12px;

    font-size: 11px;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .guide-main {
        width: auto;
        margin: 70px 16px 100px;
    }

    .guide-title {
        margin-bottom: 35px;
    }

    .guide-section + .guide-section {
        margin-top: 44px;
        padding-top: 28px;
    }
}

/* =======================================
   GUIDE MEASUREMENT DIAGRAMS
======================================= */

.measurement-guides {
    display: grid;
    gap: 72px;
    margin-top: 44px;
}

.measurement-figure {
    margin: 0;
}

.measurement-figure + .measurement-figure {
    padding-top: 56px;
    border-top: 1px solid #ddd;
}

.measurement-figure h4 {
    margin: 0 0 22px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.measurement-diagram {
    display: block;
    width: 100%;
    height: auto;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.measurement-diagram .garment-line {
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.measurement-diagram .measure-line {
    fill: none;
    stroke: #777;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.measurement-diagram marker path {
    fill: #777;
}

.measure-marker circle {
    fill: #111;
}

.measure-marker text {
    fill: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-anchor: middle;
}

.measurement-definitions {
    display: grid;
    gap: 13px;

    margin-top: 24px;
}

.measurement-definitions div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
}

.measurement-definitions dt,
.measurement-definitions dd {
    margin: 0;

    font-size: 10px;
    line-height: 1.8;
}

.measurement-definitions dt {
    color: #111;
}

.measurement-definitions dd {
    color: #555;
}

@media (max-width: 768px) {
    .measurement-guides {
        gap: 56px;
        margin-top: 36px;
    }

    .measurement-figure + .measurement-figure {
        padding-top: 44px;
    }

    .measurement-definitions div {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .measurement-definitions dt,
    .measurement-definitions dd {
        font-size: 9px;
    }
}
