@font-face {
    font-family: Modam;
    src: url("../fonts/modam-variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --ink: #1c1917;
    --ink-2: #44403c;
    --paper: #faf8f4;
    --surface: #fff;
    --sand: #eee7dd;
    --gold: #916a2c;
    --gold-soft: #d9c39e;
    --line: #d6d0c8;
    --muted: #6b645c;
    --danger: #b42318;
    --success: #166534;
    --shadow: 0 20px 60px rgba(35, 27, 18, 0.09);
    --radius: 3px;
    --shell: min(1200px, calc(100% - 48px));
    --font: Modam, Tahoma, sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
}
body,
button,
input,
select,
textarea {
    font-family: var(--font);
}
a {
    color: inherit;
    text-decoration: none;
}
button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}
.shop-shell {
    width: var(--shell);
    margin-inline: auto;
}
.skip-link {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-150%);
}
.skip-link:focus {
    transform: none;
}
.shop-announcement {
    min-height: 34px;
    padding: 6px 20px;
    background: var(--ink);
    color: #eee8df;
    text-align: center;
    font-size: 12px;
}
.shop-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(250, 248, 244, 0.94);
    border-bottom: 1px solid rgba(120, 105, 88, 0.16);
    backdrop-filter: blur(14px);
}
.shop-nav {
    height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.shop-brand {
    display: flex;
    width: 172px;
    align-items: center;
    justify-self: center;
}
.shop-brand img {
    display: block;
    width: 100%;
    height: auto;
}
.shop-nav nav {
    display: flex;
    gap: 28px;
    justify-self: start;
    font-size: 14px;
}
.shop-nav nav a,
.shop-actions a {
    transition: color 0.2s;
}
.shop-nav nav a:hover,
.shop-actions a:hover {
    color: var(--gold);
}
.shop-actions {
    justify-self: end;
    display: flex;
    gap: 20px;
}
.shop-actions a {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}
.shop-actions svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}
.shop-actions b {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
}
.flash {
    width: var(--shell);
    margin: 18px auto -2px;
    padding: 12px 16px;
    border: 1px solid;
    font-size: 14px;
}
.flash-success {
    background: #f0fdf4;
    color: var(--success);
    border-color: #bbdfc7;
}
.flash-error {
    background: #fff5f4;
    color: var(--danger);
    border-color: #efc1bc;
}
.kicker {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 700;
}
.primary-button,
.secondary-button {
    min-height: 48px;
    border: 1px solid var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 14px;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}
