.shop-page {
    --black: #0d0b09;
    --red: #8f2f24;
    --yellow: #d99a2b;
    --paper: #f4efe5;
    min-height: 100vh;
    background: var(--paper);
    color: var(--black);
}

.shop-page a {
    color: inherit;
    text-decoration: none;
}

.shop-hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    background: var(--black);
    color: #fff;
}

.shop-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}

.shop-veil {
    position: absolute;
    inset: 0;
    background:
        rgba(13, 11, 9, 0.18),
        linear-gradient(0deg, rgba(13, 11, 9, 0.42), transparent 40%);
}

.shop-header,
.shop-intro,
.shop-section,
.shop-contact {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.shop-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.5rem;
}

.shop-logo {
    font-family: var(--font-norse, serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-nav {
    display: flex;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-nav a:hover {
    color: #fff;
}

.shop-nav form {
    display: contents;
}

.shop-nav button {
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.shop-nav button:hover {
    color: #fff;
}

.shop-intro {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: calc(92vh - 88px);
    align-content: center;
    padding-block: 4rem 8rem;
}

.shop-subtitle,
.shop-section-head p,
.shop-contact p {
    margin: 0;
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.shop-intro h1 {
    margin: 1rem 0 0;
    max-width: 9ch;
    color: #fff;
    font-size: clamp(4.5rem, 14vw, 12rem);
    font-weight: 800;
    line-height: 0.85;
    text-transform: uppercase;
}

.shop-lead {
    max-width: 34rem;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.shop-cta {
    display: inline-flex;
    width: fit-content;
    min-height: 3rem;
    align-items: center;
    margin-top: 2rem;
    border-bottom: 2px solid currentColor;
    color: var(--yellow);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-cta:hover {
    color: #fff;
}

.shop-section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.shop-section-head {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.shop-section-head p,
.shop-contact p {
    color: var(--red);
}

.shop-section-head h2,
.shop-contact h2 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.95;
}

.shop-list {
    border-top: 1px solid rgba(13, 11, 9, 0.18);
}

.shop-row {
    display: grid;
    grid-template-columns: 5.5rem 7rem minmax(0, 1fr) auto;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    border-bottom: 1px solid rgba(13, 11, 9, 0.18);
    padding-block: 1rem;
}

.shop-row:hover {
    color: var(--red);
}

.shop-row-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(13, 11, 9, 0.08);
}

.shop-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.shop-row:hover .shop-row-thumb img {
    transform: scale(1.04);
}

.shop-row-meta,
.shop-row-price {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-row-main {
    display: grid;
    gap: 0.35rem;
}

.shop-row-title {
    font-size: clamp(1.4rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.05;
}

.shop-row-description {
    max-width: 38rem;
    color: rgba(13, 11, 9, 0.62);
    font-size: 0.98rem;
    line-height: 1.55;
}

.shop-row:hover .shop-row-description {
    color: rgba(143, 47, 36, 0.72);
}

.shop-contact {
    padding-block: clamp(4rem, 8vw, 7rem);
    border-top: 1px solid rgba(13, 11, 9, 0.18);
}

.shop-contact h2 {
    max-width: 56rem;
    margin-top: 1rem;
}

.shop-contact .shop-cta:hover {
    color: var(--red);
}

.product-page {
    background: #f4efe5;
}

.product-header {
    color: var(--black);
}

.product-nav {
    color: rgba(13, 11, 9, 0.62);
}

.product-nav a:hover,
.product-nav button:hover {
    color: var(--red);
}

.product-detail,
.product-edit {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.56fr) minmax(280px, 0.44fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    padding-block: clamp(1.5rem, 5vw, 4rem);
}

.product-photo-frame {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(13, 11, 9, 0.08);
}

.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-panel h1 {
    max-width: 11ch;
    margin: 0.85rem 0 0;
    font-size: clamp(2.4rem, 5.5vw, 4.75rem);
    line-height: 0.94;
    text-transform: uppercase;
}

.product-price {
    margin: 1.1rem 0 0;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-description {
    max-width: 34rem;
    margin: 1.1rem 0 0;
    color: rgba(13, 11, 9, 0.66);
    font-size: 1rem;
    line-height: 1.62;
}

.shop-status {
    margin-top: 1.5rem;
    border-left: 3px solid var(--red);
    padding: 0.8rem 1rem;
    background: rgba(143, 47, 36, 0.08);
    color: var(--red);
    font-weight: 800;
}

.product-edit {
    padding-block: clamp(3rem, 7vw, 6rem);
    border-top: 1px solid rgba(13, 11, 9, 0.18);
}

.product-form {
    display: grid;
    max-width: 42rem;
    gap: 1.25rem;
}

.product-order-form {
    display: grid;
    max-width: 26rem;
    margin-top: 1.2rem;
    gap: 1rem;
}

.product-field {
    display: grid;
    gap: 0.45rem;
}

.product-field label {
    color: rgba(13, 11, 9, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-field input,
.product-field textarea {
    width: 100%;
    border: 1px solid rgba(13, 11, 9, 0.24);
    background: rgba(255, 255, 255, 0.38);
    padding: 0.85rem 1rem;
    color: var(--black);
    font: inherit;
}

.product-field textarea {
    resize: vertical;
}

.product-save {
    width: fit-content;
    cursor: pointer;
    border: 0;
    background: var(--black);
    padding: 0.9rem 1.25rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-save:hover {
    background: var(--red);
}

.product-order-submit {
    width: fit-content;
    cursor: pointer;
    border: 0;
}

.manual-payment {
    margin-top: 1.7rem;
    border-left: 3px solid #ff5b24;
    background: rgba(255, 91, 36, 0.08);
    padding: 0.9rem 1rem;
    color: rgba(13, 11, 9, 0.72);
    font-size: 0.98rem;
    line-height: 1.55;
}

.manual-payment p {
    margin: 0;
}

.manual-payment strong {
    color: var(--black);
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .shop-header,
    .shop-intro,
    .shop-section,
    .shop-contact,
    .product-detail,
    .product-edit {
        width: min(100% - 1.25rem, 72rem);
    }

    .shop-nav {
        gap: 1rem;
        font-size: 0.72rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .shop-row {
        grid-template-columns: 4.75rem minmax(0, 1fr);
        gap: 0.8rem 1rem;
        padding-block: 0.95rem;
    }

    .shop-row-meta {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }

    .shop-row-main {
        grid-column: 2;
        grid-row: 2;
    }

    .shop-row-price {
        grid-column: 2;
        color: var(--red);
    }

    .shop-row-thumb {
        grid-row: 1 / span 3;
    }

    .shop-row-title {
        font-size: clamp(1.25rem, 7vw, 1.85rem);
    }

    .shop-row-description {
        font-size: 0.92rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
        align-items: start;
        padding-block: 1.5rem 2.5rem;
    }

    .product-panel h1 {
        max-width: 12ch;
        font-size: clamp(2.25rem, 12vw, 3.8rem);
    }

    .product-description {
        font-size: 0.98rem;
    }

    .product-edit {
        padding-block: 2.5rem 4rem;
    }

    .product-form {
        max-width: none;
    }

    .manual-payment {
        font-size: 0.94rem;
    }
}
