/* custom-inline.css：由functions.php内联样式迁移而来 */

.store-design-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}
.design-settings {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.design-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}
.design-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.design-section h2 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 1.3em;
}
.color-picker-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.color-picker {
    width: 60px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.color-presets {
    display: flex;
    gap: 10px;
}
.color-preset {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.color-preset:hover {
    transform: scale(1.1);
    border-color: #333;
}
.logo-upload-section {
    text-align: center;
    padding: 25px;
    border: 2px dashed #3b82f6;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transition: all 0.3s ease;
}
.logo-upload-section:hover {
    border-color: #1e40af;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}
.current-logo {
    margin-bottom: 20px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: inline-block;
}
.logo-upload {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}
.banner-management {
    padding: 25px;
    border: 2px dashed #10b981;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    transition: all 0.3s ease;
}
.banner-management:hover {
    border-color: #059669;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}
.banner-upload {
    margin: 15px 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    width: 100%;
}
.current-banners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.banner-item {
    position: relative;
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.banner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.banner-item img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.remove-banner {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}
.remove-banner:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.design-preview {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.preview-container {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.preview-header {
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
}
.preview-logo, .preview-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.preview-title {
    font-size: 1.8em;
    margin: 0 0 10px 0;
    font-weight: bold;
}
.preview-cert {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    backdrop-filter: blur(10px);
}
.preview-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 18px 25px;
    border-left: 5px solid #fbbf24;
    margin: 0;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}
.preview-content {
    padding: 20px;
}
.preview-section {
    margin-bottom: 20px;
}
.preview-section h3 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.preview-section p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 1200px) {
    .store-design-container {
        grid-template-columns: 1fr;
    }
}

.store-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.store-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    font-weight: 300;
}
.store-header p {
    margin: 0;
    font-size: 1.2em;
    opacity: 0.9;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.stat-card.products { border-left-color: #007cba; }
.stat-card.orders { border-left-color: #28a745; }
.stat-card.sales { border-left-color: #ffc107; }
.stat-card.rating { border-left-color: #dc3545; }
.stat-card h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-card .number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
}
.info-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.info-section h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #007cba;
}
.info-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.product-image {
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9em;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info {
    padding: 20px;
}
.product-title {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #e74c3c;
}
.product-stock {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}
.product-actions {
    display: flex;
    gap: 10px;
}
.product-actions .button {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
}
.merchant-selector {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.merchant-selector select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    background: white;
}
.merchant-selector select:focus {
    border-color: #007cba;
    outline: none;
}
.preview-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.preview-section .button {
    background: white;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: transform 0.3s ease;
}
.preview-section .button:hover {
    transform: translateY(-2px);
} 