* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI','Microsoft YaHei',sans-serif
}

:root {
    --primary-green: #1a7c3a;
    --hover-green: #0d5c24;
    --light-green: #f0f9f3;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --text-primary: #333;
    --text-secondary: #666;
    --border-color: #eee;
    --price-red: #ef4444;
    --success-green: #22c55e;
    --transition: all 0.3s ease;
    --card-radius: 8px;
    --btn-radius: 6px;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.1)
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

header {
    background: linear-gradient(135deg,#1a7c3a 0,#0d5c24 100%);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.1)
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700
}

.logo i {
    font-size: 2rem
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
    padding: .5rem 0;
    position: relative
}

nav a:hover {
    color: #b8e6c9
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b8e6c9;
    transition: width .3s
}

nav a:hover::after {
    width: 100%
}

.mobile-menu-btn {
    display: none;
    background: 0 0;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer
}

.hero {
    padding: 4rem 0;
    text-align: center
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1a7c3a
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: #555
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a7c3a;
    position: relative;
    padding-bottom: 10px
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #1a7c3a
}

.products-section {
    padding: 4rem 0;
    background-color: #fff
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem
}

.filter-btn {
    background-color: #f0f9f3;
    border: 2px solid #d1e7dd;
    color: #1a7c3a;
    padding: .8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all .3s
}

.filter-btn:hover {
    background-color: #e1f5eb
}

.filter-btn.active {
    background-color: #1a7c3a;
    color: #fff;
    border-color: #1a7c3a
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    border-radius: 8px;
    overflow: hidden
}

.products-table thead {
    background-color: #1a7c3a;
    color: #fff
}

.products-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600
}

.products-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color .3s
}

.products-table tbody tr:hover {
    background-color: #f5fdf8
}

.products-table td {
    padding: 1rem;
    vertical-align: middle
}

.products-table td:last-child,.products-table td:nth-child(2),.products-table td:nth-child(3),.products-table th:last-child,.products-table th:nth-child(2),.products-table th:nth-child(3) {
    text-align: center
}

.product-title {
    font-weight: 600;
    color: #333;
    width: 60%
}

.stock {
    font-weight: 600
}

.in-stock {
    color: #1a7c3a
}

.low-stock {
    color: #e67e22
}

.price {
    font-weight: 700;
    color: #e74c3c;
    font-size: 1.2rem
}

.buy-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: .6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
    border: none;
    cursor: pointer
}

.buy-btn:hover {
    background-color: #c0392b;
    box-shadow: 0 4px 8px rgba(0,0,0,.1)
}

.blog-section {
    padding: 4rem 0;
    background-color: #f5f9f7
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: transform .3s;
    border: 1px solid #fff
}

.blog-card:hover {
    border: 1px solid #0d5c24
}

.blog-content {
    padding: 1.5rem
}

.blog-content h3 {
    margin-bottom: .8rem;
    font-size: 1.3rem;
    color: #1a7c3a
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem
}

.blog-date {
    display: flex;
    align-items: center;
    color: #888;
    font-size: .9rem
}

.blog-date i {
    margin-right: 5px
}

.why-us-section {
    padding: 4rem 0;
    background-color: #fff
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem
}

.feature-item {
    text-align: center;
    padding: 1.5rem
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f9f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1a7c3a;
    font-size: 1.8rem
}

.feature-item h4 {
    margin-bottom: .8rem;
    color: #333
}

.feature-item p {
    color: #666;
    font-size: .95rem
}

.faq-section {
    padding: 4rem 0;
    background-color: #f5f9f7
}

.faq-container {
    max-width: 800px;
    margin: 0 auto
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,.05)
}

.faq-question {
    padding: 1.2rem;
    background-color: #fff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333
}

.faq-question i {
    transition: transform .3s;
    color: #1a7c3a
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    background-color: #f9fffb;
    transition: max-height .3s,padding .3s
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1.2rem
}

.faq-item.active .faq-question i {
    transform: rotate(180deg)
}

footer {
    background-color: #0a2913;
    padding: 1.5rem 0
}

.copyright,.copyright a {
    text-align: center;
    color: #aaa;
    font-size: .9rem
}

.copyright a {
    text-decoration: none
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none
}

.toast {
    background: #fff;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    padding: 16px 20px;
    margin-bottom: 10px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    transform: translateX(100%);
    opacity: 0;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    pointer-events: auto;
    position: relative
}

.toast.show {
    transform: translateX(0);
    opacity: 1
}

.toast.success {
    background: #28a745
}

.toast.error {
    background: #ef4444
}

.toast.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg,#fffbeb,#fef3c7)
}

.toast.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg,#eff6ff,#dbeafe)
}

.toast.info .toast-icon {
    color: #3b82f6
}

.toast-icon {
    margin-right: 12px;
    flex-shrink: 0
}

.toast-content {
    flex: 1
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #374151
}

.toast-message {
    font-size: 13px;
    line-height: 1.4
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: 0 0;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    opacity: .7;
    transition: opacity .2s
}

.toast-close:hover {
    opacity: 1
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0,0,0,.1);
    border-radius: 0 0 8px 8px;
    transform-origin: left;
    animation: progress linear
}

