:root {
    color-scheme: light;
    --ink: #1f2328;
    --muted: #6a737d;
    --line: #d9dee5;
    --paper: #ffffff;
    --wash: #f5f7f9;
    --accent: #8a5a18;
    --accent-dark: #5f3b0d;
    --ok: #157347;
    --bad: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    color: var(--ink);
    background: var(--wash);
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    flex: 1;
    padding: 32px 0 56px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 18px max(16px, calc((100vw - 1180px) / 2));
    color: var(--muted);
    background: var(--paper);
}

.site-nav {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--ink);
}

.brand img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
}

.nav-links a.active {
    font-weight: 700;
}

.nav-links form {
    margin: 0;
}

button,
.primary-button,
.secondary-button {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    font: inherit;
}

.primary-button {
    background: var(--accent);
    color: white;
}

.secondary-button {
    background: #eceff3;
    color: var(--ink);
}

.small {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
}

.hero {
    min-height: 440px;
    display: grid;
    align-items: center;
    border-radius: 8px;
    padding: 56px;
    background:
        linear-gradient(90deg, rgba(31, 35, 40, 0.82), rgba(31, 35, 40, 0.32)),
        url("/images/home-hero-brewery.jpg") center/cover;
    color: white;
}

.hero h1,
.page-header h1,
.page-header > h2 {
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 64px);
    letter-spacing: 0;
}

.breadcrumbs {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    color: #a7adb4;
    content: "→";
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs a:hover {
    color: var(--accent-dark);
}

.hero-copy {
    max-width: 680px;
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions,
.actions,
.row-between {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.page-header,
.narrow-page {
    margin-bottom: 28px;
}

.narrow-page {
    width: min(680px, 100%);
}

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

.section-grid,
.admin-grid,
.catalog-grid {
    display: grid;
    gap: 18px;
}

.section-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 24px;
}

.catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-layout.with-order .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-grid a,
.section-grid article,
.content-list article,
.form-panel,
.table-panel,
.status-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.auth-shell {
    width: min(520px, 100%);
    margin: 0 auto;
}

.auth-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.auth-panel h2 {
    margin-top: 0;
}

.auth-panel form,
.auth-actions {
    display: grid;
    gap: 14px;
}

.auth-actions {
    grid-template-columns: 1fr 1fr;
}

.auth-panel .muted {
    margin-bottom: 0;
    line-height: 1.5;
}

.beer-card {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 5 / 7;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #20252b;
    cursor: pointer;
    outline: none;
}

.disabled-card {
    opacity: .72;
}

.beer-image {
    position: absolute;
    inset: 0;
    background: #e8edf2;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-dark);
}

.beer-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    overflow-y: auto;
    padding: 22px;
    color: #fff;
    background: linear-gradient(180deg, rgba(14, 17, 20, .12) 5%, rgba(14, 17, 20, .94) 70%);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: auto;
    transition: opacity .25s ease, transform .25s ease;
    overflow-wrap: anywhere;
}

.product-card:hover .product-card-overlay,
.product-card:focus .product-card-overlay,
.product-card:focus-within .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(138, 90, 24, .42);
}

.product-card-detail-link {
    color: inherit;
}

.product-card-detail-link::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
}

.product-card-footer,
.product-card-footer button {
    position: relative;
    z-index: 3;
}

.product-card-heading {
    flex-direction: row;
    align-items: center;
}

.product-card-heading h2 {
    margin: 0;
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.1;
}

.product-card-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .82);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card-specs {
    gap: 6px;
}

.product-card-specs dt {
    color: rgba(255, 255, 255, .68);
}

.product-card-specs dd {
    color: #fff;
    text-align: right;
}

.product-card-footer {
    display: flex;
    margin-top: 2px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 18px;
}

.product-details-dialog {
    width: min(1040px, calc(100% - 56px));
    max-height: calc(100vh - 56px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

.product-details-dialog::backdrop {
    background: rgba(10, 13, 16, .78);
}

.product-details-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, .95fr) minmax(380px, 1.05fr);
    grid-template-areas: "media content";
    max-height: calc(100vh - 56px);
    margin: 0;
    overflow: auto;
}

