/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* 主容器样式 */
main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 内容页面通用样式 */
.content-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

.content-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

ul {
    list-style-type: decimal;
    margin-left: 1rem;
}
ol {
    margin-left: 1rem;
}

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #3498db;
    font-weight: 700;
    text-align: center;
    position: relative;
}

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

/* 帮助中心/政策页面内容样式 */
/* 创建通用内容页面样式，替代所有特定页面类 */
.content-page {
    line-height: 1.8;
    color: #4a5568;
}

.content-page h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

.content-page h3::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2rem;
    line-height: 1.5;
}

.content-page p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.content-page ul, .content-page ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    counter-reset: list-counter;
}

.content-page ol {
    list-style-type: none;
}

.content-page li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1rem;
}

.content-page ul li::before {
    content: '✓';
    position: absolute;
    left: -1rem;
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
}

.content-page ol li::before {
    counter-increment: list-counter;
    content: '（' counter(list-counter) '）';
    position: absolute;
    left: -2rem;
    font-weight: bold;
    color: #333;
}

/* 英雄区域样式 */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

/* 商品网格样式 */
.featured-products,
.products-section {
    margin-bottom: 3rem;
}

.featured-products h2,
.products-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.product-card-content {
    padding: 15px;
}

.product-card-seller {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-name {
    color: #333;
    font-weight: 500;
}

.seller-rating {
    color: #ff9800;
    font-weight: bold;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.product-card a {
    color: #007bff;
    text-decoration: none;
}

/* 商家卡片样式 */
.featured-sellers {
    background-color: #f8f9fa;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 8px;
}

.featured-sellers h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
}

.seller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.seller-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.seller-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
}

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

.seller-card-content {
    padding: 20px;
}

.seller-card-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.seller-card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.seller-card-rating {
    color: #f39c12;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.seller-card-rating::before {
    content: '⭐ ';
    margin-right: 5px;
}