.toast.success .toast-progress {
    background: #10b981
}

.toast.error .toast-progress {
    background: #ef4444
}

.toast.warning .toast-progress {
    background: #f59e0b
}

.toast.info .toast-progress {
    background: #3b82f6
}

@keyframes progress {
    0% {
        transform: scaleX(1)
    }

    to {
        transform: scaleX(0)
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size:2.4rem
    }

    .features-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .blog-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .products-table {
        overflow-x: auto;
        box-shadow: unset
    }

    .products-table td:last-child,.products-table td:nth-child(2),.products-table td:nth-child(3),.products-table th:last-child,.products-table th:nth-child(2),.products-table th:nth-child(3) {
        text-align: right
    }

    .product-title {
        width: 100%
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap:wrap
    }

    .mobile-menu-btn {
        display: block
    }

    /*nav {*/
    /*    width: 100%;*/
    /*    max-height: 0;*/
    /*    overflow: hidden;*/
    /*    transition: max-height .3s*/
    /*}*/

    /*nav.active {*/
    /*    max-height: 300px;*/
    /*    margin-top: 1rem*/
    /*}*/

    /*nav ul {*/
    /*    flex-direction: column;*/
    /*    gap: .5rem*/
    /*}*/

    /*nav ul li {*/
    /*    width: 100%*/
    /*}*/

    /*nav a {*/
    /*    display: block;*/
    /*    padding: .8rem 0;*/
    /*    border-bottom: 1px solid rgba(255,255,255,.1)*/
    /*}*/

    .hero h1 {
        font-size: 2rem
    }

    .hero p {
        font-size: 1rem
    }

    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 1.5rem
    }

    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap
    }

    .blog-grid {
        grid-template-columns: 1fr
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .products-table thead {
        display: none
    }

    .products-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 1rem
    }

    .products-table td {
        display: block;
        padding: .5rem 0;
        text-align: right
    }

    .products-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #1a7c3a
    }

    .section-title {
        font-size: 1.6rem
    }
}

.breadcrumb {
    background-color: #f5f9f7;
    padding: 1rem 0;
    border-bottom: 1px solid #eaeaea
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: .5rem;
    font-size: .9rem
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none
}

.breadcrumb a:hover {
    text-decoration: underline
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: .5rem;
    color: #888
}

.breadcrumb .current {
    color: #666
}

.product-d-detail {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.product-d-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px
}

.product-d-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--price-red);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px
}

.product-d-specs {
    margin-bottom: 25px
}

.spec-d-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color)
}

.spec-d-row:last-child {
    border-bottom: none
}

.spec-d-label {
    flex: 0 0 140px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px
}

.spec-d-value {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary)
}

.spec-d-value.highlight {
    color: var(--success-green)
}

.option-d-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px
}

.form-group {
    margin-bottom: 25px
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 8px
}

.required {
    color: var(--price-red)
}

.email-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    font-size: 1rem;
    transition: var(--transition)
}

.email-input:focus {
    outline: 0;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(26,124,58,.1)
}

.email-hint {
    margin-top: 8px;
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--btn-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    max-width: 150px
}

.quantity-selector:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(26,124,58,.1)
}

.quantity-btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: none;
    background: var(--light-green);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition)
}

.quantity-btn:hover {
    background: rgba(26,124,58,.1)
}

.quantity-btn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.quantity-input {
    flex: 1;
    height: 40px;
    text-align: center;
    border: none;
    background: 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    outline: 0;
    min-width: 60px
}

.quantity-input::-webkit-inner-spin-button,.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.quantity-input[type=number] {
    -moz-appearance: textfield
}

.payment-section {
    margin-bottom: 20px
}

.payment-label {
    font-size: .95rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.payment-method {
    flex: 1;
    min-width: 120px;
    padding: 12px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: .85rem;
    font-weight: 600
}

.payment-method.selected,.payment-method:hover {
    border-color: var(--primary-green);
    background: var(--light-green)
}

.payment-method input[type=radio] {
    display: none
}

.payment-icon {
    margin-bottom: 5px;
    color: var(--primary-green)
}

.payment-icon>img {
    border-radius: var(--btn-radius)
}

.total-price {
    background: linear-gradient(135deg,#fef3c7,#fed7aa);
    padding: 15px;
    border-radius: var(--card-radius);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.total-label {
    font-size: 1rem;
    color: #92400e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #92400e
}

.action-buttons {
    display: flex;
    gap: 15px
}

.btn,.related-btn {
    padding: 15px 25px;
    border: none;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.related-btn {
    padding: 8px 25px;
    font-size: .8rem
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary-green),var(--hover-green));
    color: #fff
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover)
}

.btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none
}

.btn-secondary {
    background: linear-gradient(135deg,#f5f7fa,#e9ecef);
    color: var(--text-primary)
}

.btn-secondary:hover {
    background: linear-gradient(135deg,#e9ecef,#dee2e6)
}

.product-d-description {
    grid-column: 1/-1;
    margin-top: 2.5rem
}

.description-d-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px
}

.description-d-content {
    line-height: 1.8;
    color: var(--text-secondary)
}

.description-d-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8
}

