:root {
    --ink: #171717;
    --muted: #6f7275;
    --line: #e9ece8;
    --paper: #ffffff;
    --wash: #f7f8f6;
    --leaf: #42685a;
    --rose: #b46d73;
    --site-content-top-gap: 8px;
}

* {
    letter-spacing: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
}

main {
    flex: 1 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-bar {
    min-height: 51px;
    display: grid;
    grid-template-columns: 38px minmax(96px, 141px) 1fr;
    align-items: center;
    gap: 18px;
    padding: 0 28px 0 18px;
}

.brand,
.drawer-brand {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.brand img,
.drawer-brand img {
    width: auto;
    max-width: 96px;
    max-height: 27px;
    object-fit: contain;
    display: block;
}

.menu-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    align-content: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    color: var(--ink);
    background: transparent;
    padding: 0;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.top-nav .nav-link {
    color: var(--ink);
    padding: 4px 0;
    font-size: 13px;
    font-weight: 520;
    text-transform: uppercase;
    text-decoration: none;
}

.top-nav-icon {
    display: none;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.site-drawer {
    --bs-offcanvas-width: min(88vw, 430px);
    border: 0;
    color: var(--ink);
    background: #fff;
}

.drawer-head {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 28px 30px 18px;
}

.drawer-close {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    padding: 0;
}

.drawer-close::before,
.drawer-close::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 14px;
    width: 2px;
    height: 28px;
    background: var(--ink);
}

.drawer-close::before {
    transform: rotate(45deg);
}

.drawer-close::after {
    transform: rotate(-45deg);
}

.drawer-body {
    padding: 36px 30px 44px;
}

.drawer-audience-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.drawer-audience-filter button {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #363636;
    padding: 0;
    font: inherit;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 520;
    text-transform: uppercase;
}

.drawer-audience-filter button.is-active {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.drawer-nav {
    display: grid;
    gap: 22px;
}

.drawer-group {
    display: grid;
    gap: 8px;
}

.drawer-link {
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
}

.drawer-parent {
    font-size: 18.48px;
    line-height: 1.18;
    font-weight: 520;
}

.drawer-toggle {
    appearance: none;
    width: auto;
    max-width: 100%;
    display: inline-grid;
    grid-template-columns: auto 14px;
    align-items: center;
    justify-content: start;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.drawer-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    justify-self: end;
    border-right: 1.8px solid #9b9f9c;
    border-bottom: 1.8px solid #9b9f9c;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}

.drawer-toggle.is-open::after {
    transform: translateY(3px) rotate(225deg);
}

.drawer-link-label {
    min-width: 0;
}

.drawer-submenu {
    display: none;
    gap: 9.6px;
    padding: 0;
}

.drawer-group.is-open > .drawer-submenu {
    display: grid;
}

.drawer-child {
    color: #2c2c2c;
    font-size: 14.9688px;
    line-height: 1.22;
    font-weight: 430;
}

.drawer-category {
    margin-top: 22px;
}

.drawer-subgroup {
    display: grid;
    gap: 8px;
    margin: 0;
}

.drawer-grandchild {
    color: #3b3b3b;
    font-weight: 430;
}

.offcanvas-backdrop.show {
    opacity: 1;
    background: rgba(0, 0, 0, .42);
}

.page-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.page-hero {
    padding: var(--site-content-top-gap) 16px 18px;
}

.hero-copy {
    max-width: 760px;
}

.site-breadcrumbs {
    max-width: 100%;
    margin: 0 0 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.site-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.site-breadcrumbs ol {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    gap: 7px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    list-style: none;
    white-space: nowrap;
}

.site-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-breadcrumbs li + li::before {
    content: "›";
    color: #9a9a9a;
}

.site-breadcrumbs a {
    color: var(--ink);
    text-decoration: none;
}

.site-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-breadcrumbs span {
    color: var(--muted);
}

h1 {
    margin: 0;
    font-size: 30.6px;
    line-height: .98;
    font-weight: 500;
}

.content-block {
    padding: 20px 16px 28px;
    max-width: 700px;
    line-height: 1.75;
}

.content-block p {
    margin-bottom: 15px;
}

.child-grid {
    display: grid;
    gap: 1px;
    padding: 0 16px 40px;
    background: var(--line);
}

.child-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}

.child-card span {
    font-size: 18px;
    font-weight: 500;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-inner {
    padding: 20px 16px;
    font-size: 13px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--ink);
}

@media (min-width: 992px) {
    .header-bar {
        grid-template-columns: 38px 141px 1fr;
        gap: 28px;
        min-height: 58px;
        padding: 0 27px 0 17px;
    }

    .site-drawer {
        --bs-offcanvas-width: min(45vw, 520px);
    }

    .drawer-head {
        padding: 34px 38px 22px;
    }

    .drawer-body {
        padding: 48px 38px 54px;
    }

    .page-hero {
        padding: var(--site-content-top-gap) 28px 28px;
    }

    h1 {
        font-size: 49.2px;
    }

    .content-block {
        padding: 26px 28px 42px;
    }

    .child-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 28px 56px;
    }

    .footer-inner {
        padding: 26px 28px;
    }
}

@media (max-width: 767.98px) {
    .header-bar {
        grid-template-columns: 38px minmax(68px, 82px) minmax(0, 1fr);
        gap: 10px;
        padding: 0 10px 0 12px;
    }

    .brand,
    .top-nav {
        min-width: 0;
    }

    .brand img {
        max-width: 78px;
    }

    .top-nav {
        gap: 7px;
    }

    .top-nav .nav-link.has-top-nav-icon {
        position: relative;
        width: 30px;
        height: 38px;
        display: grid;
        place-items: center;
        padding: 0;
    }

    .top-nav .nav-link.has-top-nav-icon .top-nav-icon {
        display: block;
    }

    .top-nav .nav-link.has-top-nav-icon .top-nav-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
}


body.drawer-open {
    overflow: hidden;
}

.site-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1055;
    width: min(88vw, 430px);
    color: var(--ink);
    background: #fff;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
    overflow-y: auto;
}

.site-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.site-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    border: 0;
    background: rgba(0, 0, 0, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.site-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-header {
    z-index: 1200;
}

.menu-button {
    position: relative;
    z-index: 1201;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
}

.site-drawer:target {
    transform: translateX(0);
    visibility: visible;
}

.site-drawer:target + .site-drawer-target-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.site-drawer-target-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.drawer-close {
    display: block;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    z-index: 1060;
}

.drawer-close::before,
.drawer-close::after {
    display: block;
}

.site-drawer {
    z-index: 1300;
}

.site-drawer-backdrop,
.site-drawer-target-backdrop {
    z-index: 1290;
}

.drawer-close {
    z-index: 1310;
}

.drawer-head {
    position: relative;
    z-index: 1310;
}

.drawer-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: var(--ink) !important;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none !important;
}

.drawer-close::before,
.drawer-close::after {
    content: none !important;
}

/* Final drawer behavior: the header stays fixed, and the hamburger turns into the close control. */
.site-header {
    z-index: 1400;
}

.menu-button {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    z-index: 1401;
}

.menu-button span {
    position: absolute;
    left: 6px;
    top: 50%;
    width: 25px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform .22s ease, opacity .16s ease;
}

.menu-button span:nth-child(1) {
    transform: translateY(-8px);
}

.menu-button span:nth-child(2) {
    transform: translateY(0);
}

.menu-button span:nth-child(3) {
    transform: translateY(8px);
}

body.drawer-open .menu-button span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

body.drawer-open .menu-button span:nth-child(2) {
    opacity: 0;
}

body.drawer-open .menu-button span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.site-drawer {
    z-index: 1300;
}

.site-drawer-backdrop,
.site-drawer-target-backdrop {
    z-index: 1250;
}

.drawer-head {
    display: none !important;
}

.drawer-body {
    padding: 30px 30px 44px;
}

.drawer-child {
    font-size: 14.9688px;
    line-height: 1.28;
}

.menu-button {
    transform: translateY(-2px);
}

body.drawer-open .menu-button span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

body.drawer-open .menu-button span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.menu-button {
    transform: none;
}

.brand {
    transform: translate(-2px, 2px);
}

@media (min-width: 992px) {
    .menu-button {
        transform: translateX(5px);
    }

    .brand {
        transform: translate(-6px, 2px);
    }
}

.product-category-page,
.product-detail-page {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: var(--site-content-top-gap) 16px 46px;
}

.product-category-head {
    max-width: 720px;
    margin-bottom: 24px;
}

.product-category-head h1,
.product-info h1 {
    font-size: 34px;
    line-height: 1.04;
}

.product-category-head p {
    max-width: 560px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.public-product-grid {
    display: grid;
    gap: 0;
    overflow: hidden;
    background: var(--paper);
}

.public-product-card {
    display: grid;
    gap: 10px;
    color: var(--ink);
    background: var(--paper);
    padding: 7px;
    text-decoration: none;
}

.public-product-media {
    display: block;
    overflow: hidden;
    background: var(--wash);
}

.public-product-media img,
.public-product-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.public-product-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 34px;
    text-transform: uppercase;
}

.public-product-title {
    font-size: 17px;
    line-height: 1.28;
    font-weight: 520;
}

.public-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.empty-products {
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    background: var(--paper);
    padding: 18px;
}

.favorites-module {
    padding: 4px 16px 40px;
}

.favorites-module-status {
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    background: var(--paper);
    padding: 18px;
}

.favorites-grid {
    display: grid;
    gap: 0;
    align-items: stretch;
}

.favorite-item-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: var(--paper);
}

.favorite-item-link {
    width: 100%;
    height: 100%;
    outline: 0;
    gap: 8px;
    grid-template-rows: auto 36px 18px;
    padding: 5px;
}

.favorite-item-link .public-product-title {
    display: -webkit-box;
    min-height: 36px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
}

.favorite-item-link .public-product-meta {
    display: block;
    min-height: 18px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-remove-button {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}

.favorite-remove-button:hover,
.favorite-remove-button:focus-visible {
    border-color: var(--ink);
    background: var(--paper);
}

.cart-module {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 4px 16px 46px;
}

.cart-module-status {
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    background: var(--paper);
    padding: 18px;
}

.cart-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.cart-list {
    display: grid;
    background: var(--paper);
}

.cart-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-areas:
        "media info"
        "media price"
        "media quantity";
    gap: 9px 13px;
    padding: 7px 0;
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item-media {
    grid-area: media;
    display: block;
    align-self: start;
    overflow: hidden;
    color: var(--muted);
    background: var(--wash);
    text-decoration: none;
}

.cart-item-media img,
.cart-item-media span {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.cart-item-media span {
    display: grid;
    place-items: center;
    font-size: 24px;
    text-transform: uppercase;
}

.cart-item-info {
    grid-area: info;
    min-width: 0;
    display: grid;
    gap: 11px;
}

.cart-item-title {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.28;
    font-weight: 520;
    text-decoration: none;
}

.cart-item-title:hover,
.cart-item-title:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-item-price {
    grid-area: price;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 620;
}

.cart-item-actions {
    display: flex;
    gap: 8px;
}

.cart-item-icon-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    background: var(--wash);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.cart-item-icon-button:hover,
.cart-item-icon-button:focus-visible,
.cart-item-icon-button.is-active {
    color: var(--paper);
    background: var(--ink);
}

.cart-quantity-control {
    grid-area: quantity;
    width: 132px;
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    justify-self: start;
    overflow: hidden;
    border-radius: 8px;
    background: var(--wash);
}

.cart-quantity-control button {
    display: grid;
    place-items: center;
    height: 36px;
    border: 0;
    color: var(--ink);
    background: transparent;
    padding: 0;
    font-size: 17px;
    cursor: pointer;
}

.cart-quantity-control button:disabled {
    color: var(--muted);
    cursor: default;
    opacity: .45;
}

.cart-quantity-control span {
    text-align: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 620;
}

.cart-summary {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 20px;
}

.cart-summary h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 620;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.cart-summary-row {
    color: var(--muted);
    font-size: 15px;
}

.cart-summary-row strong {
    color: var(--ink);
    font-weight: 620;
}

.cart-summary-total {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    font-size: 20px;
    font-weight: 620;
}

.cart-summary-total strong {
    white-space: nowrap;
}

.cart-checkout-button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    background: var(--wash);
    padding: 0 18px;
    font-size: 15px;
    font-weight: 620;
    cursor: default;
}

.product-detail-layout {
    display: grid;
    gap: 26px;
}

.product-gallery {
    min-width: 0;
}

.product-thumbs,
.product-main-photo {
    display: none;
}

.product-mobile-photos {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 0 10px;
}

.product-mobile-photos img {
    width: 100vw;
    flex: 0 0 100vw;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0;
    background: var(--wash);
    scroll-snap-align: start;
}

.product-main-photo-empty {
    display: grid;
    min-height: 420px;
    place-items: center;
    color: var(--muted);
    background: var(--wash);
    font-size: 46px;
}

.product-info {
    display: grid;
    align-content: start;
    gap: 18px;
}

.product-price {
    font-size: 23px;
    line-height: 1.2;
    font-weight: 520;
}

.product-volume {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.45;
}

.product-facts {
    display: grid;
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--line);
}

.product-facts div {
    display: grid;
    grid-template-columns: minmax(84px, 120px) 1fr;
    gap: 14px;
    background: var(--paper);
    padding: 13px 14px;
}

.product-facts dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.product-facts dd {
    margin: 0;
}

.product-audience-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 2px 0 0;
}

