/* SMAJLÍKOVO – Obliekame detičky · theme.css */

/* fonts */
@font-face {
    font-family: "Manrope";
    src: url("../vendor/fonts/manrope/manrope-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    src: url("../vendor/fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* roles */
:root {
    --main-color: #2b2420;
    --main-text-color: #ffffff;
    --second-color: #ffffff;
    --second-text-color: #2b2420;
    --third-color: #f7f1ea;
    --third-text-color: #2b2420;
    --accent-color: #c8577a;
    --accent-text-color: #ffffff;

    --muted-text-color: #6b625b;
    --border-color: #e9e1d8;
    --light-text-color: color-mix(in srgb, var(--main-text-color) 74%, transparent);
    --light-border-color: color-mix(in srgb, var(--main-text-color) 18%, transparent);

    --heading-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --body-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-pill: 999px;
    --radius-card: 20px;
    --radius-image: 16px;
    --radius-small: 12px;

    --header-offset: 150px;
}

/* base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--second-text-color);
    background: var(--second-color);
    -webkit-font-smoothing: antialiased;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

img[style*="--s"] {
    transform: scale(var(--s, 1));
    transform-origin: var(--ox, 50%) var(--oy, 50%);
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

p {
    margin: 0 0 1em;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--main-color);
    color: var(--main-text-color);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--main-text-color);
}

/* headings */
h1,
h2,
h3,
h4,
.heading {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
    color: inherit;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.875rem, 3.2vw, 2.75rem);
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.lead {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.6;
    color: var(--muted-text-color);
}

/* container */
.container {
    max-width: calc(1320px + 50px);
    padding-inline: 25px;
}

section {
    padding-block: clamp(56px, 6vw, 88px);
}

/* buttons */
.t-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625em;
    min-height: 50px;
    padding: 0.875em 1.5em;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.t-btn:has(> .icon) {
    padding-right: 3.5em;
}

.t-btn .icon {
    position: absolute;
    inset-block: 0;
    right: 0.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125em;
    height: 2.125em;
    margin-block: auto;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
    transition: 0.3s ease;
}

.t-btn .icon svg {
    width: 1em;
    height: 1em;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-btn:is(:hover, :focus-visible) .icon svg {
    transform: translate(2px, -2px);
}

.t-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--second-color), 0 0 0 5px var(--accent-color);
}

.t-btn.theme {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--accent-text-color);
}

.t-btn.theme:hover .icon {
    background: var(--accent-text-color);
    color: var(--accent-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    border-color: var(--second-color);
    color: var(--second-text-color);
}

.t-btn.theme2:hover {
    background: var(--third-color);
    border-color: var(--third-color);
    color: var(--second-text-color);
}

.t-btn.theme3 {
    background: var(--third-color);
    border-color: var(--third-color);
    color: var(--third-text-color);
}

.t-btn.theme3:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.outline {
    background: transparent;
    border-color: color-mix(in srgb, var(--second-text-color) 28%, transparent);
    color: var(--second-text-color);
}

.t-btn.outline:hover {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.outline.light {
    border-color: var(--light-border-color);
    color: var(--main-text-color);
}

.t-btn.outline.light:hover {
    background: var(--second-color);
    border-color: var(--second-color);
    color: var(--second-text-color);
}

.t-btn.wide {
    width: 100%;
}

.t-btn[disabled],
.t-btn.is-loading {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.text-link {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}

/* section head */
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 20px 32px;
    margin-bottom: 44px;
}

.section-head-title {
    min-width: 0;
}

.section-head-title:only-child {
    grid-column: 1 / -1;
}

.section-head .heading {
    margin: 0;
}

.section-head-title .text {
    margin: 0.75em 0 0;
    max-width: 38rem;
    color: var(--muted-text-color);
}

.section-head .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (min-width: 768px) {
    .section-head {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .section-head .actions {
        justify-self: end;
    }
}

.section-head.centered {
    text-align: center;
    justify-items: center;
}

.section-head.centered .text {
    margin-inline: auto;
}

/* product card */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .media {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-image);
    overflow: hidden;
    background: var(--third-color);
}

.product-card .media .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card.on-cream .media .image {
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.product-card .view {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 1;
    padding: 0.625em 1.375em;
    border-radius: var(--radius-pill);
    background: var(--second-color);
    color: var(--second-text-color);
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: 0.3s ease;
    pointer-events: none;
}

.product-card:hover .media .image {
    transform: scale(calc(var(--s, 1) * 1.04));
}

.product-card:is(:hover, :focus-within) .view {
    opacity: 1;
    transform: translate(-50%, 0);
}

.fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--second-text-color);
    cursor: pointer;
    transition: 0.3s ease;
}

.fav svg {
    width: 20px;
    height: 20px;
}

.fav:hover {
    color: var(--accent-color);
}

.fav[aria-pressed="true"] {
    color: var(--accent-color);
}

.fav[aria-pressed="true"] svg {
    fill: currentColor;
}

.product-card .content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 4px 0;
}

