/**
 * GiayDepVN - 鞋子商城
 * 活力动感风格 - Vibrant Dynamic Style
 */

:root {
    --primary-color: #ff4757;
    --primary-hover: #ff3344;
    --primary-light: #ffe8ea;
    --accent-color: #2ed573;
    --accent-light: #e8fff0;
    --success-color: #2ed573;
    --danger-color: #ff4757;
    --warning-color: #ffa502;
    --text-color: #2f3542;
    --text-muted: #747d8c;
    --border-color: #e8e8e8;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 5px 20px rgba(255, 71, 87, 0.1);
    --shadow-lg: 0 15px 40px rgba(255, 71, 87, 0.15);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ==================== 基础布局 ==================== */
body {
    background: var(--bg-white);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* ==================== 产品网格 - 标准4列 ==================== */
#productlist {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -12px !important;
}

#productlist > .col-xl-3,
#productlist > .col-sm-6,
#productlist > [class*="col-"] {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1200px) {
    #productlist > .col-xl-3,
    #productlist > .col-sm-6,
    #productlist > [class*="col-"] {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        width: 33.333% !important;
    }
}

@media (max-width: 768px) {
    #productlist > .col-xl-3,
    #productlist > .col-sm-6,
    #productlist > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 480px) {
    #productlist > .col-xl-3,
    #productlist > .col-sm-6,
    #productlist > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ==================== 产品卡片 - 活力风格 ==================== */
.single-products {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    position: relative;
}

.single-products:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px) scale(1.02);
}

/* 折扣标签 */
.single-products::after {
    content: 'SALE';
    position: absolute;
    top: 15px;
    left: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 35px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(-45deg);
    z-index: 5;
}

/* 产品图片 */
.product-img {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-products:hover .product-img img {
    transform: scale(1.15) rotate(3deg);
}

/* 产品操作按钮 */
.product-actions {
    position: absolute !important;
    bottom: 15px !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    flex-direction: row;
    gap: 10px;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    padding: 0 !important;
    background: none !important;
    width: auto !important;
}

.single-products:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.add-to-cart-btn,
.buy-now-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    font-size: 20px;
    padding: 0 !important;
    margin: 0 !important;
}

.add-to-cart-btn {
    background: var(--bg-white) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.add-to-cart-btn:hover {
    background: var(--primary-color) !important;
    color: var(--bg-white) !important;
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.buy-now-btn {
    background: var(--accent-color) !important;
    color: var(--bg-white) !important;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.4);
}

.buy-now-btn:hover {
    background: #26c066 !important;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.5);
}

.add-to-cart-btn span,
.buy-now-btn span {
    display: none !important;
}

/* 产品信息 */
.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
}

.product-content .title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.product-content .title:hover {
    color: var(--primary-color);
}

.products-price {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-price li {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.products-price del {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    margin-left: 0;
}

/* ==================== 按钮 ==================== */
.default-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b7a 100%);
    color: var(--bg-white);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.default-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

/* ==================== 表单 ==================== */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: all 0.3s;
    font-size: 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* ==================== 购物车侧边栏 ==================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -10px 0 50px rgba(0,0,0,0.15);
    z-index: 10001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-radius: var(--radius) 0 0 var(--radius);
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b7a 100%);
    color: var(--bg-white);
    border-radius: var(--radius) 0 0 0;
}

.cart-sidebar-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.close-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 22px;
    color: var(--bg-white);
    cursor: pointer;
    transition: all 0.3s;
}

.close-cart:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    transition: all 0.3s;
}