.product-audience-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.product-audience-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    font-size: 19px;
    line-height: 1;
}

.product-favourite-button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: var(--paper);
    padding: 0 14px 0 11px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.product-favourite-button img {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.product-favourite-button:hover,
.product-favourite-button:focus-visible {
    border-color: var(--ink);
}

.product-favourite-button:disabled,
.product-favourite-button[aria-disabled="true"] {
    color: var(--muted);
    background: var(--wash);
    cursor: default;
    opacity: .72;
}

.product-favourite-button:disabled:hover,
.product-favourite-button[aria-disabled="true"]:hover,
.product-favourite-button:disabled:focus-visible,
.product-favourite-button[aria-disabled="true"]:focus-visible {
    border-color: var(--line);
}

.service-appointment-button i {
    font-size: 18px;
    line-height: 1;
}

.service-appointment-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.service-appointment-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.service-appointment-modal[hidden] {
    display: none;
}

.service-appointment-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .42);
}

.service-appointment-dialog {
    position: relative;
    width: min(460px, 100%);
    height: min(820px, calc(100vh - 36px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
    outline: 0;
}

.service-appointment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
}

.service-appointment-head h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 520;
}

.service-appointment-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    padding: 0;
    cursor: pointer;
}

.service-appointment-content {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.service-appointment-status {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: var(--paper);
    font-size: 15px;
    line-height: 1.5;
}

.service-appointment-status[hidden] {
    display: none;
}

.service-appointment-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

body.appointment-modal-open {
    overflow: hidden;
}

.product-favourite-button.is-active {
    border-color: var(--ink);
    color: var(--paper);
    background: var(--ink);
}

.product-favourite-button.is-active img {
    filter: invert(1);
}

.product-description {
    display: grid;
    gap: 26px;
    max-width: none;
    margin-top: 8px;
    line-height: 1.75;
}

.product-description h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 520;
}

