/* Shopping links share the outline and proportions of the original header icons. */
.shop-header-links {
    display: flex;
    align-items: center;
    gap: clamp(.5rem, 1.2vw, 1.25rem);
}
.shop-header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 44px;
    gap: .4rem;
    font-size: .875rem;
    line-height: 1.2;
    white-space: nowrap;
}
.shop-header-link svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.shop-header-link:is(:hover, [aria-current="page"]) { color: var(--accent); }
.shop-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    min-height: 1.2rem;
    padding-inline: .25rem;
    border-radius: 2rem;
    background: var(--ink);
    color: var(--paper);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 851px) and (max-width: 1250px) {
    .header-inner:has(.shop-header-links) { gap: 14px; }
    .header-inner:has(.shop-header-links) .desktop-nav { gap: clamp(12px, 1.2vw, 20px); }
    .header-right:has(.shop-header-links) { gap: clamp(8px, 1vw, 18px); }
    .shop-header-links { gap: .55rem; }
}
@media (max-width: 850px) {
    .shop-header-links { gap: 0; margin-right: -.45rem; }
    .shop-header-link { width: 44px; height: 44px; }
    .shop-header-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        white-space: nowrap;
        clip-path: inset(50%);
    }
    .shop-count {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 1.07rem;
        min-height: 1.07rem;
        font-size: .7rem;
    }
}
@media (max-width: 380px) {
    .site-header .header-inner:has(.shop-header-links) .brand-image { max-width: 110px; }
}
@media (max-width: 340px) {
    .header-inner:has(.shop-header-links) > .theme-brand { font-size: 24px; }
}

.shop-shell {
    --shop-gap: clamp(1.25rem, 2.5vw, 2.25rem);
    width: calc(100% - var(--gutter) * 2);
    max-width: 78rem;
    margin-inline: auto;
    padding-block: clamp(2.5rem, 5vw, 5rem) clamp(4rem, 9vw, 8rem);
    font-size: 1rem;
}
.shop-heading { margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }
.shop-shell h1 {
    margin: 0 0 .65rem;
    font-size: var(--heading-size);
    line-height: 1.06;
    letter-spacing: -.055em;
    overflow-wrap: break-word;
}
.shop-heading p { max-width: 49rem; margin: .65rem 0 0; }
.shop-shell h2 {
    margin: 0 0 1rem;
    font-weight: 650;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -.045em;
}
.shop-shell h3 {
    margin: 0 0 .5rem;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.035em;
}
.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(17rem, .85fr);
    align-items: start;
    column-gap: clamp(2rem, 6vw, 6.25rem);
    row-gap: 1.75rem;
}
.shop-layout > *, .shop-grid > *, .shop-item > * { min-width: 0; }
.shop-form { min-width: 0; }
.shop-panel {
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--line);
    padding: var(--shop-gap) 0;
    margin: 0;
}
.shop-shell fieldset { min-width: 0; }
.shop-panel > :last-child, .shop-summary > :last-child, .shop-item p:last-child { margin-bottom: 0; }
.shop-panel legend {
    float: left;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 650;
    letter-spacing: -.04em;
}
.shop-panel legend + * { clear: both; }
.shop-summary {
    min-width: 0;
    align-self: start;
    padding: clamp(1.25rem, 2.4vw, 2.25rem);
    background: var(--image-paper, #faf9f6);
    border: 1px solid var(--line);
}
.shop-layout > .shop-summary { position: sticky; top: calc(var(--header) + 1.5rem); }
.shop-summary h2 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }
.shop-summary dl, .shop-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    gap: .55rem 1rem;
    margin: 0;
}
.shop-summary dt, .shop-details dt { color: var(--muted); }
.shop-summary dd, .shop-details dd {
    margin: 0;
    text-align: end;
    font-weight: 550;
    overflow-wrap: anywhere;
}
.shop-price, .shop-total {
    display: block;
    margin: .35rem 0 .75rem;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.35rem;
}
.shop-wide { grid-column: 1 / -1; }
.shop-shell label {
    min-width: 0;
    gap: .45rem;
    font-size: .94rem;
    font-weight: 550;
    line-height: 1.45;
}
.shop-shell label input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.shop-shell label select, .shop-shell label textarea,
.shop-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.shop-form select, .shop-form textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    border: 1px solid #93968b;
    border-radius: 0;
    background-color: var(--paper);
    color: var(--ink);
    padding: .65rem .8rem;
    font: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}
