/* Purpose: define the editable visual theme and responsive component styles. Trigger: the page loads this stylesheet; DOM classes and media queries select rules. */
/* Purpose: style theme tokens. Trigger: a component uses a CSS variable. */
:root {
    --paper: #fbf8f1;
    --paper-deep: #f0ebe1;
    --ink: #34283e;
    --plum: #493550;
    --plum-soft: #eee7ee;
    --gold: #a2824f;
    --muted: #756e76;
    --line: #ded8cf;
    --rose: #eadfdc;
    --sage: #e4e8dd;
    --radius: 8px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 15px/1.65 var(--sans);
}
body:has(dialog[open]) {
    overflow: hidden;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
button,
summary {
    cursor: pointer;
}
button {
    color: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}
h1 {
    font-size: clamp(58px, 6.2vw, 88px);
    line-height: 1.08;
    letter-spacing: -3.5px;
}
h2 {
    font-size: clamp(33px, 3.6vw, 49px);
    line-height: 1.16;
    letter-spacing: -1.7px;
}
h3 {
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
em {
    color: #947444;
    font-weight: 400;
}
small {
    font-size: 11px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid #ad8b56;
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}
.skip-link {
    position: fixed;
    left: 12px;
    top: -90px;
    z-index: 110;
    padding: 10px 15px;
    background: var(--paper);
    color: var(--plum);
    border: 1px solid var(--plum);
    border-radius: 3px;
}
.skip-link:focus {
    top: 10px;
}

/* Purpose: style shop navigation. Trigger: the shop header is displayed. */
header {
    max-width: 1380px;
    width: 88%;
    margin: auto;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 26px/1.2 var(--serif);
}
.logo-frame {
    display: grid;
    align-items: center;
    width: 232px;
    height: 51px;
}
.logo-frame img {
    display: block;
    width: 100%;
    height: auto;
}
nav {
    display: flex;
    gap: 31px;
    font-size: 12px;
}
nav a {
    padding: 12px 0;
    border-bottom: 1px solid transparent;
}
nav a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.bag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    font-size: 12px;
}
.bag svg {
    width: 18px;
    height: 20px;
}
.bag span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--plum);
    background: #eae2e9;
    font-size: 10px;
}
.bag span[aria-hidden] {
    width: auto;
    background: transparent;
    font-size: 15px;
}

/* Purpose: style storefront hero. Trigger: the shop landing page renders. */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    max-width: 1380px;
    width: 88%;
    margin: 0 auto;
    padding: 58px 0 64px;
}
.eyebrow {
    font-size: 9px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 27px;
}
.eyebrow > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.hero-copy > p {
    max-width: 350px;
    margin: 25px 0 29px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    transition:
        background 0.18s,
        transform 0.18s;
}
.primary {
    background: var(--plum);
    color: white;
}
.primary:hover {
    background: #34233d;
}
.secondary {
    background: transparent;
    border-color: #d6cbd7;
    color: var(--plum);
}
.secondary:hover {
    background: #eee7eb;
}
.full {
    width: 100%;
}
.button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.hero-foot {
    display: flex;
    gap: 25px;
    margin-top: 38px;
    color: #807383;
    font-size: 8px;
    letter-spacing: 1.05px;
}
.hero-foot span::before {
    content: '✧';
    color: var(--gold);
    font-size: 12px;
    margin-right: 6px;
}
.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1.08;
    min-height: 450px;
    width: 100%;
    overflow: hidden;
    background: var(--rose);
    border-radius: 48% 48% 5px 5px;
}
.hero-art::before {
    content: '';
    position: absolute;
    inset: 23px;
    border: 1px solid #d0bcb4;
    border-radius: 48% 48% 0 0;
}
.hero-art > img {
    position: relative;
    z-index: 1;
    width: 94%;
    margin-top: 10px;
}
.art-orbit {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px solid #c9b596;
    border-radius: 50%;
    transform: rotate(-31deg) scaleY(0.6);
}
.spark {
    position: absolute;
    z-index: 2;
    color: #a1804e;
    line-height: 1;
}
.s1 {
    top: 25%;
    left: 13%;
    font-size: 34px;
}
.s2 {
    top: 20%;
    right: 15%;
    font-size: 20px;
}
.art-caption {
    position: absolute;
    top: 39px;
    z-index: 2;
    font-size: 8px;
    letter-spacing: 2px;
}
.art-label {
    position: absolute;
    z-index: 2;
    bottom: 45px;
    left: 33px;
    font: 22px/1.4 var(--serif);
}
.art-label span {
    display: block;
    margin-top: 4px;
    font: 8px/1.6 var(--sans);
    letter-spacing: 2px;
}
.image-note {
    position: absolute;
    bottom: 12px;
    z-index: 2;
    padding: 0 15px;
    text-align: center;
    color: #796e75;
    font-size: 8px;
    letter-spacing: 0.2px;
}
.ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 19px 6%;
    background: #eee8dc;
    font-size: 8px;
    letter-spacing: 1.4px;
    text-align: center;
}
.ribbon b {
    color: var(--gold);
    font-size: 13px;
    font-weight: 400;
}

