/* ========== Banner Section ========== */
.banner-section {
    margin-top: 16px;
}

.banner-section .container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.banner-left {
    display: flex;
    gap: 12px;
    flex: 1;
    align-items: stretch;
}

.category-sidebar {
    width: 210px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.category-sidebar .cat-title {
    background: #ff2d5b;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 16px;
}

.category-sidebar .cat-item {
    padding: 8px;
    transition: all 0.2s;
}

.category-sidebar .cat-item:last-child {
    border-bottom: none;
}

.category-sidebar .cat-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.category-sidebar .cat-item .cat-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.category-sidebar .cat-item .cat-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.category-sidebar .cat-sub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 26px;
}

.category-sidebar .cat-sub-tags .sub-tag {
    font-size: 14px;
    color: #999;
    transition: all 0.2s;
}

.category-sidebar .cat-sub-tags .sub-tag:hover {
    color: #fe2e54;
}

.category-sidebar .cat-sub-tags .sub-tag.hot {
    color: #fe2e54;
}

/* Banner */
.banner-main {
    flex: 1;
    width: 656px;
    height: 400.5px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.banner-carousel.swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-carousel.swiper .swiper-slide {
    overflow: hidden;
}

.banner-carousel.swiper .swiper-slide a {
    display: block;
    width: 100%;
}

.banner-carousel.swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.banner-carousel.swiper .swiper-pagination {
    bottom: 12px;
}

.banner-carousel.swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.2s;
}

.banner-carousel.swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