.product-card .meta {
    margin: 0 0 4px;
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.product-card .title {
    margin: 0 0 6px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.005em;
}

.product-card .title .link {
    text-decoration: none;
}

.product-card .title .link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-card .title .link:focus-visible {
    outline: none;
}

.product-card .title .link:focus-visible::after {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--radius-image);
}

.product-card .sizes {
    margin: 0 0 6px;
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.product-card .price {
    margin: auto 0 0;
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.price.is-unknown {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted-text-color);
}

.product-grid {
    --bs-gutter-y: 40px;
}

/* product row (fotka 72 px + názov + cena) */
.product-row {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-row .thumb,
.cart-item .thumb,
.summary .items .thumb {
    display: block;
    width: 72px;
    height: 96px;
    border-radius: var(--radius-small);
    overflow: hidden;
    background: var(--third-color);
}

.product-row .thumb img,
.cart-item .thumb img,
.summary .items .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.cart-item .thumb.is-slipper img,
.summary .items .thumb.is-slipper img {
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-row .name {
    margin: 0;
    font-weight: 600;
    line-height: 1.35;
}

.product-row .name a {
    text-decoration: none;
}

.product-row .name a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.product-row .meta {
    margin: 2px 0 0;
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.product-row .price {
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
}

/* faq */
.faq {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--third-color);
    transition: 0.3s ease;
}

.faq-item summary .toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary .toggle {
    background: var(--main-color);
    color: var(--main-text-color);
}

.faq-item[open] summary .toggle svg {
    transform: rotate(45deg);
}

.faq-item .answer {
    padding: 0 60px 22px 0;
    color: var(--muted-text-color);
}

.faq-item .answer p:last-child {
    margin: 0;
}

/* form fields */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label,
.field .label {
    font-size: 0.9375rem;
    font-weight: 600;
}

.field .hint {
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    background: var(--second-color);
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.textarea {
    min-height: 110px;
    resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.input:user-invalid,
.select:user-invalid,
.textarea:user-invalid {
    border-color: var(--accent-color);
}

.choice {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    background: var(--second-color);
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.choice + .choice {
    margin-top: 10px;
}

.choice input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--main-color);
}

.choice .name {
    display: block;
    font-weight: 600;
}

.choice .text {
    display: block;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.choice .value {
    font-weight: 600;
    white-space: nowrap;
}

.choice:has(input:checked) {
    border-color: var(--main-color);
    background: var(--third-color);
}

.choice:has(input:focus-visible) {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* size pills */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.size-option {
    position: relative;
}

.size-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.size-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--second-color);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.size-option span:hover {
    border-color: var(--main-color);
}

.size-option input:checked + span {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

.size-option input:focus-visible + span {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.size-option input:disabled + span {
    opacity: 0.4;
    cursor: default;
    text-decoration: line-through;
}

/* quantity */
.qty {
    display: inline-flex;
    align-items: center;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--second-color);
}

.qty button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: color 0.3s ease;
}

.qty button:hover {
    color: var(--accent-color);
}

.qty button svg {
    width: 18px;
    height: 18px;
}

.qty input {
    width: 44px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* breadcrumb + page title */
.page-title {
    padding: 32px 0 8px;
}

.page-title .heading {
    margin: 0;
}

.page-title .text {
    margin: 12px 0 0;
    max-width: 44rem;
    color: var(--muted-text-color);
}

.breadcrumb-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.breadcrumb-nav li:not(:last-child)::after {
    content: "/";
    margin-left: 6px;
    color: var(--border-color);
}

.breadcrumb-nav a {
    text-decoration: none;
}

.breadcrumb-nav [aria-current] {
    color: var(--second-text-color);
}

/* empty state */
.empty-state {
    padding: 56px 32px;
    border-radius: var(--radius-card);
    background: var(--third-color);
    text-align: center;
}

.empty-state .heading {
    font-size: 1.5rem;
}

.empty-state .text {
    max-width: 30rem;
    margin: 0 auto 24px;
    color: var(--muted-text-color);
}

/* toast */
.cart-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(560px, calc(100% - 32px));
    padding: 14px 14px 14px 24px;
    border-radius: var(--radius-pill);
    background: var(--main-color);
    color: var(--main-text-color);
    box-shadow: 0 18px 40px rgba(43, 36, 32, 0.22);
    transform: translate(-50%, 140%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-toast.is-visible {
    transform: translate(-50%, 0);
}

.cart-toast .text {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.cart-toast .t-btn {
    min-height: 44px;
    padding-block: 0.6em;
}

/* lightbox */
.lightbox .modal-content {
    border: 0;
    border-radius: var(--radius-card);
    background: var(--second-color);
}

.lightbox .modal-body {
    position: relative;
    padding: 16px;
}

.lightbox .image {
    width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: var(--radius-image);
    background: var(--third-color);
}

.lightbox .controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
}

.lightbox .counter {
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.round-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--second-color);
    color: var(--second-text-color);
    cursor: pointer;
    transition: 0.3s ease;
}

.round-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

.round-btn svg {
    width: 20px;
    height: 20px;
}

.round-btn[aria-pressed="true"] {
    color: var(--accent-color);
}

.round-btn[aria-pressed="true"] svg {
    fill: currentColor;
}

.round-btn.fav-round {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
}

legend.block-title,
legend.label,
legend.step-title {
    float: none;
    width: 100%;
    padding: 0;
    line-height: 1.3;
}

legend.block-title,
legend.label {
    font-size: 0.9375rem;
}

/* top bar */
.top-bar {
    background: var(--third-color);
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.top-bar .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.top-bar p {
    margin: 0;
}

.top-bar a {
    text-decoration: none;
}

/* header */
.header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--second-color);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
    box-shadow: 0 10px 30px rgba(43, 36, 32, 0.07);
}

.header > .container > .bar {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 80px;
    transition: min-height 0.3s ease;
}

.header.is-scrolled > .container > .bar {
    min-height: 68px;
}

.header .logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--second-text-color);
}

.header .logo .image {
    width: auto;
    height: 44px;
}

.header .logo .brand-text {
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--muted-text-color);
}

.header .logo .brand-text strong {
    display: block;
    color: var(--second-text-color);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.search-form {
    position: relative;
    flex: 1 1 auto;
    max-width: 560px;
    margin-inline: auto;
}

.search-form .input {
    min-height: 44px;
    height: 44px;
    padding: 8px 52px 8px 20px;
    border-radius: var(--radius-pill);
    background: var(--third-color);
    border-color: var(--third-color);
}

.search-form .input:focus {
    background: var(--second-color);
}

.search-form .submit {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--main-color);
    color: var(--main-text-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form .submit:hover {
    background: var(--accent-color);
}

.search-form .submit svg {
    width: 18px;
    height: 18px;
}

.header .actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
}

.icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--second-text-color);
    transition: background-color 0.3s ease;
}

.icon-link:hover {
    background: var(--third-color);
    color: var(--second-text-color);
}

.icon-link .glyph {
    position: relative;
    display: inline-flex;
}

.icon-link .glyph svg {
    width: 22px;
    height: 22px;
}

.icon-link .count {
    position: absolute;
    top: -8px;
    right: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--accent-color);
    color: var(--accent-text-color);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.icon-link .count[data-empty] {
    background: var(--border-color);
    color: var(--muted-text-color);
}

.icon-link .total {
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--second-text-color);
    cursor: pointer;
}