.section {
    max-width: 1380px;
    width: 88%;
    margin: auto;
    padding: 80px 0;
}
.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.section-title h2 {
    margin-top: 15px;
}
.section-title > p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}
.section-title small {
    font-size: 9px;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 31px 0 27px;
}
.filters button {
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: transparent;
    font-size: 10px;
}
.filters button.active,
.filters button[aria-pressed='true'] {
    color: white;
    background: var(--ink);
    border-color: var(--ink);
}
/* Purpose: style catalogue grid. Trigger: catalogue cards are rendered. */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}
.product-art {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 5px;
    aspect-ratio: 1/1.04;
    overflow: hidden;
    background: #eee6dd;
}
.product-card:nth-child(2) .product-art {
    background: #e4e8dc;
}
.product-card:nth-child(3) .product-art {
    background: #e9dfe9;
}
.product-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-art:hover img {
    transform: translateY(-4px) scale(1.035);
}
.art-link {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    background: #fbf8f1d9;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    font-size: 17px;
}
.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 8px;
    background: #fbf8f1e8;
    border: 1px solid #ffffff70;
    font-size: 7px;
    letter-spacing: 1.2px;
}
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}
.product-meta h3 {
    font-size: 22px;
}
.product-meta h3 button {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
}
.product-price {
    font-size: 12px;
    white-space: nowrap;
}
.product-price del,
.product-price s {
    color: var(--muted);
    font-size: 10px;
    margin-right: 5px;
}
.product-card > p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.product-bottom > span {
    color: #766e77;
    font-size: 8px;
    letter-spacing: 0.7px;
}
.product-bottom button {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #b6a3bb;
}

.paint-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eff0e8;
}
.paint-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: #e0e5d7;
    overflow: hidden;
}
.paint-disc {
    z-index: 1;
    width: 73%;
}
.paint-disc img {
    width: 100%;
    filter: grayscale(1) brightness(1.3);
}
.paint-stroke {
    position: absolute;
    width: 130%;
    height: 72px;
    background: #bfb3c6;
    transform: rotate(-28deg);
}
.paint-swatch {
    position: absolute;
    bottom: 59px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 17px;
    background: var(--paper);
    box-shadow: 0 10px 25px #4936500d;
    transform: rotate(-4deg);
}
.paint-swatch i {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9b81aa;
}
.paint-swatch i:nth-child(2) {
    background: #d0b16a;
}
.paint-swatch i:nth-child(3) {
    background: #899c8a;
}
.paint-swatch span {
    font-size: 10px;
    margin-left: 6px;
}
.paint-visual > small {
    position: absolute;
    bottom: 15px;
    font-size: 8px;
    color: #74786c;
}
.paint-copy {
    padding: 61px 12%;
}
.paint-copy h2 {
    margin: 19px 0;
}
.paint-copy > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
.paint-copy ol {
    padding: 0;
    margin: 27px 0;
    list-style: none;
}
.paint-copy li {
    display: flex;
    gap: 17px;
    margin: 19px 0;
}
.paint-copy li > span {
    color: var(--gold);
    font-size: 9px;
    padding-top: 4px;
}
.paint-copy strong {
    font-size: 12px;
    font-weight: 500;
}
.paint-copy li p {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}
.text-link {
    display: inline-block;
    min-height: 44px;
    padding: 10px 0;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: var(--gold);
}
.story {
    text-align: center;
    padding-top: 75px;
    padding-bottom: 66px;
}
.story h2 {
    margin: 20px auto;
}
.story > p {
    max-width: 590px;
    margin: auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}
.story-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    text-align: left;
}
.story-details span {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: 1.4px;
}
.story-details h3 {
    font-size: 23px;
    margin: 10px 0;
}
.story-details p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}
.faq {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    padding-top: 53px;
    padding-bottom: 61px;
    border-top: 1px solid var(--line);
}
.faq h2 {
    margin-top: 16px;
}
details {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
summary {
    min-height: 28px;
    font-size: 12px;
}
details p {
    color: var(--muted);
    font-size: 11px;
    padding-top: 12px;
    line-height: 1.8;
}
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 39px 6%;
    color: var(--paper);
    background: var(--ink);
}
footer p,
footer > span {
    color: #cfc3d2;
    font-size: 10px;
}
footer .brand {
    font-size: 24px;
}
.footer-wordmark {
    margin-bottom: 6px;
    font: 27px/1.25 var(--serif);
}
.brand small {
    display: block;
    font: 7px/1.8 var(--sans);
    letter-spacing: 1.6px;
}
.brand-icon {
    position: relative;
    display: block;
    color: #c4a66e;
    font-size: 35px;
    line-height: 1;
}
.brand-icon i {
    position: absolute;
    width: 5px;
    height: 5px;
    right: -3px;
    top: 2px;
    border-radius: 50%;
    background: #a799af;
}

