
.xy-form-area { padding: 12px 0; }
.xy-input-row { display: flex; gap: 8px; margin-bottom: 10px; }
.xy-url-input { flex: 1; }
.feature-card-btn.xy-btn-parse {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff; border: none; padding: 0 18px; border-radius: 8px;
    cursor: pointer; font-size: 0.9rem; white-space: nowrap;
    transition: all 0.3s ease; height: 40px;
}
.feature-card-btn.xy-btn-parse:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.xy-paste-row { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--text-gray); }
.xy-paste-btn {
    background: rgba(245, 158, 11, 0.1); color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3); padding: 4px 12px;
    border-radius: 6px; cursor: pointer; font-size: 0.75rem;
    transition: all 0.2s ease;
}
.xy-paste-btn:hover { background: rgba(245, 158, 11, 0.2); }
.xy-tip { color: var(--text-gray); font-size: 0.75rem; }

.xy-loading { text-align: center; padding: 30px; color: var(--text-gray); }
.xy-spinner {
    width: 36px; height: 36px; border: 3px solid #fef3c7;
    border-top-color: #f59e0b; border-radius: 50%;
    margin: 0 auto 12px; animation: xy-spin 0.8s linear infinite;
}
@keyframes xy-spin { to { transform: rotate(360deg); } }

.xy-error {
    background: #fef2f2; color: #dc2626; padding: 10px 14px;
    border-radius: 8px; font-size: 0.85rem; margin-top: 12px;
    border: 1px solid #fecaca;
}

.xy-result { margin-top: 16px; }
.xy-product-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.xy-product-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px; display: flex; align-items: center; gap: 12px;
}
.xy-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    overflow: hidden; background: #f3f4f6; flex-shrink: 0;
    border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.xy-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xy-seller-info { flex: 1; min-width: 0; }
.xy-seller-name { font-weight: 600; font-size: 0.95rem; color: #1f2937; }
.xy-seller-meta { font-size: 0.75rem; color: #6b7280; margin-top: 2px; }
.xy-stat-badge {
    display: inline-block; padding: 2px 8px; border-radius: 10px;
    font-size: 0.7rem; margin-right: 4px;
}
.xy-browse-badge { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.xy-want-badge { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.xy-city-badge { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.xy-product-body { padding: 16px; }
.xy-product-title {
    font-size: 1.05rem; font-weight: 600; color: #1f2937;
    margin-bottom: 10px; line-height: 1.5;
}
.xy-product-desc {
    font-size: 0.85rem; color: #4b5563; line-height: 1.7;
    margin-bottom: 14px; white-space: pre-wrap; word-break: break-all;
    max-height: 200px; overflow-y: auto;
}
.xy-product-desc::-webkit-scrollbar { width: 4px; }
.xy-product-desc::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

.xy-product-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding-top: 14px; border-top: 1px solid #f3f4f6;
    margin-bottom: 14px;
}
.xy-meta-item { display: flex; flex-direction: column; gap: 2px; }
.xy-meta-label { font-size: 0.7rem; color: #9ca3af; }
.xy-meta-value { font-size: 0.85rem; color: #374151; font-weight: 500; }

.xy-price-row {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 12px 14px; border-radius: 8px; margin-bottom: 14px;
}
.xy-price-label { font-size: 0.85rem; color: #92400e; }
.xy-price-value { font-size: 1.4rem; font-weight: 700; color: #d97706; }

.xy-gallery-title {
    font-size: 0.9rem; font-weight: 600; color: #374151;
    margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.xy-gallery-title .count {
    background: #f59e0b; color: #fff; font-size: 0.7rem;
    padding: 2px 8px; border-radius: 10px;
}
.xy-image-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.xy-image-item {
    position: relative; aspect-ratio: 1; border-radius: 8px;
    overflow: hidden; background: #f3f4f6; cursor: pointer;
}
.xy-image-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}
.xy-image-item:hover img { transform: scale(1.05); }
.xy-image-download {
    position: absolute; bottom: 6px; right: 6px;
    background: rgba(0,0,0,0.6); color: #fff; border: none;
    width: 28px; height: 28px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; opacity: 0; transition: opacity 0.2s;
    font-size: 0.75rem;
}
.xy-image-item:hover .xy-image-download { opacity: 1; }

.xy-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.xy-action-btn {
    flex: 1; min-width: 120px; padding: 10px 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff; border: none; border-radius: 8px;
    cursor: pointer; font-size: 0.85rem; font-weight: 500;
    transition: all 0.2s ease; display: flex;
    align-items: center; justify-content: center; gap: 6px;
}
.xy-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }
.xy-action-btn.secondary {
    background: #fff; color: #d97706;
    border: 1px solid #f59e0b;
}
.xy-action-btn.secondary:hover {
    background: #fffbeb; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