.toggler svg {
    width: 22px;
    height: 22px;
}

/* category navigation */
.category-nav {
    position: relative;
    border-top: 1px solid var(--border-color);
}

.category-nav .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-nav > .container {
    position: relative;
}

.category-nav .item {
    position: static;
}

.category-nav .item > .link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    padding: 0 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.category-nav .item > .link svg {
    width: 16px;
    height: 16px;
    color: var(--muted-text-color);
    transition: transform 0.3s ease;
}

.category-nav .item:is(:hover, :focus-within) > .link,
.category-nav .item > .link[aria-current] {
    border-bottom-color: var(--accent-color);
}

.category-nav .item:is(:hover, :focus-within) > .link svg {
    transform: rotate(180deg);
}

.category-nav .item.is-sale > .link {
    color: var(--accent-color);
}

.category-nav .panel {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 100%;
    z-index: 5;
    display: none;
    padding: 32px 36px 36px;
    border: 1px solid var(--border-color);
    border-top: 0;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    background: var(--second-color);
    box-shadow: 0 24px 40px rgba(43, 36, 32, 0.08);
}

.category-nav .item:is(:hover, :focus-within) > .panel {
    display: block;
}

.category-nav .panel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 36px;
}

.category-nav .panel .title {
    margin: 0 0 12px;
    font-size: 0.9375rem;
    font-weight: 700;
}

.category-nav .panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-nav .panel li + li {
    margin-top: 6px;
}

