﻿/* ─── FORMS ──────────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-900);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font)
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow)
}

.form-control.error {
  border-color: var(--danger)
}

.form-hint {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px
}

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition)
}

.card-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100)
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900)
}

/* ─── EMPTY STATE ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px
}

/* ─── BREADCRUMBS ────────────────────────────────────────── */
.breadcrumbs {
  padding: 12px 0;
  margin-bottom: 16px
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none
}

.breadcrumbs li {
  font-size: 13px;
  color: var(--gray-500)
}

.breadcrumbs a {
  color: var(--gray-500);
  transition: color var(--transition)
}

.breadcrumbs a:hover {
  color: var(--primary)
}

.bc-sep {
  color: var(--gray-300)
}

/* ─── TABLES ─────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .4px;
  border-bottom: 2px solid var(--gray-200);
  background: var(--gray-50)
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  vertical-align: middle
}

.data-table tr:hover td {
  background: var(--gray-50)
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #fff
}

/* ─── PRICING TABLE ──────────────────────────────────────── */
.pricing-table {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm)
}

.pricing-table tr:nth-child(odd) {
  background: var(--gray-50)
}

.pricing-table tr:nth-child(even) {
  background: #fff
}

.pricing-table td {
  padding: 12px 16px;
  font-size: 14px
}

.pricing-table td:last-child {
  font-weight: 700;
  color: var(--primary);
  text-align: right
}

/* ─── TRUST ICONS ────────────────────────────────────────── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow-sm)
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700)
}

.trust-item svg {
  color: var(--primary)
}

/* ─── WISHLIST HEART (GLOBAL) ───────────────────────────── */
.wishlist-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(108, 99, 255, .7);
  transition: transform .2s ease, color .2s ease;
  padding: 0;
  line-height: 1
}

.wishlist-heart svg {
  stroke: rgb(201 197 255 / 70%);
  stroke-width: 2;
  transition: fill .2s, stroke .2s
}

.wishlist-heart:not(.wishlisted) svg {
  fill: none
}

.wishlist-heart:hover {
  color: var(--primary);
  transform: scale(1.12)
}

.wishlist-heart.wishlisted {
  color: var(--primary)
}

.wishlist-heart.wishlisted svg {
  fill: var(--primary);
  stroke: var(--primary)
}

[data-theme="dark"] .wishlist-heart {
  background: transparent;
  color: rgba(124, 115, 255, .8);
  border: none
}

[data-theme="dark"] .wishlist-heart:hover {
  color: #7c73ff
}

[data-theme="dark"] .wishlist-heart.wishlisted {
  color: #7c73ff
}

[data-theme="dark"] .wishlist-heart.wishlisted svg {
  fill: #7c73ff;
  stroke: #7c73ff
}

/* ─── INSTANT DELIVERY BADGE (GLOBAL) ───────────────────── */
.instant-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #7c4a03;
  background: linear-gradient(135deg, #fff7d6, #ffefb0);
  border: 1px solid #f8de87;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px
}

[data-theme="dark"] .instant-delivery-badge {
  background: rgba(251, 191, 36, .12);
  border-color: rgba(251, 191, 36, .35);
  color: #fbbf24
}