/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
    position: fixed;
    max-width: calc(100vw - 36px);
    width: 920px;
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 48px;
    border: 1px solid #e2d8df;
    border-radius: 10px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 25px 100px #24162e40;
    overflow: auto;
    overscroll-behavior: contain;
}
dialog::backdrop {
    background: #24192e80;
    backdrop-filter: blur(5px);
}
.close {
    position: absolute;
    display: grid;
    place-items: center;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 26px;
    line-height: 1;
}
.close:hover {
    background: #e9e0e9;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1;
    border-radius: 6px;
    background: #eee6df;
    overflow: hidden;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gallery-main img.primed,
.gallery-main.primed img {
    filter: grayscale(1) brightness(1.3);
}
.gallery-thumbs {
    display: flex;
    gap: 9px;
    margin-top: 10px;
}
.gallery-thumbs button {
    display: grid;
    place-items: center;
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 9px 6px;
    background: #eee8df;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 9px;
    line-height: 1.5;
}
.gallery-thumbs button.active,
.gallery-thumbs button[aria-pressed='true'] {
    border-color: var(--plum);
    outline: 1px solid var(--plum);
    outline-offset: 2px;
}
.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gallery-caption {
    color: var(--muted);
    font-size: 9px;
    margin-top: 10px;
    line-height: 1.6;
}
.detail-info {
    min-width: 0;
    padding-top: 3px;
}
.detail-info h2 {
    font-size: 36px;
    letter-spacing: -1.1px;
    margin: 10px 0 15px;
}
.detail-info > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
.price-group {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}
.price-group strong {
    font-size: 21px;
    font-weight: 500;
}
.price-group del {
    color: var(--muted);
    font-size: 13px;
}
.price-group small,
.price-group > span {
    color: var(--muted);
    font-size: 9px;
}
.option-label {
    display: block;
    margin: 18px 0 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
}
.finish-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.finish-options button {
    min-height: 47px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px;
    background: transparent;
    font-size: 10px;
}
.finish-options button.active,
.finish-options button[aria-pressed='true'] {
    border-color: var(--plum);
    background: var(--plum-soft);
}
.product-specs {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    margin: 22px 0;
    font-size: 10px;
    color: var(--muted);
}
.product-specs > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 5px 0;
}
.product-specs dt,
.product-specs dd {
    margin: 0;
}
.product-specs dd {
    color: var(--ink);
    text-align: right;
}
.stepper,
.quantity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.stepper button,
.quantity button {
    display: grid;
    place-items: center;
    width: 40px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 18px;
}
.stepper span,
.quantity span {
    min-width: 21px;
    text-align: center;
    font-size: 12px;
}
.stepper button:hover,
.quantity button:hover {
    background: #eee6ee;
}
.detail-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
}
.detail-actions .button {
    flex: 1;
    gap: 10px;
    justify-content: center;
}
.detail-note {
    margin-top: 15px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.75;
}

#cart-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
    width: 470px;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 0 0 auto;
    padding: 55px 29px 28px;
    border-radius: 0;
    border-right: 0;
}
#cart-dialog h2 {
    margin: 13px 0 5px;
    font-size: 35px;
}
.muted {
    color: var(--muted);
    font-size: 11px;
}
.cart-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.cart-row > img {
    width: 70px;
    aspect-ratio: 1;
    object-fit: contain;
    background: #eee6dd;
    border-radius: 4px;
}
.cart-row strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
}
.cart-row small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin: 2px 0 8px;
}
.cart-row .quantity {
    gap: 0;
}
.cart-row .quantity button {
    width: 32px;
    font-size: 17px;
}
.remove {
    display: block;
    min-height: 36px;
    padding: 7px 0 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.line-price {
    font-size: 12px;
    white-space: nowrap;
    padding-top: 1px;
}
.cart-summary {
    margin-top: 20px;
}
.total,
.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 11px 0;
    font-size: 12px;
}
.total {
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}
.total strong {
    font-weight: 500;
}
.cart-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.cart-actions .button {
    justify-content: center;
}
.checkout-note {
    margin: 17px 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}
.empty {
    padding: 45px 0;
    color: var(--muted);
    font-size: 13px;
}
.empty p {
    margin-bottom: 15px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
}
.back-link:hover {
    color: var(--plum);
}

