:root {
    --cream: #fff9f3;
    --paper: #fffefb;
    --line: #ead0bf;
    --soft: #f8e7db;
    --clay: #cb6448;
    --rose: #b14d5d;
    --violet: #7b3bb2;
    --gold: #efc17a;
    --ink: #1f1718;
    --muted: #6e6464;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fff9f3 0%, #fff5ed 100%);
}

body.drawer-open {
    overflow: hidden;
}

body.city-modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.header-main .container,
.footer-main .container,
.footer-bottom .container {
    flex-wrap: wrap;
}

.topbar {
    height: 6px;
    background: linear-gradient(90deg, #7b3bb2, #8d4bd0);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    overflow: visible;
}

.header-main {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #ece6ee;
}

.header-main .container,
.header-categories .container,
.footer-main .container,
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.header-main .container {
    min-height: 74px;
}

.header-categories {
    background: #fff;
    border-bottom: 1px solid #ece6ee;
}

.header-categories .container {
    min-height: 64px;
    padding: 0 0 2px;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.header-categories .container::-webkit-scrollbar {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.brand-badge.header-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #8e41cc, #d146a4);
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    color: #d3389a;
}

.mobile-menu-toggle,
.mobile-drawer,
.mobile-drawer-backdrop {
    display: none;
}

.city-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(32, 15, 41, 0.48);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.city-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.city-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.city-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.city-modal-panel {
    position: relative;
    width: min(620px, 100%);
    max-height: min(84vh, 760px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffefd 0%, #fff8f4 100%);
    box-shadow: 0 30px 70px rgba(52, 24, 68, 0.26);
    border: 1px solid #f1e6ef;
    overflow: hidden;
}

.city-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f7eef7;
    color: #7b3bb2;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.city-modal-copy {
    padding-right: 32px;
}

.city-modal-eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--violet);
}

.city-modal-copy h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.1vw, 34px);
    line-height: 1.12;
    color: #2a142f;
}

.city-modal-copy p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #695d66;
}

.city-search-box {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid #dfd4e5;
    background: #fff;
}

.city-search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #302838;
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #cfbddb transparent;
}

.city-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #efe1ef;
    border-radius: 18px;
    background: #fff;
    color: #2a2231;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.city-option:hover {
    transform: translateY(-1px);
    border-color: #d9bce8;
    box-shadow: 0 12px 24px rgba(92, 57, 122, 0.12);
}

.city-option.is-hidden {
    display: none;
}

.city-option-name {
    font-size: 16px;
    font-weight: 600;
}

.city-option-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8eefc;
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
}

.city-empty-state {
    display: none;
    padding: 18px 16px;
    border-radius: 18px;
    border: 1px dashed #dccce7;
    background: #fff;
    color: #6f6376;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.city-empty-state.visible {
    display: block;
}

.header-search-wrap {
    flex: 1;
    min-width: 260px;
    display: flex;
    justify-content: center;
    padding: 0 18px;
}

.header-search {
    width: min(100%, 380px);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-radius: 6px;
    border: 1px solid #d8d1dd;
    background: #fff;
    color: #56505c;
    font-size: 15px;
}

.header-search-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-icon,
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--violet);
    flex: 0 0 auto;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    color: #2b2430;
    white-space: nowrap;
    flex: 0 0 auto;
}

.header-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-link span:last-child {
    display: inline-block;
}

.location-pill {
    appearance: none;
    padding: 10px 14px;
    border-radius: 6px;
    background: #faf8fc;
    border: 1px solid #eee8f4;
    color: var(--violet);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.mobile-location-pill {
    display: none;
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(29, 17, 44, 0.42);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 340px);
    background: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 0 20px 60px rgba(15, 5, 32, 0.22);
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-top {
    background: #6f0aa8;
    padding: 18px 16px;
    color: #fff;
}

.mobile-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
}

.mobile-user-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #6f0aa8;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-drawer-links a {
    padding: 14px 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-drawer-links a:last-child {
    border-right: 0;
}

.mobile-drawer-menu {
    background: #fff;
}

.mobile-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 14px;
    border: 0;
    border-top: 1px solid #ece7f1;
    background: #fff;
    color: #28222f;
    font: inherit;
    font-size: 17px;
    text-align: left;
}

.mobile-plus {
    font-size: 34px;
    line-height: 1;
    color: #333;
}

.category-link {
    font-size: 18px;
    color: #1f1718;
    white-space: nowrap;
}

