/*
 * Man and Dolly: the shop as an old china cabinet against a warm wall.
 * Crown (carved wood + brass nameplate), fluted sides, a velvet back lit from the top,
 * glass shelves, and the base with a drawer and feet as the footer.
 * Playfair Display for names, Lora for text.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
html,
body {
    margin: 0;
    background: #020a02;
}
[hidden] {
    display: none !important;
}
img {
    display: block;
    max-width: 100%;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* The platform cart, in cream paper and walnut. */
.kuttle-cart {
    --paper: #f7ecd8;
    --paper-2: #efe2c8;
    --plate: #e6d5b6;
    --text: #2e1a0c;
    --muted: #6b4a2a;
    --line: rgba(90, 47, 23, 0.2);
    --line-strong: rgba(90, 47, 23, 0.45);
    --ink: #5a2f17;
    --on-ink: #fbf3e2;
    --accent: #b48733;
    --focus: #b48733;
    --display: "Playfair Display", Georgia, serif;
    --mono: "Lora", Georgia, serif;
}

/* The room: a warm striped wall and a wooden floor. */
.room {
    --pad: clamp(0.6rem, 3vw, 2.5rem);
    --overhang: clamp(5px, 1.3vw, 16px);
    --side: clamp(16px, 4vw, 52px);
    --case-pad: clamp(1rem, 3.5vw, 3rem);
    --brass: #c69a3e;
    --brass-light: #f0d58a;
    --brass-dark: #8a6420;
    --cream: #f7ecd8;
    --muted: #dcc6a6;
    --line: rgba(240, 213, 138, 0.22);
    --line-strong: rgba(240, 213, 138, 0.45);
    --display: "Playfair Display", Georgia, "Times New Roman", serif;
    --body: "Lora", Georgia, serif;
    --grain-h: repeating-linear-gradient(178deg, rgba(0, 0, 0, 0.09) 0 1px, transparent 1px 7px, rgba(255, 214, 160, 0.05) 7px 9px, transparent 9px 19px),
        repeating-linear-gradient(181deg, transparent 0 31px, rgba(0, 0, 0, 0.07) 31px 33px, transparent 33px 57px);
    --grain-v: repeating-linear-gradient(89deg, rgba(0, 0, 0, 0.09) 0 1px, transparent 1px 6px, rgba(255, 214, 160, 0.05) 6px 8px, transparent 8px 15px);
    min-height: 100vh;
    padding-bottom: 3rem;
    color: var(--cream);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    background:
        linear-gradient(to top, #24150b 0, #3d2414 2rem, #1c120a 3rem) bottom / 100% 3rem no-repeat,
        linear-gradient(to top, #000000 0 8px, #047e00 8px 9px, #000000 9px 100%) left bottom 3rem / 100% 10px no-repeat,
        repeating-linear-gradient(90deg, transparent 0 34px, rgba(23, 206, 0, 0.06) 34px 36px, transparent 36px 40px, rgba(23, 206, 0, 0.04) 40px 41px, transparent 41px 76px),
        repeating-linear-gradient(90deg, rgba(4, 126, 0, 0.16) 0 38px, transparent 38px 76px),
        radial-gradient(ellipse 80% 60% at 50% 0, #0d3a0a, #030f03 55%, #000000 100%);
}

.wallbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem var(--pad);
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(23, 206, 0, 0.3);
}
.wall-home {
    color: var(--cream);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
}
.wall-home:hover {
    color: var(--brass-light);
}
.wall-note {
    color: var(--muted);
    font-size: 0.88rem;
    font-style: italic;
}
.cart-button {
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3a220c;
    background: linear-gradient(180deg, #f4dc95, #c69a3e);
    border: 1px solid var(--brass-light);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
}

/* The cabinet */
.cabinet {
    width: calc(100% - 2 * var(--pad));
    max-width: 1240px;
    margin: clamp(1rem, 4vh, 2.5rem) auto 0;
}

/* Crown */
.crown {
    position: relative;
    margin: 0 calc(var(--overhang) * -1);
    text-align: center;
}
.pediment {
    display: block;
    width: min(100%, 760px);
    height: auto;
    margin: 0 auto -1px;
}
.cornice {
    height: 26px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #c7854f 0, #8a4f2a 30%, #5d3119 62%, #3a1d0e 100%);
    box-shadow: 0 -1px 0 #2e1608;
}
.dentils {
    height: 13px;
    margin: 0 calc(var(--overhang) * 0.6);
    background: repeating-linear-gradient(90deg, #7b4526 0 14px, #2e170a 14px 22px);
    border-bottom: 3px solid #4a2410;
}
.frieze {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    margin: 0 calc(var(--overhang) * 0.6);
    padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 5vw, 4rem);
    background: var(--grain-h), linear-gradient(180deg, #7b4526, #5e321a);
    box-shadow:
        inset 0 0 0 11px transparent,
        inset 0 0 0 12px rgba(255, 214, 160, 0.18),
        inset 0 0 0 14px rgba(0, 0, 0, 0.35);
}
.frieze::before,
.frieze::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, #f0d58a 0 3px, #8a6420 4px, #6e3b1e 5px 8px, #a5643a 9px 10px, #4a2410 11px 13px, transparent 14px);
}
.frieze::before {
    left: 26px;
}
.frieze::after {
    right: 26px;
}
.nameplate {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0.5rem clamp(1.8rem, 4vw, 3rem);
    background: linear-gradient(180deg, #f4dc95, #d2a650 45%, #b48733 55%, #e8c878);
    color: #3a220c;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 6px;
    text-shadow: 0 1px 0 rgba(255, 244, 210, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 225, 0.8),
        inset 0 -2px 0 rgba(90, 60, 15, 0.5),
        0 3px 6px rgba(0, 0, 0, 0.45);
}
.nameplate::before,
.nameplate::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff3c8, #8a6420 70%);
}
.nameplate::before {
    left: 0.6rem;
}
.nameplate::after {
    right: 0.6rem;
}
.crown.compact .nameplate {
    font-size: clamp(1.4rem, 3.4vw, 2.2rem);
}
a.nameplate:hover {
    filter: brightness(1.06);
}
.crown-note {
    margin: 0.35rem 0 0;
    font-style: italic;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: #f6e6c8;
}
.crown-meta {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ead7b6;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
}
.filters button {
    font: inherit;
    font-size: 0.92rem;
    color: var(--cream);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(240, 213, 138, 0.5);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    cursor: pointer;
}
.filters button:hover {
    border-color: var(--brass-light);
}
.filters button[aria-pressed="true"] {
    color: #3a220c;
    background: linear-gradient(180deg, #f4dc95, #c69a3e);
    border-color: var(--brass-light);
}
.filters .count {
    font-size: 0.78em;
    opacity: 0.8;
}
.crown-base {
    height: 14px;
    margin: 0 var(--overhang);
    background: linear-gradient(180deg, #3a1d0e, #8a4f2a 45%, #5a2f17);
}

/* The body of the cabinet: two fluted sides and the case between them. */
.carcass {
    display: grid;
    grid-template-columns: var(--side) minmax(0, 1fr) var(--side);
    box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.55);
}
.side {
    position: relative;
    background:
        repeating-linear-gradient(90deg, #4a250f 0, #7b4526 2px, #a5643a 4px, #7b4526 6px, #4a250f 8px) center / calc(100% - 12px) calc(100% - 110px) no-repeat,
        var(--grain-v),
        linear-gradient(90deg, #4f2912, #7b4526 50%, #4f2912);
    box-shadow:
        inset 2px 0 0 #2e1608,
        inset -2px 0 0 #2e1608;
}
.side::before,
.side::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
}
.side::before {
    top: 0;
    height: 40px;
    background: linear-gradient(180deg, #a5643a, #6e3b1e 38%, #2e1608 44%, #8a4f2a 56%, #5a2f17);
}
.side::after {
    bottom: 0;
    height: 46px;
    background: linear-gradient(180deg, #5a2f17, #8a4f2a 40%, #2e1608 48%, #a5643a 60%, #6e3b1e);
}
.hinge {
    position: absolute;
    right: -4px;
    z-index: 4;
    width: 9px;
    height: 54px;
    border-radius: 3px;
    background:
        repeating-linear-gradient(180deg, transparent 0 12px, rgba(60, 40, 10, 0.55) 12px 13px),
        linear-gradient(90deg, #8a6420, #f0d58a 45%, #b48733);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.hinge-top {
    top: 14%;
}
.hinge-bottom {
    bottom: 14%;
}
.keyhole {
    position: absolute;
    left: -3px;
    top: 50%;
    z-index: 4;
    width: 16px;
    height: 32px;
    transform: translateY(-50%);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 40%, #1a0d05 0 2.5px, transparent 3px),
        linear-gradient(#1a0d05, #1a0d05) 50% 64% / 2px 8px no-repeat,
        linear-gradient(90deg, #8a6420, #f0d58a 50%, #b48733);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* The case: a velvet back, lit from the top. */
.case {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: clip;
    padding: clamp(3rem, 7vh, 4.5rem) var(--case-pad) clamp(2.5rem, 6vh, 3.5rem);
    background:
        radial-gradient(ellipse 70% 40% at 50% 0, rgba(255, 198, 120, 0.3), transparent 70%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.35), transparent 60%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
        linear-gradient(180deg, #46211f, #2c1417);
    box-shadow:
        inset 0 18px 30px -12px rgba(0, 0, 0, 0.75),
        inset 12px 0 24px -12px rgba(0, 0, 0, 0.7),
        inset -12px 0 24px -12px rgba(0, 0, 0, 0.7);
}
.case.has-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.05) 38%, transparent 46%, transparent 62%, rgba(255, 255, 255, 0.035) 66%, transparent 70%);
}
.lamp {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: min(62%, 520px);
    height: 10px;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    background: linear-gradient(#e2bd68, #8a6420);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.lamp::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -5px;
    height: 8px;
    background: radial-gradient(circle, #fff6d8 0 2.5px, rgba(255, 214, 140, 0.9) 3px, transparent 6px) 0 50% / 16.66% 100% repeat-x;
    filter: drop-shadow(0 0 6px rgba(255, 200, 110, 0.9));
}
.lamp::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 190%;
    height: min(85vh, 760px);
    transform: translateX(-50%);
    pointer-events: none;
    background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255, 205, 130, 0.28), rgba(255, 190, 110, 0.07) 55%, transparent 75%);
    mix-blend-mode: screen;
    animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}
.lede {
    max-width: 52ch;
    margin: 0 auto 2.5rem;
    text-align: center;
    white-space: pre-line;
    color: var(--muted);
    font-size: 1.1rem;
}
.case .empty {
    margin: 0 0 2rem;
    text-align: center;
    color: var(--muted);
    font-style: italic;
}

/* Shelves */
.shelves {
    display: grid;
    gap: clamp(3rem, 7vh, 4.5rem);
    margin-top: 0.75rem;
}
.shelf {
    position: relative;
}
.shelf::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 8px;
    height: 45%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 100%, rgba(255, 205, 130, 0.16), transparent 70%);
}
.shelf-row {
    --gap: clamp(1rem, 3vw, 2.5rem);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--gap);
    min-height: 4rem;
    padding: 0 clamp(0.25rem, 2vw, 1.5rem);
}
.piece {
    flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
    min-width: 0;
}
.piece-link {
    display: grid;
    justify-items: center;
    color: inherit;
    text-decoration: none;
}
.piece-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: #efe6d6;
    box-shadow:
        0 16px 24px -12px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 235, 200, 0.14);
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.piece-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
}
.piece-photo .alt {
    opacity: 0;
}
.piece-link:hover .alt,
.piece-link:focus-visible .alt {
    opacity: 1;
}
.piece-link:hover .piece-photo,
.piece-link:focus-visible .piece-photo {
    transform: translateY(-4px);
}
.placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #6b4a2a;
    font-style: italic;
}
.place-card {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.1rem;
    max-width: 92%;
    margin-top: -1.1rem;
    padding: 0.55rem 1rem 0.5rem;
    text-align: center;
    color: #3a220c;
    background: linear-gradient(#fbf3e2, #efe2c8);
    border-top: 3px solid var(--brass);
    border-radius: 3px;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.6);
}
.piece-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.2;
}
.piece-link:hover .piece-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.piece-price {
    font-size: 0.9rem;
    color: #6b4a2a;
    font-variant-numeric: tabular-nums;
}

/* Glass: a full-width shelf with brass pins at its ends. */
.glass,
.ledge {
    position: relative;
    display: block;
    height: 12px;
    margin: 0 calc(var(--case-pad) * -1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0, rgba(210, 240, 232, 0.28) 2px, rgba(170, 215, 205, 0.16) 60%, rgba(120, 180, 170, 0.45) 100%);
    box-shadow:
        0 1px 0 rgba(169, 211, 200, 0.8),
        0 14px 18px -6px rgba(0, 0, 0, 0.55),
        0 -10px 24px -10px rgba(255, 210, 140, 0.35);
}
.glass::before,
.glass::after,
.ledge::before,
.ledge::after {
    content: "";
    position: absolute;
    bottom: -5px;
    width: 10px;
    height: 5px;
    border-radius: 0 0 2px 2px;
    background: var(--brass);
}
.glass::before,
.ledge::before {
    left: 6px;
}
.glass::after,
.ledge::after {
    right: 6px;
}
.ledge {
    display: none;
}

/* A note from the maker, framed on the bottom of the case. */
.note {
    max-width: 640px;
    margin: clamp(3rem, 7vh, 4.5rem) auto 0;
    padding: 1.75rem 2rem;
    text-align: center;
    color: #3a220c;
    background: linear-gradient(#fbf3e2, #efe2c8);
    border: 6px solid #6e3b1e;
    outline: 2px solid var(--brass);
    outline-offset: -12px;
    box-shadow: 0 14px 24px -10px rgba(0, 0, 0, 0.7);
}
.note-label {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b4a2a;
}
.note blockquote {
    margin: 0;
    white-space: pre-line;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    line-height: 1.4;
}

/* The YouTube button, in the brand's bright green. */
.yt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin-top: 0.35rem;
    padding: 0.55rem 1.4rem;
    color: #000000;
    background: linear-gradient(180deg, #3bea22, #17ce00 55%, #12b000);
    border: 1px solid #047e00;
    border-radius: 100px;
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 3px 8px rgba(0, 0, 0, 0.5);
    transition: filter 0.25s ease, transform 0.25s ease;
}
.yt-button::before {
    content: "";
    flex: none;
    width: 0.8em;
    height: 0.9em;
    background: #000000;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.yt-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.product-page .buy-box .yt-button {
    width: 100%;
    margin-top: 0.4rem;
}

/* The base: moulding, drawer, feet. */
.plinth {
    position: relative;
    margin: 0 calc(var(--overhang) * -1) 26px;
    text-align: center;
    color: var(--cream);
}
.plinth-mould {
    height: 16px;
    background: linear-gradient(180deg, #3a1d0e, #8a4f2a 35%, #c7854f 55%, #6e3b1e);
}
.drawer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    background: var(--grain-h), linear-gradient(180deg, #6e3b1e, #55301a);
    box-shadow:
        inset 0 0 0 11px transparent,
        inset 0 0 0 12px rgba(255, 214, 160, 0.16),
        inset 0 0 0 14px rgba(0, 0, 0, 0.35);
}
.drawer-text {
    flex: 1;
    display: grid;
    justify-items: center;
    gap: 0.25rem;
}
.foot-name {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
}
.foot-meta {
    margin: 0;
    color: #ead7b6;
    font-size: 0.9rem;
}
.foot-link {
    color: var(--brass-light);
    text-underline-offset: 3px;
}
.pull {
    position: relative;
    flex: none;
    width: 56px;
    height: 26px;
    border: 3px solid var(--brass);
    border-top: 0;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}
.pull::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -10px;
    right: -10px;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(180deg, #f4dc95, #8a6420);
}
.plinth-base {
    position: relative;
    height: 22px;
    margin: 0 6px;
    background: linear-gradient(180deg, #4a2410, #2e1608);
}
.foot {
    position: absolute;
    bottom: -26px;
    width: clamp(40px, 8vw, 84px);
    height: 26px;
    background: linear-gradient(180deg, #3a1d0e, #20100a);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 45% 40%, 30% 100%, 0 100%);
}
.foot-left {
    left: 0;
}
.foot-right {
    right: 0;
    transform: scaleX(-1);
}

/* A product's own page, on the velvet back. */
.product-page {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.4rem;
}
.product-page .crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.88rem;
    color: var(--muted);
}
.product-page .crumbs a,
.product-page .back,
.product-page .by {
    color: inherit;
    text-decoration: none;
}
.product-page .crumbs a:hover,
.product-page .back:hover,
.product-page .by:hover {
    color: var(--brass-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.product-page .crumbs [aria-current="page"] {
    color: var(--cream);
}
.product-page .back {
    width: fit-content;
    font-weight: 600;
    color: var(--brass-light);
}
.product-page .top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(240px, 290px);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}
.product-page .media {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}
.product-page .media:not(:has(.thumbs)) {
    grid-template-columns: minmax(0, 1fr);
}
.product-page .thumbs {
    display: grid;
    gap: 0.5rem;
}
.product-page .thumbs button {
    width: 64px;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    overflow: hidden;
    background: #efe6d6;
    cursor: pointer;
}
.product-page .thumbs button[aria-current="true"] {
    border-color: var(--brass-light);
    box-shadow: 0 0 0 2px rgba(240, 213, 138, 0.5);
}
.product-page .thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-page .thumbs .thumb-3d {
    display: grid;
    place-items: center;
    font: 600 0.9rem/1 var(--body);
    color: #3a220c;
}
.product-page .thumbs [hidden] {
    display: none;
}
.product-page .model-stage {
    position: absolute;
    container-type: size;
    border-radius: 6px;
    overflow: hidden;
    background: #efe6d6;
    z-index: 1;
}
.product-page .model-stage canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    touch-action: none;
}
.product-page .model-square {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(100%, 100cqh);
    aspect-ratio: 1;
}
.product-page .main-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #efe6d6;
    cursor: zoom-in;
    box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.8);
}
.product-page .main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-page .main-photo.empty {
    display: grid;
    place-items: center;
    color: #6b4a2a;
    font-style: italic;
    cursor: default;
}
.product-page .info {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}
.product-page .eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-light);
}
.product-page .info h1 {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    text-wrap: balance;
}
.product-page .by {
    width: fit-content;
    color: var(--muted);
    font-style: italic;
}
.product-page .price {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--brass-light);
    font-variant-numeric: tabular-nums;
}
.product-page .choose {
    display: grid;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}
