.mam-loc-page {
    --mam-loc-bg: #ffffff;
    --mam-loc-surface: #ffffff;
    --mam-loc-surface-soft: #f5f5f3;
    --mam-loc-ink: #171513;
    --mam-loc-muted: #746d63;
    --mam-loc-line: rgba(23, 21, 19, 0.10);
    --mam-loc-accent: #1f1c19;
    --mam-loc-band: #f3f4f6;
    --mam-loc-radius-lg: 28px;
    --mam-loc-radius-md: 20px;
    --mam-loc-radius-sm: 14px;
    --mam-loc-shadow: 0 24px 60px rgba(20, 16, 12, 0.08);
    background: var(--mam-loc-bg);
    color: var(--mam-loc-ink);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: clip;
}

.mam-loc-page,
.mam-loc-page * {
    box-sizing: border-box;
}

.mam-loc-shell {
    width: min(1680px, calc(100vw - 112px));
    margin: 0 auto;
}

.mam-loc-intro,
.mam-loc-how,
.mam-loc-workspace {
    padding: 96px 0;
}

.mam-loc-intro {
    background: var(--mam-loc-band);
}

.mam-loc-how,
.mam-loc-workspace {
    background: #fff;
}

.mam-loc-how {
    padding-bottom: 56px;
}

.mam-loc-workspace {
    padding-top: 56px;
}

.mam-loc-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.mam-loc-intro-copy,
.mam-loc-intro-visual,
.mam-loc-catalog,
.mam-loc-summary {
    min-width: 0;
}

.mam-loc-intro-copy {
    width: 100%;
}

.mam-loc-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.48);
}

.mam-loc-title {
    margin: 0 0 20px;
    width: 100%;
    max-width: 100%;
    font-size: clamp(40px, 4vw, 68px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
}

.mam-loc-lead,
.mam-loc-note,
.mam-loc-how article p,
.mam-loc-card-desc,
.mam-loc-card-note,
.mam-loc-validity,
.mam-loc-feedback {
    font-size: 16px;
    line-height: 1.75;
    color: var(--mam-loc-muted);
}

.mam-loc-lead {
    max-width: 100%;
}

.mam-loc-intro-policy {
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(23, 21, 19, 0.66);
}

.mam-loc-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mam-loc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mam-loc-btn:hover {
    transform: translateY(-1px);
}

.mam-loc-btn-primary {
    background: var(--mam-loc-accent);
    color: #fff !important;
}

.mam-loc-btn-secondary {
    background: transparent;
    border-color: var(--mam-loc-line);
    color: var(--mam-loc-ink) !important;
}

.mam-loc-btn-full {
    width: 100%;
}

.mam-loc-intro-visual {
    border-radius: var(--mam-loc-radius-lg);
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    align-self: start;
}

.mam-loc-intro-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.mam-loc-intro-placeholder {
    height: 100%;
    min-height: 640px;
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.84) 100%),
        linear-gradient(135deg, #eceef1 0%, #f8f8f8 45%, #f1f2f4 100%);
}

.mam-loc-intro-placeholder p {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.46);
}

.mam-loc-intro-placeholder strong {
    max-width: 420px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.mam-loc-section-head {
    margin-bottom: 42px;
}

.mam-loc-section-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.mam-loc-section-head-tight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 30px;
    align-items: end;
}

.mam-loc-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mam-loc-how article,
.mam-loc-date-panel,
.mam-loc-summary-card,
.mam-loc-item-card {
    background: var(--mam-loc-surface);
    border: 1px solid var(--mam-loc-line);
    box-shadow: var(--mam-loc-shadow);
    border-radius: var(--mam-loc-radius-md);
}

.mam-loc-how article {
    padding: 28px;
}

.mam-loc-how article span {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.42);
}

.mam-loc-how article strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 500;
}

.mam-loc-date-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 240px)) minmax(280px, 1fr);
    gap: 18px;
    padding: 24px;
    margin-bottom: 34px;
    align-items: stretch;
}

