/*
 * CTVN Store marketplace theme
 * Visual direction inspired by large, modern marketplace storefronts.
 * This file is intentionally an override layer: legacy templates, ectype hooks
 * and JavaScript behavior remain untouched.
 */

:root {
    --market-ink: #191919;
    --market-muted: #707070;
    --market-soft: #f7f7f7;
    --market-panel: #f1f1f1;
    --market-line: #e5e5e5;
    --market-blue: #3665f3;
    --market-blue-dark: #2b4fc4;
    --market-green: #058519;
    --market-red: #e53238;
    --market-yellow: #f7d900;
    --market-navy: #001e5a;
    --market-white: #ffffff;
    --market-radius-sm: 8px;
    --market-radius: 16px;
    --market-radius-lg: 24px;
    --market-container: 1392px;
    --market-shadow: 0 1px 2px rgba(25, 25, 25, .08), 0 8px 24px rgba(25, 25, 25, .06);
    --market-focus: 0 0 0 3px rgba(54, 101, 243, .25);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 1180px;
    background: var(--market-white);
    color: var(--market-ink);
    font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: var(--market-ink);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover {
    color: var(--market-blue);
}

button,
.button,
.sc-btn,
input[type="submit"] {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

button:active,
.button:active,
.sc-btn:active,
input[type="submit"]:active {
    transform: translateY(1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--market-blue);
    outline-offset: 2px;
}

img {
    max-width: 100%;
}

.ebay-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000002;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--market-ink);
    color: var(--market-white);
    transform: translateY(-160%);
}

.ebay-skip-link:focus {
    color: var(--market-white);
    transform: translateY(0);
}

.w,
.w1200,
.w1390,
.w1330,
.fnc-warp,
.user-content {
    box-sizing: border-box;
    width: min(calc(100% - 56px), var(--market-container)) !important;
    max-width: var(--market-container);
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Top utility bar */
.site-nav {
    min-width: 1180px;
    height: 35px;
    border-top: 0;
    border-bottom: 1px solid var(--market-line);
    background: var(--market-white);
    color: var(--market-ink);
}

.site-nav .w {
    height: 35px;
    line-height: 35px;
}

.site-nav a,
.site-nav .txt-info,
.site-nav .dt,
.site-nav .iconfont {
    color: var(--market-ink);
    font-size: 12px;
}

.site-nav a:hover,
.site-nav .dt:hover {
    color: var(--market-blue);
    text-decoration: underline;
}

.site-nav .spacer {
    display: none;
}

.site-nav .quick-menu > li {
    margin-left: 20px;
}

.site-nav .dorpdown-layer {
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius-sm);
    box-shadow: var(--market-shadow);
}

/* Main marketplace header */
.header.ebay-market-header,
.header:not(.header-cart):not(.header-b2b):not(.header-settled) {
    height: auto;
    min-height: 96px;
    padding: 18px 0 14px;
    background: var(--market-white);
}

.header.ebay-market-header > .w,
.header:not(.header-cart):not(.header-b2b):not(.header-settled) > .w {
    display: grid;
    grid-template-columns: minmax(160px, 210px) minmax(560px, 1fr) auto;
    align-items: start;
    gap: 24px;
    height: auto;
}

.header.ebay-market-header > .w:before,
.header.ebay-market-header > .w:after,
.header:not(.header-cart):not(.header-b2b):not(.header-settled) > .w:before,
.header:not(.header-cart):not(.header-b2b):not(.header-settled) > .w:after,
.need-channel:before,
.need-channel:after,
.master-con:before,
.master-con:after,
.rec-store-list:before,
.rec-store-list:after,
.user-content:before,
.user-content:after {
    display: none !important;
    content: none !important;
}

.header .logo {
    float: none;
    width: auto;
    height: 56px;
    margin: 0;
    padding: 0;
}

.header .logoImg,
.header .logoImg a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
}

.header .logoImg img {
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}

.header .dsc-search {
    float: none;
    width: auto;
    margin: 0;
}

.header .dsc-search .form {
    width: 100%;
}

.header .search-form {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 132px 94px;
    width: 100%;
    height: 48px;
    border: 2px solid var(--market-ink);
    border-radius: 999px;
    background: var(--market-white);
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
    float: none;
}

.header .search-form:focus-within {
    border-color: var(--market-blue);
    box-shadow: var(--market-focus);
}

.header .search-form .search-text {
    float: none;
    width: 100%;
    height: 44px;
    padding: 0 20px;
    border: 0;
    background: transparent;
    color: var(--market-ink);
    font-size: 15px;
    line-height: 44px;
    box-sizing: border-box;
}

