/**
 * VietAZ Core - Module Components
 * Specific module styles: Recently Viewed, Quick Contact, Bump, Report, Social Login
 * 
 * @package VietAZ_Core
 * @version 1.0.0
 */

/* ==========================================================================
   1. RECENTLY VIEWED MODULE
   Used in: single posts sidebar
   ========================================================================== */

.vz-recently-viewed {
  margin: var(--vz-space-lg) 0 0;
  padding: var(--vz-space-lg);
  background: var(--vz-bg-panel);
  border-radius: var(--vz-radius);
  border: 1px solid var(--vz-border);
}

.vz-recently-viewed__title {
  display: flex;
  align-items: center;
  gap: var(--vz-space-sm);
  font-size: var(--vz-font-size-lg);
  margin: 0 0 var(--vz-space-md);
  font-weight: 600;
  color: var(--vz-text-primary);
}

.vz-recently-viewed__icon {
  font-size: 16px;
}

.vz-recently-viewed__list {
  display: flex;
  flex-direction: column;
  gap: var(--vz-space-sm);
}

.vz-recently-viewed__item {
  border-radius: var(--vz-radius-sm);
  overflow: hidden;
  transition: background var(--vz-transition);
}

.vz-recently-viewed__item:hover {
  background: var(--vz-bg-muted);
}

.vz-recently-viewed__link {
  display: flex;
  gap: var(--vz-space-md);
  padding: var(--vz-space-sm);
  text-decoration: none;
  color: inherit;
}

.vz-recently-viewed__thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: var(--vz-radius-sm);
  background: var(--vz-border);
}

.vz-recently-viewed__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vz-recently-viewed__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.vz-recently-viewed__content {
  flex: 1;
  min-width: 0;
}

.vz-recently-viewed__post-title {
  font-size: var(--vz-font-size-sm);
  font-weight: 500;
  margin: 0 0 2px;
  color: var(--vz-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vz-recently-viewed__meta {
  font-size: var(--vz-font-size-xs);
  color: var(--vz-text-muted);
}

.vz-recently-viewed__type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   2. QUICK CONTACT MODULE
   Used in: single posts contact section
   ========================================================================== */

.vz-quick-contact {
  display: flex;
  gap: var(--vz-space-md);
  margin: var(--vz-space-lg) 0;
}

.vz-quick-contact--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
}

.vz-quick-contact--vertical {
  flex-direction: column;
}

.vz-contact-btn {
  display: flex;
  align-items: center;
  gap: var(--vz-space-md);
  padding: var(--vz-space-md) var(--vz-space-lg);
  background: var(--vz-bg-card);
  border: 2px solid var(--vz-border);
  border-radius: var(--vz-radius);
  text-decoration: none;
  color: var(--vz-text-primary);
  font-weight: 600;
  transition: all var(--vz-transition);
  flex: 1;
  min-width: 140px;
}

.vz-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.vz-contact-btn--call {
  border-color: var(--vz-success);
  color: var(--vz-success);
}

.vz-contact-btn--call:hover {
  background: var(--vz-success);
  color: #fff;
}

.vz-contact-btn--sms {
  border-color: var(--vz-primary);
  color: var(--vz-primary);
}

.vz-contact-btn--sms:hover {
  background: var(--vz-primary);
  color: #fff;
}

.vz-contact-btn--whatsapp {
  border-color: #25d366;
  color: #25d366;
}

.vz-contact-btn--whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.vz-contact-btn--zalo {
  border-color: #0068ff;
  color: #0068ff;
}

.vz-contact-btn--zalo:hover {
  background: #0068ff;
  color: #fff;
}

.vz-contact-btn__icon {
  font-size: 22px;
  flex-shrink: 0;
}

.vz-contact-btn__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vz-contact-btn__text {
  font-size: var(--vz-font-size-base);
  font-weight: 600;
}

.vz-contact-btn__phone {
  font-size: var(--vz-font-size-sm);
  opacity: 0.8;
  font-weight: 400;
}

/* ==========================================================================
   3. VERIFIED BADGE MODULE
   Used in: author info, business profiles
   ========================================================================== */

.vz-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--vz-purple) 0%, #764ba2 100%);
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
  font-size: var(--vz-font-size-sm);
  line-height: 1;
  white-space: nowrap;
}

.vz-verified-badge__icon {
  font-size: 14px;
}

.vz-verified-badge--small {
  padding: 2px 8px;
  font-size: var(--vz-font-size-xs);
  gap: 3px;
}

.vz-verified-badge--small .vz-verified-badge__icon {
  font-size: 12px;
}