#checkout-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
    width: 970px;
}
.checkout-head h2 {
    margin: 10px 0 8px;
    font-size: 38px;
}
.checkout-head > p {
    color: var(--muted);
    font-size: 11px;
}
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 25px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}
.checkout-steps .active,
.checkout-steps [aria-current] {
    color: var(--plum);
    font-weight: 600;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    align-items: start;
    gap: 32px;
}
.checkout-form {
    min-width: 0;
}
.checkout-form h3 {
    font-size: 23px;
    margin-bottom: 17px;
}
.form-topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.form-topline .text-link {
    flex-shrink: 0;
    font-size: 11px;
}
button.text-link {
    appearance: none;
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--plum);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 5px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 13px;
}
.field {
    display: block;
    min-width: 0;
    font-size: 10px;
}
.span-2 {
    grid-column: 1 / -1;
}
.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
}
.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #d8d0d8;
    border-radius: 4px;
    color: var(--ink);
    background: #fffdf9;
    font-size: 12px;
}
.field > input,
.field > select,
.field > textarea {
    margin-top: 6px;
}
.field input::placeholder,
.field textarea::placeholder {
    color: #999098;
}
.field textarea {
    resize: vertical;
    min-height: 85px;
}
.field input[aria-invalid='true'] {
    border-color: #a55050;
}
.checkout-form .button {
    justify-content: center;
    margin-top: 20px;
}
.order-summary {
    padding: 23px;
    border: 1px solid #ded4dd;
    border-radius: 6px;
    background: #f1eaf0;
}
.order-summary h3 {
    margin-bottom: 19px;
    font-size: 24px;
}
.order-summary .summary-line {
    font-size: 11px;
    margin: 13px 0;
}
.order-summary .summary-line > :first-child {
    min-width: 0;
}
.order-summary .summary-line > :last-child {
    flex-shrink: 0;
}
.order-summary .total {
    font-size: 15px;
    border-top-color: #d7cad7;
}
.order-summary img {
    display: inline-block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 5px;
}
.summary-product {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 15px 0;
    border-bottom: 1px solid #ded4dd;
}
.summary-product > img {
    margin: 0;
    border-radius: 3px;
    background: #e6dce5;
}
.summary-product strong {
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
}
.summary-product small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.6;
}
.summary-product > span {
    font-size: 10px;
    white-space: nowrap;
}
.privacy-note {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.8;
}
.form-error {
    color: #913d42;
    font-size: 11px;
    margin-top: 12px;
}

#payment-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
    max-width: calc(100vw - 30px);
    width: 490px;
    padding: 47px 36px 32px;
}
.payment-demo {
    text-align: center;
}
.demo-badge {
    display: inline-block;
    border: 1px solid #cdbbcf;
    border-radius: 30px;
    padding: 5px 10px;
    color: #715b78;
    background: #f0e8f1;
    font-size: 9px;
    letter-spacing: 0.7px;
}
.payment-demo h2 {
    font-size: 34px;
    margin: 18px 0 10px;
}
.payment-demo > p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.85;
}
.payment-amount {
    margin: 23px 0;
    font: 39px/1.2 var(--serif);
}
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 24px 0;
}
.payment-options > * {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fffaf5;
    font-size: 11px;
}
.payment-demo .button {
    justify-content: center;
    margin-top: 9px;
}
.payment-outcome {
    display: flex;
    gap: 8px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}
