﻿/* Market catalogue and welcome banner; common shell geometry stays authoritative. */
body[data-market-journey="shops"] #market-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-market-journey="shops"] .mosaic-product{position:relative;isolation:isolate;min-height:400px;border:.5px solid #8bd5ff55;border-radius:17px;background:#06182d;box-shadow:0 0 18px 2px #459cff55,0 8px 26px #0003;animation:market-card-outer-mist 12s ease-in-out infinite;animation-delay:var(--market-card-mist-delay,0s);content-visibility:auto;contain-intrinsic-size:auto 400px}
/* The coloured mist belongs outside the card; media and layout keep their frame. */
body[data-market-journey="shops"] .mosaic-product::after{content:none}
html.market-product-preview-open body[data-market-journey="shops"] .mosaic-product{animation-play-state:paused}
body[data-market-journey="shops"] .mosaic-product:hover{box-shadow:0 0 23px 3px #459cff66,0 8px 26px #0003}
@keyframes market-card-outer-mist{
  0%,100%{box-shadow:0 0 18px 2px #459cff55,0 8px 26px #0003}
  25%{box-shadow:0 0 18px 2px #b174ed55,0 8px 26px #0003}
  50%{box-shadow:0 0 18px 2px #45cba955,0 8px 26px #0003}
  75%{box-shadow:0 0 18px 2px #dc71b655,0 8px 26px #0003}
}
body[data-market-journey="shops"] .mosaic-media{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:inherit;z-index:0}
body[data-market-journey="shops"] .mosaic-media::after{inset:0;background:linear-gradient(#03142ec9,transparent 24%,transparent 40%,#021429de 75%,#021126f5)}
body[data-market-journey="shops"] .mosaic-store-row{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:3px 10px;min-height:53px;padding:12px 14px;background:linear-gradient(110deg,#102c4b99,#03142666);backdrop-filter:blur(8px);pointer-events:none}
body[data-market-journey="shops"] .mosaic-store-link{pointer-events:auto;max-width:100%;font-size:12px;flex-basis:100%}.mosaic-store-orders{font-size:10px}
body[data-market-journey="shops"] .mosaic-media-controls{top:67px;left:12px;background:#04172c99}
body[data-market-journey="shops"] .mosaic-product .product-heart{top:67px;right:12px}
body[data-market-journey="shops"] .mosaic-overlay{left:15px;right:15px;bottom:110px;gap:6px 8px}
body[data-market-journey="shops"] .mosaic-product .product-info{position:relative;z-index:2;margin-top:auto;padding:12px 14px 15px;background:transparent;pointer-events:none}
body[data-market-journey="shops"] .mosaic-product .product-info button{pointer-events:auto}
body[data-market-journey="shops"] .mosaic-title{min-height:39px;max-height:39px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body[data-market-journey="shops"] .mosaic-actions{min-height:30px;margin-top:8px;gap:6px;flex-wrap:wrap}
body[data-market-journey="shops"] .market-load-more-wrap{display:flex;justify-content:center;padding:16px 0 24px}
body[data-market-journey="shops"] #market-load-more{min-height:74px;width:min(100%,460px);border:.5px solid #81d8ff77;border-radius:20px;background:radial-gradient(ellipse at 35% 110%,#459fff44,transparent 65%),#071e37cc;box-shadow:0 0 35px #359afc26,inset 0 0 25px #6abfff19;color:#dcf5ff;font-size:15px;letter-spacing:.025em;cursor:pointer}
body[data-market-journey="shops"] :is(main,.market-header,.market-nav,.market-dialog) :is(button,a.button,.hero-workflows a,summary){border-radius:10px;box-shadow:inset 0 0 14px #71bcff17,0 0 13px #3c9fff12;transition:box-shadow .25s,border-color .25s;background-image:radial-gradient(ellipse at 10% 110%,#5faeff25,transparent 65%);background-size:180% 180%;animation:market-button-mist 7s ease-in-out infinite alternate}
body[data-market-journey="shops"] :is(main,.market-header,.market-nav,.market-dialog) :is(button,a.button,.hero-workflows a,summary):hover{box-shadow:inset 0 0 20px #84caff3b,0 0 19px #4caaff3b}
body[data-market-journey="shops"] :is(button,a,summary):focus-visible{outline:2px solid #9ae8ff;outline-offset:3px}
@keyframes market-button-mist{from{background-position:0% 100%}to{background-position:100% 0%}}
body[data-market-journey="shops"] .market-department-control{display:flex;align-items:center;gap:14px;margin:16px 0 4px;flex-wrap:wrap}
body[data-market-journey="shops"] #market-departments{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;border:.5px solid #87d5ff66;background-color:#09233dba;color:#e2f6ff;font-size:12px;cursor:pointer}
#market-department-selection{font-size:11px;color:#aac8e0}
body[data-market-journey="shops"] #market-department-panel[hidden]{display:none!important}
body[data-market-journey="shops"] #market-department-panel:not([hidden]){position:relative;inset:auto;width:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:18px;margin:12px 0 18px;border:1px solid #90d6ff44;border-radius:18px;background:#061d34ed;box-shadow:0 0 30px #329bff2b;animation:market-department-reveal .3s ease-out}
#market-department-panel h2{grid-column:1/-1;margin:0 0 8px;font-size:16px;color:#dff5ff}
body[data-market-journey="shops"] #market-department-panel button{min-height:48px;padding:9px;border:.5px solid #7cbdff33;background-color:#0b294655;color:#bfd8eb;white-space:normal;justify-content:flex-start;font-size:11px}
body[data-market-journey="shops"] #market-department-panel button svg{width:20px;height:20px;flex-shrink:0}
#market-department-panel button[aria-pressed="true"]{border-color:#91e4ff!important;color:white!important;background-color:#205180!important}
@keyframes market-department-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
body[data-market-journey="shops"] .market-top-grid{display:block}
body[data-market-journey="shops"] .market-hero{min-height:520px;border:1px solid #78c6ff44;border-radius:22px;margin-top:16px;background:#07192d}
body[data-market-journey="shops"] .market-hero::before{z-index:0;pointer-events:none;background:linear-gradient(90deg,#031325e8,#031325a8 46%,#03132518 85%)}
.market-future-background{position:absolute;inset:0;z-index:-1;overflow:hidden}.market-future-background img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:opacity .35s}.market-future-background img.is-switching{opacity:.35}
body[data-market-journey="shops"] .hero-copy{position:relative;z-index:1;width:min(690px,72%);padding:36px 30px 64px}
body[data-market-journey="shops"] .hero-copy h1{font-size:clamp(30px,3.5vw,49px)}
body[data-market-journey="shops"] .hero-workflows{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px;max-width:540px}
body[data-market-journey="shops"] .hero-workflows :is(button,a){display:flex;align-items:center;gap:10px;min-height:49px;padding:12px 14px;border:.5px solid #a4dfff55;background-color:#082139ac;backdrop-filter:blur(12px);color:#e3f4ff;text-decoration:none;font-size:12px;text-align:left;cursor:pointer}
.hero-workflows :is(button,a)>span{font-size:19px;color:#9cddff}
body[data-market-journey="shops"] .hero-pagination{bottom:14px;gap:9px;align-items:center}
body[data-market-journey="shops"] .hero-pagination button{width:22px;height:22px;min-height:22px;border:.5px solid #b9e8ff66;border-radius:50%;padding:0;background-color:#0b213aaa;cursor:pointer;color:#dcf7ff;font-size:10px}
body[data-market-journey="shops"] .hero-pagination button[aria-pressed="true"]{background-color:#68c9ff;box-shadow:0 0 14px #5ac7ff88}
body[data-market-journey="shops"] #market-hero-pause{margin-left:6px;background-color:#0b213aaa}
@media(max-width:760px){
 body[data-market-journey="shops"] #market-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
 body[data-market-journey="shops"] .mosaic-product{min-height:257px;contain-intrinsic-size:auto 257px;border-radius:12px}
 body[data-market-journey="shops"] .mosaic-store-row{padding:8px 6px;min-height:46px;gap:3px;background:#06162a99}
 body[data-market-journey="shops"] .mosaic-store-link{font-size:9px}.mosaic-store-orders{font-size:8px}
 body[data-market-journey="shops"] .mosaic-media-controls{top:50px;left:3px;padding:2px;gap:0;font-size:7px;max-width:calc(100% - 6px);flex-wrap:wrap;border-radius:7px}
 body[data-market-journey="shops"] .mosaic-media-controls button{min-width:19px;min-height:25px;font-size:14px}.mosaic-media-position{padding:0 2px}
 body[data-market-journey="shops"] .mosaic-product .product-heart{top:89px;right:6px;width:25px;height:25px;font-size:17px}
 body[data-market-journey="shops"] .mosaic-overlay{left:7px;right:7px;bottom:99px;gap:3px;grid-template-columns:1fr}
 body[data-market-journey="shops"] .mosaic-price{font-size:13px;letter-spacing:-.015em}.mosaic-minimum,.mosaic-views{font-size:8px;text-align:left}
 body[data-market-journey="shops"] .mosaic-product .product-info{padding:6px 7px 9px}
 body[data-market-journey="shops"] .mosaic-title{font-size:10px;line-height:1.3;min-height:27px;max-height:27px}
 body[data-market-journey="shops"] .mosaic-actions{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-top:6px}
 .mosaic-stock{grid-column:1/-1;font-size:8px}
 body[data-market-journey="shops"] .mosaic-actions .product-compare{font-size:0;min-height:28px;padding:0}
 body[data-market-journey="shops"] .mosaic-actions .product-compare::after{content:'⇄';font-size:17px}
 body[data-market-journey="shops"] .mosaic-add{font-size:0;min-height:28px;padding:0}
 body[data-market-journey="shops"] .mosaic-add::after{content:'＋';font-size:19px}
 body[data-market-journey="shops"] #market-load-more{min-height:65px;font-size:12px}
 body[data-market-journey="shops"] #market-department-panel:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px}
 body[data-market-journey="shops"] #market-departments{font-size:11px}
 body[data-market-journey="shops"] .market-hero{min-height:540px;border-radius:17px}
 body[data-market-journey="shops"] .hero-copy{width:100%;padding:25px 18px 55px}
 body[data-market-journey="shops"] .hero-copy h1{font-size:29px}.market-future-background img{object-position:65% center}
 body[data-market-journey="shops"] .market-hero::before{background:linear-gradient(90deg,#031325de,#0313259c 70%,#03132577)}
 body[data-market-journey="shops"] .hero-workflows{gap:8px;margin-top:20px}
 body[data-market-journey="shops"] .hero-workflows :is(button,a){font-size:10px;padding:9px;min-height:52px;gap:7px}
 .hero-workflows :is(button,a)>span{font-size:16px}
}
@media(max-width:350px){body[data-market-journey="shops"] .mosaic-price{font-size:12px}body[data-market-journey="shops"] .mosaic-title{font-size:9px}body[data-market-journey="shops"] .hero-copy{padding-inline:13px}body[data-market-journey="shops"] .hero-workflows :is(button,a){font-size:9px}}
@media(prefers-reduced-motion:reduce){body[data-market-journey="shops"] *,body[data-market-journey="shops"] *::before{animation:none!important;transition:none!important}}
body[data-market-journey="shops"][data-market-decor-paused] button{animation-play-state:paused!important}

html.unipay-video-render-budget body[data-market-journey="shops"] button{animation-play-state:paused!important}