.primary-button {
    background: var(--ink);
    color: #fff;
}
.primary-button:hover {
    background: #302b28;
    transform: translateY(-1px);
}
.secondary-button {
    background: transparent;
    color: var(--ink);
}
.secondary-button:hover {
    background: var(--ink);
    color: #fff;
}
.wide-button {
    width: 100%;
}
.text-button {
    border: 0;
    background: transparent;
    color: var(--ink-2);
    min-height: 44px;
    padding: 8px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.text-button:hover {
    color: var(--gold);
}
:focus-visible {
    outline: 3px solid #c98b2b;
    outline-offset: 3px;
}
.shop-footer {
    margin-top: 110px;
    background: var(--ink);
    color: #eee8df;
}
.footer-inner {
    padding: 70px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}
.footer-inner > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.footer-logo {
    width: 176px;
    align-items: flex-start;
    justify-self: start;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff;
}
.footer-inner p {
    color: #aaa29a;
    margin: 16px 0 0;
}
.footer-inner strong {
    font-size: 13px;
    color: var(--gold-soft);
    margin-bottom: 10px;
}
.footer-inner a:not(.shop-brand) {
    font-size: 13px;
    color: #ded7cf;
}
.shop-toast {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 100;
    max-width: 360px;
    padding: 14px 18px;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: 0.25s;
}
.shop-toast.show {
    opacity: 1;
    transform: none;
}
.catalog-hero {
    padding: 80px 0 74px;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
}
.catalog-hero h1,
.page-heading h1,
.auth-card h1,
.product-detail h1,
.editorial-page h1,
.account-head h1,
.order-title h1,
.result-card h1 {
    font-size: clamp(36px, 5vw, 67px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 0 0 18px;
    font-weight: 650;
}
.catalog-hero p:last-child,
.page-heading > p:last-child {
    max-width: 580px;
    margin: 0;
    color: var(--muted);
}
.catalog-body {
    padding-top: 42px;
}
.catalog-toolbar {
    display: grid;
    grid-template-columns: auto 1.3fr auto 1fr auto 1fr auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 44px;
    padding: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.54);
}
.catalog-toolbar label {
    font-size: 12px;
    color: var(--muted);
    align-self: center;
}
.catalog-toolbar input,
.catalog-toolbar select,
.field input,
.field select,
.field textarea,
.stack-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 10px 13px;
    color: var(--ink);
    font-size: 16px;
}
.catalog-toolbar button {
    min-height: 48px;
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 22px;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 20px;
}
.catalog-card {
    min-width: 0;
}
.catalog-image {
    position: relative;
    display: block;
    aspect-ratio: 0.82;
    overflow: hidden;
    background: #e7dfd4;
}
.catalog-image img {
    width: 100%;
    height: 100%;
    transition:
        transform 0.6s,
        filter 0.4s;
    filter: saturate(0.74);
}
.catalog-card:hover .catalog-image img {
    transform: scale(1.035);
    filter: saturate(0.95);
}
.catalog-image > span {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 9px;
    font-size: 10px;
}
.catalog-info {
    min-height: 85px;
    padding: 16px 2px 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.catalog-info h2,
.catalog-info h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 650;
}
.catalog-info p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.catalog-info strong {
    font-size: 13px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.catalog-info small {
    font-weight: 400;
}
.pagination {
    margin-top: 48px;
}
.pagination nav > div:first-child {
    display: none;
}
.pagination nav > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.pagination nav span,
.pagination nav a {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    padding: 6px;
}
.pagination svg {
    width: 18px;
}
.empty-state {
    grid-column: 1/-1;
    padding: 80px 20px;
    text-align: center;
    border: 1px solid var(--line);
    background: var(--surface);
}
.empty-state h2,
.empty-state h3 {
    font-size: 28px;
    margin: 0 0 8px;
}
.empty-state p {
    color: var(--muted);
    margin: 0 0 26px;
}
.product-page {
    padding-top: 60px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(45px, 8vw, 110px);
    align-items: start;
}
.product-gallery {
    aspect-ratio: 0.86;
    background: var(--sand);
}
.product-gallery img {
    width: 100%;
    height: 100%;
    filter: saturate(0.8);
}
.product-detail {
    position: sticky;
    top: 130px;
    padding-top: 12px;
}
.breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 56px;
}
.product-detail h1 {
    font-size: clamp(40px, 4.4vw, 64px);
    margin-bottom: 4px;
}
.product-material {
    color: var(--muted);
    margin: 0 0 25px;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 29px;
}
.product-price strong {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
}
.product-price del {
    color: #817870;
    font-size: 13px;
}
.product-description {
    color: var(--ink-2);
    line-height: 2.05;
    margin: 0 0 24px;
}
.product-promises {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-block: 1px solid var(--line);
}
.product-promises li {
    padding: 10px 22px;
    position: relative;
    font-size: 13px;
}
.product-promises li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--gold);
    font-weight: 700;
}
.stock-note {
    text-align: center;
    color: var(--success);
    font-size: 12px;
}
.product-detail details {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 15px;
}
.product-detail summary {
    cursor: pointer;
    font-weight: 650;
}
.product-detail details p {
    color: var(--muted);
    font-size: 13px;
}
.related-products {
    padding-top: 120px;
}
.related-products > h2 {
    font-size: 36px;
    margin: 0 0 30px;
}
.compact-grid {
    grid-template-columns: repeat(4, 1fr);
}
.compact-grid .catalog-image {
    aspect-ratio: 0.82;
}
.page-section {
    padding-top: 68px;
    min-height: 55vh;
}
.page-heading {
    margin-bottom: 46px;
}
.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
    gap: 55px;
    align-items: start;
}
.cart-list {
    border-top: 1px solid var(--line);
}
.cart-row {
    position: relative;
    display: grid;
    grid-template-columns: 105px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.cart-row img {
    width: 105px;
    height: 125px;
}
.cart-row h2 {
    font-size: 17px;
    margin: 0;
}
.cart-row p {
    color: var(--muted);
    font-size: 13px;
    margin: 4px 0 12px;
}
.cart-row > strong {
    font-size: 14px;
    align-self: start;
    margin-top: 8px;
}
.quantity-controls {
    display: inline-flex;
    border: 1px solid var(--line);
    height: 38px;
}
.quantity-controls button {
    width: 38px;
    border: 0;
    background: transparent;
    font-size: 18px;
}
.quantity-controls b {
    width: 34px;
    display: grid;
    place-items: center;
    font-size: 13px;
}
.remove-button {
    position: absolute;
    bottom: 21px;
    left: 0;
    border: 0;
    background: none;
    color: var(--danger);
    padding: 8px;
    font-size: 12px;
}
.order-summary {
    position: sticky;
    top: 120px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(34, 27, 19, 0.05);
}
.order-summary h2 {
    font-size: 21px;
    margin: 0 0 22px;
}
.order-summary dl {
    margin: 0 0 25px;
}
.order-summary dl > div,
.order-meta dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}
.order-summary dt,
.order-summary dd,
.order-meta dt,
.order-meta dd {
    margin: 0;
    font-size: 13px;
}
.summary-total {
    border-top: 1px solid var(--line);
    margin-top: 9px;
    padding-top: 16px !important;
    font-weight: 700;
}
.order-summary > p {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin: 14px 0 0;
}
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.checkout-form fieldset {
    border: 1px solid var(--line);
    padding: 25px;
    margin: 0;
    background: rgba(255, 255, 255, 0.5);
}
.checkout-form legend {
    padding: 0 10px;
    font-weight: 700;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label,
.stack-form label {
    font-size: 13px;
    font-weight: 600;
}
.field label span,
.stack-form label span {
    color: var(--danger);
}
.field textarea {
    resize: vertical;
}
.full-field {
    grid-column: 1/-1;
}
.check-field {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    font-size: 13px;
}
.check-field input {
    width: 19px;
    height: 19px;
}
.form-alert {
    background: #fff4f2;
    color: var(--danger);
    border: 1px solid #edc1bc;
    padding: 14px 18px;
}
.form-alert ul {
    margin: 7px 0 0;
}
.mini-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.mini-item img {
    width: 48px;
    height: 56px;
}
.mini-item span small {
    display: block;
    color: var(--muted);
}
.mini-item strong {
    font-variant-numeric: tabular-nums;
}
.checkout-summary dl {
    margin-top: 18px;
}
.auth-page {
    min-height: 670px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
    margin-top: 55px;
    box-shadow: var(--shadow);
}
.auth-visual {
    min-height: 670px;
    padding: 35px;
    background:
        linear-gradient(180deg, rgba(18, 15, 12, 0.08), rgba(18, 15, 12, 0.55)),
        url("../images/rozvash-hero-v2.jpg") center/cover;
    display: flex;
    align-items: flex-end;
    color: #fff;
}
.auth-visual span {
    font-size: 12px;
    letter-spacing: 0.2em;
    line-height: 1.6;
}
.auth-card {
    padding: clamp(45px, 7vw, 95px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-card h1 {
    font-size: clamp(34px, 4vw, 50px);
}
.auth-card > p:not(.kicker, .legal-note) {
    color: var(--muted);
    margin: 0 0 28px;
}
.stack-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stack-form input {
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.18em;
}
.stack-form .primary-button {
    margin-top: 13px;
}
.field-hint {
    font-size: 11px;
    color: var(--muted);
}
.field-error {
    color: var(--danger);
    font-size: 12px;
}
.auth-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
.auth-secondary form {
    margin: 0;
}
.legal-note {
    font-size: 11px;
    color: var(--muted);
    margin: 35px 0 0;
}
.legal-note a {
    text-decoration: underline;
}
.account-head,
.order-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.account-head h1,
.order-title h1 {
    font-size: 45px;
    margin-bottom: 5px;
}
.account-head p:last-child,
.order-title p:last-child {
    color: var(--muted);
    margin: 0;
}
.order-payment-action {
    margin-top: 12px;
}
.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 50px;
    padding-top: 40px;
}
.account-nav {
    display: flex;
    flex-direction: column;
}
.account-nav a {
    padding: 11px 13px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.account-nav a.active {
    background: var(--ink);
    color: #fff;
}
.account-content > h2 {
    margin: 0 0 18px;
}
.order-card {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 17px;
    margin-bottom: 10px;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 24, 18, 0.06);
}
.order-card > div {
    display: flex;
    flex-direction: column;
}
.order-card small {
    color: var(--muted);
    font-size: 10px;
}
.order-card span,
.order-card strong {
    font-size: 13px;
}
.status-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 27px;
    padding: 3px 9px;
    border-radius: 30px;
    background: #f1ede7;
    color: var(--ink-2);
    font-size: 11px !important;
}
.status-processing,
.status-preparing {
    background: #fff6d8;
    color: #765400;
}
.status-shipped {
    background: #e8f0ff;
    color: #174e9a;
}
.status-delivered {
    background: #e9f8ed;
    color: #166534;
}
.status-cancelled {
    background: #fff0ee;
    color: var(--danger);
}
.compact-empty {
    padding: 45px;
}
.back-link,
.secondary-link {
    display: inline-block;
    color: var(--muted);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.order-title {
    margin-top: 22px;
}
.order-detail-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 45px;
    margin-top: 35px;
}
.order-items-panel,
.order-meta section {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 24px;
}
.order-items-panel > h2,
.order-meta h2 {
    font-size: 19px;
    margin: 0 0 20px;
}
.order-item {
    display: grid;
    grid-template-columns: 75px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.order-item img {
    width: 75px;
    height: 88px;
}
.order-item h3 {
    font-size: 15px;
    margin: 0;
}
.order-item p,
.order-item small {
    font-size: 11px;
    color: var(--muted);
    margin: 2px 0;
}
.order-item > strong {
    font-size: 13px;
}
.order-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.order-meta section p {
    font-size: 13px;
    color: var(--muted);
}
.result-page {
    display: grid;
    place-items: center;
}
.result-card {
    width: min(680px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 55px;
    text-align: center;
    box-shadow: var(--shadow);
}
.result-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 25px;
    border: 2px solid;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 700;
}
.is-success .result-icon {
    color: var(--success);
    border-color: var(--success);
}
.is-pending .result-icon {
    color: var(--gold);
    border-color: var(--gold);
}
.is-failed .result-icon {
    color: var(--danger);
    border-color: var(--danger);
}
.result-card h1 {
    font-size: 39px;
}
.result-card > p:not(.kicker) {
    color: var(--muted);
}
.result-card dl {
    max-width: 430px;
    margin: 30px auto;
    border-block: 1px solid var(--line);
    padding: 12px 0;
}
.result-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 5px;
}
.result-card dt,
.result-card dd {
    margin: 0;
    font-size: 13px;
}
.result-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.editorial-page {
    max-width: 850px !important;
}
.editorial-page h1 {
    font-size: 62px;
}
.editorial-page .lead {
    font-size: 20px;
    line-height: 2.15;
    color: var(--ink-2);
    margin: 0 0 45px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 45px;
}
.contact-grid > * {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.contact-grid small {
    color: var(--muted);
}
.contact-grid strong {
    font-size: 14px;
    margin-top: 7px;
}
.faq-list {
    margin-bottom: 40px;
}
.faq-list details {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}
.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}
.faq-list summary {
    cursor: pointer;
    font-weight: 650;
}
.faq-list p {
    color: var(--muted);
}
@media (max-width: 900px) {
    :root {
        --shell: min(100% - 32px, 720px);
    }
    .shop-nav {
        grid-template-columns: 1fr auto;
    }
    .shop-nav nav {
        display: none;
    }
    .shop-brand {
        width: 146px;
        justify-self: start;
    }
    .shop-actions span {
        display: none;
    }
    .catalog-toolbar {
        grid-template-columns: 1fr 1fr;
    }
    .catalog-toolbar label {
        display: none;
    }
    .catalog-toolbar button {
        grid-column: 1/-1;
    }
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-page {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .product-detail {
        position: static;
    }
    .breadcrumbs {
        margin-bottom: 28px;
    }
    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-layout,
    .checkout-layout,
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
    .order-summary {
        position: static;
    }
    .account-layout {
        grid-template-columns: 1fr;
    }
    .account-nav {
        flex-direction: row;
        overflow: auto;
    }
    .account-nav a {
        white-space: nowrap;
    }
    .order-card {
        grid-template-columns: 1fr 1fr;
    }
    .order-card > b {
        display: none;
    }
    .auth-page {
        grid-template-columns: 1fr;
    }
    .auth-visual {
        display: none;
    }
    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 580px) {
    :root {
        --shell: calc(100% - 28px);
    }
    body {
        font-size: 15px;
    }
    .shop-announcement {
        font-size: 10px;
    }
    .shop-nav {
        height: 70px;
    }
    .shop-actions {
        gap: 10px;
    }
    .shop-actions a {
        gap: 3px;
    }
    .catalog-hero {
        padding: 55px 0;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    .catalog-toolbar {
        grid-template-columns: 1fr;
    }
    .catalog-toolbar button {
        grid-column: auto;
    }
    .catalog-info {
        min-height: auto;
    }
    .product-page {
        padding-top: 28px;
    }
    .related-products {
        padding-top: 75px;
    }
    .compact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 10px;
    }
    .compact-grid .catalog-info {
        display: block;
    }
    .compact-grid .catalog-info strong {
        display: block;
        margin-top: 5px;
    }
    .page-section {
        padding-top: 43px;
    }
    .page-heading {
        margin-bottom: 30px;
    }
    .page-heading h1 {
        font-size: 40px;
    }
    .cart-row {
        grid-template-columns: 78px 1fr;
        padding-bottom: 52px;
    }
    .cart-row img {
        width: 78px;
        height: 95px;
    }
    .cart-row > strong {
        grid-column: 2;
    }
    .remove-button {
        bottom: 11px;
    }
    .checkout-form fieldset {
        padding: 18px 14px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-field {
        grid-column: auto;
    }
    .auth-page {
        width: 100%;
        margin-top: 0;
        min-height: 580px;
    }
    .auth-card {
        padding: 50px 24px;
    }
    .account-head,
    .order-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .account-head h1,
    .order-title h1 {
        font-size: 36px;
    }
    .order-card {
        grid-template-columns: 1fr;
    }
    .order-item {
        grid-template-columns: 60px 1fr;
    }
    .order-item img {
        width: 60px;
        height: 72px;
    }
    .order-item > strong {
        grid-column: 2;
    }
    .result-card {
        padding: 35px 19px;
    }
    .result-card h1 {
        font-size: 31px;
    }
    .result-actions {
        flex-direction: column;
    }
    .editorial-page h1 {
        font-size: 45px;
    }
    .editorial-page .lead {
        font-size: 17px;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-inner > div:first-child {
        grid-column: 1/-1;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