.category-nav .panel a {
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--muted-text-color);
}

.category-nav .panel a:hover {
    color: var(--accent-color);
}

.category-nav .panel .count {
    color: var(--second-text-color);
    font-weight: 600;
}

.category-nav .panel .all {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--second-text-color);
    text-decoration: underline;
}

/* offcanvas */
.panel-title {
    margin: 0;
    font-size: 1.25rem;
}

.mobile-menu {
    --bs-offcanvas-width: min(420px, 92vw);
}

.mobile-menu .offcanvas-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu .offcanvas-body {
    padding: 20px 24px 32px;
}

.mobile-menu .search-form {
    max-width: none;
    margin: 0 0 20px;
}

.tree {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tree .tree {
    padding-left: 16px;
}

.tree > li {
    border-bottom: 1px solid var(--border-color);
}

.tree .tree > li {
    border: 0;
}

.tree a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    text-decoration: none;
}

.tree .tree a {
    padding: 7px 0;
    font-weight: 400;
    color: var(--muted-text-color);
}

.tree details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.tree details > summary::-webkit-details-marker {
    display: none;
}

.tree details > summary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tree details[open] > summary svg {
    transform: rotate(180deg);
}

.tree .tree details > summary {
    padding: 7px 0;
    font-weight: 500;
}

.mobile-menu .contact {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.mobile-menu .contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.mobile-menu .contact svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--accent-color);
}

.mobile-menu .contact a {
    text-decoration: none;
}

/* footer */
.footer {
    padding: 72px 0 28px;
    background: var(--main-color);
    color: var(--main-text-color);
}

.footer .logo .image {
    width: auto;
    height: 52px;
    filter: invert(1);
}

.footer .brand-name {
    margin: 18px 0 8px;
    font-weight: 700;
}

.footer .about {
    max-width: 22rem;
    color: var(--light-text-color);
}

.footer .title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 700;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer li + li {
    margin-top: 8px;
}

.footer a {
    color: var(--light-text-color);
    text-decoration: none;
}

.footer a:hover {
    color: var(--main-text-color);
}

.footer .contact li {
    display: flex;
    gap: 10px;
    color: var(--light-text-color);
}

.footer .contact svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    color: var(--accent-color);
}

.footer .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--light-border-color);
    font-size: 0.875rem;
    color: var(--light-text-color);
}

.footer .bottom p {
    margin: 0;
}

/* ---------- home page ---------- */

/* hero */
.home-page .hero-section {
    padding: 10px 0 0;
}

.home-page .hero-section .photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-inline: 10px;
}

.home-page .hero-section .photo {
    height: clamp(460px, 43vw, 640px);
    border-radius: var(--radius-image);
    overflow: hidden;
}

.home-page .hero-section .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.home-page .hero-section .card-wrap {
    position: relative;
    z-index: 2;
    margin-top: -210px;
}

.home-page .hero-section .hero-card {
    max-width: 820px;
    margin-inline: auto;
    padding: 48px 56px 52px;
    border-radius: var(--radius-card);
    background: var(--second-color);
    box-shadow: 0 30px 60px rgba(43, 36, 32, 0.12);
    text-align: center;
}

.home-page .hero-section .heading {
    margin-bottom: 0.45em;
    font-size: clamp(2.125rem, 3.6vw, 3.25rem);
    text-wrap: balance;
}

.home-page .hero-section .text {
    max-width: 36rem;
    margin: 0 auto 28px;
    color: var(--muted-text-color);
    font-size: 1.0625rem;
}

.home-page .hero-section .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* categories mosaic */
.category-tile {
    position: relative;
    display: block;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-card);
    overflow: hidden;
    color: var(--main-text-color);
    text-decoration: none;
    isolation: isolate;
}

.category-tile .image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(43, 36, 32, 0) 50%, rgba(43, 36, 32, 0.62) 100%);
}

.category-tile .label {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
}