.description-d-content ol,.description-d-content ul {
    margin: 20px 0
}

.description-d-content>ul {
    list-style: none
}

.description-d-content>.info-circle>li {
    margin-bottom: 10px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.description-d-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 25px 0 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px
}

.description-d-content strong {
    color: var(--text-primary);
    padding: 0 .2rem
}

.feature-d-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    margin: 20px 0
}

.feature-d-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(26,124,58,.05);
    border-radius: var(--btn-radius)
}

.feature-d-icon {
    color: var(--success-green);
    font-size: 1.2rem
}

.security-notice {
    background: linear-gradient(135deg,#e0f2fe,#bae6fd);
    padding: 20px;
    border-radius: var(--card-radius);
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px
}

.security-icon {
    font-size: 1.5rem;
    color: #0369a1
}

.security-text {
    flex: 1;
    color: #0369a1;
    font-size: .95rem;
    line-height: 1.6
}

.related-products {
    margin-bottom: 80px
}

.section-d-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-primary)
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column
}

.product-card:hover {
    box-shadow: var(--shadow-hover)
}

.product-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    flex-grow: 0;
    display: flex;
    align-items: center;
    gap: 8px
}

.product-card-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: .95rem;
    line-height: 1.6;
    flex-grow: 1
}

.product-card-price {
    color: var(--price-red);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    flex-grow: 0;
    display: flex;
    align-items: center;
    gap: 8px
}

.product-card-action {
    flex-grow: 0
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    z-index: 2000;
    opacity: 0;
    transition: opacity .3s ease
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(.9);
    transition: transform .3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.3)
}

.modal-overlay.active .modal-content {
    transform: scale(1)
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-green)
}

.modal-title {
    font-weight: 600;
    color: var(--text-primary);
    gap: 10px;
    font-size: 1.5rem;
    display: flex;
    align-items: center
}

.close-btn {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    justify-content: center;
    color: #666;
    transition: all .3s;
    display: flex;
    text-align: center
}

.close-btn:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg)
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px
}

.order-summary {
    background: linear-gradient(135deg,#f8f9fa,#e9ecef);
    padding: 1.5rem;
    border-radius: var(--card-radius)
}

.summary-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    gap: 8px;
    display: flex;
    align-items: center
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.08)
}

.summary-row-clear-bt {
    border-bottom: none
}

.summary-row:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid rgba(0,0,0,.1)
}

.summary-label {
    width: 120px;
    color: var(--text-secondary);
    font-size: .9rem
}

.summary-value {
    font-weight: 600;
    color: var(--text-primary)
}

.summary-value.total {
    font-size: 1.5rem;
    color: var(--price-red)
}

.summary-value.total::after {
    font-size: 1.2rem;
    content: ' USDT'
}

.payment-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}

.qr-section {
    text-align: center;
    padding: 1.5rem
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center
}

.address-section {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: var(--btn-radius);
    padding: 1rem;
    margin-bottom: 15px;
    position: relative
}

.address-label {
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px
}

.address-value {
    font-size: .9rem;
    word-break: break-all;
    color: var(--text-primary);
    line-height: 1.4;
    padding-right: 40px;
    width: 88%
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--success-green);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: var(--btn-radius);
    font-size: .85rem;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 5px
}

.copy-btn:hover {
    background: #05a050
}

.copy-btn.copied {
    background: #4caf50
}

.countdown-section {
    background: linear-gradient(135deg,#fee2e2,#fecaca);
    padding: .5rem;
    border-radius: var(--card-radius);
    margin-bottom: 25px;
    text-align: center
}

.countdown-title {
    font-size: .9rem;
    color: #991b1b;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    font-family: 'Segoe UI','Microsoft YaHei',sans-serif;
    letter-spacing: 2px
}

.countdown-timer.warning {
    animation: blink 1s ease-in-out infinite
}

@keyframes blink {
    0%,50% {
        opacity: 1
    }

    51%,to {
        opacity: .3
    }
}

.countdown-hint {
    font-size: .85rem;
    color: #7f1d1d
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns:repeat(2,1fr)
    }
}

@media (max-width: 768px) {
    .product-d-detail {
        grid-template-columns:1fr;
        gap: 20px;
        padding: 1.5rem
    }

    .feature-d-list {
        grid-template-columns: 1fr
    }

    .action-buttons {
        flex-direction: column
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .product-d-description {
        padding: 1.5rem
    }
}

@media (max-width: 480px) {
    .product-d-title {
        font-size:1.5rem
    }

    .product-d-price {
        font-size: 1.8rem
    }

    .spec-d-label {
        flex: 0 0 120px;
        font-size: .9rem
    }

    .spec-d-value {
        font-size: .9rem
    }

    .description-d-title {
        font-size: 1.3rem
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 10px
    }

    .modal-header {
        padding: 1rem
    }

    .modal-title {
        font-size: 1.2rem
    }

    .modal-body {
        padding: 1rem
    }

    .qr-code {
        width: 160px;
        height: 160px
    }

    .address-value {
        font-size: .8rem
    }
}