.payment-outcome .button {
    flex: 1;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 10px;
}
.success-mark {
    display: grid;
    place-items: center;
    width: 63px;
    height: 63px;
    margin: 7px auto 21px;
    border: 1px solid #aabda6;
    border-radius: 50%;
    color: #5d795a;
    background: #e7ede1;
    font-size: 28px;
}
.confirmation {
    text-align: center;
}
.confirmation h2 {
    font-size: 34px;
    margin-bottom: 14px;
}
.confirmation p {
    margin: 12px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
#toast {
    position: fixed;
    z-index: 100;
    bottom: 24px;
    left: 50%;
    width: max-content;
    max-width: calc(100vw - 30px);
    transform: translate(-50%, 15px);
    opacity: 0;
    padding: 12px 22px;
    border-radius: 5px;
    background: var(--plum);
    color: white;
    box-shadow: 0 5px 25px #31263c20;
    text-align: center;
    pointer-events: none;
    font-size: 11px;
    transition:
        opacity 0.18s,
        transform 0.18s;
}
#toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (min-width: 1450px) {
    /* Purpose: style storefront hero. Trigger: the shop landing page renders. */
    .hero {
        gap: 90px;
    }
    .hero-art {
        min-height: 540px;
    }
}
/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (max-width: 1000px) {
    /* Purpose: style storefront hero. Trigger: the shop landing page renders. */
    .hero {
        gap: 40px;
    }
    h1 {
        font-size: 65px;
    }
    .hero-art {
        min-height: 390px;
    }
    .hero-foot {
        gap: 14px;
        font-size: 7px;
    }
    nav {
        gap: 19px;
    }
    .section-title {
        align-items: start;
    }
    .section-title > p {
        max-width: 250px;
    }
    .paint-copy {
        padding: 44px 9%;
    }
    .paint-visual {
        min-height: 470px;
    }
    .product-meta {
        align-items: start;
    }
    .product-meta h3 {
        font-size: 20px;
    }
    /* Purpose: style modal layout. Trigger: a feature opens a dialog. */
    dialog {
        padding: 45px 29px 29px;
    }
}
/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (max-width: 760px) {
    /* Purpose: style shop navigation. Trigger: the shop header is displayed. */
    header {
        min-height: 86px;
    }
    nav {
        display: none;
    }
    /* Purpose: style storefront hero. Trigger: the shop landing page renders. */
    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        padding: 43px 0 45px;
    }
    h1 {
        font-size: 53px;
        letter-spacing: -2.5px;
    }
    .hero-copy > p {
        font-size: 12px;
    }
    .hero-art {
        min-height: 340px;
    }
    .hero-foot {
        flex-direction: column;
        gap: 5px;
        margin-top: 22px;
    }
    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 1.3px;
        margin-bottom: 20px;
    }
    .ribbon {
        font-size: 7px;
        gap: 18px;
        letter-spacing: 0.8px;
    }
    .section-title {
        flex-direction: column;
        gap: 17px;
    }
    .section-title > p {
        max-width: none;
    }
    /* Purpose: style catalogue grid. Trigger: catalogue cards are rendered. */
    .product-grid {
        gap: 18px;
    }
    .product-meta {
        flex-direction: column;
        gap: 5px;
    }
    .product-meta h3 {
        font-size: 20px;
    }
    .product-bottom {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }
    .product-bottom > span {
        font-size: 7px;
    }
    .paint-copy {
        padding: 35px 9%;
    }
    .paint-copy h2 {
        font-size: 34px;
    }
    .paint-swatch {
        font-size: 8px;
        padding: 10px;
    }
    .paint-swatch i {
        width: 16px;
        height: 16px;
    }
    .paint-swatch span {
        font-size: 8px;
    }
    .story-details {
        gap: 25px;
    }
    .faq {
        gap: 35px;
    }
    footer > p {
        display: none;
    }
    .checkout-layout {
        gap: 20px;
        grid-template-columns: 1.2fr 0.8fr;
    }
    .order-summary {
        padding: 17px;
    }
}
/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (max-width: 600px) {
    /* Purpose: style shop navigation. Trigger: the shop header is displayed. */
    header {
        width: 88%;
        min-height: 81px;
        gap: 10px;
    }
    .logo-frame {
        width: 196px;
        height: 47px;
    }
    .bag {
        font-size: 11px;
        padding-left: 0;
        gap: 7px;
    }
    .bag span {
        width: 22px;
        height: 22px;
    }
    /* Purpose: style storefront hero. Trigger: the shop landing page renders. */
    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 38px 0 36px;
    }
    h1 {
        font-size: clamp(51px, 12.8vw, 72px);
        letter-spacing: -2.8px;
    }
    .hero-copy > p {
        font-size: 13px;
        max-width: 345px;
        margin: 22px 0 25px;
    }
    .hero .eyebrow {
        margin-bottom: 23px;
        font-size: 8px;
    }
    .hero-foot {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 20px;
        margin-top: 25px;
    }
    .hero-art {
        min-height: 0;
        aspect-ratio: 1/1.03;
        max-width: 420px;
        margin: auto;
    }
    .hero-art > img {
        width: 96%;
    }
    .art-caption {
        top: 32px;
        font-size: 7px;
        letter-spacing: 1.6px;
    }
    .art-label {
        font-size: 21px;
        left: 26px;
        bottom: 36px;
    }
    .art-label span {
        font-size: 7px;
    }
    .image-note {
        font-size: 7px;
        bottom: 10px;
    }
    .ribbon {
        padding: 15px 6%;
        gap: 12px;
        font-size: 7px;
        line-height: 1.6;
    }
    .ribbon span:last-child,
    .ribbon b:last-of-type {
        display: none;
    }
    .section {
        padding: 51px 0;
    }
    .section-title h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }
    .filters {
        gap: 7px;
        margin: 25px 0 23px;
    }
    .filters button {
        font-size: 9px;
        padding: 9px 13px;
    }
    /* Purpose: style catalogue grid. Trigger: catalogue cards are rendered. */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-art {
        aspect-ratio: 1.09;
    }
    .product-meta {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-top: 16px;
    }
    .product-meta h3 {
        font-size: 25px;
    }
    .product-price {
        font-size: 13px;
    }
    .product-bottom {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-top: 5px;
    }
    .product-bottom > span {
        font-size: 8px;
    }
    .paint-section {
        grid-template-columns: 1fr;
    }
    .paint-visual {
        min-height: 340px;
    }
    .paint-disc {
        width: 65%;
        max-width: 300px;
    }
    .paint-swatch {
        bottom: 43px;
        padding: 12px 15px;
    }
    .paint-swatch i {
        width: 18px;
        height: 18px;
    }
    .paint-swatch span {
        font-size: 9px;
    }
    .paint-copy {
        padding: 43px 7%;
    }
    .paint-copy h2 {
        font-size: 38px;
    }
    .story h2 {
        font-size: 32px;
    }
    .story-details {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
        padding-top: 26px;
    }
    .story-details h3 {
        font-size: 25px;
    }
    .faq {
        grid-template-columns: 1fr;
        gap: 19px;
    }
    .faq h2 br {
        display: none;
    }
    footer {
        flex-direction: column;
        align-items: start;
        gap: 21px;
        padding: 32px 6%;
    }
    /* Purpose: style modal layout. Trigger: a feature opens a dialog. */
    dialog {
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 24px);
        padding: 48px 22px 24px;
        border-radius: 8px;
    }
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .gallery-main {
        max-height: 285px;
        aspect-ratio: 1.2;
    }
    .gallery-thumbs button {
        min-height: 46px;
    }
    .detail-info h2 {
        font-size: 34px;
    }
    .detail-info > p {
        font-size: 12px;
    }
    .price-group {
        margin: 16px 0 20px;
    }
    .detail-actions .button {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 11px;
    }
    #cart-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
        padding: 53px 22px 24px;
    }
    .cart-row {
        grid-template-columns: 61px minmax(0, 1fr) auto;
        gap: 11px;
    }
    .cart-row > img {
        width: 61px;
    }
    .cart-row strong {
        font-size: 11px;
    }
    .cart-row .quantity button {
        width: 30px;
    }
    .line-price {
        font-size: 11px;
    }
    #checkout-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
        padding: 48px 21px 23px;
    }
    .checkout-head h2 {
        font-size: 33px;
    }
    .checkout-steps {
        gap: 9px;
        font-size: 9px;
        margin: 20px 0;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .form-grid {
        gap: 13px 10px;
    }
    .field input,
    .field select,
    .field textarea {
        font-size: 16px;
        padding: 10px;
    }
    .field label {
        font-size: 10px;
    }
    .order-summary {
        padding: 21px;
    }
    .order-summary h3 {
        margin-bottom: 15px;
    }
    #payment-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
        padding: 47px 25px 25px;
    }
    .payment-demo h2 {
        font-size: 30px;
    }
    .payment-amount {
        font-size: 36px;
    }
    #toast {
        bottom: 17px;
        padding: 11px 16px;
    }
}
/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (max-width: 370px) {
    .logo-frame {
        width: 182px;
    }
    h1 {
        font-size: 49px;
    }
    .hero-foot {
        font-size: 6.5px;
        gap: 12px;
    }
    .filters {
        gap: 6px;
    }
    .filters button {
        padding: 9px 11px;
        font-size: 8px;
    }
    .product-meta h3 {
        font-size: 23px;
    }
    .finish-options button {
        font-size: 9px;
    }
    .stepper button {
        width: 34px;
    }
    .detail-actions {
        gap: 7px;
    }
    .detail-actions .button {
        font-size: 10px;
    }
}
/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.api-notice {
    padding: 12px 24px;
    background: #f0e6cf;
    color: #493550;
    font:
        13px/1.6 system-ui,
        sans-serif;
    text-align: center;
    border-bottom: 1px solid #d9cba9;
}
button:disabled {
    cursor: wait;
    opacity: 0.6;
}

