:root {
    color-scheme: light;
    --ink: #1e2025;
    --muted: #5d6570;
    --accent: #c73514;
    --hot: #f14a25;
    --line: #e8e8e7;
    --page: #fff;
    --wash: #f7f7f6;
    font: 16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

p,h1,h2,h3 {
    margin: 0;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {
    outline: 3px solid #d04b2e;
    outline-offset: 3px;
}

.page {
    width: min(1140px,calc(100% - 56px));
    margin: auto;
}

.header {
    height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 22px;
    font-weight: 760;
    width: fit-content;
    white-space: nowrap;
}

.brand img {
    object-fit: contain;
}

.header nav {
    display: flex;
    align-items: center;
    gap: clamp(16px,5vw,42px);
    font-weight: 650;
}

.header nav a:hover,.text-button:hover,.section-heading a:hover,.footer a:hover {
    color: var(--accent);
}

.account {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.account span {
    max-width: 16ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    background: #fff;
    padding: 9px;
    z-index: 1;
}

.skip:focus {
    top: 10px;
}

.hero {
    margin-top: 28px;
    min-height: 350px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1e6e2;
    background: linear-gradient(116deg,#fcfaf9 20%,#fff5f0 100%);
    border-radius: 28px;
}

.hero-content {
    padding: 52px clamp(25px,6vw,78px);
    position: relative;
    z-index: 1;
}

.domain {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .05em;
    font-size: .92rem;
    margin-bottom: 11px;
}

.hero h1 {
    font-size: clamp(34px,5.3vw,65px);
    line-height: 1.12;
    letter-spacing: -.048em;
    overflow-wrap: anywhere;
}

.owner {
    color: var(--muted);
    font-weight: 600;
    margin-top: 13px;
}

.description {
    white-space: pre-line;
    overflow-wrap: anywhere;
    margin: 12px 0;
    color: #424950;
    max-width: 58ch;
}

.hero-art {
    min-height: 100%;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%,#fff 0%,#fce1d3 55%,transparent 75%);
}

.hero-art img {
    position: absolute;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px #922c1a22);
}

.hero-art .owner-logo {
    object-fit: cover;
    border-radius: 20%;
    border: 6px solid #fff;
    background: #fff;
}

.art-ring {
    width: min(92%,335px);
    aspect-ratio: 1;
    border: 1px solid #f4c0ae;
    border-radius: 50%;
    position: absolute;
}

.art-ring.interior {
    width: min(75%,280px);
    border-color: #f1b6a4;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0 19px;
    font-weight: 720;
    gap: 6px;
    white-space: nowrap;
}

.primary {
    background: var(--accent);
    color: #fff;
}

.primary:hover {
    background: #a72a10;
}

.secondary {
    background: #fff;
    border-color: #dbdce0;
    color: var(--ink);
}

.secondary:hover {
    border-color: #b1b3b8;
}

.text-button {
    border: 0;
    padding: 6px 2px;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    text-align: left;
}

.section {
    margin-top: 50px;
    scroll-margin-top: 14px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.section-heading h2,.sidebarless h2 {
    font-size: clamp(24px,3.4vw,36px);
    letter-spacing: -.03em;
}

.section-heading a,.muted a,.consent a,.notice a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.product,.detail,.panel,.empty {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.product {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product:hover {
    border-color: #d47155;
}

.product>img,.product-empty {
    aspect-ratio: 1.45;
    width: 100%;
    object-fit: contain;
    background: var(--wash);
    display: grid;
    place-items: center;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    flex: 1;
}

.product-info h3 {
    font-size: 1.02rem;
    overflow-wrap: anywhere;
}

.product-meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: .87rem;
    flex-wrap: wrap;
}

.price {
    color: var(--accent);
    font-size: 1.45rem;
    font-weight: 780;
    white-space: nowrap;
}

.panel,.empty {
    padding: clamp(18px,4vw,31px);
}

.empty,.muted {
    color: var(--muted);
}

.panel h3,.detail h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.panel p+form,.panel p+a,.sidebarless p {
    margin-top: 14px;
}

.panel .muted {
    margin-top: 10px;
}

.compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.compact .muted {
    margin-top: 0;
}

.detail {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    overflow: hidden;
    margin-bottom: 22px;
}

.detail-image {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    background: var(--wash);
    height: 100%;
}

.detail-copy {
    padding: clamp(20px,4vw,36px);
    grid-column: -2 / -1;
}

.detail:not(:has(img)) {
    grid-template-columns: 1fr;
}

.detail .button {
    margin-top: 14px;
}

.more {
    margin-top: 15px;
}

.form {
    display: grid;
    gap: 13px;
    margin-top: 16px;
    max-width: 540px;
}

.form label {
    display: grid;
    gap: 5px;
    font-weight: 650;
    font-size: .95rem;
}

.form input:not([type=checkbox]),textarea {
    width: 100%;
    background: #fff;
    color: var(--ink);
    border: 1px solid #cdd0d5;
    border-radius: 9px;
    padding: 10px 12px;
}

.form button {
    justify-self: start;
}

.form .consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 450;
}

.form .consent input {
    width: 17px;
    height: 17px;
    margin-top: 4px;
    flex: none;
    accent-color: var(--accent);
}

.sidebarless {
    margin: 28px 0;
}

.totals {
    display: flex;
    gap: 14px 24px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.totals strong {
    color: var(--accent);
}

.notice {
    padding: 14px 16px;
    background: #fff3ed;
    border: 1px solid #f5d3c4;
    border-radius: 11px;
    margin-top: 17px;
}

.message {
    padding: 10px 0;
    display: grid;
    gap: 3px;
    border-bottom: 1px solid var(--line);
    max-width: 65ch;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.footer {
    margin-top: 55px;
    padding: 23px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: .92rem;
}

.footer .brand {
    font-size: 17px;
    color: var(--ink);
}

.error-page {
    padding-top: 15vh;
}

.error-page h1,.error-page p {
    margin: 14px 0;
}

.error-page .button {
    margin-top: 12px;
}

@media(max-width:720px) {
    .page {
        width: calc(100% - 32px);
    }
    .header {
        height: 64px;
    }
    .brand {
        font-size: 19px;
    }
    .brand img {
        width: 29px;
        height: 29px;
    }
    .header nav {
        gap: 13px;
        font-size: .91rem;
    }
    .account span {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 19px;
        margin-top: 16px;
    }
    .hero-content {
        padding: 28px 22px;
    }
    .hero-art {
        min-height: 125px;
        grid-row: 1;
        background: radial-gradient(ellipse at 50% 55%,#fff 0%,#fce1d3 70%);
    }
    .hero-art img {
        width: 77px;
        height: 77px;
    }
    .art-ring {
        width: 157px;
    }
    .art-ring.interior {
        width: 126px;
    }
    .section {
        margin-top: 33px;
    }
    .products {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }
    .product-info {
        padding: 11px;
    }
    .product-info h3 {
        font-size: .92rem;
    }
    .product-meta .price {
        font-size: 1.16rem;
    }
    .detail {
        grid-template-columns: 1fr;
    }
    .detail-copy {
        grid-column: auto;
    }
    .detail-image {
        max-height: 300px;
    }
    .footer {
        margin-top: 35px;
    }
}

@media(max-width:390px) {
    .header nav {
        gap: 9px;
    }
    .page {
        width: calc(100% - 24px);
    }
    .button {
        padding-inline: 14px;
    }
    .header {
        gap: 5px;
    }
}