.mam-loc-date-card {
    padding: 16px;
    border-radius: var(--mam-loc-radius-sm);
    background: var(--mam-loc-band);
}

.mam-loc-date-card label,
.mam-loc-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.44);
}

.mam-loc-days-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mam-loc-days-card small {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.44);
}

.mam-loc-days-card strong {
    margin-top: 4px;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.mam-loc-date-status {
    display: flex;
    align-items: center;
    padding: 0 8px 0 2px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mam-loc-muted);
}

.mam-loc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    align-items: start;
}

.mam-loc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.mam-loc-filter {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--mam-loc-line);
    background: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mam-loc-filter.active,
.mam-loc-filter:hover {
    background: var(--mam-loc-accent);
    border-color: var(--mam-loc-accent);
    color: #fff;
}

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

.mam-loc-grid-empty {
    padding: 28px;
    border-radius: var(--mam-loc-radius-md);
    background: rgba(255,255,255,0.6);
    color: var(--mam-loc-muted);
}

.mam-loc-item-card {
    overflow: hidden;
}

.mam-loc-item-media {
    aspect-ratio: 1 / 1;
    background: var(--mam-loc-band);
}

.mam-loc-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mam-loc-item-body {
    padding: 20px;
}

.mam-loc-card-topline {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.42);
}

.mam-loc-card-title {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 500;
}

.mam-loc-card-meta {
    margin: 0 0 10px;
    font-size: 13px;
    color: rgba(23, 21, 19, 0.54);
}

.mam-loc-card-desc {
    margin: 0 0 18px;
}

.mam-loc-card-bottom {
    display: grid;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--mam-loc-line);
}

.mam-loc-price-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
}

.mam-loc-price-row strong {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
}

.mam-loc-price-row span {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.42);
}

.mam-loc-availability {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.mam-loc-availability strong {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mam-loc-availability.is-ok {
    background: rgba(54, 121, 74, 0.10);
    color: #2c6b40;
}

.mam-loc-availability.is-warn {
    background: rgba(192, 132, 22, 0.12);
    color: #8e5d00;
}

.mam-loc-availability.is-off {
    background: rgba(177, 53, 53, 0.10);
    color: #9e3131;
}

.mam-loc-availability.is-neutral {
    background: rgba(23, 21, 19, 0.05);
    color: #5f584f;
}

.mam-loc-summary {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 110px;
}

.mam-loc-summary-card {
    padding: 22px;
}

.mam-loc-summary-label {
    margin: 0 0 16px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.42);
}

.mam-loc-quote-items {
    display: grid;
    gap: 12px;
}

.mam-loc-quote-empty {
    margin: 0;
    color: var(--mam-loc-muted);
}

.mam-loc-quote-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.mam-loc-quote-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--mam-loc-band);
}

.mam-loc-quote-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mam-loc-quote-name {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
}

.mam-loc-quote-meta {
    margin: 0;
    font-size: 12px;
    color: rgba(23, 21, 19, 0.46);
}

.mam-loc-quote-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mam-loc-qty-btn,
.mam-loc-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--mam-loc-line);
    background: var(--mam-loc-surface);
    cursor: pointer;
}

.mam-loc-remove-btn {
    width: auto;
    min-width: 30px;
    padding: 0 10px;
}

.mam-loc-summary-rows {
    display: grid;
    gap: 8px;
}

.mam-loc-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--mam-loc-muted);
}

.mam-loc-summary-line {
    height: 1px;
    margin: 18px 0 12px;
    background: var(--mam-loc-line);
}

.mam-loc-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
}

.mam-loc-summary-total span {
    font-size: 14px;
    color: var(--mam-loc-muted);
}

.mam-loc-summary-total strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.mam-loc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mam-loc-full {
    grid-column: 1 / -1;
}