/* Connected catalogue, real media gallery and server-backed local checkout. */
.latest-order {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--plum);
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.catalogue-message {
    margin-top: 24px;
    color: var(--muted);
    font-size: 11px;
}
.catalogue-refresh {
    margin: 8px 0 19px;
    font-size: 11px;
}
.product-teaser {
    max-width: 42ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 7px;
}
.product-price strong {
    font-weight: 500;
}
.product-price s {
    color: var(--muted);
    font-size: 10px;
}
.discount-pill {
    display: inline-block;
    width: fit-content;
    padding: 3px 7px;
    background: #e5eadc;
    border-radius: 4px;
    color: #4d6b44;
    font: 10px/1.4 var(--sans);
    white-space: nowrap;
}
.image-placeholder {
    display: grid;
    place-content: center;
    min-height: 100px;
    width: 100%;
    height: 100%;
    padding: 18px;
    color: #8a7c88;
    background: #eee8e4;
    font: 12px/1.6 var(--sans);
    text-align: center;
}
.product-art > .image-placeholder {
    aspect-ratio: 1;
}
.product-art > img {
    object-fit: contain;
}
.media-error {
    background: #ede6df;
}
#product-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
    width: 1100px;
}
.gallery-main {
    position: relative;
    touch-action: pan-y;
    overflow: hidden;
    min-height: 240px;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    max-height: 510px;
    object-fit: contain;
}
.gallery-main video,
.gallery-main iframe {
    width: 100%;
    height: 100%;
    min-height: 310px;
    max-height: 510px;
    object-fit: contain;
    border: 0;
    background: #221d25;
}
.gallery-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}
.gallery-navigation button {
    min-height: 38px;
    min-width: 42px;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--plum);
    font-size: 19px;
}
.gallery-navigation span {
    color: var(--muted);
    font-size: 10px;
}
.gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 8px;
    margin-top: 10px;
    padding: 4px 0 7px;
}
.gallery-thumbs button {
    display: flex;
    flex: 0 0 74px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 5px;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fffdf8;
    color: var(--muted);
    font-size: 9px;
}
.gallery-thumbs button.active {
    border-color: var(--gold);
    background: #f1e8da;
    color: var(--plum);
}
.gallery-thumbs img {
    width: 60px;
    height: 49px;
    object-fit: contain;
    border-radius: 2px;
}
.gallery-thumbs .image-placeholder {
    min-height: 49px;
    height: 49px;
    font-size: 8px;
    padding: 3px;
}
.video-symbol {
    display: grid;
    place-items: center;
    width: 60px;
    height: 49px;
    background: #e8e0e8;
    border-radius: 3px;
    color: var(--plum);
    font-size: 19px;
}
.gallery-caption {
    min-height: 35px;
}
.gallery-caption a {
    color: var(--plum);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.description-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.detail-info .price-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 6px;
}
.price-group s {
    font-size: 15px;
    color: var(--muted);
}
.price-group strong {
    font: 31px/1.3 var(--serif);
}
.tax-note {
    margin: 5px 0 20px !important;
    font: 11px/1.7 var(--sans) !important;
    color: var(--muted);
}
.stock-note {
    margin: 16px 0 8px !important;
    font: 11px/1.7 var(--sans) !important;
    color: #5d7451;
}
.product-metadata {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 11px;
}
.product-metadata summary {
    color: var(--plum);
    padding: 4px 0;
}
.product-metadata dl {
    margin: 12px 0 0;
}
.product-metadata dl > div {
    display: grid;
    grid-template-columns: minmax(80px, 0.65fr) minmax(0, 1fr);
    gap: 14px;
    padding: 6px 0;
}
.product-metadata dt {
    color: var(--muted);
    text-transform: capitalize;
}
.product-metadata dd {
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.product-id {
    overflow-wrap: anywhere;
}
.cart-row > .image-placeholder {
    width: 70px;
    height: 70px;
    min-height: 0;
    font-size: 9px;
    padding: 5px;
}
.saving {
    color: #527044;
}
.order-identities {
    margin: 20px 0;
    padding: 12px 15px;
    background: #eee7ed;
    border-radius: 6px;
    text-align: left;
    font: 10px/1.7 var(--sans);
}
.order-identities > div {
    display: grid;
    grid-template-columns: 83px minmax(0, 1fr);
    gap: 12px;
    padding: 4px 0;
}
.order-identities dt {
    color: var(--muted);
}
.order-identities dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.order-receipt {
    text-align: left;
    margin: 14px 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
.order-receipt summary {
    color: var(--plum);
}
.order-receipt .summary-line {
    font-size: 10px;
}
.order-receipt .total {
    font-size: 13px;
}
.simulator-note {
    padding: 13px 15px;
    border: 1px solid #d9cba8;
    border-radius: 5px;
    color: #6e5a32 !important;
    background: #f5efdd;
    font-size: 11px !important;
}
.payment-outcome {
    flex-wrap: wrap;
}
.payment-outcome .button {
    flex: 1 1 110px;
}
#payment-/* Purpose: style modal layout. Trigger: a feature opens a dialog. */
dialog {
    width: 570px;
}
/* Purpose: style responsive layout. Trigger: the viewport matches this media query. */
@media (max-width: 600px) {
    /* Purpose: style shop navigation. Trigger: the shop header is displayed. */
    header {
        flex-wrap: wrap;
        gap: 0 12px;
        padding: 14px 0;
    }
    .latest-order {
        order: 3;
        margin-left: auto;
        font-size: 10px;
        min-height: 30px;
    }
    .gallery-main {
        aspect-ratio: 1.1;
        min-height: 230px;
    }
    .gallery-main video,
    .gallery-main iframe {
        min-height: 230px;
        max-height: 300px;
    }
    .gallery-thumbs button {
        flex-basis: 66px;
    }
    .gallery-thumbs img,
    .video-symbol {
        width: 52px;
        height: 44px;
    }
    .cart-row > .image-placeholder {
        width: 61px;
        height: 61px;
    }
    .price-group strong {
        font-size: 28px;
    }
    .product-price {
        gap: 3px 6px;
    }
    .product-price .discount-pill {
        font-size: 8px;
    }
    .order-identities > div {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 8px;
    }
}
/* Arbitrary owner names and long media strips must not establish grid minimums. */
.product-card,
.product-meta,
.product-meta h3,
.detail-grid > div {
    min-width: 0;
}
.product-art {
    min-width: 0;
    width: 100%;
}
.product-meta h3,
.detail-info h2 {
    overflow-wrap: anywhere;
}
.gallery-thumbs {
    max-width: 100%;
}

/* Purpose: keep the plain-root public header independent from internal workspace links. Trigger: public shop navigation renders. */
header nav button {
    border: 0;
    padding: 0;
    background: none;
    font: inherit;
    color: inherit;
}
.content-message {
    margin: 14px auto;
    max-width: 1180px;
    width: 88%;
    color: var(--muted);
    font-size: 12px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide > img,
.hero-image-link img {
    position: relative;
    z-index: 1;
    width: 94%;
    max-height: 100%;
    object-fit: contain;
    animation: featured-float 5s ease-in-out infinite;
}
.hero-image-link {
    width: 100%;
    display: flex;
    justify-content: center;
}
.hero-art.motion-reduced img {
    animation: none;
}
.hero-controls {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
}
.hero-controls button {
    border: 1px solid #cfbfb3;
    background: #fbf8f1ed;
    border-radius: 6px;
    padding: 5px 8px;
    min-height: 32px;
}
.hero-controls button:disabled {
    opacity: 0.5;
}
.hero-image-error {
    z-index: 2;
    color: var(--muted);
    padding: 18px;
}
@keyframes featured-float {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-11px) rotate(1deg);
    }
}
/* Purpose: let owners enable a section whose complete body can be collapsed by visitors. Trigger: creativity config is rendered. */
.paint-section {
    display: block;
}
.creativity-toggle {
    border: 0;
    padding: 0;
}
.creativity-toggle > summary,
.creativity-heading {
    padding: 30px 7%;
    position: relative;
}
.creativity-toggle > summary {
    list-style: none;
    cursor: pointer;
}
.creativity-toggle > summary::-webkit-details-marker {
    display: none;
}
.creativity-toggle > summary h2 {
    margin-top: 12px;
}
.creativity-toggle-indicator {
    position: absolute;
    right: 7%;
    top: 46%;
    font-size: 24px;
}
.creativity-toggle[open] .creativity-toggle-indicator {
    transform: rotate(45deg);
}
.creativity-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.creativity-content .paint-copy > p {
    font-size: 13px;
    padding-top: 0;
}
/* Purpose: show all phone-matched safe snapshots as readable cards without contact/address data. Trigger: Your Orders lookup completes. */
#your-orders-dialog {
    width: min(760px, calc(100vw - 28px));
}
#your-orders-dialog h2 {
    margin: 8px 0 24px;
}
#order-lookup-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 14px;
}
#order-lookup-form .field {
    margin: 0;
}
#lookup-submit {
    width: auto;
}
.lookup-message {
    min-height: 24px;
    font-size: 12px;
    color: var(--muted);
    margin: 18px 0;
}
.history-order {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 18px;
    margin-top: 15px;
    background: #fffdf8;
}
.history-order-heading {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    overflow-wrap: anywhere;
}
.history-order-heading small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
}
.history-status {
    display: flex;
    gap: 8px 18px;
    flex-wrap: wrap;
    font-size: 11px;
    margin: 14px 0 0;
}
.history-items {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
}
.history-items li,
.history-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 9px 0;
}
.history-totals {
    font-size: 11px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}
