/* V54: the home header and complete search panel always use a light palette. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) :is(.site-header,.mobile-marketplace-home) {
    color-scheme:light!important;
    --mobile-bg:#fff; --mobile-surface:#f7f9fc; --mobile-text:#151923;
    --mobile-muted:#7c8290; --mobile-line:#e1e8f2; --mobile-accent:#0086ff;
    --bg:#fff; --surface:#f7f9fc; --surface2:#f0f3fb;
    --text:#151923; --muted:#7c8290; --line:#e1e8f2;
    color:#151923!important;
  }
  body.home-page:not(.owner-body) .site-header { background:linear-gradient(110deg,#fff 40%,#e1f2ff)!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home { background:#f7fbff!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search { background:#fff!important; color:#151923!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-tabs { background:#f0f3fb!important; color:#323b4a!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-tabs button { background:transparent!important; color:#323b4a!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-tabs button.active { background:#0086ff!important; color:#fff!important; border-color:#0086ff!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home :is(.mobile-smart-search-form,.mobile-auto-search-card) { background:#f7f9fc!important; color:#151923!important; border-color:#e1e8f2!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-form input { background:transparent!important; color:#202735!important; -webkit-text-fill-color:#202735!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-form input::placeholder { color:#707887!important; -webkit-text-fill-color:#707887!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-form button { background:#0086ff!important; color:#fff!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home :is(.mobile-smart-search-head strong,.mobile-auto-search-copy b) { color:#151923!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home :is(.mobile-smart-search-panel>small,.mobile-auto-search-copy small,.mobile-auto-search-copy em) { color:#7c8290!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-search-assurance { background:#f0f6ff!important; color:#2582bd!important; }
}

/* V62: rebuilt mobile hero and continuous gallery progress. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .site-header {
    height:150px!important; padding:24px 14px 12px!important;
    align-items:flex-start!important; justify-content:center!important;
    background:#f8fbfe url('/assets/img/mobile-header-classic-v62.jpg') center center/cover no-repeat!important;
  }
  body.home-page:not(.owner-body) .site-header::after {
    content:''; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(90deg,rgba(255,255,255,.78),rgba(255,255,255,.18) 48%,rgba(255,255,255,.04));
  }
  body.home-page:not(.owner-body) .site-header .brand {
    position:relative!important; z-index:2!important; align-items:center!important;
    text-align:center!important; margin-top:5px!important;
  }
  body.home-page:not(.owner-body) .site-header .brand-name { font-size:31px!important; }
  body.home-page:not(.owner-body) .site-header .brand-sub { margin-top:7px!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home {
    width:calc(100% + 24px)!important; margin:-24px -12px 20px!important;
    padding:0 12px 17px!important; border-radius:0 0 34px 34px!important;
    background:transparent!important; box-shadow:0 10px 22px rgba(17,31,48,.10)!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home::before {
    inset:22px 0 0!important; border-radius:0 0 34px 34px!important; background:#fff!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search {
    width:calc(100% - 8px)!important; margin:0 auto!important; padding:15px!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip {
    margin:12px 0 0!important; padding:2px 1px 1px!important;
  }
  body:not(.owner-body) .gallery-main { touch-action:pinch-zoom!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots {
    --gallery-progress:0%; width:58px!important; height:3px!important; padding:0!important;
    overflow:hidden!important; background:rgba(255,255,255,.42)!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots::before {
    content:''; display:block; width:var(--gallery-progress); height:100%; border-radius:999px;
    background:#fff; transition:width .2s ease;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span { display:none!important; }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn:not(.is-active) {
    filter:drop-shadow(0 1px 2px rgba(0,0,0,.38)) drop-shadow(0 0 1px rgba(0,0,0,.24))!important;
  }
  body:not(.owner-body) .product-card.product-card-link .product-bottom strong { font-weight:600!important; }
}

/* V61: square search surface, category pills and progressive gallery trail. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .mobile-marketplace-home,
  body.home-page:not(.owner-body) .mobile-marketplace-home::before {
    border-radius:0!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip {
    gap:7px!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card {
    height:42px!important; min-height:42px!important; width:auto!important; min-width:max-content!important;
    flex:0 0 auto!important; padding:0 18px!important; border:0!important;
    border-radius:35px!important; background:#aeb7c2!important; box-shadow:none!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card img,
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card .round-arrow {
    display:none!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card h3 {
    position:static!important; width:auto!important; margin:0!important;
    color:#fff!important; font-size:13px!important; line-height:1!important; font-weight:500!important;
    overflow:visible!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots { gap:0!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span {
    width:5px!important; height:5px!important; flex:0 0 5px!important; margin-left:4px!important;
    opacity:.6!important; transition:width .18s ease,margin .18s ease,opacity .18s ease!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span:first-child { margin-left:0!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-eaten {
    width:9px!important; flex-basis:9px!important; margin-left:0!important;
    border-radius:999px!important; opacity:1!important; background:#fff!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-active {
    width:15px!important; flex-basis:15px!important;
  }
  body:not(.owner-body) .gallery-main { border:0!important; outline:0!important; }
  body:not(.owner-body) .gallery-thumbs.media-strip .gallery-thumb {
    border:0!important; outline:0!important; padding:0!important; background:transparent!important; box-shadow:none!important;
  }
  body:not(.owner-body) .gallery-thumbs.media-strip .gallery-thumb.active {
    border:2px solid #2f7df0!important; padding:0!important; box-shadow:none!important;
  }
  body:not(.owner-body) .gallery-thumbs.media-strip .gallery-thumb img { border:0!important; }
}

@media(max-width:760px) and (prefers-color-scheme:dark) {
  body:not(.owner-body) .product-description-section :is(h2,.product-description-text) { color:#fff!important; }
  body:not(.owner-body) .product-compatibility { background:#fff!important; border-color:#fff!important; }
  body:not(.owner-body) .product-compatibility :is(.product-block-heading,.compatibility-vehicle,.compatibility-vehicle b) { color:#20262d!important; }
  body:not(.owner-body) .product-compatibility :is(.compatibility-vehicle small,.vin-box.vin-box-inline label) { color:#737d88!important; }
}

/* V60: categories complete the light search surface; media controls stay on-image. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .mobile-marketplace-home {
    margin-bottom:18px!important;
    padding:0 10px 13px!important;
    border-radius:0 0 35px 35px!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home::before {
    border-radius:0 0 35px 35px!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip {
    position:relative; z-index:1;
    margin:10px -2px 0!important;
    padding:2px 2px 1px!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots {
    position:absolute!important; left:50%!important; right:auto!important;
    bottom:6px!important; z-index:5!important;
    width:auto!important; max-width:calc(100% - 76px)!important;
    margin:0!important; padding:3px 6px!important;
    transform:translateX(-50%)!important;
    border-radius:999px!important;
    background:rgba(28,31,36,.38)!important;
    backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span {
    background:rgba(255,255,255,.58)!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-active {
    background:#fff!important;
  }
  body.home-page:not(.owner-body) .product-card.product-card-link .mobile-expected-overlay {
    bottom:22px!important;
  }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn:not(.is-active) {
    color:#fff!important;
    filter:drop-shadow(0 1px 3px rgba(0,0,0,.72)) drop-shadow(0 0 1px rgba(0,0,0,.55))!important;
  }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn.is-active {
    color:#e32636!important;
    filter:drop-shadow(0 1px 2px rgba(0,0,0,.34))!important;
  }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn svg {
    fill:currentColor!important; stroke:currentColor!important;
  }
  body:not(.owner-body) .mobile-bottom-nav {
    left:0!important; right:0!important; bottom:0!important;
    width:100%!important; max-width:none!important;
    transform:none!important; border-radius:0!important;
  }
}

@media(max-width:760px) and (prefers-color-scheme:dark) {
  body:not(.owner-body) .product-card .product-image.adaptive-media.media-white,
  body:not(.owner-body) .catalog-grid .product-card .product-image.adaptive-media.media-white {
    background:#d7d9dc!important;
  }
  body:not(.owner-body) .product-card .product-image.adaptive-media.media-white .adaptive-media-foreground,
  body:not(.owner-body) .catalog-grid .product-card .product-image.adaptive-media.media-white .adaptive-media-foreground {
    filter:brightness(.94) saturate(.97)!important;
  }
}

/* V58: simplified mobile product-card indicators. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .product-card.product-card-link .product-badge.is-stock { display:none!important; }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn {
    top:8px!important; right:5px!important;
  }
  body.home-page:not(.owner-body) .product-card.product-card-link .mobile-expected-overlay {
    border:0!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots {
    position:static!important; left:auto!important; bottom:auto!important;
    transform:none!important; align-self:center;
    display:flex; align-items:center; justify-content:center; gap:4px;
    width:max-content; max-width:100%; min-height:10px;
    margin:2px auto 1px; padding:0!important;
    border-radius:0; background:transparent!important;
    pointer-events:none;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span {
    width:4px; height:4px; flex:0 0 4px; border-radius:50%;
    background:#69717c!important; opacity:.42;
    box-shadow:none!important; transition:width .15s ease,opacity .15s ease,background .15s ease;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-active {
    width:7px; flex-basis:7px; opacity:1; background:var(--mobile-text)!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots.is-overflow span.is-active {
    width:9px; flex-basis:9px; border-radius:999px;
  }
}

/* V57: explicit vehicle choice and delivery status on product photos. */
.mobile-expected-overlay { display:none; }
.vehicle-brand-mark.is-generic::after { display:none!important; }
.vehicle-brand-mark [data-generic-car] { display:grid; place-items:center; width:100%; height:100%; color:#4d5968; }
@media(max-width:760px) {
  body.home-page:not(.owner-body) .product-card.product-card-link .product-badge.is-condition,
  body.home-page:not(.owner-body) .product-card.product-card-link .product-badge.is-expected { display:none!important; }
  body.home-page:not(.owner-body) .product-card.product-card-link .mobile-expected-overlay {
    position:absolute; right:7px; bottom:7px; z-index:4;
    display:inline-flex; align-items:center; justify-content:center; gap:5px;
    min-height:27px; padding:4px 8px; border-radius:9px;
    background:#e07a12; color:#fff; border:0;
    box-shadow:0 3px 10px rgba(72,40,8,.22);
    font-size:10px; line-height:1; font-weight:400;
    pointer-events:none;
  }
  body.home-page:not(.owner-body) .product-card.product-card-link .mobile-expected-overlay svg {
    width:16px!important; height:16px!important; flex:0 0 16px;
  }
}

/* V56: compact search action and swipeable category icons. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .mobile-header-promo { display:none!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-form button {
    width:36px; height:36px; padding:0; border:0!important; border-radius:0!important;
    background:transparent!important; color:#111820!important; box-shadow:none!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-form button svg { width:22px; height:22px; }
  body.home-page:not(.owner-body) .mobile-auto-search-media>svg { width:27px; height:27px; color:#667180; }
  body.home-page:not(.owner-body) .category-strip {
    display:flex!important; grid-template-columns:none!important; align-items:stretch;
    gap:9px; overflow-x:auto!important; overflow-y:hidden!important;
    margin:4px -12px 13px!important; padding:2px 12px 7px!important;
    scroll-snap-type:x mandatory; scroll-padding-left:12px;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  body.home-page:not(.owner-body) .category-strip::-webkit-scrollbar { display:none; }
  body.home-page:not(.owner-body) .category-card {
    flex:0 0 88px!important; width:88px!important; height:96px!important; min-width:88px!important;
    aspect-ratio:auto!important; scroll-snap-align:start;
    display:flex!important; flex-direction:column; align-items:center; justify-content:flex-start;
    gap:5px; padding:7px 5px 6px!important; border:1px solid #e5eaf0!important;
    border-radius:15px!important; background:#fff!important; color:#1b2028!important;
    box-shadow:0 3px 10px rgba(24,38,56,.055)!important;
  }
  body.home-page:not(.owner-body) .category-card img,
  body.home-page:not(.owner-body) .category-card:nth-child(n) img {
    display:block!important; position:static!important; order:0;
    width:66px!important; height:62px!important; object-fit:contain!important;
    transform:none!important; filter:none!important;
  }
  body.home-page:not(.owner-body) .category-card h3 {
    position:static!important; order:1; width:100%; margin:0!important;
    font-size:11px!important; line-height:1.08; font-weight:500!important;
    text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  body.home-page:not(.owner-body) .category-card .round-arrow { display:none!important; }
}

/* V55: reference banner composition and floating white search card. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .site-header {
    height:116px!important;
    background:#fff url('/assets/img/mobile-header-dubai-v55.png') center top/100% auto no-repeat!important;
    overflow:hidden!important;
  }
  body.home-page:not(.owner-body) .mobile-header-promo { position:absolute; inset:0; height:100%; pointer-events:none; }
  body.home-page:not(.owner-body) .mobile-header-promo img { display:none!important; }
  body.home-page:not(.owner-body) .mobile-header-promo span {
    position:absolute; left:45%; top:15px; padding:8px 9px;
    border-radius:19px; background:linear-gradient(110deg,#eff7ffb8,#eff7ff00);
    font-size:11px; line-height:1.3; font-weight:600;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home {
    position:relative; z-index:2; margin-top:-40px!important;
    padding:0 10px 10px!important; background:transparent!important;
    border-radius:0 0 14px 14px;
    box-shadow:0 7px 16px rgba(8,26,48,.06);
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home::before {
    content:''; position:absolute; inset:30px 0 0; z-index:-1;
    background:#fff; border-radius:0 0 14px 14px;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search {
    position:relative; border-radius:18px!important; padding:12px!important;
    box-shadow:0 2px 18px rgba(97,156,214,.18),0 -3px 13px rgba(255,255,255,.85)!important;
  }
  body.home-page:not(.owner-body) .mobile-smart-search-head { padding:0 0 10px; }
  body.home-page:not(.owner-body) .mobile-smart-search-head strong { font-size:18px!important; letter-spacing:-.025em; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-tabs {
    padding:2px; border-radius:15px; margin-bottom:10px;
    background:linear-gradient(110deg,#eff6ff,#f1f2fb)!important;
  }
  body.home-page:not(.owner-body) .mobile-smart-search-tabs button { height:32px; border-radius:12px; }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-tabs button.active {
    box-shadow:0 1px 7px rgba(0,133,255,.32)!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search-form {
    height:42px; grid-template-columns:34px minmax(0,1fr) 40px;
    box-shadow:inset 0 0 0 1px rgba(226,233,244,.25); border-radius:15px;
  }
  body.home-page:not(.owner-body) .mobile-smart-search-form button { width:35px; height:35px; }
  body.home-page:not(.owner-body) .mobile-smart-search-panel>small { margin:6px 0 0; }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn {
    width:40px!important; height:40px!important; top:8px!important; right:5px!important;
  }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn svg { width:24px!important; height:24px!important; }
  body:not(.owner-body) .product-card.product-card-link :is(.product-name,.mobile-product-fitment,.product-bottom strong,.product-badge,.product-fitment-line,.muted,.product-meta-line,.product-location,.product-description) { font-weight:400!important; }
}

/* V59: stable mobile focus, larger lower corners and single-line photo dots. */
@media(max-width:760px) {
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  body:not(.owner-body) :is(input,select,textarea) { font-size:16px!important; }
  body:not(.owner-body) .search-focus-veil { display:none!important; }
  body:not(.owner-body).search-focus-mode :is(.site-header,main,.mobile-bottom-nav,.search-pill-active) {
    transform:none!important; filter:none!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home {
    border-radius:0 0 35px 35px!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home::before {
    border-radius:0 0 35px 35px!important;
  }
  body:not(.owner-body) .product-card.product-card-link .product-image,
  body:not(.owner-body) .catalog-grid .product-card.product-card-link .product-image {
    border:0!important; outline:0!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots {
    flex-wrap:nowrap!important; white-space:nowrap!important;
    overflow:hidden!important; max-width:100%!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span {
    flex-shrink:0!important;
  }
}

/* V60 final cascade overrides. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .mobile-marketplace-home { margin-bottom:18px!important; padding-bottom:13px!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip { margin:10px -2px 0!important; padding:2px 2px 1px!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots {
    position:absolute!important; left:50%!important; right:auto!important; bottom:6px!important; z-index:5!important;
    width:auto!important; max-width:calc(100% - 76px)!important; min-height:0!important;
    margin:0!important; padding:3px 6px!important; transform:translateX(-50%)!important;
    border-radius:999px!important; background:rgba(28,31,36,.38)!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span { background:rgba(255,255,255,.58)!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-active { background:#fff!important; }
  body.home-page:not(.owner-body) .product-card.product-card-link .mobile-expected-overlay { bottom:22px!important; }
}

/* V61 final cascade. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .mobile-marketplace-home,
  body.home-page:not(.owner-body) .mobile-marketplace-home::before { border-radius:0!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip { gap:7px!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card {
    height:42px!important; min-height:42px!important; width:auto!important; min-width:max-content!important;
    flex:0 0 auto!important; padding:0 18px!important; border:0!important; border-radius:35px!important;
    background:#aeb7c2!important; box-shadow:none!important; display:flex!important;
    align-items:center!important; justify-content:center!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card img,
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card .round-arrow { display:none!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip .category-card h3 {
    position:static!important; width:auto!important; margin:0!important; color:#fff!important;
    font-size:13px!important; line-height:1!important; font-weight:500!important; overflow:visible!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots { gap:0!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span {
    width:5px!important; height:5px!important; flex:0 0 5px!important; margin-left:4px!important; opacity:.6!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span:first-child { margin-left:0!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-eaten {
    width:9px!important; flex-basis:9px!important; margin-left:0!important; border-radius:999px!important;
    opacity:1!important; background:#fff!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span.is-active { width:15px!important; flex-basis:15px!important; }
}

/* V62 final cascade. */
@media(max-width:760px) {
  body.home-page:not(.owner-body) .site-header {
    height:150px!important; padding:24px 14px 12px!important; align-items:flex-start!important; justify-content:center!important;
    background:#f8fbfe url('/assets/img/mobile-header-classic-v62.jpg') center center/cover no-repeat!important;
  }
  body.home-page:not(.owner-body) .site-header::after {
    content:''; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(90deg,rgba(255,255,255,.76),rgba(255,255,255,.16) 52%,rgba(255,255,255,.03));
  }
  body.home-page:not(.owner-body) .site-header .brand {
    position:relative!important; z-index:2!important; align-items:center!important; text-align:center!important; margin-top:5px!important;
  }
  body.home-page:not(.owner-body) .site-header .brand-name { font-size:31px!important; }
  body.home-page:not(.owner-body) .site-header .brand-sub { margin-top:7px!important; }
  body.home-page:not(.owner-body) .mobile-marketplace-home {
    width:calc(100% + 24px)!important; margin:-24px -12px 20px!important; padding:0 12px 17px!important;
    border-radius:0 0 34px 34px!important; background:transparent!important; box-shadow:0 10px 22px rgba(17,31,48,.10)!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home::before {
    inset:22px 0 0!important; border-radius:0 0 34px 34px!important; background:#fff!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home .mobile-smart-search {
    width:calc(100% - 8px)!important; margin:0 auto!important; padding:15px!important;
  }
  body.home-page:not(.owner-body) .mobile-marketplace-home > .category-strip { margin:12px 0 0!important; padding:2px 1px 1px!important; }
  body:not(.owner-body) .gallery-main { touch-action:pinch-zoom!important; }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots {
    --gallery-progress:0%; width:58px!important; height:3px!important; padding:0!important;
    overflow:hidden!important; background:rgba(255,255,255,.42)!important;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots::before {
    content:''; display:block; width:var(--gallery-progress); height:100%; border-radius:999px;
    background:#fff; transition:width .2s ease;
  }
  body:not(.owner-body) .product-card.product-card-link .card-photo-dots span { display:none!important; }
  body:not(.owner-body) .product-card.product-card-link .favorite-btn:not(.is-active) {
    filter:drop-shadow(0 1px 2px rgba(0,0,0,.38)) drop-shadow(0 0 1px rgba(0,0,0,.24))!important;
  }
  body:not(.owner-body) .product-card.product-card-link .product-bottom strong { font-weight:600!important; }
}

/* V63: photo search and central camera action. */
.photo-search-page { max-width:760px;margin:24px auto;padding:20px;border-radius:24px;background:var(--mobile-surface,#f5f7fa);color:var(--mobile-text,#20262d); }
.photo-search-page h1 { font-size:26px;line-height:1.2; }
.photo-search-page p { line-height:1.55; }
.photo-search-actions { display:flex;flex-wrap:wrap;gap:12px;margin:20px 0; }
.photo-search-actions label,.photo-type { padding:12px 16px;border-radius:18px;border:0;background:#1675ee;color:#fff;cursor:pointer;font:inherit; }
.photo-search-actions label:focus-within { outline:3px solid #ff9b26;outline-offset:3px; }
.photo-search-actions input { position:absolute;width:1px;height:1px;opacity:0; }
#photo-preview { display:block;width:100%;max-height:300px;object-fit:contain;border-radius:16px;margin:14px 0; }
#photo-preview[hidden],#photo-cancel[hidden] { display:none; }
#photo-analyze:disabled { opacity:.5;cursor:default; }
#photo-options { display:flex;gap:8px;flex-wrap:wrap; }
.photo-results h2 { font-size:18px;margin:22px 0 12px; }
.photo-results-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px; }
.photo-result { display:flex;flex-direction:column;gap:8px;color:inherit;overflow:hidden; }
.photo-result img { width:100%;aspect-ratio:1;object-fit:cover;border-radius:15px; }
@media(max-width:980px) {
 body:not(.owner-body) .mobile-bottom-nav.photo-nav { display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;align-items:center;gap:0!important; }
 .photo-nav a:nth-child(1) { grid-column:1; }
 .photo-nav a:nth-child(2) { grid-column:2 / 4; }
 .photo-nav a:nth-child(3) { grid-column:4; }
 .photo-nav a:nth-child(4) { grid-column:5; }
 .photo-nav a:nth-child(5) { grid-column:6; }
 .photo-nav a:nth-child(6) { grid-column:7; }
 body:not(.owner-body) .mobile-bottom-nav.photo-nav a { min-width:0;font-size:8px!important; }
 body:not(.owner-body) .mobile-bottom-nav.photo-nav .photo-nav-camera { justify-self:center;align-self:center;width:54px;height:54px;min-width:54px;border-radius:50%!important;background:#ff7e25!important;color:#fff!important;box-shadow:0 3px 12px #ff7e2540;transform:translateY(-8px);display:flex;flex-direction:column;justify-content:center;gap:1px; }
 body:not(.owner-body) .mobile-bottom-nav.photo-nav .photo-nav-camera svg { width:25px!important;height:25px!important; }
 .photo-search-page { margin:14px 0;padding:16px; }
}