.product-details-close-form {
    position: absolute;
    inset: 0 0 auto auto;
    z-index: 3;
    margin: 0;
}

.product-details-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(20, 24, 28, .82);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

.product-details-media {
    grid-area: media;
    min-height: min(680px, calc(100vh - 56px));
    display: grid;
    place-items: start center;
    overflow: hidden;
    padding: 24px;
    background: linear-gradient(145deg, #f1f3f5, #e2e7ec);
    color: var(--accent-dark);
    font-size: 48px;
    font-weight: 800;
}

.product-details-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.product-details-content {
    grid-area: content;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
    overflow-y: auto;
    padding: 58px 42px 38px;
    background: var(--paper);
}

.product-details-content h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.product-details-header .eyebrow,
.product-details-official-name {
    margin: 0;
}

.product-details-header .eyebrow {
    color: var(--accent);
    font-size: 13px;
}

.product-details-official-name {
    margin-top: 8px;
    font-size: 16px;
}

.product-details-description {
    margin: 0;
    padding-left: 18px;
    border-left: 3px solid var(--accent);
    white-space: pre-line;
    line-height: 1.65;
}

.product-details-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-details-specs div {
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--wash);
}

.product-details-specs dt {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-details-specs dd {
    overflow-wrap: anywhere;
    font-weight: 700;
}

.product-details-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.product-details-price {
    display: grid;
    gap: 3px;
}

.product-details-price span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-details-price strong {
    font-size: 26px;
}

.card-footer,
.row-between {
    justify-content: space-between;
}

.status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
}

.status-pill.available {
    background: #ecfdf3;
    color: var(--ok);
}

.status-pill.unavailable {
    background: #f1f3f5;
    color: var(--muted);
}

.compact-list,
.content-list {
    display: grid;
    gap: 12px;
}

.news-page-lead {
    max-width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(31, 35, 40, .06);
}

.news-card::after {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(138, 90, 24, .07);
    content: "";
    pointer-events: none;
}

.news-card-featured {
    grid-column: 1 / -1;
    padding: clamp(30px, 5vw, 54px);
    background: linear-gradient(135deg, #fff 0%, #f5eee4 100%);
}

.news-card-header {
    position: relative;
    top: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    border: 0;
    background: transparent;
}

.news-card-header .eyebrow {
    margin: 2px 0 8px;
    color: var(--accent);
    font-size: 12px;
}

.news-card h2 {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 38px);
    line-height: 1.15;
}

.news-card:not(.news-card-featured) h2 {
    font-size: clamp(22px, 2.4vw, 30px);
}

.news-card h2 a {
    color: inherit;
}

.news-read-more {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-weight: 750;
}

.news-date {
    display: grid;
    min-width: 62px;
    justify-items: center;
    padding: 9px 10px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.news-date span {
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0;
}

.news-summary {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    color: #3f464d;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.55;
}

.news-body {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.7;
}

.news-body p {
    margin: 0;
}

.news-empty-state {
    display: grid;
    justify-items: center;
    padding: 64px 24px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--paper);
    text-align: center;
}

.news-empty-state span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
}

.news-empty-state .news-empty-logo {
    overflow: hidden;
    padding: 0;
    background: #000;
}

.news-empty-logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-empty-state h2,
.news-empty-state p {
    margin: 0;
}

.news-empty-state p {
    margin-top: 8px;
}

.locations-page-lead {
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
}

.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    align-items: center;
    gap: clamp(36px, 7vw, 96px);
    min-height: 500px;
    overflow: hidden;
    padding: clamp(36px, 6vw, 72px);
    border-radius: 18px;
    background:
        radial-gradient(circle at 86% 18%, rgba(220, 162, 79, .17) 0 110px, transparent 111px),
        linear-gradient(135deg, #292e34 0%, #15181c 72%);
    color: #fff;
}

