/* Laravel public site polish — sits on top of frontend.css */

.site-header {
    grid-template-columns: minmax(240px, 280px) 1fr auto;
}

.brand {
    min-width: 0;
}

.brand-logo {
    width: 52px !important;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: .85;
    letter-spacing: .04em;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
}

main {
    min-height: calc(100vh - 320px);
}

.hero {
    min-height: 520px;
    align-items: stretch;
}

.hero-art-wrapper {
    min-height: 520px;
}

.hero-art-slide .artist-mark {
    right: 24px;
    left: auto;
    bottom: 22px;
    color: #e0a92f;
    font: bold 18px cursive;
    text-align: right;
}

.hero-art-slide .artist-mark span {
    display: block;
    font-size: 15px;
    font-family: var(--sans);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

.collections-empty {
    display: grid;
    place-items: center;
    min-height: 180px;
    margin: 0;
    padding: 48px 24px;
    background:
        linear-gradient(180deg, rgba(5, 44, 73, .55), rgba(5, 44, 73, .72)),
        url("images/category-placeholder.jpg") center / cover;
    color: #fff;
    text-align: center;
}

.collections-empty h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 500;
}

.collections-empty p {
    margin: 0 0 18px;
    max-width: 520px;
    font-size: 17px;
}

.collections-empty .button-primary {
    margin: 0;
}

.site-alert {
    width: min(720px, calc(100% - 40px));
    margin: 24px auto 0;
    padding: 14px 18px;
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 14px;
}

.site-alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.site-alert-error {
    background: #fdecea;
    color: #8a1f11;
    border: 1px solid #f5c6cb;
}

.page-shell {
    background: var(--paper);
}

.page-hero {
    text-align: left;
}