.category-tile .name {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.category-tile .count {
    display: block;
    margin-top: 4px;
    font-size: 0.9375rem;
    color: var(--light-text-color);
}

.category-tile:hover {
    color: var(--main-text-color);
}

.category-tile:hover .image {
    transform: scale(calc(var(--s, 1) * 1.04));
}

.category-tile.is-light {
    background: var(--third-color);
    color: var(--second-text-color);
}

.category-tile.is-light::before {
    display: none;
}

.category-tile.is-light .image {
    inset: 0 0 18%;
    height: 82%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.category-tile.is-light .count {
    color: var(--muted-text-color);
}

.category-tile.is-light:hover {
    color: var(--second-text-color);
}

.home-page .categories-section .mosaic .tall {
    min-height: 560px;
}

.home-page .categories-section .mosaic .row-two {
    margin-top: 0;
}

.home-page .categories-section .mosaic .row-two .category-tile {
    min-height: 420px;
}

/* collection */
.home-page .collection-section .photo {
    position: relative;
    height: 100%;
    min-height: 520px;
    max-height: 720px;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.home-page .collection-section .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.home-page .collection-section .content {
    padding: 8px 0 8px clamp(0px, 3vw, 48px);
}

.home-page .collection-section .heading {
    margin-bottom: 0.5em;
}

.home-page .collection-section .text {
    color: var(--muted-text-color);
}

.home-page .collection-section .rows {
    margin: 28px 0 32px;
    border-top: 1px solid var(--border-color);
}

/* outfit */
.outfit-section {
    background: var(--third-color);
}

.outfit .items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.outfit-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 20px;
    border-radius: var(--radius-card);
    background: var(--second-color);
    transition: opacity 0.3s ease;
}

.outfit-item .media {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-image);
    overflow: hidden;
    background: var(--third-color);
}

.outfit-item .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.outfit-item.is-slipper .media img {
    object-fit: contain;
    mix-blend-mode: multiply;
}

.outfit-item .kind {
    margin: 14px 4px 2px;
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.outfit-item .name {
    margin: 0 4px 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.outfit-item .name a {
    text-decoration: none;
}

.outfit-item .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: auto 4px 0;
}

.outfit-item .price {
    font-size: 1.125rem;
    font-weight: 600;
}

.outfit-item .include {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    cursor: pointer;
}

.outfit-item .include input {
    width: 20px;
    height: 20px;
    accent-color: var(--main-color);
}

.outfit-item.is-off {
    opacity: 0.45;
}

.outfit .panel {
    height: 100%;
    padding: 32px;
    border-radius: var(--radius-card);
    background: var(--second-color);
}

.outfit .panel .group + .group {
    margin-top: 22px;
}

.outfit .panel .label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.outfit .swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    vertical-align: -2px;
}

.outfit .lines {
    margin: 26px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--border-color);
    list-style: none;
}

.outfit .lines li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.outfit .lines li + li {
    margin-top: 6px;
}

.outfit .lines li.is-off {
    text-decoration: line-through;
}

.outfit .sum {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 16px 0 22px;
    font-weight: 600;
}

.outfit .sum .value {
    font-size: 1.625rem;
    letter-spacing: -0.015em;
}

.outfit .status {
    margin: 14px 0 0;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

/* slippers */
.home-page .slippers-section .feature {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    border-radius: var(--radius-card);
    background: var(--third-color);
}

.home-page .slippers-section .feature .media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.home-page .slippers-section .feature .media img {
    width: 88%;
    max-height: 460px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-page .slippers-section .feature .name {
    margin: 12px 0 4px;
    font-size: 1.375rem;
    font-weight: 600;
}

.home-page .slippers-section .feature .name a {
    text-decoration: none;
}

.home-page .slippers-section .feature .name a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.home-page .slippers-section .feature .text {
    margin: 0 0 12px;
    color: var(--muted-text-color);
}

.home-page .slippers-section .feature .price {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
}

.home-page .slippers-section .more {
    margin-top: 44px;
    text-align: center;
}

/* store chapter */
.store-section {
    background: var(--main-color);
    color: var(--main-text-color);
}

.store-section .text {
    color: var(--light-text-color);
}

.store-section .facts {
    margin: 30px 0 34px;
    padding: 0;
    list-style: none;
}

.store-section .facts li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--light-border-color);
}

.store-section .facts li:first-child {
    border-top: 1px solid var(--light-border-color);
}

.store-section .facts svg {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--accent-color);
}

.store-section .facts a {
    text-decoration: none;
}

.store-section .facts strong {
    display: block;
    font-weight: 600;
}

.store-section .facts span {
    color: var(--light-text-color);
}

.store-section .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-section .photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: 100%;
}

