body.archive.woocommerce {
    background: #ffffff;
}

.woocommerce-result-count{
    display: none;
}

.woocommerce-ordering{
    display: none;
}
.review-text{
	margin:auto !important;
}
.cart-icon-btn {
    width: 36px;
    height: 36px;
    background: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.cart-icon-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(100); /* 黑色按钮内图片变白 */
}
/* ========== 1. 顶部分类横幅样式 ========== */
.ebike-collection-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    margin: 20px 0;
}
.banner-inner {
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-image: url("https://dotopbike.com/wp-content/themes/sk/img/Off-Road_Electric_Bikes.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 60px 48px;
}
.banner-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.45);
    z-index: 1;
}
.banner-text-wrap {
    position: relative;
    z-index: 2;
    max-width: 52%;
    color: #ffffff;
}
.banner-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #fff;
}
.banner-desc {
    font-size: 20px;
    line-height: 1.7;
    margin: 0;
    color: #fff;
}

/* ========== 2. 顶部筛选栏样式 ========== */
.shop-top-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 24px;
    background: #faf9f5;
    margin-bottom: 40px;
	max-width: 100%;
}
.filter-label {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
}
.filter-select {
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #ffffff;
    font-size: 15px;
    color: #000;
    min-width: 160px;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    text-align: center;
}
.filter-select a {
    color: #000;
    text-decoration: none;
    display: block;
    width: 100%;
}
.filter-select:focus {
    outline: none;
    border-color: #000;
}
.filter-sort-wrap {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sort-label {
    font-size: 16px;
    color: #000;
    white-space: nowrap;
}
.card-bottom-buttons a:nth-child(2):hover{
	background:#000;
	color:#fff;
}
/* ========== 3. 商品网格外层布局 ========== */
ul.products {
    max-width:98%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 36px 20px;
    list-style: none;
}

/* ========== 4. 商品卡片全局样式 ========== */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.card-img-box {
    position: relative;
    background: #f8f8f8;
    width: 100%;
}
.card-img-box img {
    width: 100%;
    display: block;
}
.badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    border: 1px solid #000;
    background: #fff;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
}
.card-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}
.star-wrap {
    display: flex;
    gap: 2px;
}
.star {
    width: 14px;
    height: 14px;
    background: #000;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star-empty {
    background: #ddd;
}
.review-text {
    font-size: 13px;
    color: #555;
    margin-bottom: 0rem;
}
.card-title h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    line-height: 1.5em;
}
.card-desc {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}
.card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-right: auto;
    font-size:1.2rem;
    color: #000;
}
.woocommerce-Price-amount{
    font-size:1.3rem;
}
.card-price ins{
	color: red;
}
.card-price ins span{
	font-size:1.55rem;
}
#cart-success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex; 
    align-items: center;  
    justify-content: center;
    z-index: 99999;
    padding: 15px;
    box-sizing: border-box;
}
.price-sale {
    font-size: 20px;
    font-weight: 600;
}
.price-old {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-right: auto;
}

.spec-label {
    font-size: 12px;
    color: #777;
}
.spec-value {
    font-size: 13px;
    font-weight: 500;
}
.option-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.option-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 2px;
}
.color-dot-group {
    display: flex;
    gap: 10px;
}
.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
}
.card-bottom-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
  margin-right: auto;
}
.view-more-link {
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    padding: 7px 20px;
    font-size: 14px;
}

/* ========== 订阅邮件区块样式 ========== */
.newsletter-wrap {
    max-width: 100%;
    background-color: #f3efe0;
    padding: 20px 4%;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}
.newsletter-bike {
    position: absolute;
    right: 100px;
    top: 66%;
    transform: translateY(-50%);
    width: 450px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}
.newsletter-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}
.newsletter-title {
    font-size: 35px;
    font-weight: 600;
    color: #000000 !important;
    line-height: 1.05;
    margin: 0 0 24px 0;
}
.newsletter-desc {
    font-size: 19px;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 40px 0;
	font-weight: 500;
}
.newsletter-form-row {
    display: flex;
    align-items: center;
    position: relative;
}
.newsletter-input {
    flex: 1 !important;
    padding: 20px 20px !important;
    border: 1px solid #aaa !important;
    border-radius: 999px !important;
    background: transparent !important;
    font-size: 32px !important;
    color: #000 !important;
    outline: none !important;
	max-width:800px !important;
}
.newsletter-input.error {
    border-color: #e53935 !important;
}
.newsletter-input::placeholder {
    color: #888 !important;
}
.newsletter-submit {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #ffd15c;
    border: none;
    position: absolute;
    right: 101px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.newsletter-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.newsletter-submit svg {
    width: 32px;
    height: 32px;
    fill: #000;
}
.tip-text {
    margin-top: 12px;
    font-size: 16px;
    margin-bottom: 0;
}
.tip-error {
    color: #e53935;
}
.tip-success {
    color: #2e7d32;
}

.banner-inner {
	max-width: 128rem !important;
	z-index: 1 !important;
}
/* ========== 全局响应式媒体查询 ========== */
@media (max-width: 1200px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1024px) {
    .shop-top-filter-bar {
        padding: 16px 20px;
        gap: 12px;
    }
    .filter-select {
        min-width: 140px;
        padding: 10px 16px;
        padding-right: 36px;
    }
    .banner-inner {
        min-height: 360px;
        padding: 48px 32px;
    }
    .banner-text-wrap {
        max-width: 65%;
    }
    .banner-title {
        font-size: 42px;
        margin-bottom: 18px;
    }
    .banner-desc {
        font-size: 17px;
    }
}
@media (max-width: 768px) {
    #main {
        padding: 24px 16px;
    }
    ul.products {
        grid-template-columns: 1fr;
    }
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-top-filter-bar {
        padding: 14px 16px;
        gap: 10px;
    }
    .filter-sort-wrap {
        margin-left: 0;
        width: 100%;
        margin-top: 8px;
    }
    .filter-select {
        flex: 1;
        min-width: 120px;
        padding: 9px 14px;
        padding-right: 34px;
        font-size: 14px;
    }
    .filter-label, .sort-label {
        font-size: 15px;
    }
    .banner-inner {
        min-height: 320px;
        padding: 36px 24px;
    }
    .banner-text-wrap {
        max-width: 100%;
    }
    .banner-title {
        font-size: 32px;
        margin-bottom: 14px;
    }
    .banner-desc {
        font-size: 15px;
        line-height: 1.65;
    }
    /* 订阅区块移动端 */
    .newsletter-bike {
        display: none;
    }
    .newsletter-title {
        font-size: 22px;
    }
    .newsletter-desc {
        font-size: 18px;
    }
    .newsletter-form-row {
        flex-direction: column;
        gap: 20px;
    }
    .newsletter-input {
        width: 100%;
        padding: 20px 24px;
        font-size: 20px;
    }
    .newsletter-submit {
        position: static;
        width: 72px;
        height: 72px;
        align-self: flex-end;
    }
}
@media (max-width: 480px) {
    .filter-select {
        min-width: 100px;
    }
    .banner-inner {
        min-height: 280px;
        padding: 28px 18px;
    }
    .banner-title {
        font-size: 26px;
    }
    .banner-desc {
        font-size: 14px;
    }
}


