.painted-page { padding: 36px 0 88px; background: #f7f1e8; }
.painted-preview-bar {
    background: #3e2407;
    color: #f7f1e8;
    font-size: 0.84rem;
    padding: 10px 0;
}
.painted-preview-bar a { color: #f3e6cf; }
.painted-hero { display: block; margin-bottom: 28px; }
.painted-hero h1, .painted-section h2, .painted-detail h1, .painted-card h2, .painted-card h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0;
}
.painted-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; margin: 0 0 12px; }
.painted-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.painted-sub { font-size: 1.25rem; margin: 0 0 16px; color: #5c4a38; }
.painted-lead { font-size: 1.05rem; line-height: 1.7; color: #4e4338; max-width: 40rem; }
.painted-lead p { margin: 0 0 0.75rem; }
.painted-lead p:last-child { margin-bottom: 0; }
.painted-lead-note {
    margin: 0.85rem 0 0;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--accent);
    font-weight: 700;
}
.painted-hero__photos { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: 18px; margin-top: 32px; align-items: start; }
.painted-hero__photos figure { margin: 0; border-radius: 22px; overflow: hidden; }
.painted-hero__photos a { display: block; line-height: 0; }
.painted-hero__photos img { width: 100%; height: auto; display: block; }
.painted-hero__photos figure:first-child img { object-position: center 42%; }
.painted-hero__photos figcaption { padding: 12px 14px 14px; font-size: 0.95rem; color: #6b5b4a; }
.painted-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.painted-nav a, .painted-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #ddcbb6;
    background: #fffaf4;
    color: var(--accent);
}
.painted-nav a.is-on, .painted-btn--solid { background: #3e2407; color: #f7f1e8; border-color: #3e2407; }
.painted-section { margin-top: 64px; }
.painted-section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 8px; }
.painted-section .painted-sub { margin-bottom: 14px; }
.painted-copy { max-width: 44rem; line-height: 1.7; color: #4e4338; }
.painted-copy p { margin: 0 0 12px; }
.painted-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 28px; }
.painted-card {
    background: #fffaf4;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    content-visibility: auto;
    contain-intrinsic-size: auto 460px;
}
.painted-card a.painted-card__media { display: block; overflow: hidden; line-height: 0; }
.painted-card img { width: 100%; height: auto; display: block; }
.painted-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.painted-card h2, .painted-card h3 { font-size: 1.25rem; margin: 0; }
.painted-card h2 a, .painted-card h3 a { color: inherit; text-decoration: none; }
.painted-card p { margin: 0; color: #5c5146; line-height: 1.5; font-size: 0.95rem; }
.painted-meta { font-size: 0.82rem; color: #7a6a58; }
.painted-card .painted-btn { margin-top: auto; align-self: flex-start; }
.painted-card__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.painted-card__actions .painted-btn {
    margin-top: 0;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    text-align: center;
}
button.painted-btn {
    font: inherit;
    cursor: pointer;
}
.painted-card__body > a.painted-btn--solid {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    justify-content: center;
}
.painted-modal[hidden] { display: none; }
.painted-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 16px;
}
.painted-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(62, 36, 7, 0.46);
    cursor: pointer;
}
.painted-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    background: #fffaf4;
    color: #4e4338;
    border-radius: 18px;
    padding: 28px 24px 22px;
}
.painted-modal__dialog h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--accent);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    line-height: 1.25;
    margin: 0 40px 18px 0;
}
.painted-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--accent);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.painted-modal ol {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 16px;
}
.painted-modal li { line-height: 1.55; }
.painted-modal li::marker { color: var(--accent); font-weight: 700; }
.painted-modal li strong {
    display: block;
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.painted-modal li p { margin: 0; font-size: 1rem; }
.painted-care, .painted-features {
    margin-top: 28px;
    background: #fffaf4;
    border-radius: 18px;
    padding: 22px 24px;
}
.painted-care strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.painted-features ul { margin: 12px 0 0; padding-left: 1.1rem; line-height: 1.6; }
.painted-features li { margin: 4px 0; }
.painted-detail { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.painted-crumb { grid-column: 1 / -1; font-size: 0.85rem; color: #6d5c4b; margin: 0 0 8px; }
.painted-crumb a { color: var(--accent); }
.painted-crumb span[aria-hidden] { margin: 0 6px; }
.painted-gallery__main { border-radius: 18px; overflow: hidden; line-height: 0; }
.painted-gallery__main img { width: 100%; height: auto; display: block; }
.painted-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.painted-thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #f3eadf; cursor: pointer; }
.painted-thumbs button.is-on { border-color: #3e2407; }
.painted-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.painted-facts { display: grid; gap: 8px; margin: 18px 0; }
.painted-facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid #eadfD0; }
.painted-facts dt { color: #7a6a58; }
.painted-facts dd { margin: 0; text-align: right; }
.painted-facts .painted-facts__size { display: block; }
.painted-facts .painted-facts__size > div { border-bottom: 0; padding-bottom: 0; }
.painted-facts__size .painted-note { margin: 8px 0 0; }
.painted-sizes { margin-top: 8px; }
.painted-sizes summary {
    cursor: pointer;
    color: #7a6a58;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    list-style: none;
    width: auto;
}
.painted-sizes summary::-webkit-details-marker { display: none; }
.painted-sizes p { margin: 10px 0 0; }
.painted-sizes ul { margin: 6px 0 0; padding-left: 1.15rem; }
.painted-sizes li { margin: 2px 0; }
.painted-options { display: grid; gap: 10px; margin: 16px 0; }
.painted-options label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: #fffaf4; border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.painted-inquiry { margin-top: 22px; }
.painted-inquiry summary { width: 100%; box-sizing: border-box; cursor: pointer; list-style: none; }
.painted-form .painted-btn {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    font-weight: inherit;
    line-height: inherit;
}
.painted-inquiry summary::-webkit-details-marker { display: none; }
.painted-form { margin-top: 16px; display: grid; gap: 12px; }
.painted-form label { display: grid; gap: 6px; font-size: 0.92rem; }
.painted-form input, .painted-form textarea, .painted-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddcbb6;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}
.painted-note { font-size: 0.9rem; color: #6b5b4a; }
.painted-ok { background: #eef6ea; border-radius: 14px; padding: 14px 16px; }
.painted-err { background: #fdeeee; border-radius: 14px; padding: 12px 14px; }
.painted-desc { line-height: 1.7; color: #4e4338; }
.painted-desc p { margin: 0 0 12px; }
@media (max-width: 860px) {
    .painted-hero, .painted-detail, .painted-hero__photos { grid-template-columns: 1fr; }
    .painted-hero__photos img { height: auto; }
    .painted-hero__photos figure:last-child img { aspect-ratio: 3/4; object-fit: contain; }
}