.vz-verified-badge--large {
  padding: 6px 14px;
  font-size: var(--vz-font-size-base);
  gap: 6px;
}

.vz-verified-badge--large .vz-verified-badge__icon {
  font-size: 16px;
}

/* ==========================================================================
   4. FEATURED BADGE MODULE
   Used in: post cards, listings
   ========================================================================== */

.vz-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  color: #fff;
  border-radius: var(--vz-radius-sm);
  font-weight: 700;
  font-size: var(--vz-font-size-sm);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vz-featured-badge__icon {
  font-size: 14px;
}

.vz-featured-badge--featured {
  background: linear-gradient(135deg, var(--vz-purple) 0%, #764ba2 100%);
}

.vz-featured-badge--urgent {
  background: linear-gradient(135deg, #f093fb 0%, var(--vz-pink) 100%);
}

.vz-featured-badge--highlight {
  background: linear-gradient(135deg, #fad961 0%, var(--vz-orange) 100%);
}

/* ==========================================================================
   5. BUMP BUTTON MODULE
   Used in: user account, post management
   ========================================================================== */

.vz-bump-wrap {
  margin: var(--vz-space-lg) 0;
}

.vz-bump-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--vz-space-sm);
  padding: var(--vz-space-md) var(--vz-space-xl);
  background: linear-gradient(135deg, var(--vz-purple) 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: var(--vz-radius);
  font-weight: 600;
  font-size: var(--vz-font-size-lg);
  cursor: pointer;
  transition: all var(--vz-transition);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.vz-bump-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.vz-bump-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.vz-bump-btn__icon {
  font-size: 18px;
}

.vz-bump-btn__text {
  font-weight: 600;
}

.vz-bump-cooldown {
  display: inline-flex;
  align-items: center;
  gap: var(--vz-space-sm);
  padding: var(--vz-space-md) var(--vz-space-lg);
  background: var(--vz-bg-muted);
  border-radius: var(--vz-radius);
  color: var(--vz-text-secondary);
  font-size: var(--vz-font-size-base);
}

.vz-bump-cooldown__icon {
  font-size: 16px;
}

/* ==========================================================================
   6. REPORT BUTTON & MODAL MODULE
   Used in: single posts
   ========================================================================== */

.vz-report-btn {
  background: transparent;
  border: 1px solid var(--vz-border);
  padding: var(--vz-space-sm) var(--vz-space-md);
  border-radius: var(--vz-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--vz-space-sm);
  font-size: var(--vz-font-size-sm);
  color: var(--vz-text-secondary);
  transition: all var(--vz-transition);
}

.vz-report-btn:hover {
  border-color: var(--vz-danger);
  color: var(--vz-danger);
  background: #fef2f2;
}

/* Generic Modal Base */
.vz-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vz-modal.active {
  opacity: 1;
  visibility: visible;
}

.vz-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
}

.vz-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  z-index: 2;
  animation: vz-modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.vz-modal-report {
  padding: 28px;
  text-align: center;
}

@keyframes vz-modal-pop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.vz-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.vz-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.vz-modal-icon {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
}

.vz-modal-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
}

.vz-modal-desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Report Form */
.vz-report-form {
  text-align: left;
}

.vz-report-form .vz-form-group {
  margin-bottom: 16px;
}

.vz-report-form .vz-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.vz-report-form .vz-label .required {
  color: #dc2626;
}

.vz-report-form .vz-label .optional {
  font-weight: 400;
  color: #94a3b8;
}

.vz-report-form .vz-select,
.vz-report-form .vz-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
}

.vz-report-form .vz-select:focus,
.vz-report-form .vz-textarea:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.vz-report-form .vz-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Form Messages */
.vz-form-msg {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.vz-msg--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.vz-msg--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Modal Actions */
.vz-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.vz-btn--block {
  width: 100%;
  justify-content: center;
}

.vz-btn--danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vz-btn--danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.vz-btn--danger:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.vz-btn--ghost {
  background: transparent;
  color: #64748b;
  border: 2px solid #e2e8f0;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vz-btn--ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* Spinner */
.vz-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vz-spin 0.8s linear infinite;
  margin-right: 6px;
}

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

/* Legacy Report Modal */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--vz-z-modal);
}

.vz-report-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.vz-report-modal__content {
  position: relative;
  max-width: 480px;
  margin: 60px auto;
  background: var(--vz-bg-card);
  border-radius: var(--vz-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: vz-modal-slide-in 0.3s ease;
}

@keyframes vz-modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vz-report-modal__header {
  padding: var(--vz-space-lg) var(--vz-space-xl);
  border-bottom: 1px solid var(--vz-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vz-report-modal__header h3 {
  margin: 0;
  font-size: var(--vz-font-size-xl);
  font-weight: 600;
}

.vz-report-modal__close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--vz-text-muted);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vz-radius-sm);
  transition: all var(--vz-transition);
}

