/* Reset and Base Styles - Updated 2024-12-19 */

/* Login Modal Styles */
login-modal-component {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.login-modal {
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-modal-header {
    background: var(--blue-gradient);
    color: var(--pure-white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.login-modal-close {
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.login-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.login-modal-content {
    padding: 2rem;
    text-align: center;
}

.login-modal-content p {
    margin: 0 0 1.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

.login-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.login-modal-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.login-modal-actions .btn-primary {
    background: var(--blue-gradient);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.login-modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.login-modal-actions .btn-secondary {
    background: var(--light-gray);
    color: var(--text-dark);
    border: 2px solid var(--medium-gray);
}

.login-modal-actions .btn-secondary:hover {
    background: var(--medium-gray);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* Mobile responsive for login modal */
@media (max-width: 768px) {
    .login-modal {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .login-modal-header {
        padding: 1rem;
    }
    
    .login-modal-content {
        padding: 1.5rem;
    }
    
    .login-modal-actions {
        flex-direction: column;
    }
    
    .login-modal-actions .btn {
        width: 100%;
    }
}

/* Authentication Page Styles */
.auth-section {
    padding: 4rem 0;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(59, 130, 246, 0.1) 100%);
    display: flex;
    align-items: center;
}

.auth-container {
    width: 600px;
    margin: 0 auto;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

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

.auth-tabs {
    display: flex;
    background: var(--light-gray);
    border-radius: 0;
}

.tab-btn {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    background: var(--blue-gradient);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
}

.auth-form {
    padding: 3rem;
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form h2 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form p {
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--medium-gray);
}

/* Phone input container */
.phone-input-container {
    display: flex;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    background: var(--pure-white);
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-input-container:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.phone-prefix {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    flex-shrink: 0;
}

.phone-input-container input {
    border: none;
    border-radius: 0;
    padding: 12px 16px;
    flex: 1;
    background: transparent;
}

.phone-input-container input:focus {
    outline: none;
    border: none;
    box-shadow: none;
    transform: none;
}

/* Form validation error styles */
.form-group input.error,
.phone-input-container.error {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

.checkbox-label.error {
    color: #e53e3e;
}

.field-error {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Cart Page Styles */
.cart-section {
    padding: 2rem 0 4rem 0;
    background: var(--light-gray);
    min-height: 60vh;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-items {
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    overflow: hidden;
}

.cart-items-header {
    background: var(--blue-gradient);
    color: var(--pure-white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.cart-items-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.cart-items-list {
    padding: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(0, 102, 204, 0.02);
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--off-white);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.cart-item-details {
    flex: 1;
    margin-right: 1.5rem;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cart-item-category {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--off-white);
    border: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.quantity-btn:active {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.quantity-display {
    width: 50px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--pure-white);
    border-left: 1px solid var(--light-gray);
    border-right: 1px solid var(--light-gray);
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: var(--pure-white);
}

.quantity-input:focus {
    outline: none;
}

.remove-item {
    width: 40px;
    height: 40px;
    background: var(--error-red);
    color: var(--pure-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.remove-item:hover {
    background: #d32f2f;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.cart-summary {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.summary-card {
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    padding: 2rem;
}

.summary-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    border-top: 2px solid var(--primary-blue);
    margin-top: 1rem;
    padding-top: 1rem;
}

.summary-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-actions .btn {
    width: 100%;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-cart {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.empty-cart-content {
    text-align: center;
    padding: 3rem;
}

.empty-cart-content i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.empty-cart-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-cart-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Wishlist Page Styles */
.wishlist-section {
    padding: 2rem 0 4rem 0;
    background: var(--light-gray);
    min-height: 60vh;
}

.wishlist-items {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    overflow: hidden;
}

.wishlist-header {
    background: var(--blue-gradient);
    color: var(--pure-white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
}

.wishlist-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.wishlist-header .btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.wishlist-header .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.wishlist-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Wishlist List Layout */
.wishlist-list {
    padding: 0;
}

.wishlist-list .wishlist-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--pure-white);
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.wishlist-list .wishlist-item:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wishlist-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    margin-right: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--off-white);
    position: relative;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.wishlist-color-indicator {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.wishlist-item-details {
    flex: 1;
    margin-right: 1.5rem;
}

.wishlist-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.wishlist-item-category {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: lowercase;
}

.wishlist-item-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wishlist-item-rating .rating-text {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.wishlist-item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-item-price .current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.wishlist-item-price .original-price {
    font-size: 1rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

.remove-wishlist-btn {
    width: 32px;
    height: 32px;
    background: var(--error-red);
    color: var(--pure-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.remove-wishlist-btn:hover {
    background: #d32f2f;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.view-details-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: var(--primary-blue);
    color: var(--pure-white);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-details-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.empty-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
}

.empty-wishlist-content {
    text-align: center;
    padding: 3rem;
}

.empty-wishlist-content i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.empty-wishlist-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-wishlist-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Wishlist specific styles */
.wishlist-item {
    position: relative;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.remove-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 71, 87, 0.9);
    color: var(--pure-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-item:hover .remove-wishlist-btn {
    opacity: 1;
}

.remove-wishlist-btn:hover {
    background: #ff3742;
    transform: scale(1.1);
}

.wishlist-item .product-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wishlist-item .btn {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wishlist-item .btn-primary {
    background: var(--blue-gradient);
    color: var(--pure-white);
    border: none;
}

.wishlist-item .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.wishlist-item .btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.wishlist-item .btn-outline:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* Mobile responsive for cart and wishlist */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-summary {
        position: static;
        order: -1;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .cart-item-image img {
        object-fit: contain;
        object-position: center;
        background-color: #f8f9fa;
    }
    
    .cart-item-details {
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .quantity-controls {
        flex: 1;
        max-width: 200px;
    }
    
    .remove-item {
        flex-shrink: 0;
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
    
    .wishlist-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .wishlist-item .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .wishlist-item .btn {
        width: 100%;
        min-width: auto;
    }
    
    .remove-wishlist-btn {
        opacity: 1;
        width: 35px;
        height: 35px;
    }
    
    /* Mobile responsive for wishlist list */
    .wishlist-list .wishlist-item {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .wishlist-item-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .wishlist-item-image img {
        object-fit: contain;
        object-position: center;
        background-color: #f8f9fa;
    }
    
    .wishlist-item-details {
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
    }
    
    .wishlist-item-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .remove-wishlist-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .view-details-btn {
        flex: 1;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .empty-cart-content,
    .empty-wishlist-content {
        padding: 2rem 1rem;
    }
    
    .empty-cart-content h2,
    .empty-wishlist-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cart-item-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quantity-controls {
        width: 100%;
        max-width: none;
        justify-content: center;
    }
    
    .remove-item {
        width: 100%;
        height: 45px;
    }
    
    .cart-item-image {
        height: 150px;
    }
    
    .cart-item-image img {
        object-fit: contain;
        object-position: center;
        background-color: #f8f9fa;
    }
    
    .cart-item-name {
        font-size: 1rem;
    }
    
    .cart-item-category {
        font-size: 0.85rem;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
    
    .wishlist-item {
        margin-bottom: 1rem;
    }
    
    .wishlist-item .product-actions {
        margin-top: 0.5rem;
    }
    
    .remove-wishlist-btn {
        width: 40px;
        height: 40px;
        top: 5px;
        right: 5px;
    }
    
    /* Extra small screens - wishlist list */
    .wishlist-list .wishlist-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .wishlist-item-image {
        height: 150px;
    }
    
    .wishlist-item-image img {
        object-fit: contain;
        object-position: center;
        background-color: #f8f9fa;
    }
    
    .wishlist-item-name {
        font-size: 1.1rem;
    }
    
    .wishlist-item-category {
        font-size: 0.85rem;
    }
    
    .wishlist-item-price .current-price {
        font-size: 1.1rem;
    }
    
    .wishlist-item-price .original-price {
        font-size: 0.9rem;
    }
    
    .remove-wishlist-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .view-details-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

.form-text {
    display: block;
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
  display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--blue-gradient);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--pure-white);
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.btn.w-100 {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn.w-100:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* Mobile responsive for auth forms */
@media (max-width: 768px) {
    .auth-section {
        padding: 2rem 0;
        min-height: 90vh;
    }
    
    .auth-container {
        width: 100%;
        margin: 1rem;
        border-radius: 15px;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tab-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-group input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .btn.w-100 {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .phone-prefix {
        min-width: 50px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .phone-input-container input {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 0.5rem;
        border-radius: 10px;
    }
    
    .auth-form {
        padding: 1.5rem 1rem;
    }
    
    .auth-form h2 {
        font-size: 1.3rem;
    }
    
    .tab-btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--pure-white);
}

/* CSS Variables */
:root {
    /* Blue Theme Color Palette */
    --primary-blue: #0066cc;
    --primary-blue-dark: #004499;
    --primary-blue-light: #3388dd;
    --secondary-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --light-blue: #dbeafe;
    --blue-gradient: linear-gradient(135deg, #0066cc 0%, #004499 100%);

    /* White and Neutral Colors */
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #f1f5f9;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --text-dark: #1e293b;

    /* Status Colors */
    --success-green: #10b981;
    --error-red: #ef4444;
    --warning-orange: #f59e0b;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--light-blue) 100%);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-blue);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 50px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

/* 基础导航菜单样式（移动端优先） */
.nav-menu {
    display: none;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
    background-color: var(--light-blue);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--pure-white);
    border: 2px solid var(--light-blue);
    border-radius: 25px;
    padding: 8px 16px;
    min-width: 250px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transform: translateY(-1px);
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    padding: 4px 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: var(--medium-gray);
}

.search-bar button {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: var(--light-blue);
    transform: scale(1.1);
}

.cart-icon, .wishlist-icon, .user-icon {
    position: relative;
    color: var(--primary-blue);
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-icon:hover, .wishlist-icon:hover, .user-icon:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    text-align: center;
    background: var(--blue-gradient);
    color: var(--pure-white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pure-white);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.3);
    animation: pulse 2s infinite;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-blue);
    background-color: var(--light-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(0, 102, 204, 0.75) 0%, rgba(13, 85, 224, 0.6) 40%, rgba(0, 102, 204, 0.4) 70%, transparent 100%); */
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%); */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--blue-gradient);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
}

.btn-secondary {
    background: var(--pure-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Categories Section - Enhanced */
.categories-section {
    background: var(--off-white);
    padding: 80px 0;
}

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

.category-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.category-image {
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #f8f9fa;
}

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-info h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Featured Products Section - Enhanced */
.featured-products {
    background: var(--pure-white);
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 204, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.02) 0%, rgba(13, 85, 224, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 160px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--blue-gradient);
    color: var(--pure-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
    z-index: 2;
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.product-info h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
    /* min-height: 2.8rem; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--primary-blue);
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    min-height: 1.8rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.original-price {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-decoration: line-through;
    opacity: 0.8;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: var(--pure-white);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.product-rating .stars {
    color: #ffc107;
    letter-spacing: 1px;
}

.product-rating .count {
    color: var(--medium-gray);
}

.product-actions {
    display: flex;
    gap: 0.3rem;
    margin-top: auto;
    align-items: center;
}

.product-actions .btn-add-cart {
    flex: 1;
    background: var(--blue-gradient);
    color: var(--pure-white);
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
    height: 28px;
}

.product-actions .btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.product-actions .btn-add-cart:hover::before {
    width: 200px;
    height: 200px;
}

.product-actions .btn-add-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.15);
}

.product-actions .btn-add-cart:active {
    transform: translateY(0);
}

.product-actions .btn-wishlist {
    width: 28px;
    height: 28px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 1px solid var(--light-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.product-actions .btn-wishlist:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
    transform: scale(1.03);
}

.product-actions .btn-wishlist.active {
    background: var(--error-red);
    color: var(--pure-white);
    border-color: var(--error-red);
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.2); }
}

.product-quick-view {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
}

.product-card:hover .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-view:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    background: var(--light-blue);
}

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

.feature-item {
    text-align: center;
    padding: 3rem 2.5rem;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.06);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--blue-gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.feature-item:hover::before {
    width: 100%;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.15);
}

.feature-item i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
}

.feature-item:hover i {
    transform: scale(1.15) rotateY(360deg);
    color: #0056b3;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Footer */
footer {
    background: linear-gradient(45deg, #4AD0F6 0%, #0D55E0 100%);
    color: var(--pure-white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 208, 246, 0.1) 0%, rgba(13, 85, 224, 0.1) 100%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--pure-white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--pure-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* PC端优化样式 */
@media (min-width: 769px) {
    /* Header 优化 */
    .header-content {
        padding: 1.5rem 0;
        position: relative;
    }
    
    .header-top {
        display: grid;
        grid-template-columns: auto auto auto;
        align-items: center;
        gap: 1rem;
    }
    
    /* Logo 优化 */
    .logo {
        height: 60px;
        flex-shrink: 0;
    }
    
    .logo img {
        height: 100%;
        width: auto;
        transition: all 0.3s ease;
    }
    
    .logo:hover img {
        transform: scale(1.05);
    }
    
    /* PC端导航菜单 */
    .nav-menu {
        display: flex !important;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        border: none;
        z-index: auto;
        padding: 0;
        flex-direction: row;
        list-style: none;
        gap: 1rem;
        justify-content: flex-start;
        animation: none;
    }
    
    .nav-menu a {
        display: inline-block;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s ease;
        padding: 12px 20px;
        border-radius: 8px;
        position: relative;
        font-size: 1rem;
        letter-spacing: 0.5px;
        background: transparent;
        text-align: left;
        margin-bottom: 0;
    }
    
    .nav-menu a:hover {
        color: var(--primary-blue);
        background: linear-gradient(135deg, var(--light-blue) 0%, rgba(59, 130, 246, 0.1) 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--blue-gradient);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 2px;
    }
    
    .nav-menu a:hover::after {
        width: 90%;
    }
    
    /* PC端操作按钮区域 */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-shrink: 0;
    }
    
    .cart-icon, .wishlist-icon, .user-icon {
        position: relative;
        color: var(--primary-blue);
        font-size: 1.1rem;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* padding: 10px; */
        border-radius: 50%;
        transition: all 0.3s ease;
        cursor: pointer;
        background: linear-gradient(135deg, var(--light-blue) 0%, rgba(59, 130, 246, 0.1) 100%);
        border: 2px solid transparent;
    }
    
    .cart-icon:hover, .wishlist-icon:hover, .user-icon:hover {
        background: var(--blue-gradient);
        color: var(--pure-white);
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
        border-color: var(--primary-blue-light);
    }
    
    .cart-count, .wishlist-count {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
        top: -6px;
        right: -6px;
        border: 2px solid var(--pure-white);
        box-shadow: 0 2px 6px rgba(0, 102, 204, 0.4);
    }
    
    /* PC端搜索栏 */
    .search-bar {
        display: flex;
        position: relative;
        min-width: 150px;
        max-width: 220px;
        /* width: 100%; */
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
        border: 2px solid var(--light-blue);
        background: var(--pure-white);
        border-radius: 25px;
        padding: 8px 14px;
        margin: 0 auto;
        justify-self: center;
    }
    
    .search-bar:focus-within {
        box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
        transform: translateY(-2px);
        border-color: var(--primary-blue);
    }
    
    .search-bar input {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .search-bar button {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    
    /* 隐藏移动端汉堡菜单 */
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Hero Section 优化 */
    .hero-section {
        height: 100vh;
        min-height: 500px;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        font-weight: 800;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    }
    
    .hero-content p {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    }
    
    /* 按钮优化 */
    .btn {
        /* padding: 16px 32px; */
        font-weight: 700;
        letter-spacing: 0.5px;
        /* border-radius: 12px; */
        /* box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3); */
    }
    
    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    }
    
    /* 卡片优化 */
    .category-card, .product-card {
        border-radius: 20px;
        box-shadow: 0 6px 20px rgba(0, 102, 204, 0.12);
        transition: all 0.4s ease;
    }
    
    .category-card:hover, .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 102, 204, 0.25);
    }
    
    /* 特色区域优化 */
    .feature-item {
        padding: 3rem 2rem;
        border-radius: 20px;
        box-shadow: 0 6px 20px rgba(0, 102, 204, 0.12);
    }
    
    .feature-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 102, 204, 0.25);
    }
    
    .feature-item i {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero Section 移动端优化 */
    .hero-section {
        height: auto;
        min-height: 25vh;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-swiper {
        width: 100%;
        height: auto;
        min-height: 25vh;
    }
    
    .hero-slide {
        width: 100%;
        height: auto;
        min-height: 25vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    /* Swiper 移动端优化 */
    .hero-swiper .swiper-pagination {
        bottom: 20px;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none; /* 移动端隐藏导航按钮 */
    }
    
    /* Shipping 页面移动端优化 */
    .shipping-section {
        padding: 2rem 0;
    }
    
    .shipping-content {
        padding: 0 1rem;
    }
    
    .shipping-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .shipping-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .shipping-options {
        margin: 1.5rem 0;
        gap: 0.8rem;
    }
    
    .shipping-option {
        padding: 1.2rem;
    }
    
    .shipping-option h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .shipping-option p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .shipping-content ul {
        margin: 1.2rem 0;
        padding-left: 1.2rem;
    }
    
    .shipping-content li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    /* Returns 页面移动端优化 */
    .returns-section {
        padding: 2rem 0;
    }
    
    .returns-content {
        padding: 0 1rem;
    }
    
    .returns-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .returns-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .return-conditions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .condition-item {
        padding: 1.2rem;
    }
    
    .condition-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .condition-item li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .return-steps {
        margin: 1.5rem 0;
    }
    
    .return-steps::before {
        left: 25px;
    }
    
    .step {
        padding-left: 70px;
        margin-bottom: 1.5rem;
    }
    
    .step::before {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .return-address {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .return-address p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .return-address p:last-child {
        font-size: 1rem;
    }
    
    .returns-content ul {
        margin: 1.2rem 0;
        padding-left: 1.2rem;
    }
    
    .returns-content li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    /* Terms 和 Privacy 页面移动端优化 */
    .terms-section,
    .privacy-section {
        padding: 2rem 0;
    }
    
    .terms-content,
    .privacy-content {
        padding: 0 1rem;
    }
    
    .terms-content h2,
    .privacy-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .terms-content h2::before,
    .privacy-content h2::before {
        left: -15px;
        width: 3px;
        height: 25px;
    }
    
    .terms-content p,
    .privacy-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }
    
    .terms-content ul,
    .privacy-content ul {
        margin: 1.2rem 0;
        padding-left: 1.2rem;
    }
    
    .terms-content li,
    .privacy-content li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        line-height: 1.6;
    }
    
    .table-of-contents {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .table-of-contents h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .toc-link {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* 移动端 Header 布局 - 两行结构 */
    .header-content {
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* 第一行：Logo + 操作按钮 */
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .logo {
        height: 45px;
        flex-shrink: 0;
    }
    
    /* 移动端操作按钮 */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .cart-icon, .wishlist-icon, .user-icon {
        font-size: 1.1rem;
        padding: 8px;
        background: var(--light-blue);
        border-radius: 50%;
        color: var(--primary-blue);
        transition: all 0.3s ease;
    }
    
    .cart-icon:hover, .wishlist-icon:hover, .user-icon:hover {
        background: var(--primary-blue);
        color: var(--pure-white);
        transform: scale(1.1);
    }
    
    /* 移动端汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        background: var(--primary-blue);
        color: var(--pure-white);
        border: none;
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--primary-blue-dark);
        transform: scale(1.05);
    }
    
    /* 第二行：全宽搜索栏 */
    .search-bar {
        display: flex;
        width: 100%;
        background: var(--pure-white);
        border: 2px solid var(--light-blue);
        border-radius: 25px;
        padding: 10px 16px;
        box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
        transition: all 0.3s ease;
        margin: 0;
    }
    
    .search-bar:focus-within {
        border-color: var(--primary-blue);
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
        transform: translateY(-1px);
    }
    
    .search-bar input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        padding: 6px 10px;
        font-size: 0.95rem;
        color: var(--text-dark);
    }
    
    .search-bar input::placeholder {
        color: var(--medium-gray);
    }
    
    .search-bar button {
        background: var(--primary-blue);
        border: none;
        color: var(--pure-white);
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 20px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-bar button:hover {
        background: var(--primary-blue-dark);
        transform: scale(1.05);
    }
    
    .search-bar button i {
        font-size: 1rem;
    }
    
    /* 移动端导航菜单 */
    .nav-menu {
        display: none;
        position: fixed;
        top: 140px;
        left: 0;
        width: 100%;
        background-color: var(--pure-white);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
        z-index: 999;
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: 3px solid var(--primary-blue);
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
        animation: navSlideDown 0.3s ease-out;
    }
    
    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        margin-bottom: 8px;
        text-align: center;
        background: var(--light-blue);
        border-radius: 12px;
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: var(--primary-blue);
        color: var(--pure-white);
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* 移动端商品卡片优化 */
    .product-card {
        border-radius: 14px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.7rem;
        border-radius: 16px;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        /* min-height: 2.4rem; */
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
        min-height: auto;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .original-price {
        font-size: 0.85rem;
    }
    
    .product-rating {
        gap: 0.35rem;
        margin-bottom: 0.6rem;
        font-size: 0.75rem;
        overflow: hidden;
        word-break: break-word;
    }
    
    .product-rating .stars {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
        flex-shrink: 0;
    }
    
    .product-rating .rating-text {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60px;
    }
    
    .discount-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .product-actions {
        flex-direction: row;
        gap: 0.4rem;
    }
    
    .product-actions .btn-add-cart {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .product-actions .btn-wishlist {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .product-quick-view {
        width: 28px;
        height: 28px;
        opacity: 1;
        transform: translateY(0);
        font-size: 0.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Hero Section 小屏手机优化 */
    .hero-section {
        height: auto;
        min-height: 30vh;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-swiper {
        width: 100%;
        height: auto;
        min-height: 30vh;
    }
    
    .hero-slide {
        width: 100%;
        height: auto;
        min-height: 30vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    /* Swiper 小屏手机优化 */
    .hero-swiper .swiper-pagination {
        bottom: 15px;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none; /* 小屏手机隐藏导航按钮 */
    }
    
    /* Shipping 页面小屏手机优化 */
    .shipping-section {
        padding: 1.5rem 0;
    }
    
    .shipping-content {
        padding: 0 0.5rem;
    }
    
    .shipping-content h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .shipping-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .shipping-options {
        margin: 1.2rem 0;
        gap: 0.6rem;
    }
    
    .shipping-option {
        padding: 1rem;
    }
    
    .shipping-option h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .shipping-option p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .shipping-content ul {
        margin: 1rem 0;
        padding-left: 1rem;
    }
    
    .shipping-content li {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    /* Returns 页面小屏手机优化 */
    .returns-section {
        padding: 1.5rem 0;
    }
    
    .returns-content {
        padding: 0 0.5rem;
    }
    
    .returns-content h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .returns-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .return-conditions {
        gap: 1rem;
        margin: 1.2rem 0;
    }
    
    .condition-item {
        padding: 1rem;
    }
    
    .condition-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .condition-item li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .return-steps {
        margin: 1.2rem 0;
    }
    
    .return-steps::before {
        left: 20px;
    }
    
    .step {
        padding-left: 60px;
        margin-bottom: 1.2rem;
    }
    
    .step::before {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .return-address {
        padding: 1.2rem;
        margin: 1.2rem 0;
    }
    
    .return-address p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .return-address p:last-child {
        font-size: 0.95rem;
    }
    
    .returns-content ul {
        margin: 1rem 0;
        padding-left: 1rem;
    }
    
    .returns-content li {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    /* Terms 和 Privacy 页面小屏手机优化 */
    .terms-section,
    .privacy-section {
        padding: 1.5rem 0;
    }
    
    .terms-content,
    .privacy-content {
        padding: 0 0.5rem;
    }
    
    .terms-content h2,
    .privacy-content h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .terms-content h2::before,
    .privacy-content h2::before {
        left: -12px;
        width: 3px;
        height: 20px;
    }
    
    .terms-content p,
    .privacy-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .terms-content ul,
    .privacy-content ul {
        margin: 1rem 0;
        padding-left: 1rem;
    }
    
    .terms-content li,
    .privacy-content li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    .table-of-contents {
        padding: 1.2rem;
        margin: 1.2rem 0;
    }
    
    .table-of-contents h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .toc-list {
        gap: 0.5rem;
    }
    
    .toc-link {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* 小屏手机优化 */
    .header-content {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .header-actions {
        gap: 0.4rem;
    }
    
    .cart-icon, .wishlist-icon, .user-icon {
        font-size: 1rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* padding: 6px; */
    }
    
    .mobile-menu-toggle {
        font-size: 1.1rem;
        padding: 8px 10px;
        min-width: 40px;
        min-height: 40px;
    }
    
    /* 小屏搜索栏 */
    .search-bar {
        padding: 8px 14px;
        border-radius: 20px;
    }
    
    .search-bar input {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    
    .search-bar button {
        padding: 6px 10px;
    }
    
    .search-bar button i {
        font-size: 0.9rem;
    }
    
    /* 导航菜单位置调整 */
    .nav-menu {
        top: 138px;
        padding: 1rem;
        max-height: calc(100vh - 120px);
    }
    
    .nav-menu a {
        padding: 12px 16px;
        margin-bottom: 6px;
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* 小屏商品卡片优化 */
    .product-card {
        border-radius: 12px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-badge {
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 0.65rem;
        border-radius: 12px;
    }
    
    .product-info {
        padding: 0.6rem;
    }
    
    .product-info h3 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        /* min-height: 2.2rem; */
        line-height: 1;
    }
    
    .price-info {
        margin-bottom: 0.5rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .original-price {
        font-size: 0.8rem;
    }
    
    .product-rating {
        gap: 0.3rem !important;
        margin-bottom: 0.5rem;
        font-size: 0.7rem;
        flex-wrap: wrap;
        padding: .2rem .5rem !important;
        overflow: hidden;
        word-break: break-word;
    }
    
    .product-rating .stars {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }
    
    .product-rating .rating-text {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 50px;
    }
    
    .discount-badge {
        top: 6px;
        right: 6px;
        font-size: 0.6rem;
        padding: 2px 5px;
    }
    
    .product-actions {
        gap: 0.3rem;
    }
    
    .product-actions .btn-add-cart {
        padding: 6px 10px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    .product-actions .btn-wishlist {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .product-quick-view {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item i {
        font-size: 2.5rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-actions {
        /* flex-direction: column; */
        gap: 0.1rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .btn-small {
        padding: 8px 12px;
        font-size: 0.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Page Headers */
.page-header {
    background: var(--blue-gradient);
    color: var(--pure-white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Cart and Wishlist Styles */
.cart-item,
.wishlist-item {
    /* display: grid; */
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    /* padding: 1.5rem 0; */
    border-bottom: 1px solid var(--light-gray);
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.item-details p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--light-blue);
    background: var(--pure-white);
    color: var(--primary-blue);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--light-blue);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--light-blue);
    border-radius: 4px;
    padding: 4px;
}

.remove-btn {
    background: var(--error-red);
    color: var(--pure-white);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #dc2626;
}

.cart-summary,
.wishlist-summary {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-total {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-blue);
    border-top: 2px solid var(--light-blue);
    padding-top: 1rem;
}

/* Product Detail Styles */
.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-images {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.thumbnail {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-blue);
}

.main-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.product-details {
    padding: 2rem;
}

.product-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.option-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.option-btn {
    padding: 8px 16px;
    border: 2px solid var(--light-blue);
    background: var(--pure-white);
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover,
.option-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: var(--pure-white);
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.review-item {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-rating {
    color: var(--warning-orange);
}

.review-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

/* Order Detail Modal - Larger Size */
.order-detail-modal {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    padding: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--pure-white);
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
}

.modal-close:hover {
    color: var(--text-dark);
}

/* Close button in modal header */
.modal-header .close {
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-header .close:hover,
.modal-header .close:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    transform: scale(1.1);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-blue);
    border-radius: 50%;
    border-top-color: var(--primary-blue);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.message.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out;
}

/* Products Page Styles */
.filters-section {
    background: var(--light-blue);
    padding: 2rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-filter {
    width: 100%;
}

.search-bar {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: var(--pure-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.search-bar button {
    padding: 12px ;
    background: var(--primary-blue);
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: var(--dark-blue);
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: var(--pure-white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.products-section {
    padding: 3rem 0;
}

.products-header {
    margin-bottom: 2rem;
    text-align: center;
}

.products-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    background: var(--pure-white);
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
}

.pagination button.active {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Product Detail Page Styles */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumb nav {
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.breadcrumb a:hover {
    color: var(--dark-blue);
    background: rgba(0, 102, 204, 0.1);
}

.breadcrumb span {
    color: var(--medium-gray);
    font-weight: 600;
}

.product-detail-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.product-detail-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.05);
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.product-images {
    position: relative;
    background: var(--light-blue);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    order: 1;
}

.product-info {
    order: 2;
}

@media (min-width: 769px) {
    .product-images {
        order: 1;
    }
    
    .product-info {
        order: 2;
    }
}

.product-main-image {
    width: 100%;
    height: 450px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
}

.product-main-image:hover {
    transform: scale(1.02);
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    width: 90px;
    height: 90px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    background-color: #f8f9fa;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.thumbnail.active {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--light-blue);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.product-rating .stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.product-rating .count {
    color: var(--medium-gray);
    font-weight: 600;
    font-size: 0.95rem;
}

.product-description {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.product-specs {
    margin-bottom: 2.5rem;
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--light-gray);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.05);
}

.product-specs h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-specs h3::before {
    content: "⚙️";
    font-size: 1.1rem;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.spec-list li:hover {
    background: var(--light-blue);
    margin: 0 -1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.spec-value {
    color: var(--medium-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.product-actions-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.btn-add-cart-detail {
    flex: 1;
    background: var(--blue-gradient);
    color: var(--pure-white);
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-add-cart-detail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart-detail:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-add-cart-detail:active {
    transform: translateY(-1px);
}

.btn-wishlist-detail {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.btn-wishlist-detail:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.btn-wishlist-detail.active {
    background: var(--error-red);
    color: var(--pure-white);
    border-color: var(--error-red);
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.15); }
}

.reviews-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0, 102, 204, 0.05) 100%);
    padding: 4rem 0;
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--blue-gradient);
    border-radius: 2px;
}

.reviews-container {
    display: grid;
    gap: 2rem;
}

.review-item {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.review-author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-author::before {
    content: "👤";
    font-size: 1rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.review-text {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: serif;
}

.related-products {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.related-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
}

.related-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--blue-gradient);
    border-radius: 2px;
}

/* Product Reviews Section within Product Detail */
.product-reviews-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.product-reviews-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-reviews-section h3::before {
    content: "💬";
    font-size: 1.3rem;
}

/* Merchant Reply Styles */
.merchant-reply {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.merchant-reply-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #bbdefb;
}

.merchant-reply-date {
    color: #666;
    font-size: 0.8rem;
}

.merchant-reply-content {
    color: #333;
    line-height: 1.5;
}

.merchant-reply-content p {
    margin: 0;
    font-size: 0.9rem;
}

.reviews-summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.05);
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.rating-count {
    color: var(--medium-gray);
    font-weight: 600;
    font-size: 1.1rem;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: var(--medium-gray);
    font-style: italic;
    background: var(--pure-white);
    border-radius: 12px;
    border: 2px dashed var(--light-gray);
}

/* Responsive Design for Product Pages */
@media (max-width: 768px) {
    .filters-container {
        gap: 1rem;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .product-detail-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-main-image {
        height: 350px;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #f8f9fa;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 1.8rem;
    }
    
    .product-actions-detail {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-wishlist-detail {
        width: 100%;
        height: 50px;
    }
    
    .reviews-section h2,
    .related-products h2 {
        font-size: 1.6rem;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .product-reviews-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .product-reviews-section h3 {
        font-size: 1.3rem;
    }
    
    .rating-overview {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .average-rating {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rating-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .filters-section {
        padding: 1.5rem 0;
    }
    
    .products-section {
        padding: 2rem 0;
    }
    
    .product-detail-section {
        padding: 2rem 0;
    }
    
    .product-detail-container {
        padding: 1rem;
        border-radius: 12px;
        gap: 1.5rem;
    }
    
    .product-detail-main {
        gap: 1.5rem;
    }
    
    .product-main-image {
        height: 280px;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #f8f9fa;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .product-actions-detail {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .btn-add-cart-detail {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .btn-wishlist-detail {
        height: 45px;
    }
    
    .reviews-section h2,
    .related-products h2 {
        font-size: 1.4rem;
    }
    
    .review-item {
        padding: 1.25rem;
    }
    
    .breadcrumb {
        padding: 1rem 0;
    }
    
    .breadcrumb nav {
        font-size: 0.85rem;
    }
    
    .product-reviews-section {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .product-reviews-section h3 {
        font-size: 1.2rem;
    }
    
    .rating-number {
        font-size: 1.8rem;
    }
    
    .rating-stars {
        font-size: 1.2rem;
    }
}

/* Product Specifications */
.product-specifications {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hide mobile specs on desktop */
.mobile-specs {
    display: none;
}

.product-specifications h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-specifications h3::before {
    content: "⚙️";
    font-size: 1rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.spec-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    flex: 0 0 40%;
}

.spec-value {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

/* Product Options */
.product-options {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.color-selection,
.storage-selection {
    margin-bottom: 1.5rem;
}

.color-selection h4,
.storage-selection h4 {
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.color-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.color-option.selected {
    border-color: #007bff;
    transform: scale(1.15);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.storage-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.storage-option {
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    position: relative;
}

.storage-option:hover:not(.out-of-stock) {
    border-color: #007bff;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.storage-option.selected {
    border-color: #007bff;
    background: #e3f2fd;
    color: #007bff;
}

.storage-option.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

.storage-capacity {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.storage-price {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
}

.stock-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.product-stock-status {
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.stock-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.stock-value {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.stock-value.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-value.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive adjustments for product options */
@media (max-width: 768px) {
    .product-options {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .color-option {
        width: 35px;
        height: 35px;
    }
    
    .storage-option {
        padding: 0.5rem 0.75rem;
        min-width: 70px;
    }
    
    .storage-capacity {
        font-size: 0.8rem;
    }
    
    .storage-price {
        font-size: 0.7rem;
    }
    
    /* Move specifications to bottom on mobile */
    .product-images .product-specifications {
        display: none;
    }
    
    .mobile-specs {
        display: block;
        margin-top: 1.5rem;
        padding: 1rem;
        order: 2; /* Move above reviews */
    }
    
    .product-specifications:not(.mobile-specs) {
        display: none;
    }
    
    .product-reviews-section {
        order: 3; /* After specifications */
    }
    
    .product-specifications h3 {
        font-size: 1.1rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .spec-label {
        flex: none;
        font-size: 0.85rem;
    }
    
    .spec-value {
        text-align: left;
        font-size: 0.85rem;
    }
    
    .merchant-reply {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .merchant-reply-header {
        justify-content: flex-end;
    }
    
    .merchant-reply-date {
        font-size: 0.75rem;
    }
    
    .merchant-reply-content p {
        font-size: 0.85rem;
    }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-section {
    padding: 4rem 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.contact-info-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info-section p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--blue-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-details{
  margin: 0 auto 0;
}

.contact-details h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-details small {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--pure-white);
    font-size: 12px;
    font-weight: bold;
}

.faq-section {
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.faq-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--off-white);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--light-blue);
    transform: translateY(-1px);
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-blue);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    display: none;
    padding: 1.5rem;
    background: var(--pure-white);
    border-top: 1px solid var(--light-gray);
}

.faq-item.active .faq-answer {
    display: block;
    animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

.faq-answer p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content i {
    font-size: 4rem;
    color: var(--success-green);
    margin-bottom: 1rem;
}

.success-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.success-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

.about-section {
    padding: 4rem 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-intro {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    text-align: center;
}

.about-intro h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-intro p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-item h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.about-mission {
    background: var(--blue-gradient);
    color: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    text-align: center;
}

.about-mission h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-mission p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-values {
    margin-bottom: 4rem;
}

.about-values h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.12);
}

.value-item h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-team {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    text-align: center;
}

.about-team h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-team p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--light-blue);
    transform: scale(1.05);
}

.stat-item h3 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.about-contact {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.about-contact h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-contact p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   RESPONSIVE DESIGN FOR CONTACT & ABOUT
   ======================================== */

@media (max-width: 768px) {
    /* Contact Section 移动端优化 */
    .contact-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
        border-radius: 8px;
        background: var(--light-gray);
        transition: all 0.3s ease;
    }
    
    .contact-method:hover {
        background: var(--pure-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-details small {
        font-size: 0.8rem;
    }
    
    /* Form 移动端优化 */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .phone-input-container {
        display: flex;
        align-items: center;
        border: 2px solid var(--light-gray);
        border-radius: 8px;
        background: var(--pure-white);
        transition: all 0.3s ease;
    }
    
    .phone-input-container:focus-within {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(13, 85, 224, 0.1);
    }
    
    .phone-prefix {
        padding: 12px 16px;
        background: var(--light-gray);
        color: var(--text-dark);
        font-weight: 600;
        border-radius: 6px 0 0 6px;
        border-right: 1px solid var(--medium-gray);
    }
    
    .phone-input-container input {
        border: none;
        border-radius: 0 6px 6px 0;
        padding: 12px 16px;
        flex: 1;
    }
    
    .phone-input-container input:focus {
        outline: none;
        box-shadow: none;
    }
    
    .btn-primary {
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 8px;
        width: 100%;
    }
    
    /* FAQ 移动端优化 */
    .faq-section {
        padding: 0 1rem;
        margin-top: 2rem;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        margin: 0;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .faq-item.active .faq-answer {
        display: block;
        animation: faqSlideDown 0.3s ease;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .about-content {
        padding: 0 1rem;
    }
    
    .about-intro,
    .about-mission,
    .about-team,
    .about-contact {
        padding: 2rem;
    }
    
    .feature-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .faq-section {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        display: block;
        animation: faqSlideDown 0.3s ease;
    }
}

@media (max-width: 480px) {
    /* Contact Section 小屏手机优化 */
    .contact-section {
        padding: 1.5rem 0;
    }
    
    .contact-container {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .contact-details h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-details small {
        font-size: 0.75rem;
    }
    
    /* Form 小屏手机优化 */
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .phone-input-container {
        border-radius: 6px;
    }
    
    .phone-prefix {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 4px 0 0 4px;
    }
    
    .phone-input-container input {
        padding: 10px 12px;
        border-radius: 0 4px 4px 0;
    }
    
    .btn-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    /* FAQ 小屏手机优化 */
    .faq-section {
        padding: 0 0.5rem;
        margin-top: 1.5rem;
    }
    
    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0.8rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* 其他页面标题优化 */
    .about-intro h2,
    .about-mission h2,
    .about-values h2,
    .about-team h2,
    .about-contact h2 {
        font-size: 1.5rem;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .feature-item,
    .value-item {
        padding: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   ORDERS PAGE STYLES
   ======================================== */

.orders-section {
    padding: 4rem 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.orders-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.login-required {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-required-content {
    text-align: center;
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    margin: 0 auto 0;
}

.login-required-content i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.login-required-content h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.login-required-content p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-orders {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.empty-orders-content {
    text-align: center;
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    margin: 0 auto 0;
}

.empty-orders-content i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.empty-orders-content h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.empty-orders-content p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}

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

.order-info h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.order-date {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.order-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-processing {
    background: #dbeafe;
    color: #2563eb;
}

.status-shipped {
    background: #d1fae5;
    color: #059669;
}

.status-delivered {
    background: #dcfce7;
    color: #16a34a;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.order-items {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.order-item-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--off-white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.order-item-preview:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.order-item-preview:last-child {
    margin-bottom: 0;
}

.order-item-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
}

.item-info h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.item-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

.more-items {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 0.5rem 0 0 0;
    padding: 0.5rem;
    background: var(--light-blue);
    border-radius: 6px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--pure-white);
}

.order-total {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.total-label {
    color: var(--medium-gray);
    font-size: 1rem;
    font-weight: 500;
}

.total-amount {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.order-actions {
    display: flex;
    gap: 1rem;
}

/* Order Detail Modal */
.order-details {
    max-width: 800px;
    margin: 0 auto;
}

.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 2rem;
}

.order-details-header h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.order-details-content {
    padding: 0 2rem 2rem 2rem;
}

.order-info-section,
.shipping-info-section,
.order-items-section {
    margin-bottom: 2rem;
}

.order-info-section h3,
.shipping-info-section h3,
.order-items-section h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--off-white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.info-label {
    color: var(--medium-gray);
    font-weight: 500;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
}

.address-info {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.address-info p {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--off-white);
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.order-item-detail:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.item-image {
    flex-shrink: 0;
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
}

.item-details {
    flex: 1;
}

.item-details h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.item-details p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.item-quantity {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.item-price {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
}

/* ========================================
   RESPONSIVE DESIGN FOR ORDERS
   ======================================== */

@media (max-width: 768px) {
    .orders-container {
        padding: 0 1rem;
    }
    
    .order-card {
        margin-bottom: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .order-actions {
        width: 100%;
        justify-content: center;
    }
    
    .order-item-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .order-item-preview img {
        width: 80px;
        height: 80px;
    }
    
    .order-details-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .order-details-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .order-item-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .item-price {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-required-content,
    .empty-orders-content {
        padding: 2rem 1.5rem;
    }
    
    .order-header,
    .order-items,
    .order-footer {
        padding: 1rem;
    }
    
    .order-info h3 {
        font-size: 1.1rem;
    }
    
    .total-amount {
        font-size: 1.3rem;
    }
    
    .order-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .order-actions .btn {
        width: 100%;
    }
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

/* Checkout Section */
.checkout-section {
    padding: 2rem 0 4rem;
    background: var(--light-gray);
    min-height: calc(100vh - 200px);
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Checkout Form */
.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--blue-gradient);
    border-radius: 2px;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 85, 224, 0.1);
}

/* Remove automatic invalid styling - we'll handle validation manually */
/* .form-group input:invalid {
    border-color: #e74c3c;
} */

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-group:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 85, 224, 0.1);
}

.phone-prefix {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.875rem 1rem;
    font-weight: 500;
    font-size: 1rem;
    border-right: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    white-space: nowrap;
    user-select: none;
}

.phone-input-group input {
    border: none;
    border-radius: 0;
    padding-left: 0.5rem;
    flex: 1;
}

.phone-input-group input:focus {
    outline: none;
    box-shadow: none;
}

/* Shipping Section */
.shipping-section {
    padding: 3rem 0;
    background: var(--pure-white);
}

.shipping-content {
    max-width: 800px;
    margin: 0 auto;
}

.shipping-content h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.shipping-content h2:first-child {
    margin-top: 0;
}

.shipping-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.shipping-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.shipping-content li {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.shipping-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shipping-option h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.shipping-option p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.shipping-option p:last-child {
    margin-bottom: 0;
}

.shipping-option:hover {
    border-color: var(--primary-blue);
    background: rgba(13, 85, 224, 0.02);
}

.shipping-option input[type="radio"] {
    margin: 0;
    margin-right: 1rem;
    width: auto;
}

.shipping-option input[type="radio"]:checked + .option-content {
    color: var(--primary-blue);
}

.shipping-option:has(input:checked) {
    border-color: var(--primary-blue);
    background: rgba(13, 85, 224, 0.05);
}

.option-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Returns Section */
.returns-section {
    padding: 3rem 0;
    background: var(--pure-white);
}

.returns-content {
    max-width: 800px;
    margin: 0 auto;
}

.returns-content h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.returns-content h2:first-child {
    margin-top: 0;
}

.returns-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.returns-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.returns-content li {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Return Conditions */
.return-conditions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.condition-item {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.condition-item:first-child {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #22c55e;
}

.condition-item:last-child {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
}

.condition-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.condition-item:first-child h3 {
    color: #16a34a;
}

.condition-item:last-child h3 {
    color: #dc2626;
}

.condition-item ul {
    margin: 0;
    padding-left: 1.2rem;
}

.condition-item li {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Return Steps */
.return-steps {
    margin: 2rem 0;
    position: relative;
}

.return-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--light-blue));
    z-index: 1;
}

.step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
}

.step:last-child {
    margin-bottom: 0;
}

.step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(13, 85, 224, 0.3);
}

.return-steps {
    counter-reset: step-counter;
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.step-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Return Address */
.return-address {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(13, 85, 224, 0.1);
}

.return-address p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.return-address p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.return-address strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Terms and Privacy Sections */
.terms-section,
.privacy-section {
    padding: 3rem 0;
    background: var(--pure-white);
}

.terms-content,
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h2,
.privacy-content h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
    position: relative;
}

.terms-content h2:first-child,
.privacy-content h2:first-child {
    margin-top: 0;
}

.terms-content h2::before,
.privacy-content h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.terms-content p,
.privacy-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.terms-content ul,
.privacy-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.terms-content li,
.privacy-content li {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    position: relative;
}

.terms-content li::marker,
.privacy-content li::marker {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table-of-contents h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8rem;
}

.toc-item {
    margin: 0;
}

.toc-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc-link:hover {
    background: rgba(13, 85, 224, 0.05);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    transform: translateX(5px);
}

.toc-link:active {
    background: rgba(13, 85, 224, 0.1);
}

/* Section highlighting for active TOC item */
.terms-content h2[id],
.privacy-content h2[id] {
    scroll-margin-top: 100px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(13, 85, 224, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 85, 224, 0.4);
}

.back-to-top.show {
    display: flex;
}

.option-name {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.option-price {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.option-desc {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

.payment-option:hover {
    border-color: var(--primary-blue);
    background: rgba(13, 85, 224, 0.02);
}

.payment-option.selected {
    border-color: var(--primary-blue);
    background: rgba(13, 85, 224, 0.05);
}

.payment-option input[type="radio"] {
    margin: 0;
    margin-bottom: 0.5rem;
    width: auto;
}

.payment-option:has(input:checked) {
    border-color: var(--primary-blue);
    background: rgba(13, 85, 224, 0.05);
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.payment-option:has(input:checked) i {
    color: var(--primary-blue);
}

.payment-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.payment-option span {
    font-weight: 500;
    color: var(--dark-gray);
}

.payment-desc {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 400;
}

.payment-info {
    margin-top: 1rem;
}

.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-content li::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Credit Card Section */
#creditCardSection {
    background: rgba(13, 85, 224, 0.02);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(13, 85, 224, 0.05);
}

.checkbox-label.error {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    animation: shake 0.5s;
}

.checkbox-label.error .checkmark {
    border-color: #dc3545;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkbox-label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-text {
    flex: 1;
}

/* Terms Error Message */
.terms-error-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInLeft 0.3s ease-out;
}

.terms-error-message i {
    font-size: 1.2rem;
}

.terms-error-message.show {
    display: flex;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.form-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
}

.summary-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Order Items */
.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
}

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

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.item-details p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
}

.item-quantity {
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.item-color,
.item-storage {
    font-size: 0.75rem;
    color: var(--medium-gray);
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
}

.item-price {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Summary Rows */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-row:not(.total) {
    border-bottom: 1px solid var(--light-gray);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-blue);
}

/* Order Success Modal */
.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.success-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.order-info {
    background: rgba(13, 85, 224, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.order-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.order-info p:last-child {
    margin-bottom: 0;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.success-actions .btn {
    min-width: 150px;
}

/* Terms Agreement Modal */
#termsAgreementModal {
    z-index: 3000 !important;
}

#termsAgreementModal .modal-content {
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.terms-modal-header h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-modal-content {
    padding: 0;
}

.terms-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.terms-warning i {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.terms-warning h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.terms-warning p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

.terms-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.terms-link-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(13, 85, 224, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(13, 85, 224, 0.1);
}

.terms-link-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.terms-link-content h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.terms-link-content p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.terms-link-content .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.terms-agreement-section {
    background: rgba(13, 85, 224, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.terms-checkbox-label .terms-text {
    flex: 1;
}

.terms-checkbox-label a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.terms-checkbox-label a:hover {
    text-decoration: underline;
}

.terms-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.terms-modal-actions .btn {
    min-width: 120px;
}

/* Phone Validation Modal */
.phone-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1.5rem;
}

.phone-modal-header h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-modal-content {
    padding: 0;
}

.phone-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.phone-warning i {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.phone-warning h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.phone-warning p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

.phone-examples {
    margin-bottom: 2rem;
}

.phone-examples h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.phone-format-examples {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.format-example {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(13, 85, 224, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(13, 85, 224, 0.1);
}

.format-example i {
    color: #27ae60;
    font-size: 1rem;
}

.format-example span {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--dark-gray);
}

.phone-input-section {
    background: rgba(13, 85, 224, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.phone-input-section label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.phone-help-text {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-style: italic;
}

.phone-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.phone-modal-actions .btn {
    min-width: 120px;
}

/* Checkout Responsive Design */
@media (max-width: 1024px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 1rem 0 2rem;
    }
    
    .checkout-container {
        padding: 0 1rem;
    }
    
    .checkout-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        max-width: none;
    }
    
    .summary-card {
        padding: 1.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .checkout-form {
        padding: 1rem;
    }
    
    .summary-card {
        padding: 1rem;
    }
    
    .form-section h2 {
        font-size: 1.25rem;
    }
    
    .order-item {
        gap: 0.75rem;
    }
    
    .item-image {
        width: 50px;
        height: 50px;
    }
    
    .item-details h4 {
        font-size: 0.85rem;
    }
    
    .item-price {
        font-size: 0.9rem;
    }
    
    /* Terms Modal Responsive */
    .terms-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .terms-link-item {
        padding: 1rem;
    }
    
    .terms-modal-actions {
        flex-direction: column;
    }
    
    .terms-modal-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input validation states */
input.valid,
textarea.valid,
select.valid {
    border-color: #28a745;
}

input.invalid,
textarea.invalid,
select.invalid {
    border-color: #dc3545;
}

/* Alert styling */
.alert {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 600px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: alertSlideDown 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.95);
    border: 2px solid #28a745;
    color: white;
}

.alert-success::before {
    content: "✓";
    font-size: 1.5rem;
    font-weight: bold;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.95);
    border: 2px solid #dc3545;
    color: white;
}

.alert-error::before {
    content: "⚠";
    font-size: 1.5rem;
    font-weight: bold;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.95);
    border: 2px solid #17a2b8;
    color: white;
}

.alert-info::before {
    content: "ℹ";
    font-size: 1.5rem;
    font-weight: bold;
}

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

/* Modal animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal {
    animation: modalFadeIn 0.3s ease-out;
}

.modal .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

/* ================================
   No Products Found Styles
   ================================ */

.no-products-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 2rem auto;
    width: 100%;
    max-width: 1200px;
    grid-column: 1 / -1; /* 跨越所有网格列 */
}

.no-products-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.no-products-icon {
    margin-bottom: 1.5rem;
}

.no-products-icon i {
    font-size: 4rem;
    color: var(--primary-blue-light);
    opacity: 0.7;
}

.no-products-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-products-content p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-products-suggestions {
    background: var(--off-white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.no-products-suggestions h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.no-products-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-products-suggestions li {
    color: var(--medium-gray);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.no-products-suggestions li::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.no-products-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-products-actions .btn {
    min-width: 160px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.no-products-actions .btn i {
    margin-right: 8px;
}

.no-products-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .no-products-container {
        padding: 1rem;
        min-height: 300px;
    }
    
    .no-products-content {
        padding: 1.5rem;
    }
    
    .no-products-icon i {
        font-size: 3rem;
    }
    
    .no-products-content h3 {
        font-size: 1.5rem;
    }
    
    .no-products-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .no-products-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ================================
   Home Page Enhancements Styles
   ================================ */

/* Section subtitles */
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: -10px;
    margin-bottom: 30px;
}

/* Hot Deals Section */
.hot-deals-section {
    padding: 60px 0;
    background: var(--blue-gradient);
    color: var(--pure-white);
}

.hot-deals-section .section-title {
    color: var(--pure-white);
}

.hot-deals-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.section-header-with-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.badge-hot {
    background: var(--pure-white);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

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

/* New Arrivals Section */
.new-arrivals-section {
    padding: 60px 0;
    background-color: var(--off-white);
}

/* Stats Section - Enhanced */
.stats-section {
    padding: 100px 0;
    background: var(--blue-gradient);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item i {
    font-size: 3.5rem;
    color: var(--pure-white);
    margin-bottom: 20px;
    opacity: 0.95;
    transition: all 0.4s ease;
}

.stat-item:hover i {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--pure-white);
    margin: 10px 0;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    background-color: var(--pure-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.brand-card {
    background: var(--pure-white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.brand-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.brand-card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: var(--text-color);
}

.brand-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Testimonials Section - Enhanced */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(0, 102, 204, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.12);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--primary-blue-light);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 15px 0 20px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid rgba(0, 102, 204, 0.1);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    border: 3px solid var(--pure-white);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.author-info p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #666;
}

/* Newsletter Section - Enhanced */
.newsletter-section {
    padding: 100px 0;
    background: var(--blue-gradient);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    margin-bottom: 40px;
}

.newsletter-text i {
    font-size: 4rem;
    color: var(--pure-white);
    margin-bottom: 25px;
    opacity: 0.95;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin: 20px 0 18px 0;
    color: var(--pure-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.newsletter-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 650px;
    margin: 40px auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 18px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    outline: none;
    background: var(--pure-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input.valid {
    border: 2px solid #22c55e;
    background-color: rgba(34, 197, 94, 0.05);
}

.newsletter-form input.invalid {
    border: 2px solid #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.newsletter-form input.valid:focus {
    border-color: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.newsletter-form input.invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.newsletter-form button {
    padding: 18px 45px;
    white-space: nowrap;
    background: var(--pure-white);
    color: var(--primary-blue);
    border: 2px solid var(--pure-white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form button:hover:not(:disabled) {
    background: var(--primary-blue-light);
    color: var(--pure-white);
    border-color: var(--primary-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-form button:disabled:hover {
    background: var(--pure-white);
    color: var(--primary-blue);
    border-color: var(--pure-white);
    transform: none;
    box-shadow: none;
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .section-header-with-badge {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-width: 100%;
    }
    
    .newsletter-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item i {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
}