.cart-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cart-item img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-right: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cart-item-qty button {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--bg-white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.cart-item-qty button:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.cart-item-remove {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.cart-item-remove:hover {
    color: var(--danger-color);
    transform: scale(1.2);
}

.cart-sidebar-footer {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 0 0 0 var(--radius);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-total span:last-child {
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.clear-cart-btn {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.clear-cart-btn:hover {
    color: var(--danger-color);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 80px;
    margin-bottom: 20px;
    color: var(--border-color);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-overlay.open {
    display: block;
    opacity: 1;
}

/* ==================== 页脚 - 现代风格 ==================== */
.footer-area {
    background: linear-gradient(135deg, #2f3542 0%, #1e2025 100%) !important;
    color: var(--bg-white);
}

.single-footer-widget h4 {
    color: var(--bg-white) !important;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.single-footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.single-footer-widget a,
.single-footer-widget li {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px;
    transition: all 0.3s;
}

.single-footer-widget a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

/* ==================== 结账页面 ==================== */
.checkout-products-list {
    max-height: 350px;
    overflow-y: auto;
}

.checkout-product-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    transition: all 0.3s;
}

.checkout-product-item:hover {
    transform: translateX(5px);
}

.checkout-product-item .product-thumb {
    position: relative;
    margin-right: 16px;
}

.checkout-product-item .product-thumb img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.checkout-product-item .qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--bg-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.checkout-product-item .product-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
}

.checkout-product-item .product-price {
    font-size: 13px;
    color: var(--text-muted);
}

.checkout-product-item .product-total {
    font-weight: 700;
    color: var(--primary-color);
}

/* ==================== 订单成功 ==================== */
.order-success-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 650px;
    margin: 0 auto;
}

.order-success-page .success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #b8f5cd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.order-success-page .success-icon i {
    font-size: 50px;
    color: var(--success-color);
}

.order-success-page h2 {
    color: var(--success-color);
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 28px;
}

.order-details-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: left;
    margin-bottom: 30px;
}

.order-details-card .card-section {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.order-details-card .card-section:last-child {
    border-bottom: none;
}

/* ==================== 账户页面 ==================== */
.user-info-card {
    display: flex;
    align-items: center;
    padding: 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b7a 100%);
    border-radius: var(--radius);
    color: var(--bg-white);
    margin-bottom: 28px;
    gap: 20px;
}

.user-avatar {
    width: 75px;
    height: 75px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
}

.user-avatar i {
    font-size: 35px;
}

.user-details h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.user-details p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.logout-btn {
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    background: var(--bg-light);
    padding: 8px;
    border-radius: 50px;
}

.tab-btn {
    padding: 12px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.3s;
}

.order-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
}

.order-status {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.order-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-delivered {
    background: var(--accent-light);
    color: #155724;
}

/* ==================== 商品详情页 ==================== */
.product-details-area {
    padding: 50px 0;
    background: var(--bg-white);
}

.products-details-image {
    position: sticky;
    top: 20px;
}

.product-main-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-main-image:hover img {
    transform: scale(1.08) rotate(2deg);
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-thumbs {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumb-item {
    width: 85px;
    height: 85px;
    border: 3px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-content {
    padding-left: 40px;
}

.product-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.product-price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px dashed var(--border-color);
}

.current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.original-price {
    font-size: 22px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.save-badge {
    background: linear-gradient(135deg, var(--accent-light) 0%, #b8f5cd 100%);
    color: #155724;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

.product-meta {
    padding: 22px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}

.product-meta p {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-meta p:last-child {
    margin-bottom: 0;
}

.product-meta i {
    color: var(--primary-color);
    font-size: 20px;
}

.in-stock {
    color: var(--success-color);
    font-weight: 700;
}

.out-stock {
    color: var(--danger-color);
    font-weight: 700;
}

.product-description {
    margin-bottom: 25px;
}

.product-description h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-description p {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-quantity label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.qty-btn {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-color);
    transition: all 0.3s;
    border-radius: 50%;
    margin: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

#qtyInput {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    background: transparent;
}

.stock-hint {
    font-size: 14px;
    color: var(--text-muted);
}

.product-actions-main {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart {
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-add-cart:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.2);
}

.btn-add-cart.added {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-white);
    animation: bounceIn 0.5s;
}

.btn-buy-now {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b7a 100%);
    border: none;
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.35);
}

.btn-buy-now:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.45);
}

.btn-add-cart:disabled,
.btn-buy-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.product-services {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: all 0.3s;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    padding-left: 10px;
}

.service-item i {
    font-size: 26px;
    color: var(--primary-color);
}

.service-item span {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

/* 相关商品 */
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .product-details-content {
        padding-left: 0;
        margin-top: 35px;
    }

    .products-details-image {
        position: static;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 22px;
    }

    .current-price {
        font-size: 28px;
    }

    .product-actions-main {
        flex-direction: column;
    }

    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
    }

    .product-main-image {
        padding: 25px;
    }
}

/* ==================== Toast ==================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color);
    color: var(--bg-white);
    padding: 16px 32px;
    border-radius: 50px;
    z-index: 10002;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.toast-notification i {
    color: var(--success-color);
    font-size: 22px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
        border-radius: 0;
    }

    .cart-sidebar-header {
        border-radius: 0;
    }

    .user-info-card {
        flex-wrap: wrap;
    }

    .logout-btn {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .account-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius-sm);
    }

    .tab-btn {
        flex: 1;
        text-align: center;
    }
}