.seller-card-products-count {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.seller-card-products-count::before {
    content: '🛍️ ';
    margin-right: 5px;
}

.seller-card a {
    display: block;
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.seller-card a:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.seller-card a:hover {
    background-color: #2980b9;
}

/* 商品过滤样式 */
.product-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.product-filters select,
.product-filters input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 150px;
}

/* 商品详情样式 */
.product-detail {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-seller {
    margin-top: 20px;
    padding: 0;
    background-color: transparent;
    border-radius: 8px;
    border: none;
}

.product-seller h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.product-detail-image {
    width: calc(200% + 2rem);
    height: auto;
}

.product-detail-image img {
    width: 100%;
    height: auto;
}



.seller-card {
    padding: 20px;
    border-radius: 0;
    background-color: transparent;
    border: none;
}

.seller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.seller-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.seller-rating {
    font-size: 1rem;
    font-weight: 600;
    color: #ff9800;
}

.seller-description {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.seller-contact {
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}

.seller-contact strong {
    color: #333;
    font-weight: 600;
}

.seller-actions {
    margin-top: 15px;
}

.seller-actions .btn-sm {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* 商家详情页样式 */
.seller-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.seller-not-found {
    text-align: center;
    padding: 50px 0;
}

.seller-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.seller-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.seller-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.seller-info .seller-rating {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff9800;
    margin-bottom: 15px;
}

.seller-info .seller-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.seller-info .seller-contact {
    font-size: 1.1rem;
    color: #555;
}

.seller-products {
    padding: 0 10px;
}

.seller-products h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.product-seller h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

#seller-name {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

#seller-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

#seller-rating {
    color: #f39c12;
    font-weight: bold;
}

.product-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #f0f0f0;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.product-quantity {
    margin-bottom: 1.5rem;
}

.product-quantity label {
    display: block;
    margin-bottom: 0.5rem;
}

.product-quantity input {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-not-found {
    text-align: center;
    padding: 3rem;
}

/* 认证页面样式 */
.auth-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.auth-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.auth-form .form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
}

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

.auth-form .form-section:last-child {
    border-bottom: none;
}

.auth-form .form-section h3 {
    margin-bottom: 20px;
    color: #444;
    font-size: 18px;
}

.auth-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 0;
    padding: 0 10px;
    flex: 0 0 100%;
    max-width: 100%;
}

.auth-form .form-group.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.auth-form .form-group.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

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

.auth-form input, .auth-form select, .auth-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
    background-color: #fff;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form button:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

.auth-form button.btn-block {
    margin-top: 20px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.form-footer a {
    color: #4CAF50;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.form-agreement {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.form-agreement input {
    margin-right: 8px;
    vertical-align: middle;
    width: auto;
}

.form-agreement label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.form-agreement a {
    color: #4CAF50;
    text-decoration: none;
}

.form-agreement a:hover {
    text-decoration: underline;
}

/* 商家入驻表单特殊样式 */
.seller-register-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.seller-register-form select {
    cursor: pointer;
}

/* 表单字段成功和错误状态 */
.auth-form input.success, .auth-form select.success, .auth-form textarea.success {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
}

.auth-form input.error, .auth-form select.error, .auth-form textarea.error {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.05);
}

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

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* 支付页面样式 */
.payment-section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.order-summary {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.payment-methods {
    margin-bottom: 2rem;
}

.payment-methods h3 {
    margin-bottom: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    margin-right: 0.75rem;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

.qrcode-container {
    text-align: center;
    margin: 2rem 0;
}

.qrcode-container img {
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
}

.payment-status {
    margin-top: 1.5rem;
}

.payment-status p {
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    padding-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

.btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* 通知消息 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: white;
    z-index: 1002;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.notification.info {
    background-color: #17a2b8;
}

/* 收货地址表单样式 */
.address-form {
    border-radius: 8px;
    margin-bottom: 2rem;
}

.address-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

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

.address-form .form-group {
    margin-bottom: 0.25rem;
}

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

.address-form input[type="text"],
.address-form input[type="tel"],
.address-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/* 针对input和textarea的特殊处理 */
.address-form input[type="text"],
.address-form input[type="tel"] {
    height: 44px;
}

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

/* 统一的聚焦样式 */
.address-form input[type="text"]:focus,
.address-form input[type="tel"]:focus,
.address-form textarea:focus {
    outline: none;
    border-color: #007bff;
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* 统一的悬停样式 */
.address-form input[type="text"]:hover,
.address-form input[type="tel"]:hover,
.address-form textarea:hover {
    border-color: #ccc;
    background-color: #fafafa;
}

/* 统一的占位符样式 */
.address-form input[type="text"]::placeholder,
.address-form input[type="tel"]::placeholder,
.address-form textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

.address-form .form-actions {
    text-align: right;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.address-form button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #007bff;
    color: white;
}

.address-form button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.address-form button:active {
    transform: translateY(0);
}

/* 已保存地址样式 */
.saved-address {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.saved-address:hover {
    background-color: #f1f3f5;
    border-color: #007bff;
}

.saved-address h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.saved-address p {
    margin: 0.5rem 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.saved-address .address-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

.saved-address .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.saved-address .btn-secondary {
    background-color: #6c757d;
}

.saved-address .btn-secondary:hover {
    background-color: #545b62;
}

.main-image {
    max-width: 100%;
    height: auto;
    display: block;
}

#logged-in-info a {
    margin-left: 1rem;
}

#user-actions a {
    margin-right: 1rem;
}
#user-actions a:last-child {
    margin-right: 0;
}

/* 响应式设计 */
/* @media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .product-filters {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 20% auto;
    }
    
    .address-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .address-form .form-actions {
        text-align: center;
    }
    
    .saved-address .address-actions {
        flex-direction: column;
        text-align: center;
    }
    
    .auth-form .form-group.col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .auth-form .form-row {
        margin-bottom: 0;
    }
    
    .seller-register-form {
        padding: 15px;
    }
    
    .seller-register-form .form-section h3 {
        font-size: 16px;
    }
} */