:root {
    --paper: #f5f8fa;
    --ink: #183544;
    --muted: #637785;
    --line: #dce7eb;
    --soft: #eaf5f6;
    --accent: #147d89;
    --accent-strong: #106570;
    --purple: var(--accent);
}

.shop-market {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.shop-market h1 {
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -.045em;
}

.shop-market :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #66b4be;
    outline-offset: 4px;
}

.shop-skip-link {
    position: absolute;
    top: -80px;
    left: 18px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    color: white;
    background: var(--accent-strong);
}

.shop-skip-link:focus { top: 12px; }

.shop-header.site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 30px;
    max-width: none;
    min-height: 82px;
    padding: 16px max(28px, calc((100vw - 1200px) / 2));
    background: #fff;
    border-bottom: 1px solid var(--line);
}

/* Same mark, geometry and wordmark as rumoon.com; the shop uses its own accent. */
.shop-market .brand {
    gap: 11px;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -.02em;
    text-decoration: none;
}

.shop-market .brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #176b9a, #15968a);
    box-shadow: 0 7px 18px rgba(20, 125, 137, .19);
    color: #fff;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
}

.shop-market .shop-brand-copy { line-height: 1.13; }
.shop-market .brand small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 550;
    letter-spacing: .015em;
}

.shop-header nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    margin: 0;
    font-size: .875rem;
}

