:root {
    --primary-color: #8a2be2;
    --primary-light: #9d4edd;
    --secondary-color: #ff6b6b;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    background-color: #f5f5f5;
    color: var(--dark-color);
    line-height: 1.6;
}

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

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

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

nav li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    text-decoration: underline;
}

/* Cart Styles */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background-color: #4f46e5;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    line-height: 1;
}

/* Auth Page Styles */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.auth-tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab-btn.active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.auth-tab-btn:hover:not(.active) {
    color: #4f46e5;
    background-color: #f8f9fa;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.auth-form h2 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
}

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

.switch-tab {
    font-size: 0.9rem;
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.switch-tab:hover {
    text-decoration: underline;
}

.form-note {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #6c757d;
}

.full-width {
    width: 100%;
}

/* Cart Page Styles */
.cart-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.cart-items {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.cart-item-card {
    display: grid;
    grid-template-columns: 100px 1fr 80px 120px 100px;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.cart-item-image {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.remove-item-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item-btn:hover {
    background-color: #c82333;
}

.cart-item-details h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

.cart-item-description {
    margin: 0 0 10px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.cart-item-options {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #495057;
}

.cart-item-price,
.cart-item-subtotal {
    font-weight: 600;
    text-align: right;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ced4da;
    background-color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.quantity-input {
    width: 50px;
    padding: 5px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
}

.cart-summary {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 30px;
}

.cart-summary h2 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

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

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 600;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid #e9ecef;
}

.summary-amount {
    font-weight: 500;
}

.summary-total {
    color: #4f46e5;
    font-size: 1.2rem;
}

.coupon-section {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.9rem;
}

.apply-coupon-btn {
    white-space: nowrap;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.continue-shopping-btn,
.checkout-btn {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-cart h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #212529;
}

.empty-cart p {
    margin-bottom: 20px;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item-card {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .cart-item-price,
    .cart-item-subtotal {
        text-align: center;
    }
    
    .auth-container {
        padding: 20px;
    }
    
    .auth-tabs {
        flex-direction: column;
    }
    
    .auth-tab-btn {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .coupon-section {
        flex-direction: column;
    }
}

.page {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--box-shadow);
}

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card.selected {
    border-color: var(--primary-color);
}

.product-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.design-area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.sticker-panel {
    flex: 1;
    min-width: 250px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
}

.preview-panel {
    flex: 2;
    min-width: 500px;
    border-radius: var(--border-radius);
    padding: 20px;
    background: #f9f9f9;
}

.instruction {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-style: italic;
}

.sticker-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.sticker-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sticker-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.sticker-item svg, .sticker-item .sticker-emoji {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.sticker-emoji {
    font-size: 2rem;
}

.preview-container {
    position: relative;
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#product-preview {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

#product-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.sticker-on-product {
    position: absolute;
    cursor: move;
    user-select: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sticker-on-product svg, .sticker-on-product .sticker-emoji {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sticker-controls {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: var(--transition);
}

.sticker-on-product:hover .sticker-controls {
    opacity: 1;
}

.control-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.control-group {
    flex: 1;
    min-width: 200px;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-option.selected {
    border-color: var(--dark-color);
    transform: scale(1.1);
}

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

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 120px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    width: 120px;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.step.active:not(:last-child)::after {
    background-color: var(--primary-color);
}

.step.completed:not(:last-child)::after {
    background-color: var(--primary-color);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    z-index: 2;
    transition: var(--transition);
}

.step.active .step-circle {
    background-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background-color: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    text-align: center;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--gray-color);
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .design-area {
        flex-direction: column;
    }
    
    .preview-panel, .sticker-panel {
        min-width: 100%;
    }
    
    .step:not(:last-child)::after {
        width: 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    #product-preview {
        font-size: 6rem;
    }
}

/* Shipping & Returns Section Styles */
.shipping-returns-section {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.shipping-returns-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.shipping-returns-section .section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #666;
}

.shipping-returns-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.shipping-info,
.returns-policy {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.shipping-info h3,
.returns-policy h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-info h3 i,
.returns-policy h3 i {
    color: #007bff;
    font-size: 28px;
}

.shipping-options,
.return-policy-content {
    margin-bottom: 25px;
}

.shipping-option,
.policy-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.shipping-option:last-child,
.policy-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shipping-option h4,
.policy-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #007bff;
}

.shipping-option p,
.policy-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.shipping-notes,
.return-contact {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.shipping-notes p,
.return-contact p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.shipping-notes i,
.return-contact i {
    color: #007bff;
    margin-right: 8px;
}

.return-contact a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.return-contact a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive adjustments for shipping & returns section */
@media (max-width: 768px) {
    .shipping-returns-section {
        padding: 60px 0;
    }
    
    .shipping-returns-section h2 {
        font-size: 28px;
    }
    
    .shipping-returns-section .section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .shipping-returns-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .shipping-info,
    .returns-policy {
        padding: 25px;
    }
    
    .shipping-info h3,
    .returns-policy h3 {
        font-size: 20px;
    }
    
    .shipping-option h4,
    .policy-item h4 {
        font-size: 16px;
    }
}

/* Process Section Styles */
.process-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.process-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.process-section .section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #666;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 60px;
}

.process-step {
    flex: 1;
    min-width: 180px;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
    opacity: 0.8;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.step-icon i {
    display: block;
    font-size: 32px;
    line-height: 1;
    color: white;
    opacity: 1;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.process-step p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.process-timeline {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.timeline-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for process section */
@media (max-width: 768px) {
    .process-section {
        padding: 60px 0;
    }
    
    .process-section h2 {
        font-size: 28px;
    }
    
    .process-section .section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step {
        padding: 25px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form,
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form h3,
.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

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

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.info-item p {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

/* About Us Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.our-values {
    margin-top: 30px;
}

.our-values h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.our-values ul {
    list-style-type: none;
    padding: 0;
}

.our-values li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.our-values li:last-child {
    border-bottom: none;
}

.our-team h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 1.8rem;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #f0f0f0;
}

.team-member h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-member p {
    color: #777;
    font-size: 0.9rem;
}

/* FAQ Section Styles */
.faq-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Past Projects & Customer Reviews Styles */
.testimonials-section {
    background-color: white;
    padding: 60px 0;
    margin-top: 50px;
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: none;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Projects Section Styles */
.projects-section {
    margin-bottom: 60px;
}

.projects-section h3,
.reviews-section h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.projects-section h3::after,
.reviews-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 180px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.project-info {
    padding: 20px;
    flex: 1;
}

.project-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-info p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.rating {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-product {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-section h2 {
        font-size: 1.6rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* 添加到现有的 styles.css 文件末尾 */

/* Order Page Specific Styles */
.order-summary {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
    box-shadow: var(--box-shadow);
}

.order-summary h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
}

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

.order-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

.design-preview {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.design-preview h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.preview-mini {
    position: relative;
    width: 250px;
    height: 200px;
    border: 2px solid #dee2e6;
    border-radius: var(--border-radius);
    margin: 20px auto;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
    background: #fafafa;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Payment Page Specific Styles */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.payment-option {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.payment-option:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.15);
}

.payment-option div:first-child {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.payment-option div:last-child {
    font-weight: 600;
    color: var(--dark-color);
}

.payment-form {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.card-input-group {
    position: relative;
}

.card-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6c757d;
}

.terms-agreement {
    margin: 30px 0;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

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

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

.payment-info {
    text-align: center;
    padding: 20px;
}

.payment-info p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .preview-mini {
        width: 200px;
        height: 150px;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .order-total {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .order-summary,
    .design-preview,
    .payment-form,
    .terms-agreement {
        padding: 20px 15px;
    }
    
    .payment-option {
        padding: 20px 10px;
    }
    
    .preview-mini {
        width: 180px;
        height: 135px;
    }
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
}

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

/* Success States */
.success-checkmark {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Error States */
.error-message {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: var(--border-radius);
    margin: 10px 0;
    display: none;
}

.error-message.show {
    display: block;
}

/* Enhanced Form Validation */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Price Highlight */
.price-highlight {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

/* Section Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 30px 0;
}

/* Improved Drag and Drop Styles */
.sticker-item {
    transition: all 0.2s ease;
    cursor: grab;
}

.sticker-item:active {
    cursor: grabbing;
}

.sticker-item.dragging-source {
    opacity: 0.4;
    transform: scale(0.95);
}

.preview-container.drag-over {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2) !important;
    background-color: rgba(138, 43, 226, 0.05) !important;
}

.sticker-on-product {
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.sticker-on-product:active {
    cursor: grabbing;
}

.sticker-on-product.dragging {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Improved sticker controls */
.sticker-controls {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    background: white;
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sticker-on-product:hover .sticker-controls {
    opacity: 1;
    bottom: -40px;
}

.control-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
    border: none;
}

.control-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* Touch device improvements */
@media (hover: none) {
    .sticker-controls {
        opacity: 1;
        bottom: -40px;
    }
    
    .sticker-on-product {
        cursor: pointer;
    }
}

/* Performance optimizations */
.sticker-on-product * {
    pointer-events: none;
}

.sticker-on-product .sticker-controls * {
    pointer-events: auto;
}

/* Smooth animations */
.sticker-item,
.sticker-on-product,
.preview-container {
    will-change: transform;
}

/* Drop zone visual feedback */
.preview-container::before {
    content: 'Drop patches here';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gray-color);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.preview-container:empty::before {
    opacity: 1;
}

.preview-container.drag-over::before {
    color: var(--primary-color);
    font-weight: bold;
}

/* === Sticker filters === */
.sticker-filters {
    display: grid;
    gap: 12px;
    margin: 12px 0 8px;
}

.sticker-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}
.sticker-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.08);
}

.sticker-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-chip {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
.category-chip:hover { border-color: var(--primary-light); transform: translateY(-1px); }
.category-chip.active {
    background: rgba(138, 43, 226, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* === 会员中心样式 === */
.member-dashboard {
    margin-top: 30px;
}

/* 会员信息卡片 */
.member-profile-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.member-avatar {
    margin-right: 30px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.member-email {
    color: var(--gray-color);
    margin-bottom: 10px;
}

.member-level {
    margin-bottom: 15px;
}

.level-badge {
    background-color: #ffc107;
    color: #856404;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.member-stats {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 标签导航 */
.member-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--gray-color);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 标签内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 订单过滤 */
.orders-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-light);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-input {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    width: 250px;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-light);
}

/* 订单列表 */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

/* Order Link Styles */
.order-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.order-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.order-link:hover .order-item-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.order-id {
    font-weight: 600;
    color: var(--dark-color);
}

.order-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

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

.order-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-preview-mini {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image-mini {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.product-name-mini {
    font-weight: 600;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--gray-color);
}

.order-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.order-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    z-index: 1;
    position: relative;
}

.action-btn {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 地址管理 */
.add-address-btn {
    margin-bottom: 20px;
}

.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    position: relative;
}

/* Order Details Page Styles */
.order-details-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.order-header-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.order-id-tracking {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-id-tracking h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #212529;
}

.order-id {
    font-weight: 600;
    color: #4f46e5;
}

.order-date {
    font-size: 0.95rem;
    color: #6c757d;
}

.order-tracking-section,
.order-items-section,
.shipping-info-section,
.billing-info-section,
.order-summary-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.order-tracking-section h3,
.order-items-section h3,
.shipping-info-section h3,
.billing-info-section h3,
.order-summary-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
}

/* Tracking Timeline */
.tracking-timeline {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item {
    display: flex;
    position: relative;
    padding-bottom: 25px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item.completed:not(:last-child)::after {
    background-color: #10b981;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    margin-right: 20px;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-item.completed .timeline-icon {
    background-color: #10b981;
    color: white;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #212529;
}

.timeline-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.timeline-description {
    font-size: 0.95rem;
    color: #495057;
}

/* Tracking Info */
.tracking-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.tracking-info p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.track-shipment-btn {
    margin-top: 10px;
}

/* Order Items List */
.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.item-image {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.item-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.item-details p {
    margin: 0 0 8px 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.item-options {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #495057;
}

.item-price,
.item-quantity,
.item-subtotal {
    text-align: right;
    font-size: 0.95rem;
}

.item-subtotal {
    font-weight: 600;
}

/* Shipping Information */
.shipping-method {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #495057;
}

/* Billing Details */
.billing-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.billing-row span:first-child {
    color: #6c757d;
}

.billing-row span:last-child {
    font-weight: 500;
}

/* Order Summary */
.summary-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 5px 0;
}

.summary-row span:first-child {
    color: #6c757d;
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 600;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #e9ecef;
}

.summary-row.total span {
    color: #212529;
}

/* Order Actions */
.order-actions-section {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
}

/* Status Badge */
.order-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status-badge.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

.order-status-badge.status-processing {
    background-color: #dbeafe;
    color: #1e40af;
}

.order-status-badge.status-shipping {
    background-color: #fed7aa;
    color: #9a3412;
}

.order-status-badge.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 768px) {
    .order-details-container {
        padding: 20px;
    }
    
    .order-id-tracking {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .item-price,
    .item-quantity,
    .item-subtotal {
        text-align: left;
    }
    
    .order-actions-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-item.mobile {
        position: relative;
    }
    
    .timeline-item.mobile:not(:last-child)::after {
        left: 20px;
    }
}

@media (max-width: 576px) {
    .timeline-content {
        font-size: 0.9rem;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
}

.address-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.address-name {
    font-weight: 600;
}

.address-phone {
    color: var(--gray-color);
}

.default-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: auto;
}

.address-detail {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.address-actions {
    display: flex;
    gap: 10px;
}

/* 收藏设计 */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.favorite-image {
    position: relative;
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.unfavorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #dc3545;
    transition: var(--transition);
}

.unfavorite-btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.favorite-info {
    padding: 15px;
}

.favorite-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.favorite-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.favorite-action {
    width: 100%;
}

/* 设置表单 */
.settings-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.checkbox-group {
    margin-bottom: 15px;
}

.save-settings-btn {
    margin-top: 20px;
}

/* 导航栏活跃状态 */
nav a.active {
    text-decoration: underline;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .member-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .member-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .member-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .orders-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        width: 100%;
    }
    
    .order-details {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .product-preview-mini {
        justify-content: center;
    }
    
    .order-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .address-header {
        flex-wrap: wrap;
    }
    
    .default-tag {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .address-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .member-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .member-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Newsletter Section Styles */
.newsletter-section {
    background-color: #4a4a4a;
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.newsletter-text p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.subscription-form {
    display: flex;
    flex-direction: column;
}

.subscription-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.subscription-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
}

.subscribe-btn {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #d35400;
}

.privacy-note {
    font-size: 14px;
    opacity: 0.8;
}

.privacy-note i {
    margin-right: 8px;
}

.newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
}

.benefit-item i {
    font-size: 20px;
}

/* Responsive adjustments for newsletter section */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 28px;
    }
    
    .newsletter-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .subscription-form .form-group {
        flex-direction: column;
    }
    
    .subscribe-btn {
        width: 100%;
    }
    
    .newsletter-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-item {
        width: 100%;
        justify-content: center;
    }
}

/* Social Media Styles */
.social-media {
    text-align: center;
    margin-bottom: 20px;
}

.social-media h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link:nth-child(1):hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-link:nth-child(2):hover {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.social-link:nth-child(3):hover {
    background-color: #e1306c;
    color: white;
    border-color: #e1306c;
}

.social-link:nth-child(4):hover {
    background-color: #bd081c;
    color: white;
    border-color: #bd081c;
}

.social-link:nth-child(5):hover {
    background-color: #ff0000;
    color: white;
    border-color: #ff0000;
}

/* Social Media Responsive Styles */
@media (max-width: 768px) {
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .social-media h3 {
        font-size: 1.1rem;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}