.product-description p {
    margin: 0;
}

.related-items-section {
    margin-top: 34px;
}

.related-items-section h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 520;
}

.related-items-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.related-item-card {
    display: grid;
    gap: 8px;
    padding: 5px;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}

.related-item-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--muted);
    background: var(--wash);
    font-size: 30px;
    text-transform: uppercase;
}

.related-item-media,
.related-item-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
}

.related-item-media img {
    object-fit: cover;
}

.related-item-title {
    font-size: 14px;
    line-height: 1.28;
    font-weight: 520;
}

.related-item-price {
    color: var(--muted);
    font-size: 13px;
}

@media (min-width: 640px) {
    .public-product-grid,
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 860px) {
    :root {
        --site-content-top-gap: 20px;
    }

    .cart-module {
        padding: 4px 28px 64px;
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 34px;
    }

    .cart-summary {
        position: sticky;
        top: 78px;
    }

    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr) 128px 138px;
        grid-template-areas: "media info price quantity";
        gap: 9px 18px;
        align-items: start;
        padding: 9px 0;
    }

    .cart-item-title {
        font-size: 16px;
    }

    .cart-item-price {
        padding-top: 2px;
        font-size: 16px;
        text-align: right;
    }

    .cart-quantity-control {
        justify-self: end;
    }

    .product-category-page,
    .product-detail-page {
        padding: var(--site-content-top-gap) 28px 64px;
    }

    .product-category-head h1 {
        font-size: 48px;
    }

    .public-product-grid,
    .favorites-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-detail-layout {
        grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
        gap: 40px;
        align-items: start;
    }

    .product-gallery {
        position: relative;
        display: block;
    }

    .product-gallery:has(.product-thumbs) {
        padding-left: 88px;
    }

    .product-thumbs {
        display: grid;
        position: absolute;
        inset: 0 auto 0 0;
        align-content: start;
        gap: 10px;
        width: 76px;
        max-height: none;
        overflow-y: auto;
        padding-right: 2px;
    }

    .product-thumb {
        box-sizing: border-box;
        overflow: hidden;
        width: 74px;
        height: 92px;
        border: 2px solid transparent;
        border-radius: 5px;
        background: var(--paper);
        padding: 2px;
        cursor: pointer;
        transition: border-color .16s ease;
    }

    .product-thumb.is-active {
        border-color: #005bff;
    }

    .product-thumb:hover:not(.is-active),
    .product-thumb:focus-visible:not(.is-active) {
        border-color: #9bbcff;
    }

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 2px;
    }

    .product-main-photo {
        overflow: hidden;
        display: block;
        background: var(--wash);
        border-radius: 0;
    }

    .product-main-photo img {
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        display: block;
        border-radius: inherit;
    }

    .product-mobile-photos {
        display: none;
    }

    .product-info h1 {
        font-size: 36px;
    }
}

@media (min-width: 1120px) {
    .public-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .favorites-grid,
    .related-items-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