.shop-header nav a {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 11px;
    color: #5b707d;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.shop-header nav a:hover { background: #f3f8f9; color: var(--accent-strong); }
.shop-header nav a[aria-current="page"] { background: var(--soft); color: var(--accent-strong); }
.shop-header-actions { display: flex; align-items: center; gap: 10px; }
.shop-header-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 11px;
    font-size: .86rem;
    font-weight: 650;
    text-decoration: none;
}
.shop-header-cart { border: 1px solid var(--line); background: white; }
.shop-header-cart svg { width: 19px; height: 19px; }
.shop-header-account { border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.shop-header-account:hover { background: var(--accent-strong); }

.shop-market .shop-shell {
    max-width: 1256px;
    min-height: 65vh;
    padding: 42px 28px 64px;
}

.shop-market .shop-button {
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 11px;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}
.shop-market .shop-button svg { flex: 0 0 19px; width: 19px; height: 19px; }
.shop-market .shop-button:not(.secondary):hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.shop-market .shop-button.secondary { border-color: #cadfe4; color: var(--accent-strong); }
.shop-market .shop-button.secondary:hover { background: #f0f8f9; }
.shop-market .shop-badge { color: var(--accent-strong); }
.shop-market .shop-alert { background: #edf6f7; border-color: #cee3e7; }

.shop-market .shop-storefront {
    --shop-ink: var(--ink);
    --shop-purple: var(--accent);
    --shop-purple-soft: var(--soft);
    --shop-border: var(--line);
    --shop-surface: #fff;
    --shop-amber: var(--accent-strong);
    max-width: none;
    padding: 0;
    gap: 28px;
}
.shop-market .shop-page-head h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.shop-market .shop-page-head > p:last-child { color: var(--muted); font-size: 1rem; }
.shop-market .shop-kicker { letter-spacing: .07em; }
.shop-market .shop-storefront :is(input, select) { border-color: #cddde3; }

.shop-purchases-page { margin: 0 auto; }
.shop-purchases-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.shop-eyebrow {
    margin: 0 0 10px;
    color: var(--accent-strong);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .065em;
    text-transform: uppercase;
}
.shop-purchases-heading h1 { margin: 0 0 12px; }
.shop-purchases-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 1rem; }
.shop-order-count {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: .82rem;
}
.shop-purchases-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    align-items: start;
    gap: 24px;
}
.shop-purchases-content { display: grid; gap: 20px; min-width: 0; }
.shop-purchases-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 40px 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(32, 65, 78, .035);
    text-align: center;
}
.shop-purchases-symbol {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin-bottom: 24px;
    border: 1px solid #d5e9ec;
    border-radius: 24px;
    background: #edf7f8;
    color: var(--accent);
}
.shop-purchases-symbol svg { width: 39px; height: 39px; }
.shop-purchases-welcome h2 { max-width: 470px; margin: 0 0 14px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.025em; }
.shop-purchases-welcome > p { max-width: 440px; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.shop-purchases-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.shop-purchases-welcome > .shop-purchases-note { margin-top: 20px; color: #7c8d98; font-size: .78rem; }
.shop-purchases-aside { display: grid; gap: 16px; min-width: 0; }
.shop-purchases-aside h2 { margin: 0 0 19px; font-size: 1rem; letter-spacing: -.015em; }
.shop-purchases-guide { padding: 25px 22px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.shop-purchases-guide ul { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
.shop-purchases-guide li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.shop-guide-icon { display: grid; place-items: center; width: 34px; height: 36px; border-radius: 10px; background: #f0f7f8; color: var(--accent); }
.shop-guide-icon svg { width: 20px; height: 20px; }
.shop-purchases-guide strong { display: block; margin-bottom: 3px; font-size: .86rem; font-weight: 650; }
.shop-purchases-guide small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.shop-cabinet-link { padding: 22px; border: 1px solid #d7e8e9; border-radius: 19px; background: #eaf4f4; }
.shop-cabinet-link h2 { margin-bottom: 10px; }
.shop-cabinet-link p { margin: 0 0 16px; color: #5c7780; font-size: .82rem; line-height: 1.6; }
.shop-cabinet-link a { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-strong); font-size: .85rem; font-weight: 700; text-decoration: none; }
.shop-cabinet-link a svg { width: 18px; height: 18px; }
.shop-profile-link { display: flex; gap: 10px; align-items: center; padding: 8px 5px; color: #5c7581; font-size: .8rem; }
.shop-profile-link svg { flex: 0 0 18px; width: 18px; height: 18px; }
.shop-profile-link svg:last-child { margin-left: auto; }

.shop-order-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.shop-order-card-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 14px; padding: 22px 24px 18px; }
.shop-order-card-head h2 { margin: 0 0 5px; font-size: 1.12rem; letter-spacing: -.015em; }
.shop-order-card-head h2 a { color: var(--ink); text-decoration: none; }
.shop-order-card-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.shop-order-status { display: inline-flex; align-items: center; max-width: 100%; padding: 5px 10px; border-radius: 8px; background: #edf1f4; color: #657581; font-size: .73rem; font-weight: 650; }
.shop-order-status.is-awaiting_payment { background: #fff2db; color: #8b641d; }
.shop-order-status.is-paid { background: #e8f3fc; color: #326782; }
.shop-order-status.is-fulfilled { background: #e9f5ee; color: #387155; }
.shop-order-products { display: grid; padding: 0 24px; margin: 0; list-style: none; }
.shop-order-products li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 0; border-top: 1px solid #edf1f3; }
.shop-order-product-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #e2ecef; border-radius: 13px; background: #f4f8f9; color: #6a929d; }
.shop-order-product-icon svg { width: 25px; height: 25px; }
.shop-order-products strong { display: block; font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.shop-order-products p { margin: 3px 0 0; color: var(--muted); font-size: .77rem; }
.shop-order-product-price { color: #5c7280; font-size: .83rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-top: 1px solid #e6edf0; background: #fbfdfd; }
.shop-order-card-foot small { display: block; margin-bottom: 3px; color: var(--muted); font-size: .72rem; }
.shop-order-card-foot strong { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; }
.shop-order-card-foot .shop-button { min-height: 40px; padding: 8px 13px; font-size: .8rem; }

.shop-footer.site-footer { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr); gap: 40px; max-width: 1256px; padding: 30px 28px 34px; color: #6b7e89; font-size: .8rem; }
.shop-footer .brand { margin-bottom: 16px; }
.shop-footer .brand-mark { box-shadow: none; }
.shop-footer p { max-width: 290px; margin-bottom: 0; font-size: .8rem; line-height: 1.6; }
.shop-footer nav { gap: 10px; }

.shop-header-marketlink { border: 1px solid var(--line); background: #fff; color: var(--accent-strong); }
.shop-footer-sellers > a { display: inline-flex; gap: 20px; align-items: center; color: var(--accent-strong); font-size: .9rem; font-weight: 750; text-decoration: none; }
.shop-footer-sellers > a:hover { text-decoration: underline; }
.shop-footer-sellers p { margin-top: 10px; }

.shop-market .shop-catalog-hero {
    max-width: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block;
    padding: 38px 40px;
    border: 1px solid #d7e9ec;
    border-radius: 24px;
    background: linear-gradient(115deg, #e9f4fa 0%, #eef8f5 72%, #e2f2ed 100%);
}
.shop-catalog-hero::after { content: ""; position: absolute; z-index: -1; top: -120px; right: -60px; width: 350px; height: 350px; border: 70px solid rgba(59, 150, 153, .055); border-radius: 50%; }
.shop-catalog-hero .shop-kicker { margin: 0 0 14px; }
.shop-catalog-hero h1 { max-width: 800px; margin: 0 0 16px; line-height: 1.15; }
.shop-catalog-hero .shop-catalog-lead { max-width: 625px; margin: 0; color: #526e7b; font-size: 1rem; line-height: 1.65; }
.shop-catalog-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.shop-catalog-shortcuts a { display: inline-flex; align-items: center; gap: 26px; padding: 11px 17px; border: 1px solid #d5e5e9; border-radius: 11px; background: rgba(255, 255, 255, .85); color: #286575; font-size: .85rem; font-weight: 650; text-decoration: none; }
.shop-catalog-shortcuts a:hover, .shop-catalog-shortcuts a[aria-current="page"] { border-color: #9bc5cc; background: #fff; }
.shop-catalog-shortcuts span { color: #7a9da5; font-size: 1rem; }
.shop-catalog-empty-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border: 1px solid #d8e8ec; border-radius: 19px; background: #eef6f7; color: var(--accent); }
.shop-catalog-empty-icon svg { width: 31px; height: 31px; }

.shop-account-page { display: grid; gap: 24px; max-width: 1080px; min-width: 0; margin: 0 auto; }
.shop-account-heading h1 { margin: 0 0 13px; }
.shop-account-heading p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.65; }
.shop-account-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: stretch; gap: 24px; }
.shop-account-entry { min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 10px 32px rgba(32, 65, 78, .035); }
.shop-account-symbol { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border: 1px solid #d5e9ec; border-radius: 21px; background: linear-gradient(135deg, #e9f4fa, #e8f6f1); color: var(--accent); }
.shop-account-symbol svg { width: 32px; height: 32px; }
.shop-account-symbol.is-signed-in::after { content: "✓"; position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 25px; height: 25px; border: 3px solid #fff; border-radius: 50%; background: #218878; color: #fff; font-size: .75rem; font-weight: 750; }
.shop-account-entry h2 { max-width: 450px; margin: 0 0 14px; font-size: 1.6rem; line-height: 1.3; letter-spacing: -.03em; }
.shop-account-entry-copy { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.7; }
.shop-account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 27px; }
.shop-account-actions form { margin: 0; }
.shop-account-preview { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; line-height: 1.6; }
.shop-account-main { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px; border: 1px solid #d6e7e9; border-radius: 24px; background: linear-gradient(135deg, #eaf4fa, #eaf6f0); }
.shop-account-main-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 21px; border: 1px solid #d3e7e7; border-radius: 15px; background: rgba(255, 255, 255, .75); color: #347d88; }
.shop-account-main-icon svg { width: 24px; height: 24px; }
.shop-account-main h2 { margin: 0 0 13px; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.35; }
.shop-account-main p { margin: 0 0 25px; color: #53727c; font-size: .92rem; line-height: 1.7; }
.shop-account-main > .shop-button { margin-top: auto; max-width: 100%; padding-inline: 14px; font-size: .85rem; }
.shop-account-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shop-account-shortcut { display: grid; grid-template-columns: 46px minmax(0, 1fr) 19px; align-items: center; gap: 16px; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-decoration: none; }
.shop-account-shortcut:hover { border-color: #b7d8de; background: #fbfefe; text-decoration: none; }
.shop-account-shortcut-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #edf6f7; color: var(--accent); }
.shop-account-shortcut-icon svg { width: 24px; height: 24px; }
.shop-account-shortcut strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: .98rem; line-height: 1.35; }
.shop-account-shortcut small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.shop-account-shortcut > svg { width: 19px; height: 19px; color: #79a2ab; }
.shop-account-page :is(h1, h2, p, strong, small) { overflow-wrap: anywhere; }

@media (max-width: 760px) {
    .shop-account-page { gap: 21px; }
    .shop-account-heading h1 { font-size: 2rem; }
    .shop-account-heading p { font-size: .92rem; }
    .shop-account-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .shop-account-entry, .shop-account-main { padding: 28px; border-radius: 21px; }
    .shop-account-entry h2 { font-size: 1.45rem; }
    .shop-account-entry-copy { max-width: none; font-size: .93rem; }
    .shop-account-shortcuts { gap: 14px; }
    .shop-account-shortcut { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding: 22px; }
    .shop-account-shortcut-icon { width: 40px; height: 40px; }
    .shop-account-shortcut > svg { display: none; }
}

@media (max-width: 480px) {
    .shop-account-entry, .shop-account-main { padding: 27px 23px; }
    .shop-account-symbol { width: 58px; height: 58px; margin-bottom: 22px; border-radius: 19px; }
    .shop-account-actions, .shop-account-actions form, .shop-account-actions .shop-button { width: 100%; }
    .shop-account-main > .shop-button { width: 100%; }
    .shop-account-shortcuts { grid-template-columns: minmax(0, 1fr); }
}

.shop-favorites-page { display: grid; gap: 28px; min-width: 0; }
.shop-favorites-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 36px;
    border: 1px solid #d7e9ec;
    border-radius: 24px;
    background: linear-gradient(115deg, #e9f4fa, #eef8f5 72%, #e2f2ed);
}
.shop-favorites-heading > div { min-width: 0; }
.shop-favorites-heading h1 { margin: 0 0 14px; }
.shop-favorites-lead { max-width: 610px; margin: 0; color: #526e7b; line-height: 1.65; }
.shop-favorites-heading-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 15px; }
.shop-favorites-count { color: #52717d; font-size: .85rem; }
.shop-favorites-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 354px;
    padding: 42px 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(32, 65, 78, .035);
    text-align: center;
}
.shop-favorites-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 72px; height: 72px; margin-bottom: 24px; border: 1px solid #d5e9ec; border-radius: 23px; background: #edf7f8; color: var(--accent); }
.shop-favorites-symbol svg { width: 34px; height: 34px; }
.shop-favorites-welcome h2 { max-width: 540px; margin: 0 0 14px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -.025em; line-height: 1.3; }
.shop-favorites-welcome > p { max-width: 505px; margin: 0; color: var(--muted); line-height: 1.7; }
.shop-favorites-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 27px; }
.shop-favorites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.shop-favorite-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgba(32, 65, 78, .025); }
.shop-favorite-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 20px; border-radius: 13px; background: #eef5f7; }
.shop-favorite-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-favorite-body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.shop-favorite-body > .shop-badge { align-self: flex-start; margin-bottom: 12px; }
.shop-favorite-card h2 { margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.4; overflow-wrap: anywhere; }
.shop-favorite-card h2 a:hover { color: var(--accent-strong); }
.shop-favorite-details { display: grid; gap: 6px; margin-bottom: 22px; }
.shop-favorite-details p { margin: 0; overflow-wrap: anywhere; }
.shop-favorite-seller { color: var(--accent-strong); font-size: .875rem; line-height: 1.5; }
.shop-favorite-purchase { display: grid; gap: 17px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e6eef1; }
.shop-favorite-price { margin: 0; color: var(--ink); font-size: 1.5rem; font-weight: 750; letter-spacing: -.035em; overflow-wrap: anywhere; }
.shop-favorite-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; }
.shop-favorite-actions form { display: flex; min-width: 0; margin: 0; }
.shop-favorite-actions .shop-button { width: 100%; min-width: 0; padding-inline: 13px; font-size: .84rem; line-height: 1.4; }

@media (max-width: 1000px) {
    .shop-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-favorites-heading { padding: 30px; }
}

@media (max-width: 700px) {
    .shop-favorites-page { gap: 22px; }
    .shop-favorites-heading { align-items: flex-start; flex-direction: column; gap: 20px; padding: 27px 24px; border-radius: 21px; }
    .shop-favorites-heading h1 { font-size: 2rem; }
    .shop-favorites-lead { font-size: .92rem; }
    .shop-favorites-heading-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
    .shop-favorites-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .shop-favorites-welcome { min-height: 340px; padding: 34px 24px; border-radius: 21px; }
    .shop-favorites-welcome > p { font-size: .91rem; }
}

@media (max-width: 480px) {
    .shop-favorites-heading { padding: 26px 22px; }
    .shop-favorites-heading .shop-eyebrow { font-size: .69rem; }
    .shop-favorites-welcome { padding-inline: 22px; }
    .shop-favorites-symbol { width: 64px; height: 64px; margin-bottom: 22px; border-radius: 20px; }
    .shop-favorites-symbol svg { width: 31px; height: 31px; }
    .shop-favorites-actions { width: 100%; flex-direction: column; margin-top: 24px; }
    .shop-favorites-actions .shop-button { width: 100%; }
    .shop-favorite-card { border-radius: 20px; }
}

.shop-seller-entry { display: grid; gap: 44px; }
.shop-merchant-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 44px; padding: 44px; border: 1px solid #d8e9ea; border-radius: 25px; background: linear-gradient(115deg, #edf6fb, #edf8f3); }
.shop-merchant-intro { min-width: 0; }
.shop-merchant-intro h1 { margin: 0 0 23px; font-size: clamp(2.65rem, 4.6vw, 3.75rem); font-weight: 800; line-height: 1.06; letter-spacing: -.05em; }
.shop-merchant-intro h1 span { color: #187d8b; }
.shop-merchant-lead { max-width: 485px; margin: 0; color: #52717d; font-size: 1rem; line-height: 1.7; }
.shop-merchant-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 27px; }
.shop-merchant-actions .shop-button, .shop-merchant-start-actions .shop-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.shop-merchant-text-link { color: var(--accent-strong); font-size: .86rem; font-weight: 650; text-underline-offset: 4px; }
.shop-merchant-eligibility { margin: 17px 0 0; color: #68838d; font-size: .78rem; }
.shop-merchant-showcase { min-width: 0; padding: 27px 25px; border: 1px solid #dcebea; border-radius: 21px; background: rgba(255, 255, 255, .85); box-shadow: 0 16px 35px rgba(39, 98, 100, .05); }
.shop-merchant-showcase > .shop-eyebrow { margin-bottom: 22px; }
.shop-merchant-offer-types { display: grid; gap: 20px; }
.shop-merchant-type { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 15px; }
.shop-merchant-type + .shop-merchant-type { padding-top: 20px; border-top: 1px solid #e5efef; }
.shop-merchant-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #d8e8eb; border-radius: 14px; background: #edf6f8; color: #277c8b; }
.shop-merchant-icon svg { width: 25px; height: 25px; }
.shop-merchant-type:nth-child(2) .shop-merchant-icon { background: #edf7f0; color: #42896c; border-color: #daeade; }
.shop-merchant-type:nth-child(3) .shop-merchant-icon { background: #eef3fb; color: #567f9e; border-color: #dce5f0; }
.shop-merchant-type h2 { margin: 2px 0 6px; font-size: 1.05rem; letter-spacing: -.015em; }
.shop-merchant-type p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.shop-merchant-section-head { margin-bottom: 24px; }
.shop-merchant-section-head h2 { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -.03em; line-height: 1.2; }
.shop-merchant-section-head > p:last-child:not(.shop-eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.shop-merchant-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shop-merchant-feature { min-width: 0; padding: 27px 25px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.shop-merchant-feature .shop-merchant-icon { margin-bottom: 20px; }
.shop-merchant-feature h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.05rem; letter-spacing: -.015em; }
.shop-merchant-feature p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.shop-merchant-start { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; scroll-margin-top: 20px; }
.shop-merchant-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 28px 0 0; list-style: none; }
.shop-merchant-steps li { min-width: 0; }
.shop-merchant-step-number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: #eaf4f5; color: #1c7581; font-size: .87rem; font-weight: 750; }
.shop-merchant-steps h3 { margin: 0 0 10px; font-size: 1rem; letter-spacing: -.01em; }
.shop-merchant-steps p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.shop-merchant-start-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 25px; border-top: 1px solid #e6eef0; }

@media (max-width: 1080px) {
    .shop-header.site-header { gap: 15px; padding-inline: 24px; }
    .shop-header nav a { padding-inline: 9px; font-size: .8rem; }
    .shop-header-cart span { display: none; }
    .shop-header-actions .shop-header-cart { width: 42px; padding: 9px; }
    .shop-purchases-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
    .shop-merchant-hero { gap: 26px; padding: 32px; }
    .shop-merchant-showcase { padding: 25px 22px; }
}

@media (max-width: 760px) {
    .shop-header.site-header { grid-template-columns: 1fr auto; gap: 14px; min-height: 0; padding: 17px 20px 0; }
    .shop-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-row: 2; grid-column: 1 / -1; gap: 5px; overflow: visible; padding: 0 0 14px; }
    .shop-header nav a { min-width: 0; padding: 9px 11px; font-size: .82rem; text-align: center; }
    .shop-header nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .shop-header .shop-primary-nav--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-header .shop-primary-nav--three a { display: flex; align-items: center; justify-content: center; padding: 9px 6px; font-size: .78rem; line-height: 1.3; white-space: normal; }
    .shop-header .shop-primary-nav--three a:last-child:nth-child(odd) { grid-column: auto; }
    .shop-header-actions { grid-column: 2; grid-row: 1; }
    .shop-market .shop-shell { padding: 30px 20px 44px; }
    .shop-purchases-heading { margin-bottom: 24px; gap: 12px; align-items: start; }
    .shop-purchases-heading h1 { font-size: 2rem; }
    .shop-purchases-heading > div > p:last-child { font-size: .88rem; }
    .shop-purchases-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .shop-purchases-welcome { min-height: 340px; padding: 30px 22px; }
    .shop-purchases-welcome h2 { max-width: 340px; }
    .shop-purchases-welcome > p { max-width: 350px; font-size: .88rem; }
    .shop-purchases-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 14px; }
    .shop-profile-link { grid-column: 1 / -1; }
    .shop-order-card-head, .shop-order-card-foot { padding-inline: 20px; }
    .shop-order-products { padding-inline: 20px; }
    .shop-order-count { padding: 7px 10px; font-size: .74rem; }
    .shop-footer.site-footer { grid-template-columns: 1fr 1fr; padding: 28px 20px; gap: 24px; }
    .shop-footer > .shop-muted { grid-column: 1 / -1; max-width: none; }
    .shop-footer > .shop-footer-sellers { grid-column: 1 / -1; }
    .shop-market .shop-catalog-hero { padding: 28px; border-radius: 21px; }
    .shop-catalog-hero h1 { font-size: 2rem; }
    .shop-catalog-hero .shop-catalog-lead { font-size: .91rem; }
    .shop-seller-entry { gap: 32px; }
    .shop-merchant-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 30px; }
    .shop-merchant-intro h1 { font-size: 3rem; }
    .shop-merchant-lead { max-width: none; font-size: .94rem; }
    .shop-merchant-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .shop-merchant-feature { padding: 24px; }
    .shop-merchant-feature .shop-merchant-icon { margin-bottom: 16px; }
    .shop-merchant-start { padding: 28px; }
    .shop-merchant-steps { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .shop-merchant-step-number { margin-bottom: 13px; }
}

@media (max-width: 480px) {
    .shop-header.site-header { padding-inline: 18px; }
    .shop-header-actions { gap: 8px; }
    .shop-header-actions a { padding-inline: 12px; }
    .shop-seller-area .shop-header-actions a { padding-inline: 9px; font-size: .78rem; }
    .shop-market .shop-shell { padding-inline: 18px; }
    .shop-purchases-heading { flex-wrap: wrap; }
    .shop-purchases-actions { width: 100%; flex-direction: column; }
    .shop-purchases-actions .shop-button { width: 100%; }
    .shop-purchases-welcome { padding: 30px 20px; border-radius: 18px; }
    .shop-purchases-symbol { width: 68px; height: 68px; margin-bottom: 21px; border-radius: 21px; }
    .shop-purchases-symbol svg { width: 34px; height: 34px; }
    .shop-purchases-aside { grid-template-columns: minmax(0, 1fr); }
    .shop-purchases-guide { padding: 23px 20px; }
    .shop-purchases-guide ul { gap: 18px; }
    .shop-cabinet-link { padding: 21px 20px; }
    .shop-order-card-head { padding: 20px 18px 16px; }
    .shop-order-products { padding-inline: 18px; }
    .shop-order-products li { grid-template-columns: 42px minmax(0, 1fr); gap: 8px 12px; }
    .shop-order-product-icon { width: 42px; height: 42px; }
    .shop-order-product-price { grid-column: 2; margin-top: -3px; }
    .shop-order-card-foot { gap: 12px; padding: 16px 18px; flex-wrap: wrap; }
    .shop-order-card-foot .shop-button { padding-inline: 10px; }
    .shop-order-card-foot .shop-button svg { width: 16px; height: 16px; flex-basis: 16px; }
    .shop-footer.site-footer { grid-template-columns: minmax(0, 1fr); }
    .shop-footer nav { flex-direction: row; flex-wrap: wrap; gap: 9px 20px; }
    .shop-market .shop-catalog-hero { padding: 25px 22px; }
    .shop-catalog-hero .shop-kicker { font-size: .7rem; }
    .shop-catalog-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
    .shop-catalog-shortcuts a { justify-content: space-between; gap: 5px; padding: 10px 9px; font-size: .76rem; }
    .shop-merchant-hero { padding: 27px 22px; border-radius: 21px; }
    .shop-merchant-intro h1 { font-size: 2.7rem; }
    .shop-merchant-actions { align-items: stretch; flex-direction: column; gap: 15px; }
    .shop-merchant-actions .shop-merchant-text-link { align-self: flex-start; }
    .shop-merchant-showcase { padding: 22px 18px; }
    .shop-merchant-type { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
    .shop-merchant-type .shop-merchant-icon { width: 42px; height: 42px; border-radius: 12px; }
    .shop-merchant-type h2 { font-size: 1rem; }
    .shop-merchant-type p { font-size: .8rem; }
    .shop-merchant-start { padding: 25px 22px; }
    .shop-merchant-start-actions { flex-direction: column; align-items: stretch; gap: 18px; }
    .shop-merchant-start-actions .shop-merchant-text-link { align-self: flex-start; }
}