.page-hero h1 {
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.page-hero p:last-child {
    line-height: 1.5;
}

.page-hero .eyebrow {
    margin-bottom: 8px;
}

.gallery-grid {
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
    min-width: 0;
}

.gallery-card strong {
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.content-section {
    padding: 72px 0 96px;
    background: #fbf8f1;
}

.content-wrapper {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.terms-content {
    text-align: left;
}

.terms-content h2,
.terms-content p {
    text-align: left;
}

.site-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.site-form label {
    display: block;
    margin-bottom: 8px;
    font: 600 11px var(--sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6d624e;
}

.site-form input,
.site-form textarea,
.site-form select {
    width: 100%;
    border: 1px solid #c6b998;
    background: #fffdf8;
    color: var(--ink);
    padding: 12px 14px;
    font-family: var(--sans);
    font-size: 15px;
}

.site-form textarea {
    min-height: 160px;
    resize: vertical;
}

.site-form input:focus,
.site-form textarea:focus,
.site-form select:focus {
    outline: 2px solid rgba(5, 44, 73, .18);
    border-color: var(--navy);
}

.contact-page {
    background: #fff;
}

.contact-intro,
.contact-form-section {
    padding: 88px 24px;
    text-align: center;
}

.contact-info-section {
    padding: 12px 24px 28px;
    text-align: center;
}

.contact-intro h2,
.contact-form-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
}

.contact-intro p,
.contact-form-intro p {
    max-width: 720px;
    margin: 0 auto 36px;
    color: #666;
    font-size: 17px;
    line-height: 1.85;
}

.info-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    min-height: 160px;
    background: #fff;
    border: 1px solid #e7e3dc;
    padding: 28px 24px;
    text-align: left;
}

body.contact-page .info-card {
    min-height: 0;
    padding: 16px 18px;
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
}

.info-card p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

.contact-form-wrapper {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 36px 32px 40px;
    background: #fff;
    border: 1px solid #e7e3dc;
    text-align: left;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    border: 0;
    background: var(--navy);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font: 600 13px var(--sans);
    cursor: pointer;
}

.contact-social {
    padding: 100px 20px;
    text-align: center;
    background: #172329;
    color: #fff;
}

.contact-social-label {
    color: #c4b79f;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.contact-social h2 {
    margin: 0 0 30px;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.5);
    padding-bottom: 7px;
}

.contact-social-links a:hover {
    border-color: #fff;
}

.checkout-layout {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    padding: 56px 0 88px;
}

/* Checkout follows homepage width (body.home-width max 1600px, ~4% sides) */
body.checkout-page .order-page {
    padding-left: 4%;
    padding-right: 4%;
    box-sizing: border-box;
}

body.checkout-page .order-page .container {
    max-width: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.checkout-page .order-page .section-heading {
    max-width: none;
}

body.checkout-page .order-layout {
    max-width: none;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

body.checkout-page .checkout-sidebar {
    min-width: 0;
    width: 100%;
}

body.checkout-page .order-image {
    width: 100%;
    min-width: 0;
    position: static !important;
    top: auto !important;
}

body.checkout-page .order-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

body.checkout-page .checkout-product-header {
    min-width: 0;
    margin-top: 8px;
}

body.checkout-page .checkout-product-header h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    font-weight: 500;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

body.checkout-page .checkout-detail-copy {
    min-width: 0;
}

body.checkout-page .order-form {
    max-width: none;
    width: 100%;
    min-width: 0;
}

.checkout-media img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.checkout-copy h2 {
    margin-top: 0;
}

.size-summary {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    border-top: 1px solid var(--line);
}

.size-summary li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
}

.checkout-actions .button:not(.button-primary) {
    border: 1px solid var(--navy);
    color: var(--navy);
    margin: 4px 0 20px;
}

.purchase-actions {
    justify-content: center;
}

.purchase-actions .checkout-button {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    padding: 8px 16px;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    letter-spacing: .06em;
}

.purchase-actions .checkout-button span {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {
    .purchase-actions .checkout-button {
        width: auto;
    }
}

.site-footer {
    padding-bottom: 52px;
}

.artists-heading,
.gallery-empty-wrap {
    text-align: center;
}

.size-option {
    min-width: 0;
    text-align: center;
}

.size-image {
    width: 100%;
    height: 125px;
    overflow: hidden;
    background: #e5dfd3;
    border: 1px solid #d1c6ae;
}

.size-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.size-option strong {
    display: block;
    margin-top: 7px;
    font-size: 15px;
}

.size-option small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.terms-content {
    max-width: 820px;
}

.terms-content h2 {
    margin: 36px 0 12px;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .03em;
}

.terms-content p {
    margin: 0 0 16px;
    color: #4a4338;
    font-size: 17px;
    line-height: 1.85;
}

.artists-page {
    background: #f8f6f1;
    padding: 72px 0 110px;
}

.artists-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.artists-heading {
    text-align: center;
    margin-bottom: 48px;
}

.artists-heading h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
}

.artists-heading p {
    max-width: 650px;
    margin: 18px auto 0;
    line-height: 1.8;
    opacity: .75;
}

.artists-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 650px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
}

.artists-sidebar {
    border-right: 1px solid rgba(0, 0, 0, .1);
    background: #f5f2ec;
}

.artists-sidebar-header {
    padding: 25px 25px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font: 600 11px var(--sans);
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .6;
}

.artists-list {
    max-height: 590px;
    overflow-y: auto;
}

.artist-list-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.artist-list-item:hover,
.artist-list-item.active {
    background: #fff;
    padding-left: 27px;
}

.artist-list-thumb {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    overflow: hidden;
    border-radius: 50%;
    background: #ddd;
}

.artist-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-list-name {
    font-size: 17px;
    line-height: 1.3;
}

.artist-detail {
    padding: 55px;
}

.artist-detail-inner {
    display: grid;
    grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
    gap: 55px;
}

.artist-detail-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e9e5dd;
}

.artist-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-detail-content h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.1;
}

.artist-ornament {
    width: 55px;
    height: 1px;
    margin: 22px 0 25px;
    background: currentColor;
    opacity: .35;
}

.artist-location {
    margin-bottom: 28px;
    font-size: 14px;
    letter-spacing: .04em;
    opacity: .65;
}

.artist-biography {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

.artist-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 30px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.artist-meta-item span {
    display: block;
    margin-bottom: 5px;
    font: 600 10px var(--sans);
    letter-spacing: .13em;
    text-transform: uppercase;
    opacity: .55;
}

.artist-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.artist-links a {
    display: inline-flex;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, .15);
    font-size: 12px;
}

.artist-links a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.order-notice {
    margin: 0 0 24px;
    padding: 14px 16px;
    background: #f7f6f3;
    border: 1px solid #e7e3dc;
    font-size: 15px;
    line-height: 1.7;
}