.about-hero::after {
    position: absolute;
    right: -120px;
    bottom: -210px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    content: "";
}

.about-hero-copy,
.about-hero-mark {
    position: relative;
    z-index: 1;
}

.about-hero .eyebrow,
.about-process .eyebrow {
    margin: 0 0 16px;
    color: #dca24f;
    font-size: 12px;
}

.about-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6.4vw, 76px);
    line-height: .98;
    letter-spacing: -.035em;
}

.about-hero-lead {
    max-width: 700px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-weight: 700;
}

.about-link span {
    color: #dca24f;
    font-size: 22px;
    transition: transform .2s ease;
}

.about-link:hover span {
    transform: translateX(4px);
}

.about-hero-mark {
    display: grid;
    width: min(100%, 300px);
    aspect-ratio: 1;
    place-content: center;
    justify-items: center;
    margin-left: auto;
    border: 1px solid rgba(220, 162, 79, .55);
    border-radius: 50%;
    box-shadow:
        0 0 0 14px rgba(220, 162, 79, .06),
        0 0 0 30px rgba(220, 162, 79, .035);
    color: #dca24f;
}

.about-hero-mark strong {
    margin: 7px 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(72px, 10vw, 112px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.08em;
}

.about-hero-mark span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.about-hero-mark img {
    display: block;
    width: 84%;
    height: 84%;
    border-radius: 50%;
    object-fit: cover;
}

.about-statement {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 8vw, 110px);
    align-items: start;
    margin: clamp(54px, 8vw, 90px) 0 34px;
}

.about-statement .eyebrow,
.about-partner-panel .eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
}

.about-statement h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.about-statement-copy {
    display: grid;
    gap: 18px;
}

.about-statement-copy p {
    margin: 0;
    color: #454c54;
    font-size: 18px;
    line-height: 1.7;
}

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

.about-values article {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(31, 35, 40, .05);
}

.about-values article::after {
    position: absolute;
    right: -42px;
    bottom: -62px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #f5eee4;
    content: "";
}

.about-value-number {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: 2px solid #dca24f;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.about-values h3 {
    position: relative;
    z-index: 1;
    margin: 32px 0 10px;
    font-size: 24px;
}

.about-values p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-process {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 7vw, 86px);
    margin-top: 24px;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 18px;
    background: #202429;
    color: #fff;
}

.about-process-heading h2 {
    margin: 0;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.about-process-heading > p:last-child {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 17px;
    line-height: 1.65;
}

.about-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-steps li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.about-steps li:first-child {
    padding-top: 0;
    border-top: 0;
}

.about-steps li:last-child {
    padding-bottom: 0;
}

.about-steps > li > span {
    color: #dca24f;
    font-size: 13px;
    font-weight: 800;
}

.about-steps h3 {
    margin: -4px 0 7px;
    font-size: 21px;
}

.about-steps p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    line-height: 1.55;
}

.about-partner-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 24px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #e5d2b6;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #f5eee4 100%);
}

.about-partner-panel h2 {
    margin: 0;
    font-size: clamp(27px, 3.5vw, 40px);
    line-height: 1.15;
}

.about-partner-panel p:last-child {
    max-width: 670px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.about-partner-panel > .primary-button {
    flex: 0 0 auto;
}

.about-contacts {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(34px, 7vw, 90px);
    margin-top: 24px;
    padding: clamp(30px, 6vw, 60px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.about-contacts .eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
}

.about-contacts h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.about-contacts-heading > p:last-child {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.about-contact-list {
    display: grid;
    gap: 0;
}

.about-contact-list > div {
    display: grid;
    gap: 6px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.about-contact-list > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.about-contact-list > div:last-child {
    padding-bottom: 0;
}

.about-contact-list span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.about-contact-list a,
.about-contact-list address {
    color: var(--ink);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
}

.about-contact-list p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    min-height: 600px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 14px 38px rgba(31, 35, 40, .07);
}

.product-page-media {
    display: grid;
    min-width: 0;
    min-height: 560px;
    place-items: center;
    overflow: hidden;
    padding: clamp(24px, 5vw, 52px);
    background:
        radial-gradient(circle at 50% 35%, rgba(220, 162, 79, .15), transparent 42%),
        #edf0f3;
    color: var(--accent-dark);
    font-size: 64px;
    font-weight: 800;
}

.product-page-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: contain;
    object-position: center top;
}

.product-page-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 6vw, 72px);
}