/* ============================================================
   WooCommerce 产品详情页 - Velotric 风格
   ============================================================ */

/* ----- 全局容器 ----- */
.woo-single-ebike-container {
    display: flex;
    gap: 40px;
    max-width: 1650px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

/* ----- 左侧图片区域 ----- */
.ebike-gallery-wrap {
    width: 50%;
    position: relative;
}

.gallery-badge.best-seller {
    position: absolute;
    top: 0;
    left: 0;
    background: #ffd100;
    color: #000;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 13px;
    z-index: 10;
    border-radius: 0 0 8px 0;
}

.gallery-label-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid #2563eb;
    color: #2563eb;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

/* ----- Swiper 轮播 ----- */
.product-swiper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.product-swiper .swiper-pagination {
    bottom: 10px;
}

.product-swiper .swiper-pagination-bullet {
    background: #000;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: #000;
    background: rgba(255,255,255,0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.product-swiper .swiper-button-next::after,
.product-swiper .swiper-button-prev::after {
    font-size: 16px;
}

/* ----- 底部三图标 ----- */
.gallery-feature-row {
    display: flex;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 16px;
}

.feature-item {
    flex: 1;
    display: flex;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

/* ----- 右侧信息区域 ----- */
.ebike-info-wrap {
    width: 50%;
}

.product-title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-review-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.product-review-row .star-rating {
    color: #f59e0b;
    font-size: 16px;
}

.review-count {
    color: #2563eb;
    font-size: 14px;
    text-decoration: underline;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}
.product-price .woocommerce-Price-amount {
    font-weight: 700;
}
.product-price del .woocommerce-Price-amount {
    color: #999;
    font-size: 18px;
    font-weight: 400;
    margin-right: 10px;
    text-decoration: line-through;
}
.product-price ins {
    text-decoration: none;
}

.product-installment {
    font-size: 14px;
    color: #555;
    margin-bottom: 26px;
}

/* ----- 尺码/颜色选择 ----- */
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

.color-dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dot {
    padding: 6px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}

.dot:hover {
    border-color: #000;
}

.dot.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* ----- 规格列表 ----- */
.spec-list {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.spec-label {
    color: #444;
}
.spec-value {
    font-weight: 500;
}

/* ----- 服务保障栏 ----- */
.service-bar-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 26px 0;
    font-size: 15px;
    color: #222;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.divider-line {
    color: #aaa;
}

/* ----- 购买按钮 ----- */
.buy-now-wrapper .cart {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.buy-now-wrapper .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.buy-now-wrapper .quantity .qty {
    width: 60px;
    height: 50px;
    padding: 0 10px;
    border: none;
    text-align: center;
    font-size: 16px;
    background: #fff;
}

.buy-now-wrapper .single_add_to_cart_button {
    flex: 1;
    min-width: 180px;
    background: #ffc107;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 99px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.buy-now-wrapper .single_add_to_cart_button:hover {
    background: #ffb300;
}

.buy-now-wrapper .single_add_to_cart_button.added {
    background: #27ae60;
}

/* ----- 响应式 ----- */
@media screen and (max-width: 992px) {
    .woo-single-ebike-container {
        flex-direction: column;
        gap: 30px;
    }
    .ebike-gallery-wrap,
    .ebike-info-wrap {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .woo-single-ebike-container {
        padding: 20px 15px;
    }
    .gallery-feature-row {
        flex-direction: column;
        gap: 16px;
    }
    .product-title {
        font-size: 22px;
    }
    .service-bar-row {
        gap: 10px 24px;
    }
    .divider-line {
        display: none;
    }
    .buy-now-wrapper .cart {
        flex-direction: column;
        align-items: stretch;
    }
    .buy-now-wrapper .quantity {
        align-self: center;
    }
    .buy-now-wrapper .single_add_to_cart_button {
        min-width: unset;
    }
}

@media screen and (max-width: 480px) {
    .woo-single-ebike-container {
        padding: 12px 10px;
    }
    .product-title {
        font-size: 20px;
    }
    .product-price {
        font-size: 20px;
    }
    .dot {
        padding: 4px 14px;
        font-size: 13px;
    }
}