.newsletter input {
    font-family: var(--sans);
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: minmax(180px, 220px) 1fr auto;
    }

    .checkout-layout,
    .artist-hero,
    .artists-layout,
    .artist-detail-inner {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero,
    .hero-art-wrapper {
        min-height: 420px;
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
    }

    .brand-logo {
        width: 44px !important;
        height: 44px;
    }

    .artists-list {
        display: flex;
        max-height: none;
        overflow-x: auto;
    }

    .artist-list-item {
        min-width: 170px;
        flex-direction: column;
        text-align: center;
    }

    .artist-detail {
        padding: 28px 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        width: calc(100% - 32px);
        padding-left: 0;
        padding-right: 0;
    }

    .contact-form-wrapper {
        width: calc(100% - 32px);
    }

    .hero-art-wrapper {
        min-height: 360px;
        height: 360px;
    }
}

.purchase-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

body.checkout-page .customer-info-row,
body.checkout-page .billing-city-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

body.checkout-page .customer-info-row .form-group,
body.checkout-page .billing-city-row .form-group {
    margin-bottom: 0;
}

.checkout-size-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0 20px;
}

.checkout-size-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 16px;
    padding: 16px;
    border: 1px solid #d2d0ca;
    background: #fff;
    border-radius: 4px;
    min-width: 0;
}

.checkout-size-row.is-selected {
    border-color: #172f45;
    background: #f7f5ef;
}

.checkout-size-info {
    min-width: 0;
}

.checkout-size-info strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    word-break: break-word;
}

.checkout-size-info small {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    opacity: .8;
    margin-bottom: 10px;
}

.checkout-size-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 16px;
    opacity: .9;
}

.checkout-size-controls {
    display: grid;
    grid-template-columns: 168px 84px;
    gap: 10px;
    align-items: end;
    min-width: 0;
    justify-self: end;
}

.checkout-control {
    display: block;
    min-width: 0;
}

.checkout-control span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
    opacity: .7;
}

.checkout-control .checkout-purchase-type,
.checkout-control .checkout-quantity {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.checkout-control .checkout-purchase-type {
    width: 168px;
    max-width: 100%;
    padding-right: 28px;
    text-overflow: ellipsis;
}

.checkout-control .checkout-quantity {
    width: 84px;
    max-width: 100%;
}

.checkout-quantity {
    text-align: center;
}

.checkout-order-summary {
    margin-top: 8px;
    border: 1px solid #d2d0ca;
    background: #f7f5ef;
    border-radius: 4px;
    overflow: hidden;
}

.checkout-order-summary-header {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid #d2d0ca;
    background: #fff;
}

.checkout-order-summary-table {
    padding: 8px 18px 4px;
}

.checkout-order-summary-head,
.checkout-order-summary-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr .7fr .9fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    min-width: 0;
}

.checkout-order-summary-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .7;
    border-bottom: 1px solid #ddd7c8;
}

.checkout-order-summary-row {
    border-bottom: 1px solid #e6e1d5;
    font-size: 15px;
}

.checkout-order-summary-row span {
    min-width: 0;
    word-break: break-word;
}

.checkout-order-summary-row span:nth-child(3),
.checkout-order-summary-head span:nth-child(3) {
    text-align: center;
    font-weight: 600;
}

.checkout-order-summary-row span:last-child,
.checkout-order-summary-head span:last-child {
    text-align: right;
    font-weight: 600;
}

.checkout-order-summary-empty {
    padding: 18px 0;
    opacity: .7;
    font-size: 14px;
}

.checkout-shipping-note {
    padding: 0 18px 12px 18px;
    margin: 0;
    line-height: 1.4;
}

.checkout-order-summary-subtotal,
.checkout-order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-top: 1px solid #d2d0ca;
    background: #fff;
    font-size: 15px;
}

.checkout-order-summary-total {
    padding: 16px 18px;
    font-size: 16px;
}

.checkout-order-summary-total strong {
    font-size: 20px;
}

@media (max-width: 1100px) {
    body.checkout-page .order-page {
        padding-left: 4%;
        padding-right: 4%;
    }
}