.vz-report-modal__close:hover {
  color: var(--vz-danger);
  background: #fef2f2;
}

.vz-report-modal__body {
  padding: var(--vz-space-xl);
}

.vz-report-modal__body > p {
  margin: 0 0 var(--vz-space-lg);
  color: var(--vz-text-secondary);
}

.vz-report-reasons {
  display: flex;
  flex-direction: column;
  gap: var(--vz-space-md);
  margin-bottom: var(--vz-space-lg);
}

.vz-report-reasons label {
  display: flex;
  align-items: center;
  gap: var(--vz-space-md);
  padding: var(--vz-space-md);
  border: 2px solid var(--vz-border);
  border-radius: var(--vz-radius);
  cursor: pointer;
  transition: all var(--vz-transition);
}

.vz-report-reasons label:hover {
  border-color: var(--vz-primary);
  background: var(--vz-primary-soft);
}

.vz-report-reasons input[type="radio"] {
  accent-color: var(--vz-primary);
}

.vz-report-reasons input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--vz-primary);
}

.vz-report-message {
  margin-bottom: var(--vz-space-lg);
}

.vz-report-message label {
  display: block;
  margin-bottom: var(--vz-space-sm);
  font-weight: 500;
  color: var(--vz-text-primary);
}

.vz-report-message textarea {
  width: 100%;
  padding: var(--vz-space-md);
  border: 1px solid var(--vz-border);
  border-radius: var(--vz-radius);
  font-family: inherit;
  font-size: var(--vz-font-size-base);
  resize: vertical;
  transition: border-color var(--vz-transition);
}

.vz-report-message textarea:focus {
  outline: none;
  border-color: var(--vz-primary);
}

.vz-report-actions {
  display: flex;
  gap: var(--vz-space-md);
}

.vz-report-actions .vz-btn {
  flex: 1;
}

.vz-report-cancel {
  background: var(--vz-bg-muted);
  color: var(--vz-text-secondary);
}

/* ==========================================================================
   7. SOCIAL LOGIN MODULE
   Used in: login/register pages
   ========================================================================== */

.vz-social-login {
  margin: var(--vz-space-xl) 0;
}

.vz-social-login__divider {
  display: flex;
  align-items: center;
  gap: var(--vz-space-lg);
  margin-bottom: var(--vz-space-lg);
}

.vz-social-login__divider::before,
.vz-social-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--vz-border);
}

.vz-social-login__divider span {
  font-size: var(--vz-font-size-sm);
  color: var(--vz-text-muted);
  white-space: nowrap;
}

.vz-social-login__buttons {
  display: flex;
  gap: var(--vz-space-md);
}

.vz-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--vz-space-md);
  padding: var(--vz-space-md) var(--vz-space-lg);
  border: 1px solid var(--vz-border);
  border-radius: var(--vz-radius);
  background: var(--vz-bg-card);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--vz-font-size-base);
  color: var(--vz-text-primary);
  transition: all var(--vz-transition);
}

.vz-social-btn:hover {
  border-color: var(--vz-border-light);
  background: var(--vz-bg-panel);
  transform: translateY(-1px);
}

.vz-social-btn--google:hover {
  border-color: #4285f4;
  color: #4285f4;
}

.vz-social-btn--facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}

.vz-social-btn svg {
  flex-shrink: 0;
}

/* ==========================================================================
   8. SUBMIT SUCCESS MESSAGE
   Used in: after successful form submission
   ========================================================================== */

.vz-submit-success {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--vz-bg-card);
  border-radius: var(--vz-radius-lg);
  box-shadow: var(--vz-shadow);
  animation: vz-fade-in-up 0.6s ease;
}

@keyframes vz-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vz-submit-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--vz-space-xl);
  background: var(--vz-success);
  color: #fff;
  font-size: 48px;
  line-height: 80px;
  border-radius: 50%;
  font-weight: bold;
  animation: vz-scale-in 0.5s ease 0.2s both;
}