.mam-loc-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--mam-loc-line);
    background: #fff;
    color: var(--mam-loc-ink);
    font: inherit;
}

.mam-loc-input.error {
    border-color: #b53a3a;
}

.mam-loc-reset {
    border: 0;
    background: transparent;
    padding: 0;
    margin-top: 4px;
    color: rgba(23, 21, 19, 0.46);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.mam-loc-feedback {
    padding: 12px 14px;
    border-radius: 14px;
}

.mam-loc-policy-note {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--mam-loc-line);
    border-radius: 16px;
    background: var(--mam-loc-surface-soft);
}

.mam-loc-policy-note strong {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(23, 21, 19, 0.52);
}

.mam-loc-policy-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: var(--mam-loc-muted);
}

.mam-loc-policy-note p + p {
    margin-top: 8px;
}

.mam-loc-feedback.ok {
    background: rgba(54, 121, 74, 0.10);
    color: #2c6b40;
}

.mam-loc-feedback.error {
    background: rgba(177, 53, 53, 0.10);
    color: #9e3131;
}

.hidden {
    display: none !important;
}

.mam-loc-feedback a {
    color: currentColor;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    word-break: break-word;
}

.mam-loc-public-page {
    background: #fff;
}

.mam-loc-public-hero {
    padding: 72px 0 110px;
    background: var(--mam-loc-surface-soft);
}

.mam-loc-public-shell {
    display: grid;
    gap: 34px;
}

.mam-loc-public-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-start;
}

.mam-loc-public-title {
    margin: 0;
    font-size: clamp(38px, 4vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.mam-loc-public-lead {
    max-width: 54rem;
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--mam-loc-muted);
}

.mam-loc-public-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.mam-loc-public-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--mam-loc-accent);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mam-loc-public-badge-light {
    background: #fff;
    color: var(--mam-loc-ink);
    border: 1px solid var(--mam-loc-line);
}

.mam-loc-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 28px;
}

.mam-loc-public-card {
    background: #fff;
    border: 1px solid var(--mam-loc-line);
    border-radius: 28px;
    padding: 32px;
}

.mam-loc-public-card-main {
    display: grid;
    gap: 28px;
}

.mam-loc-public-card-side {
    display: grid;
    align-self: start;
    gap: 24px;
}

.mam-loc-public-section-head h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.mam-loc-public-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mam-loc-public-meta div,
.mam-loc-public-note {
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--mam-loc-surface-soft);
}

.mam-loc-public-meta span,
.mam-loc-public-note span,
.mam-loc-public-contact dt {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mam-loc-subtle);
}

.mam-loc-public-meta strong,
.mam-loc-public-contact dd {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--mam-loc-ink);
}

.mam-loc-public-items {
    display: grid;
    gap: 14px;
}

.mam-loc-public-item {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0;
    border-top: 1px solid var(--mam-loc-line);
}