@media (max-width: 900px) {
    body.checkout-page {
        overflow-x: clip;
    }

    body.checkout-page .order-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.checkout-page .order-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 720px;
        margin: 0 auto;
    }

    body.checkout-page .checkout-sidebar {
        display: contents;
    }

    body.checkout-page .order-image {
        position: static;
        order: 1;
        padding-bottom: 0;
        background: transparent;
    }

    body.checkout-page .checkout-product-header {
        order: 2;
        margin-top: 0;
    }

    body.checkout-page .order-form {
        order: 3;
    }

    body.checkout-page .checkout-detail-copy {
        order: 4;
    }

    body.checkout-page .order-image,
    body.checkout-page .checkout-product-header,
    body.checkout-page .checkout-detail-copy,
    body.checkout-page .order-form {
        width: 100%;
        max-width: none;
    }

    body.checkout-page .customer-info-row,
    body.checkout-page .billing-city-row,
    body.checkout-page .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.checkout-page .customer-info-row .form-group,
    body.checkout-page .billing-city-row .form-group {
        margin-bottom: 16px;
    }

    .checkout-size-row {
        grid-template-columns: 1fr;
    }

    .checkout-size-controls {
        grid-template-columns: minmax(0, 1fr) minmax(96px, 120px);
        width: 100%;
        justify-self: stretch;
    }

    body.checkout-page .checkout-control .checkout-purchase-type,
    body.checkout-page .checkout-control .checkout-quantity {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 767px) {
    body.checkout-page .order-page {
        padding: 28px 16px 56px;
    }

    body.checkout-page .order-page .container,
    body.checkout-page .order-layout,
    body.checkout-page .order-form,
    body.checkout-page .site-form,
    body.checkout-page .checkout-size-row,
    body.checkout-page .checkout-order-summary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.checkout-page .order-page .section-heading {
        margin-bottom: 20px;
        text-align: left;
        padding: 0;
    }

    body.checkout-page .order-page .section-heading h1 {
        font-size: clamp(26px, 8vw, 38px);
        line-height: 1.08;
    }

    body.checkout-page .order-page .section-heading p {
        font-size: 15px;
        line-height: 1.5;
    }

    body.checkout-page .order-image img {
        max-height: 240px;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    body.checkout-page .checkout-product-header h2 {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 8px;
    }

    body.checkout-page .checkout-detail-copy {
        padding: 8px 0 4px;
        border-top: 1px solid #ddd6c8;
        margin-top: 8px;
    }

    body.checkout-page .checkout-detail-copy .detail-description {
        font-size: 15px;
        line-height: 1.5;
    }

    body.checkout-page .checkout-detail-copy .artist-profile-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    body.checkout-page .checkout-detail-copy .artist-profile-image {
        width: 88px;
        height: 88px;
        flex: 0 0 88px;
    }

    body.checkout-page .form-section {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    body.checkout-page .form-control,
    body.checkout-page select.form-control,
    body.checkout-page textarea.form-control,
    body.checkout-page .checkout-purchase-type,
    body.checkout-page .checkout-quantity {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 16px;
    }

    body.checkout-page .paper-finish-options,
    body.checkout-page .purchase-type-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkout-size-list {
        gap: 12px;
        margin: 12px 0 16px;
    }

    .checkout-size-row {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 14px;
    }

    .checkout-size-info strong {
        font-size: 16px;
    }

    .checkout-size-info small,
    .checkout-size-prices {
        font-size: 14px;
    }

    .checkout-size-controls {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .checkout-control .checkout-purchase-type,
    .checkout-control .checkout-quantity {
        width: 100% !important;
        max-width: none !important;
        min-height: 48px;
        font-size: 16px;
    }

    .checkout-order-summary-header {
        padding: 12px 14px;
        font-size: 14px;
    }

    .checkout-order-summary-table {
        padding: 4px 14px 8px;
        overflow-x: auto;
    }

    .checkout-order-summary-head {
        display: none;
    }

    .checkout-order-summary-row {
        grid-template-columns: 1fr auto;
        gap: 6px 12px;
        padding: 14px 0;
        font-size: 14px;
    }

    .checkout-order-summary-row span:nth-child(1) {
        grid-column: 1 / 2;
        font-weight: 600;
    }

    .checkout-order-summary-row span:nth-child(2),
    .checkout-order-summary-row span:nth-child(3) {
        grid-column: 1 / 2;
        text-align: left;
        font-weight: 400;
        opacity: .8;
        font-size: 13px;
    }

    .checkout-order-summary-row span:nth-child(2)::before {
        content: "Type: ";
        opacity: .7;
    }

    .checkout-order-summary-row span:nth-child(3)::before {
        content: "Quantity: ";
        opacity: .7;
        font-weight: 400;
    }

    .checkout-order-summary-row span:nth-child(3) {
        font-weight: 400;
    }

    .checkout-order-summary-row span:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 1 / 4;
        align-self: center;
        text-align: right;
        font-size: 16px;
    }

    .checkout-shipping-note {
        padding: 0 14px 12px;
        font-size: 13px;
    }

    .checkout-order-summary-subtotal,
    .checkout-order-summary-total {
        padding: 12px 14px;
        font-size: 15px;
    }

    .checkout-order-summary-total strong {
        font-size: 18px;
    }

    body.checkout-page #paypal-button-container {
        max-width: 100%;
    }

    body.checkout-page .order-page .alert {
        max-width: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    body.checkout-page .order-page {
        padding: 22px 12px 48px;
    }

    .checkout-size-prices {
        flex-direction: column;
        gap: 4px;
    }

    body.checkout-page .checkout-detail-copy .artist-profile-content h3 {
        font-size: 20px;
    }
}

.purchase-type-card,
.paper-finish-card {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.purchase-type-card {
    display: flex;
    cursor: pointer;
}

.paper-finish-card {
    display: block;
    cursor: pointer;
}

.purchase-type-card input,
.paper-finish-card input[type="radio"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
}

.purchase-type-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 18px;
    border: 1px solid #d2d0ca;
    border-radius: 4px;
    background: #fff;
}

.purchase-type-content strong,
.paper-finish-content strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.purchase-type-content small {
    opacity: .7;
    line-height: 1.5;
}

.purchase-type-card:has(input:checked) .purchase-type-content,
.paper-finish-card:has(input:checked),
.print-size-card input:checked + .print-size-content {
    border-color: #172f45;
    background: #f5f3ed;
    box-shadow: 0 0 0 2px rgba(23, 47, 69, .08);
}

.form-help-text {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.7;
    opacity: .8;
}

.selected-artwork-price {
    margin: 0 0 28px;
    padding: 20px 22px;
    background: #f6f4ef;
    border: 1px solid rgba(0, 0, 0, .08);
}

.selected-price-label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.selected-price-details {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 18px;
}

.print-size-card.unavailable {
    opacity: .55;
}

.size-unavailable {
    font-size: 13px;
    opacity: .7;
}

.paypal-checkout {
    max-width: 420px;
}

.checkout-result {
    max-width: 720px;
    margin: 0 auto 36px;
}

.checkout-result-actions {
    text-align: center;
}

@media (max-width: 760px) {
    .purchase-type-options,
    .print-size-options {
        grid-template-columns: 1fr;
    }
}

/* Checkout artwork detail copy */
.checkout-detail-copy {
    padding: 8px 0;
}

.checkout-detail-copy .detail-location {
    margin: 0 0 8px;
}

.checkout-detail-copy .detail-description {
    margin: 16px 0 20px;
    font-size: 16px;
    line-height: 1.5;
}

.checkout-detail-copy .artist-profile-section {
    margin: 24px 0 12px;
}

.checkout-detail-copy .artist-profile-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 12px;
}

.checkout-detail-copy .artist-profile-content h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 500;
}