.category-link.highlight {
    color: #b85eb3;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clay), var(--rose));
    color: #fff;
    box-shadow: 0 18px 34px rgba(203, 100, 72, 0.22);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.slider-section {
    padding: 10px 0 16px;
    background: #fff;
}

.slider-container {
    width: min(100%, calc(100% - 6px));
    margin: 0 auto;
}

.slider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.slider-shell {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border-radius: 10px;
    border: 1px solid #ece6ee;
    background: #fff;
    box-shadow: 0 12px 32px rgba(95, 62, 126, 0.08);
}

.slides {
    display: flex;
    transition: transform 0.45s ease;
}

.slide {
    min-width: 100%;
    min-height: 170px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 22px 22px 48px;
    color: #fff;
}

.slide-one {
    background: linear-gradient(120deg, rgba(74, 24, 122, 0.88), rgba(177, 77, 93, 0.78)),
        linear-gradient(135deg, #5b2a86, #ca4f8f);
}

.slide-two {
    background: linear-gradient(120deg, rgba(62, 12, 78, 0.84), rgba(203, 100, 72, 0.78)),
        linear-gradient(135deg, #7b3bb2, #ef8fa4);
}

.slide-three {
    background: linear-gradient(120deg, rgba(46, 14, 85, 0.86), rgba(239, 193, 122, 0.55)),
        linear-gradient(135deg, #552c93, #d86f52);
}

.slide-content {
    max-width: 500px;
}

.slide-label {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.slide h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.08;
}

.slide p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.slider-nav {
    position: absolute;
    inset: auto 10px 10px auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-arrow {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.slider-dots {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.slider-dot.active {
    width: 28px;
    background: #fff;
}

.catalog-section {
    padding: 0 0 24px;
    background: #fff;
}

.catalog-shell {
    width: min(100%, calc(100% - 18px));
    margin: 0 auto;
    padding: 18px 18px 20px;
    border: 1px solid #efebf2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(82, 67, 97, 0.06);
}

.catalog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.catalog-head h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    color: #c73935;
}

.view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 30px;
    padding: 0 12px;
    border-radius: 4px;
    background: #64748b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.catalog-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(45, 42, 53, 0.14);
}

.product-media {
    position: relative;
    isolation: isolate;
    min-height: 205px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #f2edf5;
}

.product-media img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18));
}

.offer-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 4px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #777;
    font-size: 11px;
    font-weight: 700;
}

.media-title {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    max-width: calc(100% - 70px);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 600;
}

.product-body {
    padding: 12px 12px 12px;
}

.product-body h3 {
    margin: 0;
    min-height: 56px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    color: #50515a;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.price {
    font-size: 16px;
    font-weight: 800;
    color: #47454b;
}

.old-price {
    font-size: 12px;
    color: #8f8b93;
    text-decoration: line-through;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ff6262;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.theme-rose {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 214, 230, 0.95), transparent 20%),
        radial-gradient(circle at 70% 12%, rgba(232, 145, 180, 0.9), transparent 15%),
        linear-gradient(135deg, #efe2d4, #cda78c);
}

.theme-sunset {
    background:
        radial-gradient(circle at 42% 24%, rgba(255, 207, 130, 0.95), transparent 18%),
        radial-gradient(circle at 60% 45%, rgba(255, 159, 96, 0.9), transparent 14%),
        linear-gradient(135deg, #4ca4df, #f5c27d);
}

.theme-pink {
    background:
        radial-gradient(circle at 24% 75%, rgba(255, 197, 219, 0.95), transparent 18%),
        radial-gradient(circle at 60% 18%, rgba(255, 163, 193, 0.9), transparent 12%),
        linear-gradient(135deg, #f2e1ec, #c8a8bf);
}

.theme-gold {
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 211, 89, 0.95), transparent 15%),
        radial-gradient(circle at 74% 24%, rgba(48, 48, 48, 0.9), transparent 18%),
        linear-gradient(135deg, #2c2c30, #f0b33b);
}

.theme-kids {
    background:
        radial-gradient(circle at 16% 18%, rgba(97, 211, 255, 0.95), transparent 18%),
        radial-gradient(circle at 76% 20%, rgba(255, 132, 189, 0.92), transparent 18%),
        linear-gradient(135deg, #f6c4d7, #7ed4bf);
}

.theme-bedroom {
    background:
        radial-gradient(circle at 22% 22%, rgba(255, 184, 217, 0.95), transparent 16%),
        radial-gradient(circle at 68% 14%, rgba(255, 233, 177, 0.9), transparent 18%),
        linear-gradient(135deg, #d8b6a0, #e8ddd3);
}

.theme-lavender {
    background:
        radial-gradient(circle at 22% 18%, rgba(221, 184, 255, 0.95), transparent 18%),
        radial-gradient(circle at 70% 22%, rgba(176, 137, 255, 0.92), transparent 18%),
        linear-gradient(135deg, #ceb0e8, #8264bf);
}

.theme-jungle {
    background:
        radial-gradient(circle at 30% 20%, rgba(239, 221, 173, 0.95), transparent 18%),
        radial-gradient(circle at 72% 24%, rgba(164, 194, 139, 0.92), transparent 18%),
        linear-gradient(135deg, #eee4d5, #97b08a);
}

.theme-racer {
    background:
        radial-gradient(circle at 22% 24%, rgba(255, 76, 76, 0.95), transparent 20%),
        radial-gradient(circle at 72% 18%, rgba(44, 44, 44, 0.92), transparent 18%),
        linear-gradient(135deg, #f4efe8, #9e9ba8);
}

.theme-rainbow {
    background:
        radial-gradient(circle at 26% 26%, rgba(203, 155, 255, 0.95), transparent 18%),
        radial-gradient(circle at 68% 20%, rgba(255, 193, 214, 0.92), transparent 18%),
        linear-gradient(135deg, #d5b4ea, #b48cc6);
}

.theme-mermaid {
    background:
        radial-gradient(circle at 20% 20%, rgba(206, 177, 255, 0.95), transparent 18%),
        radial-gradient(circle at 72% 22%, rgba(145, 223, 255, 0.92), transparent 18%),
        linear-gradient(135deg, #f9dce8, #c1dced);
}

.theme-safari {
    background:
        radial-gradient(circle at 20% 18%, rgba(181, 214, 138, 0.95), transparent 18%),
        radial-gradient(circle at 72% 20%, rgba(246, 216, 168, 0.92), transparent 18%),
        linear-gradient(135deg, #c5d8a5, #9f835e);
}

.site-footer {
    margin-top: 10px;
}

.footer-city-services {
    background: #fff;
    border-top: 1px solid #ece6ee;
    padding: 28px 0 26px;
}

.footer-city-services h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #171717;
}

.footer-city-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.footer-city-tabs::-webkit-scrollbar {
    display: none;
}

.footer-city-tab {
    border: 0;
    padding: 0 0 10px;
    background: transparent;
    color: #7a7a7a;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.footer-city-tab.active {
    color: #111;
    box-shadow: inset 0 -2px 0 #111;
}

.footer-service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 26px;
    padding-top: 22px;
}

.footer-service-link {
    display: grid;
    gap: 2px;
}

.footer-service-title {
    font-size: 14px;
    font-weight: 700;
    color: #141414;
}

.footer-service-city {
    font-size: 13px;
    color: #8c8c8c;
}

.footer-main {
    background:
        radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.03) 0 14px, transparent 15px) 0 0 / 56px 56px,
        #2b2b2b;
    color: #fff;
    padding: 30px 0 18px;
}

.footer-main-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.footer-link-block h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-link-list {
    display: grid;
    gap: 12px;
}

.footer-simple-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.footer-social-wrap {
    text-align: center;
    padding-top: 20px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 20px;
}

.footer-social-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.footer-bottom {
    background: #222;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

@media (max-width: 1180px) {
    .header-main .container {
        gap: 14px;
    }

    .header-search-wrap {
        min-width: 220px;
        padding: 0 8px;
    }

    .header-meta {
        gap: 16px;
        font-size: 12px;
    }

    .location-pill {
        padding: 9px 12px;
        font-size: 14px;
    }

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

@media (max-width: 980px) {
    .header-main .container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand location"
            "search search"
            "meta meta";
        align-items: center;
        min-height: auto;
        padding: 14px 0;
    }

    .brand {
        grid-area: brand;
    }

    .header-search-wrap {
        grid-area: search;
        min-width: 0;
        width: 100%;
        padding: 0;
        justify-content: stretch;
    }

    .header-search {
        width: 100%;
        max-width: none;
    }

    .header-meta {
        grid-area: meta;
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .header-meta .location-pill {
        margin-left: auto;
    }

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

@media (max-width: 820px) {
    .city-modal-panel {
        width: min(560px, 100%);
        max-height: min(80vh, 680px);
        padding: 24px 18px 18px;
        border-radius: 20px;
    }

    .city-list {
        grid-template-columns: 1fr;
    }

    .footer-main .container,
    .footer-bottom .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .header-main .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "search"
            "meta";
        row-gap: 12px;
        padding: 12px 0;
    }

    .brand {
        width: 100%;
        justify-content: flex-start;
    }

    .brand-title {
        font-size: 22px;
    }

    .header-meta {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header-meta::-webkit-scrollbar {
        display: none;
    }

    .header-meta a {
        flex: 0 0 auto;
    }

    .meta-link,
    .location-pill {
        min-height: 38px;
        padding-top: 0;
        padding-bottom: 0;
        border-radius: 999px;
        border: 1px solid #eee8f4;
        background: #faf8fc;
    }

    .header-categories .container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 22px;
        min-height: 46px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 0 2px;
    }

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

    .catalog-shell {
        width: min(100%, calc(100% - 8px));
        padding: 14px 10px 16px;
    }

    .catalog-head {
        margin-bottom: 12px;
    }

    .catalog-head h2 {
        font-size: 20px;
    }

    .catalog-track {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-left: 2px;
        padding-right: 2px;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
        scroll-padding-left: 2px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .catalog-track::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .product-media {
        min-height: 185px;
    }

    .slide {
        min-height: 160px;
        padding: 20px 16px 54px;
    }

    .slide h1 {
        font-size: 22px;
    }

    .slide p {
        font-size: 13px;
    }

}

@media (max-width: 560px) {
    .city-modal {
        align-items: start;
        padding: 10px 10px max(10px, env(safe-area-inset-bottom));
        overflow-y: auto;
    }

    .city-modal-panel {
        width: 100%;
        max-height: min(78vh, 620px);
        gap: 12px;
        margin-top: 8px;
        padding: 18px 14px 14px;
        border-radius: 20px;
    }

    .city-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    .city-modal-copy {
        padding-right: 26px;
    }

    .city-modal-copy h2 {
        font-size: 22px;
        line-height: 1.15;
    }

    .city-modal-copy p {
        font-size: 13px;
        line-height: 1.45;
    }

    .city-search-box {
        height: 46px;
        gap: 8px;
        padding: 0 12px;
        border-radius: 14px;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .city-search-input {
        font-size: 14px;
    }

    .city-list {
        gap: 10px;
    }

    .city-option {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .city-option-name {
        font-size: 14px;
    }

    .city-option-tag {
        min-width: 56px;
        height: 28px;
        font-size: 11px;
    }

    .container {
        width: min(100%, calc(100% - 20px));
    }

    .mobile-menu-toggle,
    .mobile-drawer,
    .mobile-drawer-backdrop {
        display: block;
    }

    .header-main .container {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "menu brand location"
            "search search search";
        column-gap: 12px;
        row-gap: 12px;
        align-items: center;
    }

    .mobile-menu-toggle {
        grid-area: menu;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #777;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        margin: 4px 0;
        border-radius: 999px;
        background: #7a7a7a;
    }

    .brand-badge.header-badge {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 12px;
    }

    .brand {
        grid-area: brand;
        width: auto;
        min-width: 0;
        gap: 10px;
    }

    .brand-title {
        font-size: 20px;
    }

    .mobile-location-pill {
        grid-area: location;
        min-width: 0;
        padding: 8px 12px;
        font-size: 12px;
        justify-content: center;
    }

    .header-search {
        height: 44px;
        padding: 0 12px;
        font-size: 14px;
    }

    .header-search-text {
        max-width: calc(100% - 30px);
    }

    .meta-link {
        font-size: 12px;
    }

    .meta-link span:last-child {
        display: none;
    }

    .header-meta {
        display: none;
    }

    .mobile-location-pill {
        display: inline-flex;
    }

    .location-pill {
        padding: 8px 12px;
        min-width: 118px;
        font-size: 13px;
    }

    .slider-section {
        padding: 8px 0 14px;
    }

    .header-categories {
        display: none;
    }

    .header-categories .container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 18px;
        min-height: 44px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 0 2px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header-categories .container::-webkit-scrollbar {
        display: none;
    }

    .slider-grid {
        gap: 10px;
    }

    .slide {
        min-height: 150px;
        padding: 18px 14px 48px;
    }

    .slide h1 {
        font-size: 19px;
    }

    .slide-label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .slide-actions {
        gap: 8px;
        margin-top: 14px;
    }

    .btn {
        padding: 9px 14px;
        font-size: 12px;
    }

    .catalog-section {
        padding-bottom: 18px;
    }

    .catalog-shell {
        width: min(100%, calc(100% - 10px));
        padding: 12px 8px 14px;
        border-radius: 8px;
    }

    .catalog-head {
        gap: 10px;
    }

    .catalog-head h2 {
        font-size: 20px;
    }

    .view-all {
        min-width: 52px;
        height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }

    .catalog-track {
        gap: 10px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .product-card {
        flex-basis: 86%;
    }

    .product-media {
        min-height: 172px;
    }

    .product-body {
        padding: 10px;
    }

    .product-body h3 {
        min-height: 48px;
        font-size: 14px;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-btn {
        width: 100%;
    }

    .footer-main .container,
    .footer-bottom .container {
        gap: 10px;
    }

    .footer-city-services {
        padding: 22px 0 20px;
    }

    .footer-city-services h2 {
        font-size: 18px;
    }

    .footer-city-tabs {
        gap: 14px;
    }

    .footer-service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 18px;
    }

    .footer-service-title {
        font-size: 14px;
    }

    .footer-service-city,
    .footer-bottom {
        font-size: 12px;
    }

    .footer-main {
        padding: 24px 0 16px;
    }

    .footer-link-block h3,
    .footer-social-title {
        font-size: 16px;
    }

    .footer-simple-link {
        font-size: 14px;
    }
}