.product-page-content .eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
}

.product-page h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.product-page-official-name {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.product-page-description {
    margin: 28px 0 0;
    color: #454c54;
    font-size: 18px;
    line-height: 1.7;
}

.product-page-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 30px 0 0;
}

.product-page-specs div {
    display: grid;
    gap: 5px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.product-page-specs dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.product-page-specs dd {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.product-page-price {
    display: grid;
    gap: 4px;
    margin-top: 25px;
}

.product-page-price span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.product-page-price strong {
    font-size: 30px;
}

.product-page-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.news-article {
    width: min(900px, 100%);
    margin: 0 auto;
}

.news-article-header {
    position: static;
    padding: clamp(30px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #f5eee4 100%);
}

.news-article-header .eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
}

.news-article h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.news-article time {
    display: block;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

.news-article-summary {
    margin: 28px 0 0;
    font-size: clamp(19px, 2.4vw, 23px);
    font-weight: 650;
    line-height: 1.55;
}

.news-article-body {
    padding: clamp(30px, 6vw, 64px);
    color: #3f464d;
    font-size: 18px;
    line-height: 1.8;
}

.news-article-body p {
    margin: 0;
    white-space: pre-line;
}

.news-article-footer {
    position: static;
    justify-content: flex-start;
    padding: 24px 0 0;
    border: 0;
    background: transparent;
}

.locations-overview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 38px);
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 20%, rgba(255, 255, 255, .12) 0 90px, transparent 91px),
        linear-gradient(135deg, #24282d, #15181c);
    color: #fff;
}

.locations-overview p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.6;
}

.locations-count {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap;
}

.locations-count strong {
    color: #dca24f;
    font-size: clamp(48px, 7vw, 76px);
    line-height: .9;
}

.locations-count span {
    max-width: 100px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.location-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(31, 35, 40, .06);
}

.location-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(var(--accent), #dca24f);
    content: "";
}

.location-card-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

.location-card-header .eyebrow {
    margin: 2px 0 7px;
    color: var(--accent);
    font-size: 12px;
}

.location-card h2 {
    margin: 0;
    font-size: clamp(23px, 2.5vw, 30px);
    line-height: 1.2;
}

.location-marker {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: #f5eee4;
    color: var(--accent-dark);
}

.location-marker svg {
    width: 25px;
    height: 25px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.location-details {
    display: grid;
    gap: 16px;
    margin: 26px 0;
}

.location-details > div {
    display: grid;
    gap: 5px;
}

.location-details span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.location-details address {
    font-size: 17px;
    font-style: normal;
    line-height: 1.55;
}

.location-phone {
    width: max-content;
    font-size: 17px;
    font-weight: 700;
}

.location-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: auto 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: inherit;
}

.locations-empty-state {
    display: grid;
    justify-items: center;
    padding: 64px 24px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--paper);
    text-align: center;
}

.locations-empty-state h2,
.locations-empty-state p {
    margin: 0;
}

.locations-empty-state h2 {
    margin-top: 16px;
}

.locations-empty-state p {
    margin-top: 8px;
}