.checkout-detail-copy .artist-intro {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 10px;
    opacity: .85;
}

.checkout-detail-copy .artist-learn-more {
    color: var(--gold, #bd870d);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.checkout-detail-copy .artist-learn-more:hover {
    text-decoration: underline;
}

.checkout-detail-copy .meta-block {
    margin-top: 18px;
}

/* Match homepage content width (max 1600px, ~4% side padding) */
body.home-width {
    max-width: 1600px;
    margin: 0 auto;
    background: #f8f7f4;
}

body.home-width .page-hero {
    padding: 55px 4%;
    background: linear-gradient(90deg, #f5f0e7, #eee7da);
}

body.home-width .gallery-grid {
    padding: 24px 2%;
    background: #f8f7f4;
}

body.home-width .pagination {
    padding-left: 2%;
    padding-right: 2%;
    background: #f8f7f4;
}

body.home-width.contact-page .contact-hero {
    padding: 90px 4% 80px;
}

body.home-width.contact-page .contact-intro,
body.home-width.contact-page .contact-form-section {
    padding-left: 4%;
    padding-right: 4%;
}

body.home-width.contact-page .contact-info-section {
    padding: 12px 4% 28px;
}

body.home-width.contact-page .contact-social {
    padding-left: 4%;
    padding-right: 4%;
}

body.home-width.contact-page .info-grid {
    width: min(1120px, 100%);
}

body.home-width.contact-page .contact-form-wrapper {
    width: min(720px, 100%);
}

/* Category / gallery pages */
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 20px 3%;
    }

    body.home-width .gallery-grid {
        padding: 20px 3%;
    }
}

