/* Standalone homepage only. Owner-requested bulk-upload refinement, 7 Nov 2026. */
@font-face { font-family: "Marketplace Inter"; src: url("./fonts/inter-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Marketplace Inter"; src: url("./fonts/inter-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root { --website-ease: cubic-bezier(.22, 1, .36, 1); --website-feedback: 150ms; }
.hero { padding-top: 44px; }
.hero h1 { max-width: 1000px; margin-inline: auto; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 > span { display: block; }
.hero-description { max-width: 480px; margin: 20px auto 24px; padding: 0; font-size: 16px; line-height: 1.65; color: var(--muted-foreground); }
/* One still wash, fine grain, quiet space behind the typography. */
.hero-backdrop { height: 760px; mask-image: linear-gradient(black 40%, transparent); }
.hero-shader { inset: -100px -20% 0; background-position: center 36%; filter: blur(54px) saturate(.6); opacity: .44; animation: none; }
.hero-soften { backdrop-filter: none; background: radial-gradient(ellipse at 50% 18%, var(--background) 12%, transparent 75%); }
.hero-grain { opacity: .13; mix-blend-mode: soft-light; }
.hero-wash { background: linear-gradient(to bottom, color-mix(in srgb, var(--background) 45%, transparent), transparent 38%, var(--background)); }
.dark .hero-backdrop { opacity: .6; }
.dark .hero-shader { opacity: .38; filter: blur(54px) saturate(.5); }
.platform-logos { display: flex; align-items: center; justify-content: center; list-style: none; padding: 0; margin: 22px auto 0; }
.platform-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: var(--paper); border: 2px solid var(--background); border-radius: 50%; box-shadow: 0 1px 4px #00000012; }
.platform-logos .platform-avatar + .platform-avatar { margin-inline-start: -8px; }
.platform-avatar > span { display: block; width: 25px; height: 25px; overflow: hidden; }
.platform-avatar img { display: block; width: 25px; height: 25px; object-fit: contain; max-width: none; }
.platform-avatar--bazos img { width: 149px; object-fit: fill; }
.platform-avatar--sbazar > span { width: 27px; }
.platform-avatar--sbazar img { width: 27px; height: 25px; object-fit: contain; }
.before-after { max-width: 1056px; margin: 52px auto 0; padding: 0 32px 40px; border: 0; border-radius: 0; background: transparent; }
.before-after-grid { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 36px; align-items: start; }
.before-panel, .after-panel { min-width: 0; }
.transformation-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 24px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.transformation-label > span { padding: 0; border: 0; border-radius: 0; background: transparent; font-family: Inter, system-ui, sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--muted-foreground); }
.before-panel { padding-top: 0; }
.bulk-upload { margin-top: 40px; padding: 18px; border: 1px solid var(--subtle-line); border-radius: 20px; background: color-mix(in srgb, var(--background) 90%, transparent); box-shadow: 0 4px 20px #00000003; }
.upload-caption { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; font-weight: 500; }
.upload-caption > svg { width: 17px; height: 17px; color: var(--muted-foreground); }
.sample-note { margin-inline-start: auto; color: var(--muted-foreground); font-size: 10px; font-weight: 400; }
.upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upload-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #dedddb; }
.upload-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.upload-photo.crop-label img { transform: scale(2.3); transform-origin: 50% 20%; }
.upload-photo.crop-chest img { transform: scale(2.2); transform-origin: 68% 43%; }
.upload-photo.crop-hem img { transform: scale(2.4); transform-origin: 50% 85%; }
.upload-photo > span { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); color: var(--brand-green); box-shadow: 0 1px 4px #00000020; }
.upload-photo > span svg { width: 13px; height: 13px; }
.grouping-caption { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 24px 0 14px; font-size: 12px; color: var(--muted-foreground); }
.grouping-caption svg { width: 16px; height: 16px; color: var(--foreground); }
.grouping-caption strong { font-weight: 500; color: var(--foreground); }
.product-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-groups button { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px; text-align: start; color: var(--foreground); background: var(--background); border: 1px solid var(--subtle-line); border-radius: 12px; cursor: pointer; transition: border-color var(--website-feedback); }
.product-groups button[aria-pressed="true"] { border-color: var(--foreground); background: color-mix(in srgb, var(--foreground) 4%, var(--background)); }
.product-groups img { flex: 0 0 44px; width: 44px; height: 48px; border-radius: 6px; object-fit: cover; }
.product-groups button > span { font-size: 12px; font-weight: 500; line-height: 1.4; }
.product-groups small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--muted-foreground); }
.bulk-note { margin-top: 14px; text-align: center; color: var(--muted-foreground); font-size: 11px; line-height: 1.5; }
.transformation-arrow { display: grid; place-items: center; margin-top: 250px; width: 48px; height: 48px; background: transparent; border: 0; color: var(--muted-foreground); }
.transformation-arrow svg { width: 28px; height: 28px; }
.enhance-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 354px; min-height: 36px; margin: -8px auto 20px; }
.enhance-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; background: transparent; border: 0; color: var(--foreground); font-size: 12px; font-weight: 500; cursor: pointer; }
.enhance-control > span { color: var(--muted-foreground); font-size: 11px; }
.switch-track { display: inline-flex; align-items: center; padding: 3px; width: 30px; height: 18px; border-radius: 20px; background: var(--brand-green); }
.switch-track > span { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); transform: translateX(12px); transition: transform var(--website-feedback) var(--website-ease); }
.enhance-toggle[aria-checked="false"] .switch-track { background: var(--muted-foreground); }
.enhance-toggle[aria-checked="false"] .switch-track > span { transform: translateX(0); }
.deck-stage { padding: 0 22px 20px; }
.listing-deck { position: relative; width: 100%; max-width: 354px; height: 552px; margin: 0 auto; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; isolation: isolate; }
.listing-deck[data-dragging="true"] { cursor: grabbing; }
.listing-deck:focus-visible { outline: 2px solid var(--foreground); outline-offset: 12px; border-radius: 16px; }
.marketplace-post { --post-border: #e5e7e9; --post-muted: #687581; --post-ink: #001026; position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border: 1px solid var(--post-border); border-radius: 14px; background: var(--paper); color: var(--post-ink); box-shadow: 0 2px 4px #00000005, 0 12px 32px #0000000d; transform-origin: 50% 50%; will-change: transform; text-align: start; font-family: "Marketplace Inter", sans-serif; display: flex; flex-direction: column; }
.marketplace-post > * { flex-shrink: 0; }
.marketplace-post > .post-photo { flex: 1; min-height: 160px; height: auto; }
.marketplace-post[data-position="0"] { z-index: 4; transform: none; }
.marketplace-post[data-position="1"] { z-index: 3; transform: translate(22px, 12px) rotate(4deg) scale(.96); }
.marketplace-post[data-position="2"] { z-index: 1; transform: translate(0, 24px) scale(.92); opacity: 0; }
.marketplace-post[data-position="3"] { z-index: 2; transform: translate(-22px, 12px) rotate(-4deg) scale(.96); }
.post-brand { display: flex; align-items: center; gap: 7px; height: 48px; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.post-brand img { width: 150px; height: auto; object-fit: contain; object-position: left center; }
.post-example { margin-inline-start: auto; color: var(--post-muted); font-size: 10px; font-weight: 400; }
.post-meta { color: var(--post-muted); font-size: 12px; line-height: 1.5; }
.post-photo { position: relative; width: 100%; height: 250px; overflow: hidden; background: #fff; }
.post-photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.photo-enhanced { opacity: 1; transition: opacity 250ms var(--website-ease); }
[data-enhanced="false"] .photo-enhanced { opacity: 0; }
.post-description { margin: 0; font: 12px/1.6 "Marketplace Inter", system-ui, sans-serif; padding: 14px 16px; }
.post-save { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; background: #ffffffed; border-radius: 7px; color: var(--post-ink); }
.post-save svg { width: 18px; height: 18px; }
.sbazar-heading { padding: 4px 16px 14px; }
.sbazar-back { display: block; margin-bottom: 12px; color: #c00; font-size: 13px; }
.sbazar-heading h3 { font: 700 22px/1.25 "Marketplace Inter", sans-serif; letter-spacing: -.035em; }
.sbazar-heading strong { display: block; margin-top: 6px; font: 600 22px/1.2 "Marketplace Inter", sans-serif; letter-spacing: -.02em; }
.sbazar-heading .post-meta { display: block; margin-top: 4px; font-size: 14px; }
.sbazar-gallery { position: relative; flex: 1; min-height: 160px; }
.sbazar-gallery .post-photo { height: 100%; }
.sbazar-contact { display: flex; gap: 8px; padding: 0 16px 14px; font-size: 11px; font-weight: 600; text-align: center; }
.sbazar-contact > span { flex: 1; padding: 10px 8px; border: 1px solid var(--post-border); border-radius: 24px; white-space: nowrap; }
.sbazar-contact > span:first-child { background: #c00; border-color: #c00; color: #fff; }
.marketplace-post--bazos { font-family: Arial, sans-serif; color: #171717; border-radius: 8px; }
.marketplace-post--bazos .post-brand { height: 56px; border-bottom: 5px solid #ee8500; }
.marketplace-post--bazos .post-brand img { width: 120px; }
.bazos-heading { padding: 14px 16px 10px; }
.bazos-heading h3 { margin: 8px 0 4px; color: #a83608; font: bold 19px/1.3 Arial, sans-serif; text-decoration: underline; }
.marketplace-post--bazos .post-description { font-family: Arial, sans-serif; }
.bazos-details { margin: 0; padding: 0 16px 14px; font: 12px/1.6 Arial, sans-serif; }
.bazos-details > div { display: flex; gap: 8px; }
.bazos-details dt { width: 52px; }
.bazos-details dd { margin: 0; font-weight: bold; }
.marketplace-post--vinted .post-brand { color: #007782; border-bottom: 1px solid var(--post-border); }
.marketplace-post--vinted .post-brand img, .marketplace-post--facebook .post-brand img { width: 24px; height: 24px; }
.vinted-seller { display: flex; gap: 8px; align-items: center; height: 42px; padding: 8px 14px; color: #565b5d; font-size: 11px; }
.vinted-seller > span { display: grid; place-items: center; width: 24px; height: 24px; background: #efefef; border-radius: 50%; font-size: 10px; }
.vinted-gallery { position: relative; flex: 1; min-height: 160px; }
.vinted-gallery .post-photo { height: 100%; }
.vinted-gallery .post-save { border-radius: 50%; }
.post-details { padding: 14px 16px; }
.post-details h3 { font: 500 18px/1.4 "Marketplace Inter", system-ui, sans-serif; letter-spacing: -.02em; }
.post-details .post-meta { margin-top: 3px; }
.post-price { display: block; margin-top: 8px; font: 600 20px/1.4 "Marketplace Inter", system-ui, sans-serif; }
.vinted-contact, .facebook-contact { padding: 10px; margin-top: 12px; border-radius: 6px; text-align: center; color: #007782; border: 1px solid #007782; font-size: 12px; }
.marketplace-post--facebook .post-brand { color: #1760b4; border-bottom: 1px solid var(--post-border); }
.marketplace-post--facebook .post-price { margin-top: 2px; }
.marketplace-post--facebook .post-description { padding: 10px 0 0; }
.facebook-contact { margin-top: 10px; border: 0; color: #1760b4; background: #e8f1ff; }
.deck-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.deck-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: var(--foreground); background: transparent; cursor: pointer; }
.deck-arrow[data-deck-prev] svg { transform: rotate(180deg); }
.deck-platforms { display: flex; gap: 6px; }
.deck-platforms button { display: grid; place-items: center; width: 44px; height: 44px; padding: 2px; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transition: border-color var(--website-feedback); }
.deck-platforms button[aria-pressed="true"] { border-color: var(--foreground); }
.deck-platforms .platform-avatar { width: 36px; height: 36px; border: 1px solid #00000010; box-shadow: none; }
.deck-platforms .platform-avatar > span { transform: scale(.85); }
.deck-instructions { margin: 10px 0 0; text-align: center; color: var(--muted-foreground); font-size: 11px; line-height: 1.5; }
[data-deck-name] { color: var(--foreground); }
.before-after button:focus-visible, .tweaks button:focus-visible { outline: 2px solid var(--foreground); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .deck-arrow:hover, .product-groups button:hover { background: color-mix(in srgb, var(--foreground) 5%, var(--background)); }
  .deck-platforms button:hover { border-color: var(--muted-foreground); }
}
.deck-arrow:active, .deck-platforms button:active { transform: scale(.96); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.tweaks { position: fixed; inset-inline-end: 20px; inset-block-end: 20px; z-index: 80; font: 13px/1.45 Inter, system-ui, sans-serif; }
.tweaks-toggle { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; padding: 11px 16px; border: 1px solid var(--subtle-line); border-radius: 999px; background: var(--background); color: var(--foreground); box-shadow: 0 3px 18px #00000018; cursor: pointer; font-weight: 600; }
.tweaks-panel { width: min(348px, calc(100vw - 32px)); margin-bottom: 12px; border: 1px solid var(--subtle-line); border-radius: 18px; background: var(--background); color: var(--foreground); box-shadow: 0 12px 60px #00000026; overflow: hidden; }
.tweaks-heading { padding: 16px 18px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tweaks-heading h2 { font: 600 14px/1.4 Inter, system-ui, sans-serif; }
.tweaks-heading span { color: var(--muted-foreground); font-size: 11px; }
.tweaks-scroll-wrap { position: relative; }
.tweaks-options { overflow-y: auto; overscroll-behavior: contain; max-height: min(430px, calc(100svh - 200px)); padding: 0 8px 8px; }
.tweaks-options button { display: flex; align-items: center; width: 100%; gap: 12px; padding: 10px; text-align: start; border: 0; border-radius: 8px; background: transparent; color: var(--foreground); cursor: pointer; line-height: 1.4; }
.tweaks-options button:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.tweaks-options button[aria-pressed="true"] { background: color-mix(in srgb, var(--foreground) 9%, transparent); font-weight: 600; }
.tweaks-number { flex: 0 0 20px; color: var(--muted-foreground); font: 11px/1.4 ui-monospace, monospace; }
.tweaks-footer { display: flex; gap: 16px; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--subtle-line); color: var(--muted-foreground); font-size: 11px; }
.tweaks-footer a { text-decoration: underline; text-underline-offset: 3px; }
.tweaks-fade { position: absolute; inset: 0 0 auto; z-index: 1; pointer-events: none; }
.tweaks-fade i { display: block; position: absolute; inset: 0 0 auto; opacity: var(--scroll-fade, 0); }
.tweaks-fade i:nth-child(1) { height: 24px; backdrop-filter: blur(1px); mask-image: linear-gradient(black, transparent); }
.tweaks-fade i:nth-child(2) { height: 16px; backdrop-filter: blur(4px); mask-image: linear-gradient(black, transparent); }
.tweaks-fade i:nth-child(3) { height: 24px; background: linear-gradient(var(--background), transparent); }
.tweaks [hidden] { display: none; }

@media (max-width: 1000px) {
  .before-after { padding-inline: 8px; }
  .before-after-grid { gap: 16px; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
  .transformation-arrow { width: 24px; }
  .transformation-label { font-size: 20px; gap: 8px; }
  .bulk-upload { padding: 14px; }
  .upload-grid { gap: 8px; }
  .product-groups button { gap: 8px; padding: 8px; }
  .product-groups img { width: 36px; flex-basis: 36px; height: 40px; }
  .product-groups button > span { font-size: 11px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 60px); }
  .hero-description { font-size: 15px; max-width: 365px; margin: 20px auto 24px; }
  .hero-backdrop { height: 600px; }
  .platform-logos { margin-top: 20px; }
  .before-after { margin-top: 40px; padding: 0 0 24px; }
  .before-after-grid { grid-template-columns: 1fr; gap: 28px; }
  .before-panel, .after-panel { width: 100%; max-width: 400px; margin-inline: auto; }
  .transformation-label { font-size: 22px; margin-bottom: 20px; justify-content: center; }
  .bulk-upload { margin: 0 12px; padding: 16px; }
  .product-groups { margin-inline: 12px; }
  .product-groups button > span { font-size: 12px; }
  .product-groups img { width: 44px; flex-basis: 44px; height: 48px; }
  .grouping-caption { margin-top: 20px; }
  .transformation-arrow { display: none; }
  .after-panel { margin-top: 12px; }
  .enhance-control { margin: -4px 24px 20px; }
  .deck-stage { padding-inline: 24px; }
  .listing-deck { height: 552px; }
  .tweaks { inset-inline-end: 12px; inset-block-end: 12px; }
}
@media (max-width: 380px) {
  .before-after { margin-inline: -4px; }
  .transformation-label { font-size: 20px; }
  .bulk-upload { margin-inline: 4px; padding: 12px; }
  .product-groups { margin-inline: 4px; gap: 8px; }
  .product-groups button { gap: 6px; padding: 6px; }
  .product-groups img { width: 36px; flex-basis: 36px; height: 42px; }
  .product-groups button > span { font-size: 11px; }
  .deck-stage { padding-inline: 14px; }
  .enhance-control { margin-inline: 14px; gap: 8px; }
  .listing-deck { height: 552px; }
  .post-brand, .post-details { padding-inline: 12px; }
  .sbazar-heading { padding-inline: 12px; }
  .sbazar-heading h3 { font-size: 18px; }
  .post-description { padding-inline: 12px; font-size: 11px; }
  .sbazar-contact { padding-inline: 12px; gap: 6px; font-size: 10px; }
  .deck-controls { gap: 6px; }
  .deck-platforms { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .marketplace-post { will-change: auto; }
  .photo-enhanced, .switch-track > span, .deck-platforms button { transition: none; }
}