.mam-loc-public-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.mam-loc-public-item-name {
    margin: 0 0 5px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.mam-loc-public-item-meta {
    margin: 0;
    color: var(--mam-loc-muted);
}

.mam-loc-public-item-pricing {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.mam-loc-public-item-pricing span {
    color: var(--mam-loc-muted);
}

.mam-loc-public-item-pricing strong {
    font-size: 18px;
}

.mam-loc-public-contact {
    display: grid;
    gap: 16px;
    margin: 0;
}

.mam-loc-public-contact div {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mam-loc-line);
}

.mam-loc-public-contact div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.mam-loc-public-note p {
    margin: 0;
    color: var(--mam-loc-ink);
    line-height: 1.75;
}

.mam-loc-public-actions {
    display: grid;
    gap: 12px;
}

.mam-loc-public-empty {
    max-width: 680px;
    padding: 38px;
    border-radius: 28px;
    border: 1px solid var(--mam-loc-line);
    background: #fff;
}

@media (max-width: 1024px) {
    .mam-loc-public-head,
    .mam-loc-public-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .mam-loc-public-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .mam-loc-public-hero {
        padding: 44px 0 80px;
    }

    .mam-loc-public-card,
    .mam-loc-public-empty {
        padding: 24px;
        border-radius: 24px;
    }

    .mam-loc-public-meta {
        grid-template-columns: 1fr;
    }

    .mam-loc-public-item {
        flex-direction: column;
    }

    .mam-loc-public-item-pricing {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 1320px) {
    .mam-loc-shell {
        width: min(100vw - 72px, 1480px);
    }

    .mam-loc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mam-loc-intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }

    .mam-loc-layout {
        grid-template-columns: minmax(0, 1fr) 400px;
    }
}

@media (max-width: 1120px) {
    .mam-loc-intro-grid,
    .mam-loc-layout,
    .mam-loc-section-head-tight {
        grid-template-columns: 1fr;
    }

    .mam-loc-summary {
        position: static;
    }

    .mam-loc-date-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .mam-loc-shell {
        width: min(100% - 24px, 1240px);
    }

    .mam-loc-grid,
    .mam-loc-how-grid,
    .mam-loc-form-grid,
    .mam-loc-date-panel {
        grid-template-columns: 1fr;
    }

    .mam-loc-intro,
    .mam-loc-how,
    .mam-loc-workspace {
        padding: 44px 0;
    }

    .mam-loc-how {
        padding-bottom: 28px;
    }

    .mam-loc-workspace {
        padding-top: 28px;
    }

    .mam-loc-intro {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .mam-loc-intro-grid,
    .mam-loc-layout {
        gap: 24px;
    }

    .mam-loc-summary-card,
    .mam-loc-how article,
    .mam-loc-date-panel {
        padding: 18px;
    }

    .mam-loc-date-panel {
        gap: 12px;
        margin-bottom: 24px;
    }

    .mam-loc-date-card {
        padding: 14px;
    }

    .mam-loc-date-status {
        padding: 2px 0 0;
        font-size: 13px;
        line-height: 1.65;
    }

    .mam-loc-title {
        width: 100%;
        max-width: 100%;
        margin-bottom: 14px;
        font-size: 28px;
        line-height: 1.06;
        letter-spacing: -0.02em;
        text-wrap: pretty;
    }

    .mam-loc-kicker {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .mam-loc-lead {
        font-size: 15px;
        line-height: 1.68;
        margin: 0 0 14px;
    }

    .mam-loc-intro-policy,
    .mam-loc-policy-note p {
        font-size: 14px;
        line-height: 1.62;
    }

    .mam-loc-intro-visual,
    .mam-loc-intro-placeholder {
        min-height: 0;
    }

    .mam-loc-intro-actions {
        margin-top: 18px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .mam-loc-section-head {
        margin-bottom: 22px;
    }

    .mam-loc-section-head h2 {
        font-size: 26px;
        line-height: 1.08;
    }

    .mam-loc-note {
        font-size: 14px;
        line-height: 1.65;
    }

    .mam-loc-card-title {
        font-size: 21px;
    }

    .mam-loc-card-desc,
    .mam-loc-card-note,
    .mam-loc-feedback {
        font-size: 14px;
        line-height: 1.65;
    }

    .mam-loc-input {
        min-height: 52px;
        padding: 14px 16px;
        font-size: 16px;
    }

    .mam-loc-quote-item {
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
    }

    .mam-loc-quote-controls {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 2px;
    }

    .mam-loc-summary-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .mam-loc-summary-total strong {
        font-size: 34px;
    }

    .mam-loc-policy-note {
        margin-top: 16px;
        padding: 16px 16px 17px;
    }

    .mam-loc-summary-actions {
        gap: 12px;
    }

    .mam-loc-filter {
        min-height: 40px;
        padding: 0 14px;
    }

    .mam-loc-btn {
        min-height: 50px;
        padding: 0 18px;
    }

    .mam-loc-reset {
        margin-top: 2px;
    }
}
