/* Shared service-platform identity. Loaded after each page's component styles. */
:root {
  --ink:#302d39; --muted:#756f7e; --paper:#fff; --cream:#f7f6fa;
  --line:#e9e5ee; --accent:#7465e8; --accent-soft:#f0edfc; --accent-ink:#6957cd;
  --action:#202022; --action-hover:#343436;
  --body:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --serif:var(--body);
}
body { letter-spacing:0; }
svg { stroke-width:1.65; }
.eyebrow { font-weight:600; letter-spacing:.1em; }
.header { border-color:var(--line); background:#ffffffed; backdrop-filter:blur(14px); }
.header-inner { height:82px; gap:44px; }
.wordmark { font-weight:700; letter-spacing:-2px; }
.wordmark small { display:block; font-size:8px; font-weight:600; letter-spacing:1.9px; line-height:1.4; color:var(--muted); margin-top:6px; padding-left:2px; }
.launch-announcement { background:#f3f0fc; color:#695b8c; letter-spacing:.06em; }
.launch-announcement button { font-weight:500; }
.desktop-nav { font-size:13px; letter-spacing:0; gap:28px; }
.desktop-nav a:hover,.desktop-nav button:hover,.text-link:hover { color:var(--accent-ink); }
.launch-header-button { border-color:var(--line); border-radius:8px; font-size:11px; }
.launch-header-button:hover { background:var(--accent-soft); border-color:#dcd4f4; }
.header-actions .city-button { max-width:170px; min-width:0; }
#city-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.search-bar.open { border:1px solid var(--line); border-radius:9px; background:var(--cream); }
.button { border-radius:8px; font-size:12px; font-weight:600; letter-spacing:0; }
.button-dark { background:var(--action); color:#fff; box-shadow:none; }
.button-dark:hover { background:var(--action-hover); }
.button-outline { border-color:#d9d4e1; }
.button-outline:hover { background:#f3f2f5; color:var(--action); border-color:var(--action); }
.text-link { border-color:#d4cddd; font-size:12px; font-weight:500; }
.section-heading h2 { font-size:32px; font-weight:650; letter-spacing:-.035em; }
.section-heading .eyebrow { color:var(--accent-ink); }
.section { padding-top:54px; padding-bottom:54px; }

/* A shopping service first: a clear proposition beside the product imagery. */
.platform-hero { display:grid; grid-template-columns:1.1fr 1fr; gap:50px; padding:44px var(--gutter); height:auto; min-height:0; max-height:none; background:#f8f6fd; overflow:visible; }
.platform-hero .hero-copy { position:static; transform:none; align-self:center; min-width:0; padding:15px 0; }
.platform-hero .eyebrow { color:#786891; font-size:10px; display:flex; align-items:center; gap:8px; }
.route-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px #7465e810; flex-shrink:0; }
.platform-hero h1 { font:650 clamp(40px,4.4vw,66px)/1.08 var(--body); letter-spacing:-.05em; margin:24px 0 22px; }
.platform-hero h1 span { font:inherit; color:var(--accent); letter-spacing:inherit; }
.platform-hero p { max-width:400px; font-size:15px; line-height:1.7; color:#756d7f; margin:0 0 28px; }
.hero-actions { display:flex; align-items:center; gap:23px; flex-wrap:wrap; }
.platform-hero .hero-secondary { margin:0; font-size:12px; text-decoration:none; display:flex; align-items:center; gap:10px; min-height:44px; }
.hero-service-line { display:flex; gap:18px; flex-wrap:wrap; margin-top:28px; color:#756d7f; font-size:11px; }
.hero-service-line>span { display:flex; align-items:center; gap:6px; }
.hero-service-line svg { width:16px; height:16px; color:var(--accent-ink); }
.hero-visual { min-width:0; height:410px; position:relative; border-radius:14px; overflow:hidden; background:#e7e3eb; }
.platform-hero .hero-picture { position:absolute; inset:0; z-index:0; }
.platform-hero .hero-picture img { object-position:68% 40%; height:100%; }
.hero-photo-label { position:absolute; left:18px; top:18px; background:#fffffff0; color:#665c72; border:1px solid #ffffff80; padding:7px 10px; border-radius:5px; font-size:9px; font-weight:600; letter-spacing:.08em; }
.route-ticket { position:absolute; bottom:18px; left:18px; right:18px; border:1px solid #ffffffb0; border-radius:10px; background:#fffffff5; backdrop-filter:blur(12px); padding:14px 18px 10px; box-shadow:0 8px 30px #30254414; }
.route-ticket-path { display:flex; align-items:center; gap:14px; }
.route-ticket-path>span:last-child { text-align:right; }
.route-ticket small { display:block; color:#7e748a; font-size:8px; font-weight:600; letter-spacing:.08em; }
.route-ticket strong { font-size:21px; letter-spacing:-.025em; font-weight:600; }
.route-ticket-path>div { display:flex; align-items:center; gap:8px; flex:1; color:var(--accent-ink); }
.route-ticket-path>div span { flex:1; border-top:1px dashed #c9bce5; }
.route-ticket-path svg { width:20px; height:20px; }
.route-ticket-bottom { display:flex; gap:10px; justify-content:space-between; border-top:1px solid var(--line); padding-top:9px; margin-top:10px; font-size:10px; color:#756d7f; }
.launch-explainer { padding:17px var(--gutter); background:#fff; }
.launch-explainer>div { display:flex; gap:12px; align-items:center; }
.launch-pill { color:#75648e; background:#f0ecf7; border-radius:5px; padding:4px 7px; font-size:9px; font-weight:600; white-space:nowrap; letter-spacing:.06em; }
.launch-explainer p { margin:0; line-height:1.6; }
.launch-explainer .text-link { border:0; padding:0; min-height:36px; gap:15px; color:var(--accent-ink); }

/* Browsing retains image priority, with sharper controls and clearer prices. */
body[data-page=home] .catalog { padding-top:28px; }
body[data-page=home] .catalog-toolbar { margin-top:0; }
/* Intrinsic heights keep all catalog feeds in staggered, independent columns. */
body:is([data-page=home],[data-page=catalog]) #product-grid { --feed-columns:4; grid-template-columns:repeat(var(--feed-columns),minmax(0,1fr)); }
@media(max-width:700px) { body:is([data-page=home],[data-page=catalog]) #product-grid { --feed-columns:2; } }
body:is([data-page=home],[data-page=catalog]) #product-grid.is-masonry { grid-auto-rows:1px; row-gap:0; align-items:start; }
body:is([data-page=home],[data-page=catalog]) #product-grid .product-card { align-self:start; }
body:is([data-page=home],[data-page=catalog]) #product-grid .product-card:nth-child(4n+2) .product-image { aspect-ratio:2/3; }
body:is([data-page=home],[data-page=catalog]) #product-grid .product-card:nth-child(4n+3) .product-image { aspect-ratio:4/5; }
body:is([data-page=home],[data-page=catalog]) #product-grid .product-title { display:block; min-height:0; -webkit-line-clamp:unset; overflow:visible; }
.feed-feature-slot { min-height:32px; grid-column:1; align-self:start; min-width:0; padding-bottom:22px; }
.feed-app-card { width:100%; min-height:250px; display:flex; flex-direction:column; align-items:flex-start; text-align:left; padding:20px; border:1px solid #e4ddf7; border-radius:8px; background:linear-gradient(145deg,#f5f1ff,#ece7fc); color:var(--accent-ink); }
.feed-invite-icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border:1px solid #ddd4f6; border-radius:50%; background:#ffffff80; margin-bottom:18px; }
.feed-invite-icon svg { width:18px; height:18px; }
.feed-app-card strong { font-size:clamp(24px,3.8vw,32px); font-weight:650; line-height:1.08; letter-spacing:-.04em; }
.feed-invite-copy { color:#7a6e93; font-size:11px; line-height:1.6; margin-top:12px; }
.feed-invite-cta { display:flex; align-items:center; justify-content:space-between; width:100%; gap:6px; margin-top:auto; padding-top:22px; font-size:11px; font-weight:650; color:var(--ink); }
.feed-invite-cta>span { font-size:21px; line-height:1; color:var(--accent-ink); }
.feed-app-card:hover { background:linear-gradient(145deg,#f0eafe,#e6defb); border-color:#cfc2f1; }
@media(max-width:360px) { .feed-app-card { padding:15px 13px; } .feed-invite-cta { font-size:10px; } }
.feed-end { display:none; }
.feed-sentinel { height:1px; width:100%; pointer-events:none; }
.catalog-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.browse-tabs { position:sticky; top:0; z-index:4; display:flex; align-items:stretch; gap:32px; max-width:100%; overflow-x:auto; border-bottom:1px solid var(--line); margin-bottom:24px; padding-top:8px; background:#fff; box-shadow:0 8px 16px -16px #302d3933; scrollbar-width:none; overscroll-behavior-x:contain; }
.browse-tabs::-webkit-scrollbar { display:none; }
.browse-tabs button { flex:0 0 auto; min-width:44px; min-height:46px; border-bottom:3px solid transparent; padding:0 2px 11px; color:var(--muted); font-size:13px; white-space:nowrap; }
.browse-tabs button[aria-selected=true] { color:var(--accent-ink); border-bottom-color:var(--accent); font-weight:650; }
.browse-tabs button:focus-visible { outline-offset:-3px; }
.category-strip { border:0; padding-top:16px; padding-bottom:4px; }
.category-scroll { gap:8px; }
.category-chip { min-height:40px; border:1px solid var(--line); border-radius:7px; padding:0 16px; gap:20px; font-size:12px; color:#756d7f; }
.category-chip.active { color:var(--accent-ink); border-color:#d8d0f2; background:var(--accent-soft); font-weight:600; }
.category-chip span { font-size:14px; }
.catalog-toolbar { padding-bottom:12px; border-bottom:1px solid var(--line); font-size:12px; }
.sort-label select { font-size:12px; }
.product-image,.brand-pick>div { border-radius:8px; }
.product-brand { font-size:10px; font-weight:600; color:#746b7e; letter-spacing:.04em; }
.product-title { font-size:13px; line-height:1.5; margin-top:5px; }
.product-price { font-size:15px; font-weight:650; letter-spacing:-.015em; }
.product-label { border-radius:4px; background:#ffffffec; color:#71677e; }
.catalog-intro { background:#f8f6fd; padding-top:28px; padding-bottom:22px; }
.catalog-intro h1 { font-size:40px; font-weight:650; letter-spacing:-.04em; }
.catalog-intro .eyebrow { color:var(--accent-ink); }
.catalog-intro p { font-size:13px; }
.catalog-page .category-strip { margin-top:8px; }

.shopping-flow { scroll-margin-top:105px; }
.shopping-flow .section-heading>p { font-size:13px; color:var(--muted); line-height:1.7; margin:0; }
.shopping-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; margin:0; padding:0; border:1px solid var(--line); border-radius:12px; background:#faf9fc; overflow:hidden; }
.shopping-steps li { padding:30px; position:relative; }
.shopping-steps li+li { border-left:1px solid var(--line); }
.step-number { position:absolute; right:24px; top:26px; font-size:12px; color:#8b7f97; font-variant-numeric:tabular-nums; }
.shopping-steps i { width:40px; height:40px; color:var(--accent-ink); background:#eee9fc; border:1px solid #e3dbf6; border-radius:10px; }
.shopping-steps h3 { font-weight:600; font-size:18px; letter-spacing:-.02em; margin:22px 0 9px; }
.shopping-steps p { font-size:13px; line-height:1.8; color:var(--muted); margin:0; }
.flow-footnote { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:18px; font-size:11px; color:var(--muted); }
.flow-footnote .text-link { color:var(--accent-ink); min-height:40px; padding:0; border:0; }
.service-strip { padding-top:0; }
.service-strip>button>i:first-child { color:var(--accent-ink); }
.service-strip strong { font-weight:600; font-size:12px; }
.service-strip button>span>span { font-size:11px; }
.app-section { border:1px solid var(--line); border-radius:12px; padding:40px; background:#f6f3fd; }
.app-section h2 { font-weight:650; font-size:34px; line-height:1.2; letter-spacing:-.035em; }
.app-section .eyebrow { color:var(--accent-ink); }
.footer { background:#f4f1f8; }
.footer-signature { font-size:21px; font-weight:600; }
.footer-signature span { font-size:19px; color:var(--muted); font-weight:400; }
.footer p { font-size:11px; }
.footer nav a,.footer nav button { font-size:12px; }
.footer-bottom { border-color:#e3dce9; color:#786e83; }

/* Details, delivery and overlays share the same service language. */
.pdp-brand-row>a span { font-size:16px; letter-spacing:0; font-weight:500; }
.pdp-summary h1 { font-weight:500; letter-spacing:-.025em; line-height:1.35; }
.pdp-brand-row>a { display:inline-flex; align-items:center; gap:8px; color:var(--accent-ink); font-weight:600; letter-spacing:.04em; }
.pdp-price-row strong { font-weight:650; font-variant-numeric:tabular-nums; }
.pdp-price-row>span { color:#7b6a94; background:var(--accent-soft); border-radius:5px; }
.price-context { color:#77688a; }
.pdp-option-list button { border-radius:6px; }
.pdp-option-list button[aria-pressed=true] { background:var(--accent-soft); border-color:var(--accent-ink); color:var(--accent-ink); }
.color-options button[aria-pressed=true] { background:#fff; }
.single-color img { outline-color:var(--accent-ink); border-radius:4px; }
.gallery-shell { border-radius:10px; overflow:hidden; }
.gallery-thumbnails button[aria-pressed=true] { border-color:var(--accent-ink); border-radius:4px; }
.size-guide-link,.pd-details-toggle { color:var(--accent-ink); }
.brand-picks { border:1px solid var(--line); border-radius:12px; background:#f8f6fb; }
.brand-picks-heading h2 { font-size:23px; font-weight:600; letter-spacing:-.02em; }
.brand-picks-title { display:flex; align-items:center; flex-wrap:nowrap; gap:8px; margin-top:6px; }
.brand-picks-title h2 { margin:0; }
.brand-page-link { display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:44px; color:var(--accent-ink); font-size:18px; font-weight:500; white-space:nowrap; }
.brand-page-link:hover { text-decoration:underline; }
.brand-picks-heading>span { color:var(--muted); }
.purchasing-service,.ps-sheet { --ps-ink:var(--ink); --ps-muted:var(--muted); --ps-line:#e8e1f5; color:var(--ink); background:#f5f3ff; border-color:#e8e1f5; }
.purchasing-service { border-radius:10px; }
.ps-intro h2 { font-size:18px; font-weight:600; letter-spacing:-.025em; }
.ps-intro>span { color:var(--accent-ink); font-size:8px; letter-spacing:.05em; }
.ps-destination>svg:first-child { color:var(--accent-ink); }
.ps-destination strong,.ps-trust strong { font-weight:600; font-size:12px; }
.ps-destination small,.ps-promise small,.ps-trust small,.ps-sheet-lead,.ps-sheet-note,.ps-return-sections p,.ps-steps p,.ps-ozon-gallery figcaption { color:#786e83; }
.ps-time strong { font-size:22px; font-weight:650; letter-spacing:-.04em; color:var(--accent-ink); }
.ps-free strong { font-size:15px; color:var(--accent-ink); line-height:33px; }
.ps-final-price { color:#7b6c98; }
.ps-payment-logo { border-color:var(--line); border-radius:4px; }
.ps-review-star { color:#9174b2; }
.purchasing-service button:hover { color:var(--accent-ink); }
.purchasing-service button:focus-visible { outline-color:var(--accent-ink); }
.ps-sheet>header { background:#faf8fff5; border-color:var(--line); }
.ps-sheet::backdrop,.panel::backdrop,.waitlist-dialog::backdrop { background:#30253870; }
.ps-sheet>header>span { color:var(--accent-ink); font-weight:600; }
.ps-sheet h2 { font-size:30px; font-weight:650; letter-spacing:-.035em; }
.ps-steps h3 { font-size:17px; font-weight:600; }
.ps-steps li>span { font:600 14px/1.5 var(--body); color:var(--accent-ink); padding-top:3px; }
.ps-steps li,.ps-city-list button,.ps-sheet-note,.ps-return-sections section,.ps-payment-options>div { border-color:var(--line); }
.ps-city-form>div { border-color:#d4c8e8; border-radius:7px; overflow:hidden; }
.ps-city-form button,.ps-store-link { background:var(--action); color:#fff; }
.ps-city-form button:hover,.ps-store-link:hover { background:var(--action-hover); }
.ps-store-link { border-radius:7px; }
.ps-sheet .ps-store-name { font-weight:600; }
.panel:not(.size-guide-panel) h2 { font-weight:600; letter-spacing:-.03em; }
.city-list button { border:1px solid var(--line); border-radius:7px; }
.city-list button:hover { background:var(--accent-soft); }
.waitlist-dialog { border-radius:14px; }
.waitlist-dialog h2 { font-weight:600; }
.waitlist-dialog h2 em { font-family:var(--body); color:var(--accent-ink); }
.waitlist-field input,.waitlist-field select { border-radius:7px; }
.waitlist-success-mark { color:#166e58; background:#eaf8f3; }
.image-lightbox,.image-lightbox::backdrop { background:#f7f6fa; }
.skeleton-card { background-image:linear-gradient(100deg,#f0edf4 20%,#faf9fc 40%,#f0edf4 60%); }

@media(min-width:701px) and (max-width:1100px) {
  .header-inner { gap:25px; }
  .desktop-nav { gap:17px; font-size:12px; }
  .platform-hero { gap:28px; padding-top:30px; padding-bottom:30px; }
  .hero-visual { height:380px; }
  .platform-hero h1 { font-size:44px; }
  .hero-actions { gap:10px; }
  .hero-service-line { gap:10px; }
  .ps-intro { align-items:flex-start; flex-direction:column; gap:3px; }
}
@media(max-width:700px) {
  body[data-page=home] .feed-end { display:flex; align-items:center; justify-content:center; gap:14px; margin:0; padding:32px 0 4px; color:var(--muted); font-size:11px; text-align:center; }
  body[data-page=home] .feed-end::before,body[data-page=home] .feed-end::after { content:""; width:32px; height:1px; background:var(--line); }
  .header-inner { height:65px; gap:0; }
  .header .wordmark,body[data-page=product] .wordmark { font-size:31px; }
  .wordmark small { font-size:6.5px; letter-spacing:1.5px; margin-top:4px; }
  .launch-header-button { border:0; }
  .search-bar,.search-bar.open { margin:0 16px 12px; padding:8px 11px; border:1px solid var(--line); border-radius:8px; background:var(--cream); }
  .search-bar input::placeholder { font-size:12px; }
  .search-bar button { color:var(--action); font-size:11px; }
  .platform-hero { display:flex; flex-direction:column; gap:22px; padding:28px 20px 20px; }
  .platform-hero .hero-copy { width:100%; padding:0; }
  .platform-hero .eyebrow { font-size:8px; letter-spacing:.07em; }
  .platform-hero h1 { font-size:42px; line-height:1.08; margin:19px 0 16px; }
  .platform-hero p { font-size:13px; line-height:1.65; max-width:355px; margin-bottom:20px; }
  .platform-hero .button { font-size:12px; padding:0 17px; min-height:46px; gap:17px; }
  .platform-hero .hero-secondary { font-size:12px; }
  .hero-actions { gap:20px; flex-wrap:nowrap; }
  .hero-service-line { font-size:10px; gap:8px 16px; margin-top:17px; }
  .hero-service-line svg { width:14px; height:14px; }
  .hero-visual { width:100%; height:205px; border-radius:10px; }
  .platform-hero .hero-picture img { object-position:65% 38%; }
  .hero-photo-label { top:12px; left:12px; padding:5px 7px; font-size:8px; }
  .route-ticket { left:12px; right:12px; bottom:12px; padding:10px 13px 8px; border-radius:8px; }
  .route-ticket strong { font-size:18px; }
  .route-ticket small { font-size:7px; }
  .route-ticket-bottom { font-size:9px; margin-top:7px; padding-top:7px; }
  .launch-explainer { display:flex; padding:14px 20px; gap:12px; }
  .launch-explainer>div { display:block; }
  .launch-pill { display:inline-block; font-size:8px; padding:2px 5px; margin-bottom:5px; }
  .launch-explainer p { font-size:11px; margin:0; }
  .launch-explainer .text-link { font-size:11px; gap:8px; }
  .launch-explainer svg { width:18px; }
  .category-strip { padding:16px 20px 0; }
  .category-chip { font-size:11px; min-height:38px; padding:0 13px; gap:14px; }
  .section { padding-top:32px; padding-bottom:32px; }
  .section-heading h2 { font-size:26px; }
  .section-heading .eyebrow { font-size:9px; }
  .collection-note { font-size:10px; }
  .catalog-toolbar { font-size:11px; margin-top:20px; }
  .browse-tabs { justify-content:space-between; gap:8px; max-width:none; width:calc(100% + var(--gutter) + var(--gutter)); margin:0 calc(-1 * var(--gutter)) 22px; padding:8px var(--gutter) 0; scroll-padding-inline:var(--gutter); }
  .browse-tabs button { min-height:46px; font-size:13px; }
  .sort-label select { font-size:11px; }
  .product-title { font-size:12px; min-height:36px; }
  .product-price { font-size:14px; }
  .product-brand { font-size:9px; }
  .catalog-intro { padding:22px 20px 18px; }
  .catalog-intro h1 { font-size:31px; line-height:1.2; }
  .catalog-intro .eyebrow { font-size:9px; }
  .catalog-intro p { font-size:12px; line-height:1.65; }
  .shopping-flow .section-heading { display:block; }
  .shopping-flow .section-heading>p { font-size:12px; margin-top:12px; }
  .shopping-flow .section-heading>p br { display:none; }
  .shopping-steps { grid-template-columns:1fr; }
  .shopping-steps li { padding:20px 18px 20px 70px; }
  .shopping-steps li+li { border-left:0; border-top:1px solid var(--line); }
  .shopping-steps i { position:absolute; left:17px; top:21px; width:36px; height:36px; }
  .step-number { top:22px; right:17px; font-size:10px; }
  .shopping-steps h3 { font-size:16px; margin:2px 25px 8px 0; }
  .shopping-steps p { font-size:12px; line-height:1.7; }
  .flow-footnote { font-size:10px; gap:12px; }
  .flow-footnote .text-link { flex-shrink:0; font-size:11px; gap:8px; }
  .service-strip { padding-top:0; }
  .app-section { padding:27px 24px; gap:20px; }
  .app-section h2 { font-size:28px; }
  .app-section p { font-size:12px; }
  .footer p { font-size:10px; }
  .footer nav a,.footer nav button { font-size:11px; }
  .gallery-shell { border-radius:0; }
  .pdp-summary h1 { font-size:23px; }
  .pdp-sticky { box-shadow:0 -3px 15px #30254408; }
  .sticky-price strong { font-weight:650; }
  .ps-intro h2 { font-size:18px; }
  .brand-picks-heading h2 { font-size:21px; }
  .waitlist-dialog { border-radius:14px 14px 0 0; }
}
@media(max-width:360px) {
  .platform-hero h1 { font-size:36px; }
  .platform-hero .button { font-size:11px; padding:0 12px; gap:10px; }
  .hero-actions { gap:12px; }
  .platform-hero .hero-secondary { font-size:11px; gap:5px; }
  .hero-service-line { font-size:9px; gap:8px; }
  .hero-visual { height:180px; }
  .ps-intro h2 { font-size:17px; }
  .ps-time strong { font-size:20px; }
  .ps-free strong { font-size:14px; line-height:30px; }
}

/* Shared site footer: one aligned navigation grid, with crawlable HTML links. */
.site-footer { padding-top:42px; padding-bottom:24px; }
.site-footer-layout { display:grid; grid-template-columns:minmax(220px,1.4fr) minmax(160px,1fr) minmax(130px,.8fr) minmax(150px,.9fr); gap:40px; max-width:1560px; margin:auto; }
.site-footer .footer-brand { min-width:0; }
.site-footer .wordmark { display:inline-block; font-size:36px; letter-spacing:-2px; }
.site-footer .footer-brand p { margin:16px 0 18px; color:#6f657a; font-size:12px; line-height:1.8; }
.site-footer .footer-app-link { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:42px; padding:0 16px; background:#fff; border:1px solid #ded6e8; border-radius:999px; font-size:12px; font-weight:500; white-space:nowrap; }
.site-footer .footer-app-link span { color:var(--accent-ink); font-size:18px; line-height:1; }
.site-footer .footer-app-link:hover { background:var(--accent-soft); border-color:#cfc1e4; }
.site-footer .footer-link-group { display:block; min-width:0; padding:0; }
.site-footer .footer-link-group h2 { margin:3px 0 14px; font-size:13px; line-height:1.5; font-weight:600; color:var(--ink); }
.site-footer .footer-link-group ul { list-style:none; margin:0; padding:0; }
.site-footer .footer-link-group a,.site-footer .footer-link-group button { display:flex; align-items:center; min-height:36px; max-width:100%; padding:5px 0; font-size:12px; line-height:1.6; color:#6f657a; text-align:left; }
.site-footer .footer-link-group a:hover,.site-footer .footer-link-group button:hover { color:var(--accent-ink); text-decoration:underline; text-underline-offset:4px; }
.site-footer .footer-bottom { margin-top:32px; font-size:9px; line-height:1.6; }
@media(min-width:701px) and (max-width:1000px) {
  .site-footer-layout { grid-template-columns:1.3fr 1fr 1fr; gap:28px; }
  .site-footer .footer-brand { grid-column:1/-1; }
}
@media(max-width:700px) {
  .site-footer { padding:30px 20px 22px; }
  .site-footer-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
  .site-footer .footer-brand { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:14px; padding-bottom:24px; border-bottom:1px solid #e3dce9; }
  .site-footer .wordmark { grid-column:1; font-size:32px; }
  .site-footer .footer-brand p { grid-column:1; margin:12px 0 0; font-size:11px; line-height:1.8; }
  .site-footer .footer-app-link { grid-column:2; grid-row:1/3; align-self:center; min-height:44px; gap:10px; padding:0 13px; }
  .site-footer .footer-link-group h2 { font-size:13px; margin:0 0 10px; }
  .site-footer .footer-link-group a,.site-footer .footer-link-group button { min-height:40px; font-size:12px; }
  .site-footer .footer-help { grid-column:1/-1; padding-top:22px; border-top:1px solid #e3dce9; }
  .site-footer .footer-help ul { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:24px; }
  .site-footer .footer-bottom { margin-top:24px; padding-top:18px; gap:10px; font-size:9px; }
  .site-footer .footer-bottom #data-status { font-size:9px; }
}

@media(max-width:700px) {
  body[data-page=home] .header-actions,body[data-page=catalog] .header-actions { margin-left:auto; }
}

/* Real category photos: one tile per API category, with a separate all-items reset. */
.catalog-page .category-gallery { max-width:1700px; margin:0 auto; padding-top:28px; padding-bottom:0; }
.category-gallery-heading { display:flex; align-items:center; justify-content:space-between; max-width:1480px; margin:0 auto 20px; gap:16px; font-size:12px; color:var(--muted); }
.category-reset { min-height:44px; display:flex; align-items:center; gap:12px; font-size:12px; }
.category-reset.active { color:var(--accent-ink); }
.category-gallery .category-scroll { gap:clamp(24px,5vw,76px); padding:5px 5px 12px; }
.category-tile { flex:0 0 160px; display:flex; flex-direction:column; align-items:center; gap:14px; color:var(--ink); }
.category-photo { display:grid; place-items:center; width:160px; height:160px; border-radius:42%; overflow:hidden; background:#f3f1f0; outline:2px solid transparent; outline-offset:4px; transition:outline-color .15s; }
.category-photo img { width:100%; height:100%; object-fit:cover; object-position:center 32%; }
.category-tile[data-category="457"] .category-photo img { object-position:center bottom; }
.category-name { max-width:180px; font-size:15px; line-height:1.4; text-align:center; }
.category-tile.active .category-photo { outline-color:var(--accent); }
.category-tile.active .category-name { color:var(--accent-ink); font-weight:600; }
.category-tile:hover .category-photo { outline-color:#d8d0f2; }
.category-tile:focus-visible { border-radius:12px; outline-offset:7px; }
.category-photo-empty { max-width:75%; color:var(--muted); font-size:11px; text-align:center; }
@media(max-width:700px) {
  .catalog-page .category-gallery { padding:16px 20px 0; }
  .category-gallery-heading { margin-bottom:10px; font-size:11px; }
  .category-reset { font-size:11px; }
  .category-gallery .category-scroll { gap:18px; }
  .category-tile { flex-basis:calc((100% - 36px)/3); min-width:88px; gap:12px; }
  .category-photo { width:100%; height:auto; aspect-ratio:1; }
  .category-name { font-size:12px; line-height:1.45; }
}

.catalog-page .catalog-toolbar { justify-content:flex-end; }

/* The supplied WAYBELLE artwork is cropped and sized for up to 3x displays.
   Reserve its box before decoding; share one versioned image across all pages. */
.wordmark.brand-logo { display:inline-flex; align-items:center; width:200px; min-height:44px; flex-shrink:0; font-size:0; line-height:0; letter-spacing:normal; }
.wordmark.brand-logo img { display:block; width:100%; height:auto; object-fit:contain; }
@media(max-width:700px) {
  .wordmark.brand-logo { width:168px; }
  body[data-page=product] .header .brand-logo { width:min(168px,calc(100vw - 208px)); left:calc(50% - 10px); }
}