.shop-shell label select, .shop-form select { padding-right: 2.1rem; }
.shop-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    padding: clamp(.7rem, 2vw, 1.4rem);
    background: #f5f5f2;
}
.shop-address-grid .shop-address-field {
    position: relative;
    display: block;
    margin: 0;
}
.shop-form .shop-address-grid label.shop-address-field input[type="text"] {
    height: 3.5rem;
    margin: 0;
    padding: 1.25rem .85rem .35rem;
    background: white;
    border: 1px solid #b8bab2;
    border-radius: .3rem;
}
.shop-address-field > span {
    position: absolute;
    left: .85rem;
    right: .45rem;
    top: 50%;
    transform: translateY(-50%);
    color: #595c54;
    line-height: 1.2;
    pointer-events: none;
}
.shop-address-field input:focus + span,
.shop-address-field input:not(:placeholder-shown) + span {
    top: .35rem;
    transform: none;
    font-size: .75rem;
}
@media (max-width: 560px) {
    .shop-address-grid { gap: .65rem; }
}
.shop-shell textarea { min-height: 7rem; resize: vertical; }
.shop-shell input[type="file"] { height: auto; overflow: hidden; }
.shop-shell input[type="file"]::file-selector-button {
    border: 0;
    margin: 0 .6rem 0 0;
    padding: .4rem .65rem;
    background: var(--soft);
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}
.shop-shell input[type="radio"], .shop-shell input[type="checkbox"] {
    width: 1.05rem;
    min-width: 1.05rem;
    height: 1.05rem;
    min-height: 0;
    accent-color: var(--ink);
    margin: .2rem 0 0;
    padding: 0;
}
.shop-choice, .shop-shell label:has(> input[type="radio"]),
.shop-shell label:has(> input[type="checkbox"]) {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .65rem;
    font-weight: 450;
}
.shop-shell :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.shop-shell .button {
    min-height: 46px;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    font-weight: 550;
    font-size: .94rem;
    line-height: 1.35;
}
.shop-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem 1.15rem;
    margin-top: 1.4rem;
}
.shop-actions form { margin: 0; }
.shop-shell .text-link, .shop-link {
    display: inline-flex;
    align-items: center;
    font: inherit;
    font-size: .94rem;
    color: var(--ink);
    background: transparent;
    padding: .3rem 0;
    border: 0;
    text-decoration: underline;
    text-underline-offset: .23em;
}
.shop-shell .text-link:hover, .shop-link:hover { color: var(--accent); }
.shop-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(.85rem, 2vw, 1.5rem);
    border-top: 1px solid var(--line);
    padding: 1.4rem 0;
    overflow-wrap: anywhere;
}
.shop-item > :only-child { grid-column: 1 / -1; }
.shop-thumb, .shop-item > img {
    width: clamp(56px, 10vw, 106px);
    height: auto;
    max-height: 130px;
    object-fit: contain;
    background: var(--image-paper);
}
.shop-item .shop-actions { margin-top: .65rem; }
.shop-message {
    margin: 0 0 1.25rem;
    padding: .8rem 1rem;
    background: var(--image-paper);
    border-left: 3px solid var(--ink);
    overflow-wrap: anywhere;
}
.shop-message[role="alert"], .shop-error { color: #822d20; border-color: #a8412c; }
.shop-muted, .shop-shell .fine-print {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
}
.shop-shell .cf-turnstile { max-width: 100%; margin: .75rem 0; }
@media (max-width: 850px) {
    .shop-shell { max-width: 44rem; }
    .shop-layout { grid-template-columns: minmax(0, 1fr); }
    .shop-layout > .shop-summary { position: static; }
}
@media (max-width: 560px) {
    .shop-grid { grid-template-columns: minmax(0, 1fr); }
    .shop-shell { padding-top: 2rem; }
    .shop-heading { margin-bottom: 1.75rem; }
    .shop-shell .shop-actions > .button, .shop-summary .button { width: 100%; }
}

.shop-card {
    min-width: 0;
    padding: clamp(1rem, 2.4vw, 1.75rem);
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    background: var(--paper);
}
.shop-card > :last-child { margin-bottom: 0; }
.shop-account-form, .shop-account .shop-form { max-width: 36rem; }
.shop-field { margin: 0 0 1rem; }
.shop-notice {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-left: 3px solid var(--ink);
    background: var(--image-paper);
}
.shop-error {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-left: 3px solid #a8412c;
    background: #fcf5f2;
}
.shop-account-orders { margin-block: 1.25rem; }
.shop-account-orders summary { cursor: pointer; font-weight: 600; }
.shop-account-orders details[open] > summary { margin-bottom: 1rem; }

.shop-form .shop-dropzone {
    position: relative;
    display: grid;
    gap: .45rem;
    justify-items: center;
    text-align: center;
    padding: clamp(1.4rem, 5vw, 2.5rem) 1rem;
    border: 1px dashed #85817c;
    background: var(--paper, #fff);
    cursor: pointer;
}
.shop-dropzone span { font-weight: 400; }
.shop-dropzone.is-enhanced input[type=file] {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.shop-dropzone:focus-within, .shop-dropzone.is-dragging { outline: 2px solid var(--ink, #222); outline-offset: 2px; }
.shop-dropzone.is-dragging { background: var(--image-paper, #f4f2ef); }
.shop-photo-count, .shop-photo-error { margin: .5rem 0 1rem; }
.shop-photo-error { color: #8a3423; }
.shop-photo-error:empty, .shop-photo-count:empty { margin: 0; }
.shop-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: .7rem; }
.shop-photo-tile { min-width: 0; max-width: 128px; }
.shop-photo-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--image-paper, #f4f2ef); }
.shop-photo-tile.is-removed img { opacity: .35; }
.shop-photo-tile button, .shop-form .shop-photo-tile label { font: inherit; font-size: .78rem; padding: .35rem 0; }
.shop-form .shop-photo-tile label { display: flex; gap: .25rem; align-items: center; }
.shop-form .shop-photo-tile input { width: auto; min-height: auto; margin: 0; }
.shop-photo-tile button { background: none; border: none; text-decoration: underline; cursor: pointer; }
.shop-photo-details summary { cursor: pointer; }
.shop-photo-details .shop-photo-grid { margin-top: .6rem; }

.shop-configurator { max-width: 54rem; margin-inline: auto; }
.shop-shell:has(.shop-configurator) > .shop-heading,
.shop-shell:has(.shop-configurator) > .shop-notice { max-width: 54rem; margin-inline: auto; }
.shop-techniques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.shop-form label.shop-technique {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    gap: .2rem .6rem;
    min-height: 6rem;
    padding: .5rem;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
}
.shop-technique img { grid-column: 2; grid-row: 1 / 3; width: clamp(5rem, 13vw, 7.5rem); height: 5.2rem; object-fit: cover; object-position: 50% 35%; }
.shop-technique-heading { grid-column: 1; grid-row: 1; align-self: end; display: flex; align-items: center; gap: .45rem; padding-left: .3rem; }
.shop-technique-heading input { width: 1rem; height: 1rem; flex: none; margin: 0; accent-color: var(--accent); }
.shop-technique-description { grid-column: 1; grid-row: 2; align-self: start; padding-left: 1.82rem; font-size: .85rem; font-weight: 400; color: var(--muted); }
.shop-form .shop-technique:has(:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.shop-technique:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.shop-quote { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 2rem; margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--image-paper, #faf9f6); }
.shop-quote span, .shop-quote strong { display: block; }
.shop-quote span { color: var(--muted); font-size: .9rem; }
.shop-quote .shop-price { margin: .2rem 0 0; }
.shop-form [data-shop-photos] { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.shop-form .shop-main-choice:has(:checked) { color: var(--accent); font-weight: 650; }
.shop-photo-tile:has(.shop-main-choice :checked) img { outline: 2px solid var(--accent); outline-offset: -2px; }
.shop-form .shop-main-choice, .shop-configurator .shop-link { cursor: pointer; }
.shop-configurator .shop-actions { margin-top: 0; }
.shop-copy { padding: .3rem .45rem; font: inherit; font-size: .85rem; background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.shop-copy-status { font-size: .85rem; }
.shop-copy-status:empty { margin: 0; }
@media (max-width: 560px) {
    .shop-techniques { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    .shop-form label.shop-technique { min-height: 4.6rem; }
    .shop-technique img { width: 6.2rem; height: 3.8rem; }
    .shop-configurator .shop-actions { justify-content: center; }
}

.portrait-offer { display: grid; gap: .15rem; margin: 0 0 1.2rem; }
.portrait-offer > span { font-size: .9rem; line-height: 1.4; }
.portrait-offer > strong { font-size: 1.4rem; line-height: 1.35; }
.shop-configurator .shop-quote { display: grid; gap: .7rem; }
.shop-configurator .shop-deadline { margin-block: .9rem; }