@media (max-width: 900px) {
    .page-hero {
        padding: 40px 5% 36px;
    }

    body.home-width .page-hero {
        padding: 40px 5% 36px;
    }

    .page-hero h1 {
        font-size: clamp(34px, 7vw, 52px);
        line-height: 1.08;
        margin-bottom: 12px;
    }

    .page-hero p:last-child {
        font-size: 17px;
        max-width: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 16px 3%;
    }

    body.home-width .gallery-grid {
        padding: 16px 3%;
    }

    .gallery-card {
        height: 240px;
    }

    .gallery-card strong {
        font-size: 17px;
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding: 32px 16px 28px;
    }

    body.home-width .page-hero {
        padding: 32px 4% 28px;
    }

    body.home-width .gallery-grid,
    body.home-width .pagination {
        padding-left: 4%;
        padding-right: 4%;
    }

    .page-hero .eyebrow {
        font-size: 12px;
        letter-spacing: .08em;
    }

    .page-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.1;
    }

    .page-hero p:last-child {
        font-size: 15px;
        line-height: 1.55;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }

    .gallery-card {
        height: 210px;
    }

    .gallery-card span {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .gallery-card strong {
        font-size: 15px;
    }

    .gallery-card small {
        font-size: 12px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
        padding: 16px 12px 28px;
    }

    .pagination a,
    .pagination span {
        width: 36px;
        height: 36px;
    }

    .collections-empty {
        margin: 8px 0 16px !important;
        padding: 28px 16px;
    }

    .collections-empty h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 28px 14px 24px;
    }

    .page-hero h1 {
        font-size: clamp(28px, 10vw, 36px);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .gallery-card {
        height: min(58vw, 280px);
    }

    .gallery-card strong {
        font-size: 18px;
    }

    .gallery-card small {
        font-size: 13px;
    }
}

/* Wholesale inquiry modal */
.wholesale-inquiry-trigger {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wholesale-inquiry-trigger:hover {
    color: var(--gold, #bd870d);
}

.wholesale-inquiry-dialog {
    border: 0;
    padding: 0;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    background: transparent;
}

.wholesale-inquiry-dialog::backdrop {
    background: rgba(8, 40, 75, .55);
}

.wholesale-inquiry-panel {
    margin: 0;
    background: #f8f7f4;
    color: #08284b;
    border: 1px solid #d2d0ca;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.wholesale-inquiry-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 12px;
    border-bottom: 1px solid #e4dfd4;
}

.wholesale-inquiry-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
}

.wholesale-inquiry-header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    opacity: .85;
}

.wholesale-inquiry-close {
    width: 36px;
    height: 36px;
    border: 1px solid #d2d0ca;
    background: #fff;
    color: #08284b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.wholesale-inquiry-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 18px 22px;
}

.wholesale-inquiry-fields .form-group {
    margin: 0;
}

.wholesale-inquiry-message {
    grid-column: 1 / -1;
}

.wholesale-inquiry-fields label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .75;
}

.wholesale-inquiry-fields .form-control {
    width: 100%;
    box-sizing: border-box;
}

.wholesale-inquiry-alert {
    margin: 14px 22px 0;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #c8e6c9;
    background: #e8f5e9;
    color: #1b5e20;
}

.wholesale-inquiry-alert.is-error {
    border-color: #f5c6cb;
    background: #fdecea;
    color: #8a1f11;
}

.wholesale-inquiry-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 22px 22px;
}

.wholesale-inquiry-actions .button {
    cursor: pointer;
}

@media (max-width: 600px) {
    .wholesale-inquiry-fields {
        grid-template-columns: 1fr;
    }

    .wholesale-inquiry-actions {
        flex-direction: column-reverse;
    }

    .wholesale-inquiry-actions .button {
        width: 100%;
        justify-content: center;
    }
}