.store-section .photos .frame {
    min-height: 460px;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.store-section .photos .frame:last-child {
    margin-top: 56px;
}

.store-section .photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* steps */
.steps-section {
    background: var(--third-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps .step {
    padding: 32px;
    border-radius: var(--radius-card);
    background: var(--second-color);
}

.steps .glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--third-color);
}

.steps .glyph svg {
    width: 24px;
    height: 24px;
}

.steps .title {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.steps .text {
    margin: 0;
    color: var(--muted-text-color);
}

/* faq section */
.faq-section .side .text {
    color: var(--muted-text-color);
}

.faq-section .side .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* ---------- catalog page ---------- */
.catalog-section {
    padding-top: 24px;
}

.filter-offcanvas .apply {
    position: sticky;
    bottom: 0;
    padding: 16px 0 0;
    background: var(--second-color);
}

@media (min-width: 992px) {
    .filter-aside {
        position: sticky;
        top: calc(var(--header-offset) + 8px);
        max-height: calc(100vh - var(--header-offset) - 24px);
        overflow-y: auto;
        padding-right: 8px;
        scrollbar-width: thin;
    }
}

.filter-offcanvas {
    --bs-offcanvas-width: min(420px, 92vw);
}

.filter-offcanvas .offcanvas-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.filter .group {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter .group:first-child {
    padding-top: 0;
}

.filter .group-title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
}

.filter .check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.9375rem;
    cursor: pointer;
}

.filter .check input {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
}

.filter .check .count {
    margin-left: auto;
    color: var(--muted-text-color);
}

.filter .size-options span {
    min-width: 0;
    min-height: 40px;
    padding: 6px 12px;
}

.filter .subtitle {
    margin: 12px 0 8px;
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.filter .price-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter .price-range .input {
    min-height: 44px;
}

.filter .cat-tree {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
}

.filter .cat-tree .cat-tree {
    padding-left: 14px;
}

.filter .cat-tree a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0;
    text-decoration: none;
    color: var(--muted-text-color);
}

.filter .cat-tree a:hover,
.filter .cat-tree a[aria-current] {
    color: var(--second-text-color);
}

.filter .cat-tree a[aria-current] {
    font-weight: 700;
}

.filter .cat-tree .count {
    color: var(--second-text-color);
    font-weight: 600;
}

.filter .cat-tree details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.filter .cat-tree details > summary::-webkit-details-marker {
    display: none;
}

.filter .cat-tree details > summary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.filter .cat-tree details[open] > summary svg {
    transform: rotate(180deg);
}

.filter .reset {
    margin-top: 20px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 18px;
}

.toolbar .result-count {
    margin: 0;
    font-weight: 600;
}

.toolbar .sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar .sort label {
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.toolbar .select {
    min-height: 44px;
    width: auto;
    padding-right: 40px;
    border-radius: var(--radius-pill);
}

.toolbar .filter-btn {
    min-height: 44px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.chips button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 4px 10px 4px 14px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--third-color);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.chips button:hover {
    background: var(--main-color);
    color: var(--main-text-color);
}

.chips button svg {
    width: 16px;
    height: 16px;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}

.pagination-nav .page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--second-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.pagination-nav .page:hover {
    border-color: var(--main-color);
}

.pagination-nav .page[aria-current] {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

.pagination-nav .page:disabled {
    opacity: 0.4;
    cursor: default;
}

.pagination-nav .page svg {
    width: 18px;
    height: 18px;
}

/* ---------- product page ---------- */
.product-section {
    padding-top: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.gallery.single {
    grid-template-columns: minmax(0, 1fr);
}

.gallery.single .thumbs {
    display: none;
}

.gallery .thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery .thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-small);
    overflow: hidden;
    background: var(--third-color);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.gallery .thumb img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
}

.gallery .thumb[aria-current="true"] {
    border-color: var(--main-color);
}

.gallery .main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius-image);
    overflow: hidden;
    background: var(--third-color);
    cursor: zoom-in;
}

.gallery .main img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
}

.gallery.is-slipper .main img,
.gallery.is-slipper .thumb img {
    object-fit: contain;
    mix-blend-mode: multiply;
}

.buy-box {
    position: sticky;
    top: calc(var(--header-offset) + 8px);
}

.buy-box .brand {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--muted-text-color);
}

.buy-box .heading {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.buy-box .price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin: 0 0 24px;
}

.buy-box .price {
    font-size: clamp(1.5rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.buy-box .code {
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.buy-box .block {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.buy-box .block-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 0.9375rem;
    font-weight: 700;
}

.buy-box .block-title .note {
    font-weight: 500;
    color: var(--muted-text-color);
}

.color-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
}

.color-chip img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.color-chip .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.size-table {
    width: 100%;
    margin-top: 14px;
    font-size: 0.9375rem;
    border-collapse: collapse;
}

.size-table caption {
    caption-side: top;
    padding: 0 0 6px;
    color: var(--muted-text-color);
}

.size-table td,
.size-table th {
    padding: 6px 8px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-weight: 400;
}

.size-table th {
    font-weight: 600;
}

.buy-box .size-error {
    margin: 10px 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-color);
}

.buy-box .buy-row {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.buy-box .buy-row .t-btn {
    flex: 1;
    min-height: 52px;
}

.buy-box .added {
    margin: -4px 0 16px;
    padding: 14px 18px;
    border-radius: var(--radius-small);
    background: var(--third-color);
    font-size: 0.9375rem;
}

.buy-box .added a {
    font-weight: 600;
}

.buy-box .store-link {
    display: inline-block;
    margin-bottom: 18px;
    font-weight: 600;
}

.delivery-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border-color);
}