.header .search-form .search-text::placeholder {
    color: var(--market-muted);
}

.header .search-form .search-text:focus {
    outline: none;
}

.header .search-form .button {
    float: none;
    width: auto;
    height: 44px;
    margin: 0;
    border: 0;
    border-left: 1px solid var(--market-line);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.header .search-form .button-goods {
    grid-column: 2;
    background: var(--market-blue);
    color: var(--market-white);
}

.header .search-form .button-goods:hover {
    background: var(--market-blue-dark);
}

.header .search-form .button-store {
    grid-column: 3;
    background: var(--market-white);
    color: var(--market-ink);
}

.header .search-form .button-store:hover {
    background: var(--market-soft);
    color: var(--market-blue);
}

.header .keyword {
    width: auto;
    height: 25px;
    padding: 6px 8px 0 16px;
    overflow: hidden;
    white-space: nowrap;
}

.header .keyword li {
    margin-right: 18px;
}

.header .keyword a {
    color: var(--market-muted);
    font-size: 12px;
}

.header .shopCart {
    position: relative;
    float: none;
    width: auto;
    min-width: 132px;
    height: 48px;
    margin: 0;
}

.header .shopCart .shopCart-con {
    width: auto;
    min-width: 130px;
    height: 46px;
    border: 1px solid var(--market-line);
    border-radius: 999px;
    background: var(--market-white);
    line-height: 46px;
    box-sizing: border-box;
}

.header .shopCart .shopCart-con:hover {
    border-color: var(--market-ink);
    box-shadow: 0 2px 8px rgba(25, 25, 25, .08);
}

.header .shopCart .dorpdown-layer {
    top: 56px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    box-shadow: var(--market-shadow);
}

.suggestions_box {
    border: 1px solid var(--market-line) !important;
    border-radius: var(--market-radius-sm);
    box-shadow: var(--market-shadow);
    overflow: hidden;
}

/* Category navigation */
.nav {
    min-width: 1180px;
    height: 47px;
    border-top: 1px solid var(--market-line);
    border-bottom: 1px solid var(--market-line);
    background: var(--market-white);
}

.nav .w {
    display: flex;
    align-items: center;
    height: 46px;
}

.nav .categorys {
    position: relative;
    float: none;
    flex: 0 0 180px;
    width: 180px;
    height: 46px;
    margin-right: 18px;
}

.nav .categorys .categorys-type {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border: 0;
    border-right: 1px solid var(--market-line);
    background: var(--market-white) !important;
    color: var(--market-ink);
    line-height: 46px;
}

.nav .categorys .categorys-type a,
.nav .categorys .categorys-type .iconfont {
    color: var(--market-ink) !important;
    font-weight: 600;
}

.nav .categorys .categorys-type .iconfont {
    margin: 0 8px 0 0;
}

.nav .categorys .categorys-tab-content {
    visibility: hidden;
    top: 46px;
    left: 0;
    width: 248px;
    height: auto;
    max-height: 520px;
    border: 1px solid var(--market-line);
    border-radius: 0 0 var(--market-radius) var(--market-radius);
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: var(--market-shadow);
    opacity: 0;
    overflow: auto;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav .categorys:hover .categorys-tab-content,
.nav .categorys:focus-within .categorys-tab-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav .categorys-tab-content .categorys-item {
    border-bottom: 1px solid var(--market-line);
    background: transparent !important;
}

.nav .categorys-tab-content .categorys-item:last-child {
    border-bottom: 0;
}

.nav .categorys-tab-content .categorys-item:hover {
    background: var(--market-soft) !important;
}

.nav .categorys-tab-content a,
.nav .categorys-tab-content .iconfont {
    color: var(--market-ink) !important;
}

.nav .nav-main {
    float: none;
    flex: 1;
    width: auto;
    height: 46px;
    overflow: hidden;
}

.nav .navitems {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    white-space: nowrap;
}

.nav .navitems li {
    float: none;
    margin: 0;
}

.nav .navitems li a {
    display: block;
    height: 46px;
    padding: 0 13px;
    border-bottom: 3px solid transparent;
    color: var(--market-ink);
    font-size: 13px;
    line-height: 43px;
    box-sizing: border-box;
}

.nav .navitems li a:hover,
.nav .navitems li a.curr {
    border-bottom-color: var(--market-blue);
    color: var(--market-blue);
}

/* Home hero and content rhythm */
.ebay-home {
    background: var(--market-white);
}

.ebay-home .home-banner {
    width: min(calc(100% - 56px), var(--market-container));
    height: clamp(340px, 32vw, 460px);
    margin: 32px auto 0;
    border-radius: var(--market-radius-lg);
    background: var(--market-panel);
    box-shadow: inset 0 0 0 1px rgba(25, 25, 25, .04);
    overflow: hidden;
}

.ebay-home .home-banner .bd,
.ebay-home .home-banner .bd ul,
.ebay-home .home-banner .bd li,
.ebay-home .home-banner .bd li a {
    height: 100% !important;
}

.ebay-home .home-banner .bd li {
    background-position: center !important;
    background-size: cover !important;
}

.ebay-home .home-banner .bd img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ebay-home .home-banner .hd ul {
    bottom: 20px;
    padding: 6px 10px;
    background: rgba(25, 25, 25, .65);
}

.ebay-home .home-banner .hd ul li {
    width: 8px;
    height: 8px;
    border: 1px solid var(--market-white);
    background: transparent;
}

.ebay-home .home-banner .hd ul li.on {
    background: var(--market-white);
}

.ebay-home .home-banner .vip-outcon {
    top: 24px;
    right: 24px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--market-radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--market-shadow);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.channel-content,
.floor-content,
.other-content {
    width: min(calc(100% - 56px), var(--market-container)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.channel-content {
    padding-top: 8px;
}

.channel-content > div,
.floor-content > div,
.other-content > div {
    margin-top: 36px;
}

.ftit,
.floor-hd,
.box-hd {
    letter-spacing: -.02em;
}

.ftit h3,
.floor-hd .hd-tit,
.box-hd h2 {
    color: var(--market-ink) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Horizontal deal rails */
.seckill-channel {
    margin-top: 36px;
    border: 0;
    border-radius: var(--market-radius-lg);
    background: var(--market-white);
    overflow: hidden;
}

.seckill-channel .box-hd {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 0 22px;
    border: 0;
    background: var(--market-yellow);
    box-sizing: border-box;
}

.seckill-channel .box-hd .box-hd-icon {
    width: auto;
    height: auto;
    margin: 0 28px 0 0;
    background: none;
}

.seckill-channel .box-hd .box-hd-icon:after {
    content: "限时好价";
    color: var(--market-ink);
    font-size: 24px;
    font-weight: 700;
}

.seckill-channel .sk-time-cd {
    display: flex;
    align-items: center;
    float: none;
    margin: 0;
}

.seckill-channel .sk-cd-tit {
    color: var(--market-ink);
    font-weight: 500;
}

.seckill-channel .cd-time div {
    border-radius: 6px;
    background: var(--market-ink);
    color: var(--market-white);
    font-variant-numeric: tabular-nums;
}

.seckill-channel .sk-more {
    margin-left: auto;
}

.seckill-channel .sk-more a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid var(--market-ink);
    border-radius: 999px;
    color: var(--market-ink);
    font-weight: 600;
}

.seckill-channel .sk-more a:hover {
    background: var(--market-ink);
    color: var(--market-white);
}

.seckill-channel .box-bd {
    height: auto;
    min-height: 315px;
    padding: 18px 0 24px;
    border: 0;
    overflow: hidden;
}

.seckill-channel .box-bd ul {
    display: flex;
    width: max-content;
}

.seckill-channel .box-bd li {
    float: none;
    width: 246px;
    padding: 0 14px 18px;
    border: 0;
    border-radius: var(--market-radius);
    background: var(--market-white);
    box-sizing: border-box;
}

.seckill-channel .box-bd li:after {
    display: none;
}

.seckill-channel .box-bd li:hover {
    background: var(--market-soft);
}

.seckill-channel .box-bd .p-img {
    width: 218px;
    height: 218px;
    margin: 0 auto;
    border-radius: var(--market-radius);
    background: var(--market-panel);
    overflow: hidden;
}

.seckill-channel .box-bd .p-img img {
    object-fit: contain;
    transition: transform .3s ease;
}

.seckill-channel .box-bd li:hover .p-img img {
    transform: scale(1.035);
}

.seckill-channel .box-bd .p-name {
    width: auto;
    height: 42px;
    margin: 12px 2px 0;
    color: var(--market-ink);
    line-height: 21px;
    white-space: normal;
}

.seckill-channel .box-bd .p-name a {
    color: var(--market-ink);
    white-space: normal;
}

.seckill-channel .box-bd .p-over {
    width: auto;
    margin: 7px 2px 0;
}

.seckill-channel .box-bd .p-info {
    position: static;
    width: auto;
    height: auto;
    border: 0;
}

.seckill-channel .box-bd .p-info .p-price {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
}

.seckill-channel .box-bd .p-info .p-price span {
    display: inline;
    padding: 0;
}

.seckill-channel .shop-price,
.seckill-channel .p-price {
    color: var(--market-ink) !important;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.seckill-channel .original-price {
    margin-left: 8px;
    color: var(--market-muted) !important;
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
}

.seckill-channel .prev,
.seckill-channel .next {
    width: 42px;
    height: 42px;
    border: 1px solid var(--market-line);
    border-radius: 50%;
    background: var(--market-white);
    box-shadow: var(--market-shadow);
    color: var(--market-ink);
    line-height: 42px;
}

.seckill-channel .prev:hover,
.seckill-channel .next:hover {
    background: var(--market-ink);
    color: var(--market-white);
}

/* Brand strip */
.brand-channel {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(540px, 1.6fr);
    gap: 22px;
    width: 100%;
    margin-top: 36px;
}

.brand-channel .home-brand-adv {
    float: none;
    width: auto;
    height: 220px;
    margin: 0;
    border-radius: var(--market-radius-lg);
    overflow: hidden;
}

.brand-channel .home-brand-adv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-channel .brand-list {
    float: none;
    width: auto;
    margin: 0;
    padding: 10px;
    border-radius: var(--market-radius-lg);
    background: var(--market-soft);
    box-sizing: border-box;
}

.brand-channel .brand-list li,
.brand-channel .brand-list .refresh-btn {
    width: 16.666%;
    height: 66px;
    border: 5px solid var(--market-soft);
    border-radius: 12px;
    background: var(--market-white);
    box-sizing: border-box;
}

.brand-channel .brand-list .brand-img a {
    width: 130px;
    height: 56px;
}

.brand-channel .brand-list .brand-mash {
    border-radius: 8px;
    background: rgba(25, 25, 25, .88);
}

/* Product floors */
.floor-line-con {
    margin-top: 48px;
    padding-top: 0;
}

.floor-content .floor-line-con {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.floor-line-con .floor-hd,
.floorOne .floor-hd,
.floorTwo .floor-hd,
.floorThree .floor-hd,
.floorFour .floor-hd,
.floorFive .floor-hd,
.floorSix .floor-hd,
.floorSeven .floor-hd,
.floorEight .floor-hd,
.floorNine .floor-hd,
.floorTen .floor-hd {
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0;
    border: 0;
    background: var(--market-white) !important;
    color: var(--market-ink) !important;
}

.floor-line-con .box_hd_arrow,
.floor-line-con .box_hd_dec,
.floor-line-con .floor-tit-arrow,
.floor-line-con .floor-hd .hd-tit i {
    display: none !important;
}

.floor-line-con .floor-hd .hd-tit {
    float: none;
    padding: 0;
    color: var(--market-ink) !important;
    font-size: 24px;
    font-weight: 700;
}

.floor-line-con .floor-hd .hd-tags {
    float: none;
    margin-left: auto;
    padding: 0;
}

.floor-line-con .floor-hd .hd-tags ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floor-line-con .floor-hd .hd-tags li {
    width: auto;
    height: 36px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid transparent !important;
    border-radius: 999px;
    background: transparent !important;
    color: var(--market-muted) !important;
    line-height: 34px;
}

.floor-line-con .floor-hd .hd-tags li:hover,
.floor-line-con .floor-hd .hd-tags li.current {
    border-color: var(--market-ink) !important;
    background: var(--market-white) !important;
    color: var(--market-ink) !important;
}

.floor-line-con .floor-bd {
    border-radius: var(--market-radius-lg);
    background: var(--market-soft);
    overflow: hidden;
}

.floor-line-con .floor-bd img,
.floor-line-con .p-list img {
    border-radius: 10px;
}

.floor-line-con .p-list li,
.floor-line-con .p-list .li,
.floor-line-con .p-list-item,
.floor-line-con .f-r-m-item {
    border-color: var(--market-line) !important;
    background: var(--market-white);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.floor-line-con .p-list li:hover,
.floor-line-con .p-list .li:hover,
.floor-line-con .p-list-item:hover,
.floor-line-con .f-r-m-item:hover {
    z-index: 3;
    border-color: var(--market-ink) !important;
    box-shadow: var(--market-shadow);
    transform: translateY(-2px);
}

.floor-line-con .p-name,
.floor-line-con .p-name a {
    color: var(--market-ink) !important;
    line-height: 1.45;
}

.floor-line-con .p-price,
.floor-line-con .shop-price {
    color: var(--market-ink) !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Curated category, editorial and store sections */
.need-channel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 36px;
}

.need-channel .channel-column {
    float: none;
    width: auto;
    height: 320px;
    margin: 0;
    border-radius: var(--market-radius-lg);
    background-color: var(--market-soft) !important;
    background-position: center !important;
    background-size: cover !important;
    color: var(--market-ink);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.need-channel .channel-column:hover {
    box-shadow: var(--market-shadow);
    transform: translateY(-3px);
}

.need-channel .channel-column .column-title {
    min-height: 76px;
    padding: 20px 16px 0;
    color: inherit;
    box-sizing: border-box;
}

.need-channel .channel-column .column-title h3 {
    margin-top: 0;
    color: inherit;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.need-channel .channel-column .column-title p {
    margin-top: 4px;
    color: inherit;
    opacity: .78;
}

.need-channel .channel-column .column-img {
    width: 170px;
    height: 170px;
    margin-top: 8px;
}

.need-channel .channel-column .column-img img {
    object-fit: contain;
}

.need-channel .channel-column .column-btn {
    bottom: 16px;
    left: 50%;
    width: auto;
    min-width: 108px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--market-ink);
    border-radius: 999px;
    background: var(--market-white);
    color: var(--market-ink);
    font-weight: 600;
    line-height: 34px;
    box-sizing: border-box;
    transform: translateX(-50%);
}

.need-channel .channel-column .column-btn:hover {
    background: var(--market-ink);
    color: var(--market-white);
    box-shadow: none;
    transform: translateX(-50%) translateY(-2px);
}

.master-channel,
.store-channel {
    margin: 48px 0 0;
}

.master-channel .ftit,
.store-channel .ftit {
    margin-bottom: 18px;
    padding: 0;
    text-align: left;
}

.master-channel .master-con {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.master-channel .m-c-item {
    float: none;
    width: auto;
    height: 150px;
    margin: 0;
    border-radius: var(--market-radius);
    background-color: var(--market-navy);
    background-position: center !important;
    background-size: cover !important;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.master-channel .m-c-item:hover {
    box-shadow: var(--market-shadow);
    transform: translateY(-3px);
}

.master-channel .m-c-item .m-c-main {
    position: relative;
    z-index: 2;
    padding-left: 18px;
}

.master-channel .m-c-item .m-c-main .title {
    margin-top: 20px;
}

.master-channel .m-c-item .m-c-main .title h3 {
    font-size: 17px;
}

.master-channel .m-c-item .m-c-main .m-c-btn {
    width: auto;
    min-width: 74px;
    padding: 0 13px;
    color: var(--market-ink);
    font-weight: 600;
}

.master-channel .m-c-item .img {
    top: 36px;
    right: 8px;
    max-width: 48%;
}

.master-channel .m-c-item .img:hover {
    right: 8px;
}

.rec-store-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.rec-store-item {
    float: none;
    width: auto;
    margin: 0;
    border-radius: var(--market-radius);
    background: var(--market-white);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rec-store-item:hover {
    box-shadow: var(--market-shadow);
    transform: translateY(-3px);
}

.rec-store-item .p-img {
    width: 100%;
    height: 0;
    padding-bottom: 72%;
    background: var(--market-panel);
    position: relative;
}

.rec-store-item .p-img img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.rec-store-item .info {
    height: 78px;
    border: 1px solid var(--market-line);
    border-top: 0;
    border-radius: 0 0 var(--market-radius) var(--market-radius);
}

.rec-store-item .info .s-logo {
    width: 92px;
    height: 50px;
    margin: 13px 14px;
    border: 0;
    border-radius: var(--market-radius-sm);
    background: var(--market-white);
    overflow: hidden;
}

.rec-store-item .info .s-logo .img {
    width: 92px;
    height: 50px;
}

.rec-store-item .info .s-logo img {
    max-width: 84px;
    max-height: 44px;
}

.rec-store-item .info .s-title {
    width: calc(100% - 126px);
    margin-top: 15px;
    color: var(--market-ink);
}

.rec-store-item .info .s-title .tit {
    font-weight: 600;
}

.rec-store-item .info .s-title .ui-tit {
    color: var(--market-muted);
}

/* Recommendations */
.lift-channel {
    margin: 48px 0 24px;
}

.lift-channel .ftit {
    margin-bottom: 18px;
    text-align: left;
}

.lift-channel .ftit:before,
.lift-channel .ftit:after,
.ftit-delr:before,
.ftit-delr:after {
    display: none !important;
}

.lift-channel ul,
.gl-list ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    width: 100% !important;
    margin: 0 !important;
}

.lift-channel li,
.gl-list li {
    float: none;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 14px;
    border: 0 !important;
    border-radius: var(--market-radius);
    background: var(--market-white);
    overflow: hidden;
}

.lift-channel li:hover,
.gl-list li:hover {
    background: var(--market-soft);
    transform: translateY(-2px);
}

.lift-channel li .p-img,
.gl-list li .p-img {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100%;
    border-radius: var(--market-radius);
    background: var(--market-panel);
    overflow: hidden;
    position: relative;
}

.lift-channel li .p-img img,
.gl-list li .p-img img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    transition: transform .3s ease;
}

.lift-channel li:hover .p-img img,
.gl-list li:hover .p-img img {
    transform: scale(1.035);
}

.lift-channel li .p-name,
.gl-list li .p-name,
.lift-channel li .p-price,
.gl-list li .p-price,
.gl-list li .p-num {
    padding-right: 12px;
    padding-left: 12px;
}

.lift-channel li .p-name,
.gl-list li .p-name {
    height: 42px;
    margin-top: 12px;
    color: var(--market-ink);
    line-height: 21px;
}

.lift-channel li .p-price,
.gl-list li .p-price {
    color: var(--market-ink) !important;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lift-channel li .p-price .shop-price {
    color: var(--market-ink);
}

/* Fixed search */
.attached-search-container {
    height: 70px;
    border-bottom: 1px solid var(--market-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(25, 25, 25, .08);
    backdrop-filter: blur(12px);
}

.attached-search-container .w {
    height: 70px;
}

.attached-search-container .categorys-type,
.attached-search-container .search-form,
.attached-search-container .shopCart-con {
    border-radius: 999px;
}

/* Category/search filters and grid */
.container {
    background: var(--market-white);
}

.crumbs-nav,
.user-crumbs {
    color: var(--market-muted);
}

.crumbs-nav a,
.user-crumbs a {
    color: var(--market-muted);
}

.selector {
    margin: 0 0 24px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-white);
    overflow: hidden;
}

.selector .s-line {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--market-line);
}

.selector .s-line:last-child {
    border-bottom: 0;
}

.selector .s-l-wrap {
    padding: 14px 0;
}

.selector .s-l-tit {
    color: var(--market-ink);
    font-weight: 600;
}

.selector .s-l-v-list li.curr a,
.selector .s-l-v-list li a.shaixuan,
.selector a:hover {
    color: var(--market-blue);
}

.selector .s-l-opt a {
    height: 24px;
    border-color: var(--market-line);
    border-radius: 6px;
    color: var(--market-muted);
    line-height: 22px;
}

.filter,
.g-view,
.goods-list-warp {
    border-color: var(--market-line) !important;
}

.filter {
    border-radius: var(--market-radius-sm);
    background: var(--market-soft) !important;
}

.filter .f-sort a.curr,
.filter .f-sort a:hover {
    background: var(--market-ink) !important;
    color: var(--market-white) !important;
}

.gl-warp .gl-item,
.goods-list-warp .gl-item {
    border-color: transparent !important;
    border-radius: var(--market-radius);
    background: var(--market-white);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}

.gl-warp .gl-item:hover,
.goods-list-warp .gl-item:hover {
    border-color: var(--market-line) !important;
    box-shadow: var(--market-shadow);
    transform: translateY(-3px);
}

.gl-warp .p-img,
.goods-list-warp .p-img {
    border-radius: var(--market-radius);
    background: var(--market-panel);
    overflow: hidden;
}

.gl-warp .p-img img,
.goods-list-warp .p-img img {
    object-fit: contain;
    transition: transform .3s ease;
}

.gl-warp .gl-item:hover .p-img img,
.goods-list-warp .gl-item:hover .p-img img {
    transform: scale(1.035);
}

.gl-warp .p-name,
.goods-list-warp .p-name,
.gl-warp .p-name a,
.goods-list-warp .p-name a {
    color: var(--market-ink);
    line-height: 1.45;
}

.gl-warp .p-price,
.goods-list-warp .p-price {
    color: var(--market-ink) !important;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.gl-warp .p-num,
.goods-list-warp .p-num,
.gl-warp .p-store,
.goods-list-warp .p-store {
    color: var(--market-muted);
}

.pages a,
.pages span {
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    border: 1px solid var(--market-line);
    border-radius: 999px;
    background: var(--market-white);
    color: var(--market-ink);
    line-height: 38px;
}

.pages a:hover,
.pages .current {
    border-color: var(--market-ink);
    background: var(--market-ink);
    color: var(--market-white);
}

/* Product detail */
.goods-container,
.goods-info,
.goods-main-layout {
    color: var(--market-ink);
}

.goods-info {
    padding: 22px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius-lg);
    background: var(--market-white);
    box-sizing: border-box;
}

.goods-info .preview,
.goods-info .info {
    box-sizing: border-box;
}

.gallery_wrap {
    border-radius: var(--market-radius);
    background: var(--market-panel);
    overflow: hidden;
}

.gallery_wrap img {
    object-fit: contain;
}

.spec-items li a {
    border-radius: var(--market-radius-sm);
    overflow: hidden;
}

.spec-items li a.img-hover,
.spec-items li a:hover {
    border-color: var(--market-ink) !important;
}

.goods-info .info .name h1,
.goods-info .goods-name {
    color: var(--market-ink);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.summary-price-wrap .s-p-w-wrap {
    margin: 16px 0;
    padding: 22px 18px 14px;
    border-radius: var(--market-radius);
    background: var(--market-soft);
}

.summary-item .si-tit {
    color: var(--market-muted);
}

.summary-item .si-warp .shop-price,
#ECS_SHOPPRICE {
    color: var(--market-ink) !important;
    font-size: 34px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.summary-item .si-warp .price-notify {
    border-color: var(--market-blue);
    color: var(--market-blue);
}

.choose-btns .btn-append,
.choose-btns .btn-buynow,
.choose-btns .btn-sure,
.btn-buynow,
.btn-append {
    min-height: 48px;
    padding: 0 28px !important;
    border: 1px solid var(--market-blue) !important;
    border-radius: 999px !important;
    background: var(--market-blue) !important;
    color: var(--market-white) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 46px !important;
}

.choose-btns .btn-buynow,
.btn-buynow {
    border-color: var(--market-ink) !important;
    background: var(--market-white) !important;
    color: var(--market-ink) !important;
}

.choose-btns .btn-append:hover,
.choose-btns .btn-sure:hover,
.btn-append:hover {
    border-color: var(--market-blue-dark) !important;
    background: var(--market-blue-dark) !important;
}

.choose-btns .btn-buynow:hover,
.btn-buynow:hover {
    background: var(--market-soft) !important;
}

.catt a,
.catt label,
.summary-service a,
.store-selector .text {
    border-radius: var(--market-radius-sm) !important;
}

.catt a.cattsel,
.catt a:hover {
    border-color: var(--market-ink) !important;
    color: var(--market-ink) !important;
}

.goods-main-layout {
    margin-top: 36px;
}

.goods-main-layout .gm-tab,
.goods-main-layout .detail-hd {
    border-color: var(--market-line) !important;
    border-radius: var(--market-radius) var(--market-radius) 0 0;
    background: var(--market-white) !important;
}

.goods-main-layout .gm-tab li.curr,
.goods-main-layout .gm-tab li:hover {
    border-color: var(--market-blue) !important;
    color: var(--market-blue) !important;
}

/* Cart and checkout */
.flow-container,
.cart-warp,
.checkout-warp,
.flow-content {
    color: var(--market-ink);
}

.cart-thead,
.cart-item,
.cart-floatbar,
.checkout-steps,
.order-summary,
.consignee-warp,
.payment-warp {
    border-color: var(--market-line) !important;
    border-radius: var(--market-radius) !important;
    background: var(--market-white) !important;
}

.cart-thead {
    background: var(--market-soft) !important;
}

.cart-item {
    margin-top: 12px;
    overflow: hidden;
}

.cart-item:hover {
    box-shadow: var(--market-shadow);
}

.cart-item .p-img {
    border-radius: var(--market-radius-sm);
    background: var(--market-panel);
    overflow: hidden;
}

.cart-item .p-name a {
    color: var(--market-ink);
}

.cart-item .p-price,
.cart-item .p-sum,
.amount-sum,
.price-sum,
.order-summary .price {
    color: var(--market-ink) !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cart-floatbar .btn-area a,
.checkout-submit,
.submit-btn,
.flow-btn,
.btn-submit {
    min-width: 150px;
    height: 48px !important;
    border: 1px solid var(--market-blue) !important;
    border-radius: 999px !important;
    background: var(--market-blue) !important;
    color: var(--market-white) !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 48px !important;
}

.cart-floatbar .btn-area a:hover,
.checkout-submit:hover,
.submit-btn:hover,
.flow-btn:hover,
.btn-submit:hover {
    border-color: var(--market-blue-dark) !important;
    background: var(--market-blue-dark) !important;
}

/* Account center */
.user-content {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    padding-top: 28px;
}

.user-side,
.user-main {
    float: none !important;
    width: auto !important;
}

.user-mod {
    margin-bottom: 16px;
    padding: 24px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-white);
}

.user-side .user-mod {
    padding: 20px;
}

.user-perinfo .avatar img,
.user-perinfo .u-pic {
    border-radius: 16px !important;
}

.user-title {
    height: auto;
    min-height: 38px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-color: var(--market-line);
}

.user-title h2 {
    color: var(--market-ink);
    font-size: 20px;
    font-weight: 700;
}

.user-title h2:before {
    display: none;
}

.user-title .tabs li.active {
    border-bottom-color: var(--market-blue);
}

.user-title .tabs li:hover a,
.user-title .tabs li.active a,
.user-menu-list li.current a,
.user-menu-list a:hover {
    color: var(--market-blue);
}

.user-table {
    border-color: var(--market-line);
    border-radius: var(--market-radius-sm);
    overflow: hidden;
}

.user-table thead {
    background: var(--market-soft);
}

.user-table thead th,
.user-table tbody td {
    border-color: var(--market-line);
}

.user-form input[type="text"],
.user-form input[type="password"],
.user-form select,
.user-form textarea,
.text,
textarea {
    border-color: var(--market-line) !important;
    border-radius: var(--market-radius-sm) !important;
}

.user-form input:focus,
.user-form select:focus,
.user-form textarea:focus,
.text:focus,
textarea:focus {
    border-color: var(--market-blue) !important;
    box-shadow: var(--market-focus);
}

/* Footer */
.footer-new {
    margin-top: 64px;
    border-top: 1px solid var(--market-line);
    background: var(--market-soft);
    color: var(--market-ink);
}

.footer-new-top {
    border-bottom: 1px solid var(--market-line);
    background: var(--market-white);
}

.footer-new-top .w {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 118px;
}

.footer-new .service-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: auto;
}

.footer-new .service-item {
    display: flex;
    align-items: center;
    float: none;
    width: auto;
}

.footer-new .service-item > .iconfont,
.footer-new .contact .yuan {
    border: 1px solid var(--market-line);
    border-radius: 14px;
    background: var(--market-soft);
    color: var(--market-ink);
}

.footer-new .service-item-text .tit,
.footer-new .service_phone {
    color: var(--market-ink);
    font-weight: 600;
}

.footer-new .service-item-text .txt,
.footer-new .service_phone_text {
    color: var(--market-muted);
}

.footer-new-con {
    padding: 42px 0 32px;
    border-bottom: 1px solid var(--market-line);
    background: var(--market-soft);
}

.footer-new .fnc-warp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
}

.footer-new .help-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 36px;
    float: none;
    width: auto;
}

.footer-new .help-item {
    float: none;
    width: auto;
}

.footer-new .help-item h3 {
    color: var(--market-ink) !important;
    font-size: 14px;
    font-weight: 700;
}

.footer-new .help-item a,
.footer-new-bot,
.footer-new-bot a {
    color: var(--market-muted) !important;
}

.footer-new .help-item a:hover,
.footer-new-bot a:hover {
    color: var(--market-blue);
    text-decoration: underline;
}

.footer-new .qr-code {
    float: none;
    width: auto;
}

.footer-new .qr-item {
    padding: 12px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-white);
}

.footer-new .qr-item img {
    border-radius: 10px;
}

.footer-new-bot {
    padding: 24px 0 32px;
    background: var(--market-soft);
}

.footer-new-bot .spacer {
    background: var(--market-line);
}

/* Floating controls */
.lift .lift-list,
.quick_links_wrap,
.returnTop {
    border-color: var(--market-line) !important;
    border-radius: 14px !important;
    background: var(--market-white) !important;
    box-shadow: var(--market-shadow);
    overflow: hidden;
}

.lift .lift-item {
    border-color: var(--market-line) !important;
    background: var(--market-white) !important;
    color: var(--market-muted) !important;
}

.lift .lift-item:hover,
.lift .lift-item-current {
    background: var(--market-ink) !important;
    color: var(--market-white) !important;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Legacy PC templates have a 1180px minimum; these rules make constrained
 * browser windows usable without changing JavaScript width calculations. */
@media (max-width: 1280px) {
    .w,
    .w1200,
    .w1390,
    .w1330,
    .fnc-warp,
    .user-content,
    .channel-content,
    .floor-content,
    .other-content,
    .ebay-home .home-banner {
        width: calc(100% - 36px) !important;
    }

    .header.ebay-market-header > .w,
    .header:not(.header-cart):not(.header-b2b):not(.header-settled) > .w {
        grid-template-columns: 170px minmax(520px, 1fr) 126px;
        gap: 16px;
    }

    .nav .navitems li a {
        padding-right: 9px;
        padding-left: 9px;
    }

    .brand-channel {
        grid-template-columns: 1fr 1.45fr;
    }
}

@media (max-width: 1180px) {
    body,
    .site-nav,
    .nav {
        min-width: 1000px;
    }

    .header .search-form {
        grid-template-columns: minmax(220px, 1fr) 108px 80px;
    }

    .header .keyword {
        display: none;
    }

    .nav .categorys {
        flex-basis: 160px;
        width: 160px;
    }

    .footer-new .contact {
        display: none;
    }
}