.history-totals dd {
    margin: 0;
}
@media (max-width: 760px) {
    header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 18px 0;
    }
    header nav {
        order: 3;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .hero-controls {
        bottom: 60px;
        right: 12px;
    }
    .hero-art .art-label {
        max-width: 60%;
        bottom: 30px;
    }
    .creativity-content {
        grid-template-columns: 1fr;
    }
    .creativity-toggle > summary h2 {
        padding-right: 22px;
        font-size: 30px;
    }
    #order-lookup-form {
        grid-template-columns: 1fr;
    }
    #lookup-submit {
        width: 100%;
    }
    .history-order-heading {
        flex-direction: column;
        gap: 7px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide img {
        animation: none;
    }
}

/* Purpose: keep the anonymous analytics disclosure readable and unobtrusive. Trigger: shop privacy preference rendering. */
.analytics-privacy {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 28px;
    color: var(--muted, #736c73);
    font-size: 0.75rem;
    line-height: 1.5;
}
.analytics-privacy p {
    margin: 0 0 8px;
}
.analytics-privacy button {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 3px 0;
}
.analytics-privacy button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* Purpose: make an in-progress API connection explicit without fabricated products/prices. Trigger: an active catalogue load. */
.catalogue-message.is-loading {
    padding: 24px;
    border: 1px solid var(--line, #ded5dc);
    border-radius: 16px;
    background: rgba(126, 90, 126, 0.055);
    max-width: 660px;
    line-height: 1.7;
}
.catalogue-message.is-loading::before {
    content: '✦';
    display: inline-block;
    margin-right: 12px;
    color: var(--gold, #ab8c50);
    font-size: 1.5em;
    vertical-align: middle;
}