@keyframes vz-scale-in {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.vz-submit-success__title {
  font-size: var(--vz-font-size-3xl);
  font-weight: 700;
  margin: 0 0 var(--vz-space-lg);
  color: var(--vz-text-primary);
}

.vz-submit-success__message {
  font-size: var(--vz-font-size-lg);
  line-height: 1.6;
  color: var(--vz-text-secondary);
  margin: 0 0 var(--vz-space-2xl);
}

.vz-submit-success__actions {
  display: flex;
  gap: var(--vz-space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .vz-quick-contact {
    flex-direction: column;
  }

  .vz-contact-btn {
    width: 100%;
  }

  .vz-social-login__buttons {
    flex-direction: column;
  }

  .vz-report-modal__content {
    margin: var(--vz-space-lg);
    max-width: none;
  }
}

@media (max-width: 540px) {
  .vz-recently-viewed {
    padding: var(--vz-space-md);
  }

  .vz-recently-viewed__thumb {
    width: 36px;
    height: 36px;
  }

  .vz-submit-success {
    padding: var(--vz-space-2xl) var(--vz-space-lg);
    margin: var(--vz-space-xl) var(--vz-space-lg);
  }
}

/* ==========================================================================
   SHARE SOCIAL MODULE
   ========================================================================== */

.vz-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--vz-bg-muted);
  border: 1px solid var(--vz-border);
  border-radius: var(--vz-radius);
  font-size: 0.875rem;
  color: var(--vz-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.vz-share-btn:hover {
  background: var(--vz-primary-soft);
  color: var(--vz-primary);
  border-color: var(--vz-primary);
}

/* Inline Share Buttons */
.vz-share-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.vz-share-inline__label {
  font-size: 0.875rem;
  color: var(--vz-text-muted);
}

.vz-share-inline__buttons {
  display: flex;
  gap: 8px;
}

.vz-share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--vz-radius);
  background: var(--vz-bg-muted);
  color: var(--vz-text-secondary);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vz-share-icon:hover {
  transform: translateY(-2px);
}

.vz-share-icon--facebook:hover {
  background: #1877f2;
  color: #fff;
}

.vz-share-icon--zalo:hover {
  background: #0068ff;
  color: #fff;
}

.vz-share-icon--twitter:hover {
  background: #000;
  color: #fff;
}

.vz-share-icon--copy:hover {
  background: var(--vz-primary);
  color: #fff;
}

.vz-share-icon--copy.copied {
  background: var(--vz-success);
  color: #fff;
}

/* Share Modal */
.vz-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.vz-share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--vz-bg-muted);
  border-radius: var(--vz-radius-lg);
  text-decoration: none;
  color: var(--vz-text-primary);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vz-share-item:hover {
  background: var(--vz-bg-panel);
  transform: translateY(-2px);
}

.vz-share-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
}

.vz-share-item__icon--facebook {
  background: #1877f2;
}

.vz-share-item__icon--zalo {
  background: #0068ff;
}

.vz-share-item__icon--twitter {
  background: #000;
}

.vz-share-item__icon--copy {
  background: var(--vz-text-secondary);
}

.vz-share-item__label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   SIMILAR POSTS MODULE
   ========================================================================== */

.vz-similar {
  margin-top: var(--vz-space-xl);
  padding-top: var(--vz-space-xl);
  border-top: 1px solid var(--vz-border-light);
}

.vz-similar__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--vz-space-lg);
  color: var(--vz-text-primary);
}

.vz-similar__grid {
  display: grid;
  gap: var(--vz-space-md);
}

.vz-similar__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.vz-similar__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.vz-similar__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.vz-similar__item {
  background: var(--vz-bg-card);
  border: 1px solid var(--vz-border-light);
  border-radius: var(--vz-radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.vz-similar__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vz-similar__link {
  display: flex;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}

.vz-similar__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--vz-radius);
  overflow: hidden;
  background: var(--vz-bg-muted);
}

.vz-similar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vz-similar__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--vz-text-muted);
}

.vz-similar__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vz-similar__name {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  color: var(--vz-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vz-similar__meta {
  font-size: 0.75rem;
  color: var(--vz-text-muted);
  margin: 0;
}

.vz-similar__price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vz-danger);
}

/* Similar Compact (Sidebar) */
.vz-similar-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vz-similar-compact__item {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: var(--vz-radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.vz-similar-compact__item:hover {
  background: var(--vz-bg-muted);
}

.vz-similar-compact__thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--vz-radius-sm);
  overflow: hidden;
  background: var(--vz-bg-muted);
}

.vz-similar-compact__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vz-similar-compact__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
}

.vz-similar-compact__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.vz-similar-compact__title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--vz-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vz-similar-compact__date {
  font-size: 0.6875rem;
  color: var(--vz-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .vz-share-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vz-similar__grid--3,
  .vz-similar__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .vz-similar__grid--2 {
    grid-template-columns: 1fr;
  }
}