.delivery-lines li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.delivery-lines svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.delivery-lines strong {
    display: block;
    font-weight: 600;
}

.delivery-lines span {
    color: var(--muted-text-color);
}

.details-section .specs {
    width: 100%;
    border-collapse: collapse;
}

.details-section .specs th,
.details-section .specs td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.details-section .specs th {
    width: 38%;
    font-weight: 600;
}

.details-section .specs td {
    color: var(--muted-text-color);
}

.details-section .description {
    font-size: 1.0625rem;
}

.details-section .description p {
    color: var(--muted-text-color);
}

.sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    display: none;
    align-items: center;
    gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--second-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 24px rgba(43, 36, 32, 0.06);
    transform: translateY(110%);
    transition: transform 0.3s ease;
}

.sticky-buy.is-visible {
    transform: none;
}

.sticky-buy .price {
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.sticky-buy .t-btn {
    flex: 1;
}

.fallback {
    padding: 40px 0 80px;
}

/* ---------- cart & checkout ---------- */
.cart-section {
    padding-top: 24px;
}

.cart-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border-color);
}

.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item .thumb {
    width: 96px;
    height: 128px;
}

.cart-item .name {
    margin: 0 0 4px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.cart-item .name a {
    text-decoration: none;
}

.cart-item .meta {
    margin: 0 0 12px;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.cart-item .controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cart-item .remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
    cursor: pointer;
}

.cart-item .remove:hover {
    color: var(--accent-color);
}

.cart-item .remove svg {
    width: 16px;
    height: 16px;
}

.cart-item .line-price {
    font-size: 1.1875rem;
    font-weight: 700;
    white-space: nowrap;
    align-self: start;
}

.summary {
    position: sticky;
    top: calc(var(--header-offset) + 8px);
    padding: 32px;
    border-radius: var(--radius-card);
    background: var(--third-color);
}

.summary .heading {
    font-size: 1.375rem;
}

.summary .rows {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.summary .rows li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.summary .rows li span:last-child {
    text-align: right;
    font-weight: 600;
}

.summary .total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 6px;
    font-weight: 700;
}

.summary .total .value {
    font-size: 1.75rem;
    letter-spacing: -0.015em;
}

.summary .note {
    margin: 0 0 22px;
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.summary .items {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.summary .items li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9375rem;
}

.summary .items .thumb {
    width: 52px;
    height: 68px;
    border-radius: 10px;
    background: var(--second-color);
}

.summary .items .meta {
    display: block;
    color: var(--muted-text-color);
}

.cart-delivery {
    margin-top: 36px;
}

.cart-page .continue {
    margin: 24px 0 0;
}

.cart-delivery .heading {
    font-size: 1.375rem;
}

.checkout-step {
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
}

.checkout-step + .checkout-step {
    margin-top: 20px;
}

.checkout-step .step-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    font-size: 1.375rem;
}

.checkout-step .step-title .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--main-color);
    color: var(--main-text-color);
    font-size: 1rem;
}

.checkout-step .sub {
    margin: 24px 0 12px;
    font-size: 1rem;
    font-weight: 700;
}

.checkout-step .sub.first {
    margin-top: 0;
}

.checkout-step .submit {
    margin-top: 24px;
}

.form-error {
    margin: 16px 0 0;
    font-weight: 600;
    color: var(--accent-color);
}

.done-section .done-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px;
    border-radius: var(--radius-card);
    background: var(--third-color);
}

.done-section .done-card .text {
    color: var(--muted-text-color);
}

.done-section .lines {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border-color);
}

.done-section .lines li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.done-section .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

/* ---------- info page ---------- */
.info-page .info-block + .info-block {
    margin-top: 72px;
}

.info-page .hours {
    width: 100%;
    max-width: 420px;
    border-collapse: collapse;
}

.info-page .hours th,
.info-page .hours td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-weight: 400;
}

.info-page .hours th {
    font-weight: 600;
}

.info-page .contact-list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.info-page .contact-list li {
    display: flex;
    gap: 12px;
    padding: 6px 0;
}

.info-page .contact-list svg {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--accent-color);
}

.info-page .contact-list a {
    text-decoration: none;
    font-weight: 600;
}

.info-page .photo {
    border-radius: var(--radius-card);
    overflow: hidden;
}