.product-page .choose-label {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}
.product-page .choose-label b {
    color: var(--cream);
}
.product-page .choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.product-page .choice {
    display: grid;
    gap: 0.1rem;
    min-width: 7rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(255, 248, 235, 0.05);
    color: var(--cream);
    font: inherit;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
}
.product-page .choice-price {
    font-size: 0.85rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.product-page .choice[aria-pressed="true"] {
    border-color: var(--brass-light);
    background: rgba(240, 213, 138, 0.14);
    box-shadow: 0 0 0 1px var(--brass-light);
}
.product-page .about {
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}
.product-page :is(.about, .details, .more) h2 {
    margin: 0 0 0.6rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
}
.product-page .about ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
}
.product-page .about li::marker {
    color: var(--brass);
}
.product-page .buy-box {
    position: sticky;
    top: 72px;
    display: grid;
    gap: 0.7rem;
    padding: 1.25rem;
    border: 1px solid rgba(169, 211, 200, 0.45);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.product-page .buy-box .price {
    font-size: 1.9rem;
}
.product-page :is(.made, .picked, .secure, .soon) {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}
.product-page .picked {
    color: var(--cream);
    font-weight: 600;
}
.product-page .soon {
    color: var(--cream);
    font-style: italic;
}
.product-page :is(.add-to-cart, .buy-now) {
    width: 100%;
    min-height: 46px;
    border-radius: 100px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.product-page .add-to-cart {
    border: 1px solid var(--brass-light);
    background: linear-gradient(180deg, #f4dc95, #c69a3e);
    color: #3a220c;
}
.product-page .add-to-cart:hover {
    filter: brightness(1.06);
}
.product-page .buy-now {
    border: 1px solid var(--cream);
    background: transparent;
    color: var(--cream);
}
.product-page .buy-now:hover {
    background: rgba(255, 248, 235, 0.1);
}
.product-page .added {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.92rem;
}
.product-page .view-cart {
    border: 0;
    background: none;
    padding: 0;
    color: var(--brass-light);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.product-page .details {
    max-width: 760px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.product-page .description {
    margin: 0 0 1rem;
    white-space: pre-line;
    color: var(--muted);
}
.product-page .details table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.product-page .details :is(th, td) {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.product-page .details th {
    width: 40%;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
}
.product-page .details td {
    font-variant-numeric: tabular-nums;
}
.product-page .more {
    min-width: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.product-page .more-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 190px);
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0 0.9rem;
    scroll-snap-type: x mandatory;
}
.product-page .more-card {
    display: grid;
    gap: 0.35rem;
    color: var(--cream);
    text-decoration: none;
    scroll-snap-align: start;
}
.product-page .more-picture {
    display: block;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: #efe6d6;
    box-shadow: 0 12px 18px -10px rgba(0, 0, 0, 0.75);
}
.product-page .more-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-page .more-title {
    font-family: var(--display);
    font-weight: 700;
}
.product-page .more-card:hover .more-title {
    color: var(--brass-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.product-page .more-price {
    font-size: 0.9rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* Every photo full screen */
.viewer {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #120a07;
    color: #f7ecd8;
    font-family: "Lora", Georgia, serif;
}
.viewer[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
}
.viewer::backdrop {
    background: #120a07;
}
.viewer-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}
.viewer-count {
    margin: 0;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.viewer-original {
    justify-self: end;
    color: #f0d58a;
    text-decoration: none;
}
.viewer :is(.viewer-close, .viewer-step) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.viewer :is(.viewer-close, .viewer-step):disabled {
    opacity: 0.25;
    cursor: default;
}
.viewer :is(button, a):focus-visible {
    outline: 2px solid #f0d58a;
    outline-offset: 2px;
}
.viewer-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 0 64px 16px;
    touch-action: pan-y;
    user-select: none;
}
.viewer-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}
.viewer-step {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.viewer-step[data-step="-1"] {
    left: 12px;
}
.viewer-step[data-step="1"] {
    right: 12px;
}

.room :is(a, button):focus-visible {
    outline: 3px solid var(--brass-light);
    outline-offset: 3px;
}

@media (max-width: 1080px) {
    .product-page .top {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
    .product-page .buy-box {
        grid-column: 2;
        position: static;
    }
}
@media (max-width: 760px) {
    .viewer-stage {
        padding: 0 0 16px;
    }
    .viewer-step {
        display: none;
    }
}
@media (max-width: 720px) {
    .product-page .top {
        grid-template-columns: minmax(0, 1fr);
    }
    .product-page .buy-box {
        grid-column: auto;
    }
    .product-page .media {
        grid-template-columns: minmax(0, 1fr);
    }
    .product-page .thumbs {
        order: 2;
        display: flex;
        overflow-x: auto;
    }
    .product-page .thumbs button {
        flex: none;
        width: 56px;
    }
    .product-page .crumbs {
        display: none;
    }
}
@media (max-width: 640px) {
    .shelf-row {
        flex-direction: column;
        align-items: stretch;
        gap: 2.75rem;
        padding: 0;
    }
    .piece {
        flex: none;
    }
    .piece-link {
        max-width: 300px;
        margin: 0 auto;
    }
    .shelf .glass {
        display: none;
    }
    .ledge {
        display: block;
    }
    .shelf::before {
        display: none;
    }
    .hinge,
    .keyhole,
    .pull,
    .frieze::before,
    .frieze::after {
        display: none;
    }
    .side {
        background: var(--grain-v), linear-gradient(90deg, #4f2912, #7b4526 50%, #4f2912);
    }
    .nameplate {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .drawer {
        justify-content: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .lamp::after {
        animation: none;
    }
    .piece-photo,
    .piece-photo img,
    .yt-button {
        transition: none;
    }
    .yt-button:hover {
        transform: none;
    }
}