.compact-list a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.info-band {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.spec-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.spec-list dt {
    color: var(--muted);
}

.spec-list dd {
    margin: 0;
}

.form-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.form-panel form {
    display: grid;
    gap: 14px;
}

.admin-product-form h2 {
    margin: 0;
    font-size: 24px;
}

.image-upload-status {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.admin-image-preview {
    width: min(240px, 100%);
    max-height: 180px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: contain;
}

.validation-message {
    color: #b42318;
}

.anchor-section {
    scroll-margin-top: 88px;
}

.partner-disclosure {
    margin-top: 14px;
}

.partner-disclosure summary {
    list-style: none;
    width: fit-content;
}

.partner-disclosure summary::-webkit-details-marker {
    display: none;
}

.partner-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.partner-form h3 {
    margin: 0;
    font-size: 18px;
}

.partner-form form {
    display: grid;
    gap: 14px;
}

.catalog-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.catalog-layout.with-order {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.order-panel {
    position: sticky;
    top: 88px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.order-panel h2 {
    margin: 0;
    font-size: 22px;
}

.order-count {
    color: var(--muted);
    white-space: nowrap;
}

.cart-lines {
    display: grid;
    gap: 16px;
    margin: 18px 0;
}

.cart-line {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.cart-line > div:first-child {
    display: grid;
    gap: 3px;
}

.quantity-control {
    display: grid;
    grid-template-columns: 40px minmax(56px, 1fr) 40px;
    gap: 6px;
}

.quantity-control button {
    min-height: 40px;
    padding: 0;
    background: #eceff3;
    color: var(--ink);
    font-size: 20px;
}

.quantity-control input {
    text-align: center;
}

.text-button {
    min-height: auto;
    padding: 4px 0;
    background: transparent;
    color: var(--accent-dark);
}

.text-button.danger {
    color: var(--bad);
}

.order-form {
    display: grid;
    gap: 14px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.inline-check {
    display: flex;
    align-items: center;
}

input,
textarea,
select {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 10px;
    font: inherit;
}

textarea {
    min-height: 96px;
}

.alert {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.alert.info {
    background: #eef6ff;
    border: 1px solid #bdd7f0;
}

.alert.success {
    background: #ecfdf3;
    border: 1px solid #b7e4c7;
}

.alert.error {
    background: #fff1f0;
    border: 1px solid #ffc9c4;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

@media (max-width: 760px) {
    .site-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .hero {
        padding: 28px;
    }

    footer,
    .row-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-actions,
    .catalog-layout.with-order {
        grid-template-columns: 1fr;
    }

    .order-panel {
        position: static;
    }

    .product-card-overlay {
        padding: 18px;
    }

    .product-details-dialog {
        width: min(100% - 24px, 980px);
        max-height: calc(100vh - 24px);
    }

    .product-details-layout {
        max-height: calc(100vh - 24px);
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "content";
    }

    .product-details-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
        padding: 16px;
    }

    .product-details-content {
        padding: 28px 20px;
    }

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

    .news-card-featured {
        grid-column: auto;
    }

    .locations-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .about-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-hero-mark {
        width: min(230px, 68vw);
        margin: 10px auto;
    }

    .about-statement,
    .about-process {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-partner-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-contacts,
    .product-page {
        grid-template-columns: 1fr;
    }

    .product-page-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .catalog-grid,
    .catalog-layout.with-order .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 761px) and (max-width: 1040px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-layout.with-order .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-layout.with-order {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 520px) {
    .catalog-grid,
    .catalog-layout.with-order .catalog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-details-specs {
        grid-template-columns: 1fr;
    }

    .product-details-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-details-actions .primary-button {
        width: 100%;
    }

    .news-card,
    .news-card-featured {
        padding: 22px;
    }

    .news-card-header {
        grid-template-columns: 1fr;
    }

    .news-date {
        width: max-content;
    }

    .location-card {
        padding: 22px;
    }

    .location-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .location-actions a {
        width: 100%;
    }

    .about-hero {
        padding: 30px 24px;
    }

    .about-hero h1 {
        font-size: clamp(38px, 13vw, 54px);
    }

    .about-hero-mark {
        width: min(190px, 66vw);
    }

    .about-values article {
        padding: 24px;
    }

    .about-process {
        padding: 30px 24px;
    }

    .about-partner-panel > .primary-button {
        width: 100%;
    }

    .product-page-specs {
        grid-template-columns: 1fr;
    }

    .product-page-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (hover: none) {
    .product-card-overlay {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card-overlay {
        transition: none;
    }
}
