/* ============================================================
   Taoist Treasures 复刻站 · 显示修复（追加覆盖，加载在老站 CSS 之后）
   目标：先保证内容、显示正常 —— 补首页 Banner + 统一产品图高度 + 修侧栏溢出
   ============================================================ */

/* ---------- 首页 Banner ---------- */
.tt-banner {
    position: relative;
    overflow: hidden;
    padding: 110px 0 120px;
    background:
        radial-gradient(1100px 480px at 82% 15%, rgba(193, 154, 91, 0.38), transparent 60%),
        radial-gradient(800px 500px at 10% 90%, rgba(126, 42, 42, 0.45), transparent 55%),
        linear-gradient(135deg, #1e2930 0%, #2c353d 48%, #46241f 100%);
}
.tt-banner::before {
    content: "\262F";
    position: absolute;
    right: 7%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 230px;
    line-height: 1;
    color: rgba(193, 154, 91, 0.16);
    pointer-events: none;
}
.tt-banner .hero-slider-content {
    max-width: 760px;
    position: relative;
    z-index: 1;
}
.tt-banner .hero-slider-content span {
    color: #e8c987;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tt-banner .hero-slider-content h1 {
    color: #ffffff;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
}
.tt-banner .hero-slider-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 32px;
}
.tt-banner .hero-slider-btn .default-btn {
    display: inline-block;
    background: #c19a5b;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.tt-banner .hero-slider-btn .default-btn:hover {
    background: #a97f3f;
    color: #ffffff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

/* ---------- 产品卡片：图片统一高度 + 裁剪，卡片整齐 ---------- */
.single-products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}
.single-products .product-img {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f4f4f4;
}
.single-products .product-img a {
    display: block;
    height: 100%;
}
.single-products .product-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: relative;
    z-index: 1;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
}
.single-products:hover .product-img img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}
.single-products .product-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.single-products .product-content .products-cart-wish-view {
    margin-top: auto;
}

/* 产品列表网格：两列等高、留间距 */
.products-collections-listing .col-lg-6,
.products-collections-listing .col-md-6 {
    margin-bottom: 24px;
}

/* ---------- 侧栏「Best Sellers」图片溢出修复 ---------- */
.trending-product-list .single-list img,
.trendingss .trending-product-list .single-list img {
    width: 105px;
    height: 105px;
    max-width: 105px;
    -o-object-fit: cover;
    object-fit: cover;
    border: 1px solid #eeeeee;
}

/* ---------- 首页 Best Sellers 与 Banner 间距 ---------- */
.best-seller-area {
    padding-top: 54px;
}

/* ---------- 首页促销横幅（纯 CSS，替代坏图 discount-bg.jpg）---------- */
.sale-offer-area.tt-sale {
    padding: 10px 0 30px;
}
.tt-sale-banner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 58px 40px;
    text-align: center;
    background:
        radial-gradient(900px 320px at 85% 15%, rgba(255, 222, 160, 0.35), transparent 60%),
        radial-gradient(700px 300px at 8% 90%, rgba(70, 18, 18, 0.55), transparent 55%),
        linear-gradient(120deg, #6e1b1b 0%, #a5531f 52%, #c19a5b 100%);
}
.tt-sale-banner .tt-sale-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #ffe9c7;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.tt-sale-banner h3 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}
.tt-sale-banner p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    margin-bottom: 26px;
}
.tt-sale-banner .default-btn {
    display: inline-block;
    background: #ffffff;
    color: #7a1f1f;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.tt-sale-banner .default-btn:hover {
    background: #ffe9c7;
    color: #7a1f1f;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

/* ---------- 博客卡片标题：去掉固定 min-height 防止撑破 ---------- */
.single-blog .blog-content h3 a {
    min-height: 0;
}

@media (max-width: 767px) {
    .tt-banner { padding: 70px 0 80px; }
    .tt-banner .hero-slider-content h1 { font-size: 34px; }
    .tt-banner::before { font-size: 130px; right: -10px; }
    .single-products .product-img { height: 240px; }
}