/* Banner Entries */
.banner-entries {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.banner-entries .entry-item {
    flex: 1;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
}

.banner-entries .entry-item img {
    width: 100%;
    height: 110px;
    /*object-fit: cover;*/
    display: block;
}

/* Today must buy */
.today-buy {
    width: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.today-buy .today-header {
    padding: 13px 14px 10px;
}

.today-buy .today-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.today-buy .today-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.today-buy .today-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 7px;
    line-height: 16px;
}

.today-buy .today-refresh {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: #999;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.today-buy .today-refresh .refresh-icon {
    flex-shrink: 0;
    display: inline-block;
    transition: none;
}

.today-buy .today-refresh .refresh-icon.spinning {
    animation: spin-once 0.4s ease;
}

@keyframes spin-once {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.today-buy .today-list {
    padding: 0 8px;
    overflow: hidden;
}

.today-buy .today-list .swiper-slide {
    overflow: hidden;
    height: auto;
}

.today-buy .today-item {
    display: flex;
    padding: 10px 0;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    cursor: pointer;
}

.today-buy .today-item:hover {
    opacity: .85;
}

.today-buy .today-item:hover .item-info .item-title span {
    color: #ff2049;
}

.today-buy .today-item:last-child {
    margin-bottom: 0;
}

.today-buy .today-item .item-img {
    width: 85px;
    height: 85px;
    /*border-radius: 8px;*/
    background: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.today-buy .today-item .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.today-buy .today-item .item-info {
    flex: 1;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 2px 0;
}

.today-buy .today-item .item-title {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
}

.today-buy .today-item .item-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-buy .today-item .item-title .brand-tag {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    object-fit: contain;
    vertical-align: middle;
}

.today-buy .today-item .item-promo {
    display: inline-block;
    font-size: 12px;
    color: #ff5900;
    background: #fff7e8;
    padding: 0 5px;
    border-radius: 3px;
    align-self: flex-start;
    line-height: 16px;
}

.today-buy .today-item .item-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
}

.today-buy .today-item .price-now {
    color: #fe2e2e;
    font-size: 21px;
    line-height: 24px;
}

.today-buy .today-item .price-now .yen {
    font-size: 14px;
}

.today-buy .today-item .price-old {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

/* ========== Section Common ========== */
.section {
    margin-top: 16px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.section-header .title-area {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.section-header .title-area h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.section-header .title-area .sub-title {
    font-size: 13px;
    color: #999;
}

.section-header .more-link {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-header .more-link:hover {
    color: #ff2d5b;
}

/* ========== Three Column Section ========== */
.three-col-section {
    display: flex;
    gap: 12px;
}

.three-col-section .col-panel {
    flex: 1;
    height: 526px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    padding-top: 20px;
    box-sizing: border-box;
}

.three-col-section .col-panel:first-child {
    background: url("../img/section01.png") 245px 13px no-repeat #fff;
    background-size: 135px 135px;
}

.three-col-section .col-panel:nth-child(2) {
    background: url("../img/section02.png") 245px 13px no-repeat #fff;
    background-size: 135px 135px;
}

.three-col-section .col-panel:nth-child(3) {
    background: url("../img/section03.png") 245px 13px no-repeat #fff;
    background-size: 135px 135px;
}

.three-col-section .col-panel .selectTitle {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    height: 31px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 31px;
    margin: 0;
    padding: 0 20px;
    display: inline-block;
}

.three-col-section .col-panel .selectSubTitle {
    height: 17px;
    font-size: 13px;
    color: #888;
    line-height: 17px;
    font-weight: 400;
    margin: 7px 0 10px;
    padding: 0 20px;
}

.col-panel .swiper .swiper-pagination {
    position: unset;
}

.col-panel .swiper {
    --swiper-pagination-color: #fe2e54;
    --swiper-navigation-size: 0;
}

.col-panel .leftWrap .swiper-button-prev,
.col-panel .middleWrap .swiper-button-prev,
.col-panel .rightWrap .swiper-button-prev {
    background: url("../img/prev.png") 50% no-repeat;
    border-radius: 0 10px 10px 0;
    left: 0;
}

.col-panel .leftWrap .swiper-button-next,
.col-panel .middleWrap .swiper-button-next,
.col-panel .rightWrap .swiper-button-next {
    background: url("../img/next.png") 50% no-repeat;
    border-radius: 10px 0 0 10px;
    right: 0;
}

.col-panel .swiper .swiper-button-prev,
.col-panel .swiper .swiper-button-next {
    width: 15px;
    height: 40px;
    background-size: 100% 100%;
    justify-content: center;
    position: absolute;
    margin-top: -20px;
    cursor: pointer;
    z-index: 11;
    top: 50%;
    opacity: .5;
}

.col-panel .swiper-button-next svg,
.col-panel .swiper-button-prev svg {
    display: none;
}

.col-panel .swiper .hide {
    opacity: 0;
}

.col-panel .swiper-slide {
    height: 400px;
    width: 393px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.col-panel .goods-item a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 393px;
    height: 106px;
    margin-top: 24px;
    padding: 0 20px;
    box-sizing: border-box;
    text-decoration: none;
}

.col-panel .goods-item:hover {
    opacity: .85;
}

.col-panel .goods-item a .cardLeft {
    width: 106px;
    height: 106px;
    overflow: hidden;
    position: relative;
}

.col-panel .goods-item a .cardLeft img {
    width: 106px;
    height: 106px;
}

.col-panel .goods-item a .cardRight {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 247px;
    height: 106px;
    box-sizing: border-box;
    padding-left: 18px;
    align-items: flex-start;
}

.col-panel .goods-item a .cardRight .cardTit {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.col-panel .goods-item a .cardRight .cardTit .brand-tag {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    object-fit: contain;
    vertical-align: middle;
}

.col-panel .goods-item a .cardRight .cardTit span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-panel .goods-item:hover span {
    color: #ff2828;
}

.col-panel .goods-item a .cardRight .selectFeature {
    height: 16px;
    margin: 6px 0 10px;
    flex-wrap: wrap;
}

.col-panel .goods-item a .cardRight .selectFeature span {
    padding: 1px 3px;
    height: 16px;
    background: #ffe8e7;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 400;
    margin: 0 4px 0 0;
    color: #ff2828;
}

.col-panel .goods-item a .cardRight .selectFeature.subTitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 200px;
}

.col-panel .goods-item a .cardRight .selectPrice {
    height: 23px;
    align-items: baseline;
}

.col-panel .goods-item a .cardRight .selectPrice span {
    font-size: 21px;
    color: #fe2e2e;
}

.col-panel .goods-item a .cardRight .selectPrice span i {
    width: 8px;
    font-size: 14px;
    color: #fe2e2e;
    font-style: normal;
}

.col-panel .goods-item a .cardRight .selectPrice u {
    font-size: 12px;
    color: #ababab;
    text-decoration: line-through;
}

.col-panel .goods-item a .cardRight .selectSales {
    height: 21px;
    line-height: 21px;
    text-align: center;
    margin-top: 8px;
    padding: 0 10px;
    background: #ffeee6;
    border-radius: 0 11px 11px;
    font-size: 13px;
    font-weight: 400;
    color: #be4603;
    display: flex;
    align-items: center;
}

.col-panel .goods-item a .cardRight .selectSales img {
    width: 14px;
    height: 12px;
    margin-right: 5px;
    object-fit: contain;
}

.col-panel .goods-item a .cardRight .selectSales span {
    color: #ff5b00;
    padding: 0 1px;
}

.col-panel .goods-item a .cardRight .selectHot {
    height: 20px;
    margin-top: 6px;
    background: url("../img/hot.png") 0 3px no-repeat;
    background-size: 13px 15px;
    padding-left: 18px;
    font-size: 13px;
    font-weight: 400;
    color: #777;
    line-height: 20px;
}

.col-panel .goods-item a .cardRight .selectHot span {
    color: #ff5b57;
}

.col-panel .goods-item a .cardRight .selectBrand {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 2px 15px 2px 30px;
    background: #ffeee6 url("../img/stars.png") 10px 4px no-repeat;
    background-size: 14px 14px;
    border-radius: 0 11px 11px;
    font-size: 13px;
    font-weight: 400;
    color: #ff5b00;
    width: fit-content;
}

.col-panel .goods-item a .cardRight .selectBrand span {
    color: #ff5b00;
}

.col-panel .goods-item a .cardRight .selectSub {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 2px 15px 2px 30px;
    background: #f5eee5 url("../img/bg4.png") 10px 4px no-repeat;
    background-size: 14px 14px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 400;
    color: #b43908;
    max-width: 85%;
}

.col-panel .goods-item a .cardRight .selectSub span {
    color: #b43908;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    /* ========== Goods Grid (overrides) ========== */
.goods-grid .grid-item:hover {
    opacity: .85;
}

.goods-grid .grid-item .item-img .platform-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(255, 45, 91, 0.9);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
}

.goods-grid .grid-item .item-price {
    margin-top: 9px;
}
