*{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;}
body{background:#0f172a;color:#f1f5f9;min-height:100vh;background-image:radial-gradient(circle at 20% 10%,#2c1054 0%,#0b1120 70%);background-attachment:fixed;}
a{color:#7dd3fc;text-decoration:none;}
.container{max-width:1400px;margin:0 auto;padding:0 20px;}

/* Header Nav */
.site-header{padding:16px 0;border-bottom:1px solid rgba(255,255,255,0.12);display:flex;justify-content:space-between;align-items:center;}
.nav-links>a{margin:0 12px;}
.icon-buttons>button{background:transparent;border:none;color:#fff;font-size:20px;margin:0 8px;cursor:pointer;}

/* Modal 弹窗公共样式：购物车、心愿单 */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.75);display:none;z-index:999;align-items:center;justify-content:center;}
.modal-wrap{width:min(520px,95vw);background:#1e293b;border-radius:14px;padding:24px;border:1px solid rgba(255,255,255,0.15);max-height:85vh;overflow-y:auto;}
.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;}
.modal-close{cursor:pointer;font-size:22px;}

/* 商品卡片 index页面底部礼包 */
.product-section{padding:60px 0;}
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;}
.product-card{background:rgba(255,255,255,0.06);border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.1);transition:transform .25s ease;cursor:pointer;}
.product-card:hover{transform:translateY(-6px);}
.product-card img{width:100%;height:200px;object-fit:cover;}
.card-body{padding:18px;}
.price-text{color:#4ade80;font-size:22px;font-weight:bold;margin:10px 0;}

/* 商品操作按钮组 */
.product-action-group {
    margin-top:24px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.btn-add-cart {
    background: linear-gradient(135deg,#39b54a,#239232);
    color:#ffffff;
    border:none;
    font-size:16px;
    font-weight:600;
    padding:14px 28px;
    border-radius:8px;
    cursor:pointer;
    box-shadow: 0 4px 12px rgba(57,181,74,0.35);
    transition: all 0.22s ease;
}
.btn-add-cart:hover {
    background: linear-gradient(135deg,#46c758,#2aa43b);
    transform: translateY(-2px);
    box-shadow:0 6px 16px rgba(57,181,74,0.45);
}
.btn-add-cart:active {
    transform: translateY(1px);
}

.btn-add-wishlist {
    background: linear-gradient(135deg,#7b2cbf,#5a189a);
    color:#fff;
    border:none;
    font-size:16px;
    font-weight:600;
    padding:14px 28px;
    border-radius:8px;
    cursor:pointer;
    box-shadow: 0 4px 12px rgba(123,44,191,0.35);
    transition: all 0.22s ease;
}
.btn-add-wishlist:hover {
    background: linear-gradient(135deg,#9046d1,#6b20b3);
    transform: translateY(-2px);
    box-shadow:0 6px 16px rgba(123,44,191,0.45);
}
.btn-add-wishlist:active {
    transform: translateY(1px);
}


/* Footer */
.site-footer{margin-top:80px;padding:40px 0;border-top:1px solid rgba(255,255,255,0.12);font-size:14px;color:#94a3b8;}
.footer-payment-img{height:40px;margin:12px 0;}
