.alert{
        position: fixed;
        width: 50%;
        margin-left: 20%;
        z-index: 2000;
    }
    .hiden {
        display: none;
    }
    .product-detail-content .social-icon {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin: 4px 0 18px;
        padding: 16px 0;
        border-top: 1px solid #edf1ee;
        border-bottom: 1px solid #edf1ee;
    }
    .product-detail-content .social-icon > span:first-child {
        flex: 0 0 auto;
        margin: 0;
        color: #53665a;
        font-size: 14px;
        font-weight: 600;
        line-height: 30px;
        white-space: nowrap;
    }
    .product-detail-content .feature-tags {
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0;
    }
    .product-detail-content .social-icon .feature-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 30px;
        margin: 0;
        padding: 5px 12px;
        color: #24714a;
        background: #f0f8f2;
        border: 1px solid #d5e9db;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
        transition: all .25s ease;
    }
    .product-detail-content .social-icon .feature-tag:hover {
        color: #fff;
        background: #24714a;
        border-color: #24714a;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(36, 113, 74, .18);
    }

    /* ============ plant.html 详情页美化 ============ */

    /* 产品详情区 */
    .product-detail-outer {
        background: var(--secondary--color);
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        padding: 30px;
    }
    .product-detail-tab .nav-pills {
        gap: 8px;
    }
    .product-detail-tab .nav-pills .nav-link {
        padding: 0;
        border-radius: 10px;
        overflow: hidden;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    .product-detail-tab .nav-pills .nav-link figure {
        margin: 0;
    }
    .product-detail-tab .nav-pills .nav-link img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        display: block;
    }
    .product-detail-tab .nav-pills .nav-link.active {
        border-color: var(--accent--color);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    }
    .product-detail-tab .tab-content figure {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    .product-detail-tab .tab-content img {
        width: 100%;
        transition: transform 0.5s ease;
    }
    .product-detail-tab .tab-content figure:hover img {
        transform: scale(1.03);
    }

    /* 点赞按钮 */
    .product-detail-content .add-whish {
        position: absolute;
        top: 0;
        right: 0;
        float: none;
    }
    .product-detail-content .add-whish a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: auto;
        min-width: 42px;
        height: 38px;
        padding: 0 11px;
        color: #24714a;
        background: #f0f8f2;
        border: 1px solid #d5e9db;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all .25s ease;
    }
    .product-detail-content .add-whish a i {
        font-size: 15px;
    }
    .product-detail-content .add-whish a:hover {
        color: #fff;
        background: #24714a;
        border-color: #24714a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(36, 113, 74, .20);
    }

    /* 产品信息区 */
    .product-detail-content .stock-label {
        display: inline-block;
        padding: 4px 14px;
        background: linear-gradient(135deg, var(--accent--color) 0%, #00a8ff 100%);
        color: var(--secondary--color);
        border-radius: 50px;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 12px;
    }
    .product-detail-content h4 {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary--color);
        margin-bottom: 12px;
    }
    .product-detail-content > p {
        font-size: 15px;
        line-height: 1.9;
        color: var(--text--color);
        margin-bottom: 16px;
    }

    /* 星级评分 */
    .stock-rating-tag {
        margin-bottom: 14px;
    }
    .stock-rating-star {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .stock-rating-star figure {
        display: flex;
        gap: 2px;
        margin: 0;
    }
    .stock-rating-star figure img {
        width: 16px;
        height: 16px;
    }
    .stock-rating-star span {
        font-size: 13px;
        color: var(--text--color);
    }

    /* 数量选择器 */
    .product-detail-content .quatity_button_wrapper {
        display: flex;
        align-items: stretch;
        gap: 12px;
        margin: 20px 0 0;
    }
    .product-detail-content .quantity-field {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;
        width: auto;
        min-width: 132px;
        height: 46px;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #dfe7e2;
        border-radius: 12px;
    }
    .product-detail-content .quantity-field .value-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 44px;
        padding: 0;
        color: #5c6f63;
        background: #f5f8f6;
        border: none;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        transition: all .25s ease;
    }
    .product-detail-content .quantity-field .value-button:first-child {
        border-right: 1px solid #e7ede9;
    }
    .product-detail-content .quantity-field .value-button:last-child {
        border-left: 1px solid #e7ede9;
    }
    .product-detail-content .quantity-field .value-button:hover {
        color: #fff;
        background: #24714a;
    }
    .product-detail-content .quantity-field .number {
        width: 44px;
        padding: 0;
        color: #263b2e;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }
    .product-detail-content .quatity_button_wrapper .cart_btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0 22px;
        color: #fff;
        background: linear-gradient(135deg, #24714a 0%, #2f9661 100%);
        border: 1px solid transparent;
        border-radius: 12px;
        box-shadow: 0 5px 14px rgba(36, 113, 74, .20);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
        cursor: pointer;
        transition: all .25s ease;
    }
    .product-detail-content .quatity_button_wrapper .cart_btn:hover {
        color: #fff;
        background: linear-gradient(135deg, #195b3a 0%, #24714a 100%);
        border-color: transparent;
        box-shadow: 0 7px 18px rgba(36, 113, 74, .28);
        transform: translateY(-2px);
    }

    /* 上下页导航 */
    .product-detail-content .product-arrow {
        position: static;
        right: auto;
        bottom: auto;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
        margin: 18px 0 0;
        padding: 16px 0 0;
        border-top: 1px solid #e9efeb;
    }
    .product-detail-content .product-arrow a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin: 0;
        color: #24714a;
        background: #f0f8f2;
        border: 1px solid #d5e9db;
        border-radius: 50%;
        font-size: 14px;
        text-decoration: none;
        transition: all .25s ease;
    }
    .product-detail-content .product-arrow a:first-child {
        margin-right: 0;
    }
    .product-detail-content .product-arrow a i {
        color: inherit;
        font-size: 13px;
    }
    .product-detail-content .product-arrow a:hover {
        color: #fff;
        background: #24714a;
        border-color: #24714a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(36, 113, 74, .20);
    }

    /* 详情Tab区 */
    .product-detail-info-box {
        background: var(--secondary--color);
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        padding: 30px;
    }
    .product-detail-info-box .nav-pills {
        gap: 4px;
        border-bottom: 2px solid #f0f4f8;
        margin-bottom: 24px;
    }
    .product-detail-info-box .nav-pills .nav-link {
        border: none;
        color: var(--text--color);
        font-weight: 500;
        padding: 10px 20px;
        border-radius: 0;
        transition: all 0.3s ease;
        position: relative;
    }
    .product-detail-info-box .nav-pills .nav-link:hover {
        color: var(--accent--color);
    }
    .product-detail-info-box .nav-pills .nav-link.active {
        color: var(--accent--color);
        background: transparent;
    }
    .product-detail-info-box .nav-pills .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--accent--color) 0%, var(--highlight--color) 100%);
    }
    .review-con {
        font-size: 15px;
        line-height: 1.9;
        color: var(--text--color);
    }
    .review-con img {
        max-width: 100%;
        border-radius: 8px;
        margin: 12px 0;
    }
    .review-con strong {
        color: var(--primary--color);
    }

    /* 猜你喜欢卡片 */
    .shop-con {
        background: linear-gradient(180deg, #f8fbff 0%, var(--secondary--color) 100%);
    }
    .shop-box-item {
        background: var(--secondary--color);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        transition: all 0.4s ease;
    }
    .shop-box-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    }
    .shop-box-img {
        position: relative;
        overflow: hidden;
    }
    .shop-box-img img {
        width: 100%;
        transition: transform 0.5s ease;
    }
    .shop-box-item:hover .shop-box-img img {
        transform: scale(1.06);
    }
    .shop-label {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        padding: 4px 12px;
        background: rgba(0, 123, 255, 0.9);
        color: var(--secondary--color);
        border-radius: 50px;
        font-size: 12px;
        font-weight: 500;
    }
    .shop-box-cart {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    .shop-box-item:hover .shop-box-cart {
        opacity: 1;
    }
    .shop-box-cart ul {
        display: flex;
        gap: 10px;
    }
    .shop-box-cart ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--secondary--color);
        color: var(--accent--color);
        font-size: 15px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    .shop-box-cart ul li a:hover {
        background: var(--highlight--color);
        color: var(--primary--color);
        transform: scale(1.1);
    }
    .shop-box-cart .generic-btn .btn-primary {
        background: linear-gradient(135deg, var(--accent--color) 0%, #00a8ff 100%);
        border: none;
        border-radius: 50px;
        padding: 8px 22px;
        font-size: 13px;
        font-weight: 500;
        color: var(--secondary--color);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        transition: all 0.3s ease;
    }
    .shop-box-cart .generic-btn .btn-primary:hover {
        background: linear-gradient(135deg, var(--highlight--color) 0%, var(--accent--color) 100%);
        transform: translateY(-2px);
    }
    .shop-box-details {
        padding: 20px;
    }
    .shop-box-details figure {
        margin-bottom: 6px;
    }
    .shop-box-details figure img {
        width: 16px;
        height: 16px;
    }
    .shop-box-details h6 {
        font-size: 16px;
        font-weight: 600;
        color: var(--primary--color);
        margin: 8px 0;
        transition: color 0.3s ease;
    }
    .shop-box-item:hover .shop-box-details h6 {
        color: var(--accent--color);
    }
    .shop-price span {
        color: var(--accent--color);
        font-size: 13px;
    }

    @media only screen and (max-width: 575px) {
        .product-detail-content .social-icon {
            gap: 9px;
            padding: 14px 0;
        }
        .product-detail-content .social-icon .feature-tag {
            padding: 5px 10px;
        }
        .product-detail-content .quatity_button_wrapper {
            flex-wrap: wrap;
            gap: 10px;
        }
        .product-detail-content .quantity-field {
            min-width: 122px;
        }
        .product-detail-content .quatity_button_wrapper .cart_btn {
            flex: 1 1 135px;
            padding: 0 16px;
        }
    }