.info-page .photo img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: top;
}

.info-page .panel {
    height: 100%;
    padding: 32px;
    border-radius: var(--radius-card);
    background: var(--third-color);
}

.info-page .panel .title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.info-page .panel .title svg {
    width: 22px;
    height: 22px;
}

.info-page .panel p {
    color: var(--muted-text-color);
}

.info-page .panel p:last-child {
    margin: 0;
}

.info-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

/* ---------- media queries ---------- */
@media (max-width: 1399.98px) {
    .category-nav .item > .link {
        padding: 0 8px;
    }
}

@media (max-width: 1199.98px) {
    :root {
        --header-offset: 90px;
    }

    .header > .container > .bar {
        gap: 14px;
    }

    .outfit .items {
        gap: 14px;
    }
}

@media (max-width: 991.98px) {
    .home-page .hero-section .photos {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .hero-section .photo:not(:first-child) {
        display: none;
    }

    .home-page .hero-section .photo {
        height: 520px;
    }

    .home-page .hero-section .card-wrap {
        margin-top: -120px;
    }

    .home-page .categories-section .mosaic .tall {
        min-height: 460px;
    }

    .home-page .collection-section .photo {
        min-height: 460px;
        margin-bottom: 32px;
    }

    .home-page .collection-section .content {
        padding: 0;
    }

    .store-section .photos {
        margin-top: 40px;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .outfit .panel {
        margin-top: 20px;
    }

    .buy-box {
        position: static;
        margin-top: 32px;
    }

    .summary {
        position: static;
        margin-top: 32px;
    }

    .filter-offcanvas .offcanvas-body {
        padding: 20px 24px 32px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding-block: 56px;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .home-page .hero-section .photos {
        padding-inline: 0;
    }

    .home-page .hero-section .photo {
        height: 460px;
        border-radius: 0;
    }

    .home-page .hero-section .hero-card {
        padding: 32px 22px 30px;
    }

    .home-page .hero-section .actions .t-btn {
        flex: 1 1 auto;
    }

    .home-page .hero-section .actions .t-btn.theme {
        flex-basis: 100%;
    }

    .category-tile {
        min-height: 240px;
    }

    .category-tile .name {
        font-size: 1.25rem;
    }

    .home-page .categories-section .mosaic .tall {
        min-height: 380px;
    }

    .home-page .categories-section .mosaic .row-two .category-tile {
        min-height: 260px;
    }

    .product-grid {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 28px;
    }

    .product-card .content {
        padding: 12px 2px 0;
    }

    .product-card .title {
        font-size: 1rem;
    }

    .product-card .price {
        font-size: 1.0625rem;
    }

    .fav {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .outfit .items {
        grid-template-columns: minmax(0, 1fr);
    }

    .outfit-item {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 4px 14px;
        padding: 10px;
    }

    .outfit-item .media {
        grid-row: span 3;
    }

    .outfit-item .kind {
        margin: 4px 0 0;
    }

    .outfit-item .name {
        margin: 0;
    }

    .outfit-item .bottom {
        margin: 0;
        flex-wrap: wrap;
    }

    .outfit .panel {
        padding: 24px 20px;
    }

    .store-section .photos .frame {
        min-height: 280px;
    }

    .store-section .photos .frame:last-child {
        margin-top: 32px;
    }

    .steps .step {
        padding: 26px 22px;
    }

    .faq-item .answer {
        padding-right: 0;
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery .thumbs {
        order: 2;
        flex-direction: row;
        overflow-x: auto;
    }

    .gallery .thumb {
        flex: 0 0 72px;
    }

    .sticky-buy {
        display: flex;
    }

    .product-page {
        padding-bottom: 76px;
    }

    .cart-toast {
        bottom: 88px;
        border-radius: var(--radius-card);
        flex-wrap: wrap;
        gap: 10px;
    }

    .cart-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px;
    }

    .cart-item .thumb {
        width: 80px;
        height: 106px;
    }

    .cart-item .line-price {
        grid-column: 2;
    }

    .checkout-step,
    .summary,
    .done-section .done-card {
        padding: 24px 20px;
    }

    .footer .bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .header .logo .image {
        height: 36px;
    }

    .icon-link {
        padding: 0 8px;
    }

    .toolbar .sort label {
        display: none;
    }

    .toolbar .sort {
        flex: 1 1 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .toolbar .select {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        max-width: 210px;
    }

    .buy-box .buy-row {
        flex-wrap: wrap;
    }

    .buy-box .buy-row .t-btn {
        order: 3;
        flex-basis: 100%;
    }

    .buy-box .buy-row .fav-round {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
