/* ================================================
   SJ Men's Fashion - Components Stylesheet
   Product Cards, Cart, Forms, Auth, Admin, Orders
   ================================================ */

/* ---------- Product Card ---------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--grey-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--grey-100);
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  gap: 8px;
  background: linear-gradient(135deg, var(--grey-100) 0%, var(--grey-200) 100%);
}

.product-image-placeholder .placeholder-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-500);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 20px 14px 14px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-slow);
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
}

.product-original-price {
  font-size: 0.82rem;
  color: var(--grey-400);
  text-decoration: line-through;
  font-weight: 600;
}

.product-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
}

.product-sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.size-chip {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--grey-600);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.size-chip:hover,
.size-chip.selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.size-chip.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-colors {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.color-chip {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--grey-300);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.color-chip.selected {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
}

.color-chip-label {
  font-size: 0.78rem;
  color: var(--grey-600);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid var(--grey-200);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.color-chip-label.selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.stock-info {
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

.stock-info.in-stock { color: var(--green); }
.stock-info.low-stock { color: var(--orange); }
.stock-info.out-of-stock { color: var(--red); }

.stock-info::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.add-to-cart-btn {
  width: 100%;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.add-to-cart-btn:hover {
  background: var(--grey-800);
  transform: none;
  box-shadow: none;
}

.add-to-cart-btn:active { transform: scale(0.98); }

.add-to-cart-btn.added {
  background: var(--green);
  color: var(--white);
}

.add-to-cart-btn.login-to-add-btn {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.add-to-cart-btn.login-to-add-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* ---------- Quick View Modal ---------- */
.quick-view-modal {
  max-width: 800px;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.quick-view-image {
  background: var(--grey-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  flex-direction: column;
  gap: 8px;
}

.quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-details .product-price { font-size: 1.4rem; }
.quick-view-details .product-description {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin: 16px 0;
}

.size-select-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey-500);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--grey-100);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: var(--grey-200); }

.qty-input {
  width: 48px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  border-left: 1.5px solid var(--grey-200);
  border-right: 1.5px solid var(--grey-200);
  background: var(--white);
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Cart Page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  align-items: center;
}

.cart-item:hover { border-color: var(--grey-300); box-shadow: var(--shadow-sm); }

.cart-item-image {
  width: 100px;
  height: 120px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.cart-item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cart-meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--grey-100);
  color: var(--grey-600);
  padding: 3px 10px;
  border-radius: 20px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  white-space: nowrap;
}

.remove-item-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--red-light);
  border: none;
  color: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.remove-item-btn:hover { background: var(--red); color: var(--white); }

/* ---------- Order Summary ---------- */
.order-summary {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky;
  top: calc(var(--navbar-height) + 16px);
}

.order-summary h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.88rem;
}

.summary-row .label { color: var(--grey-600); }
.summary-row .value { font-weight: 700; }
.summary-row.total {
  border-top: 2px solid var(--black);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1rem;
  font-weight: 800;
}

.summary-row.total .label { color: var(--black); font-weight: 800; }
.summary-row.discount .value { color: var(--green); }

.coupon-form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 0.85rem;
  background: var(--grey-50);
  transition: var(--transition);
}

.coupon-form input:focus {
  border-color: var(--black);
  background: var(--white);
}

/* ---------- Auth Pages ---------- */
.auth-container {
  min-height: calc(100vh - var(--navbar-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
  justify-content: center;
}

.auth-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .auth-subtitle {
  text-align: center;
  font-size: 0.88rem;
  color: var(--grey-500);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-label span { color: var(--red); }

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--black);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-input.error { border-color: var(--red); }
.form-input.success { border-color: var(--green); }

.form-input-wrap {
  position: relative;
}

.form-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--grey-400);
  transition: var(--transition);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.form-input-icon:hover { color: var(--black); }

.form-hint {
  font-size: 0.76rem;
  color: var(--grey-500);
  margin-top: 5px;
}

.form-error {
  font-size: 0.76rem;
  color: var(--red);
  margin-top: 5px;
  display: none;
}

.form-error.show { display: block; }

/* Password requirements checklist */
#password-checklist li {
  font-size: 0.76rem;
  font-weight: 600;
  padding-left: 20px;
  position: relative;
  transition: color 0.2s;
}
#password-checklist li::before {
  content: "✕";
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  font-weight: 800;
}
#password-checklist li.pwc-fail {
  color: var(--grey-400);
}
#password-checklist li.pwc-fail::before {
  color: var(--grey-400);
}
#password-checklist li.pwc-pass {
  color: var(--green);
}
#password-checklist li.pwc-pass::before {
  content: "✓";
  color: var(--green);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--grey-400);
  font-size: 0.8rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-200);
}

.auth-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-top: 20px;
}

.auth-link a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Orders Page ---------- */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.order-card:hover { border-color: var(--grey-300); box-shadow: var(--shadow-sm); }

.order-card-header {
  background: var(--grey-50);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--grey-200);
}

.order-id {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey-500);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.order-id span { color: var(--black); font-size: 0.88rem; }

.order-date {
  font-size: 0.82rem;
  color: var(--grey-500);
  font-weight: 600;
}

.order-card-body { padding: 20px; }

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-100);
}

.order-item:last-child { border-bottom: none; padding-bottom: 0; }

.order-item-image {
  width: 60px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-info { flex: 1; }
.order-item-info h5 { font-size: 0.88rem; margin-bottom: 4px; }
.order-item-info p { font-size: 0.78rem; color: var(--grey-500); }

.order-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.order-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.order-total-label {
  font-size: 0.82rem;
  color: var(--grey-500);
  font-weight: 600;
}

.order-total-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
}

/* ---------- Admin Panel ---------- */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--navbar-height));
}

.admin-sidebar {
  background: var(--black);
  color: var(--white);
  padding: 28px 16px;
  position: sticky;
  top: var(--navbar-height);
  height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.admin-sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-500);
  padding: 0 12px;
  margin-bottom: 8px;
  margin-top: 20px;
}

.admin-sidebar-title:first-child { margin-top: 0; }

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--grey-400);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

.admin-nav-link:hover { background: var(--grey-800); color: var(--white); }
.admin-nav-link.active { background: var(--grey-800); color: var(--white); }

.admin-content {
  padding: 32px;
  background: var(--grey-50);
  min-height: calc(100vh - var(--navbar-height));
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-header h2 { font-size: 1.4rem; }

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.admin-stat-card .stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey-500);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.admin-stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.admin-stat-card .stat-change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
}

.admin-products-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.admin-products-table thead th {
  background: var(--grey-50);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--grey-500);
  border-bottom: 1px solid var(--grey-200);
}

.admin-products-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: middle;
}

.admin-products-table tbody tr:last-child td { border-bottom: none; }

.admin-products-table tbody tr:hover td { background: var(--grey-50); }

.admin-table-actions {
  display: flex;
  gap: 8px;
}

.admin-product-thumbnail {
  width: 48px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--grey-100);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
}

.admin-product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Admin Product Form ---------- */
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admin-form-grid .full-width { grid-column: 1 / -1; }

.tag-input-wrap {
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 8px 12px;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  background: var(--white);
  cursor: text;
  transition: var(--transition);
}

.tag-input-wrap:focus-within {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--grey-100);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
}

.tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-500);
  font-size: 0.7rem;
  display: flex;
  padding: 0;
  transition: var(--transition);
}

.tag-remove:hover { color: var(--red); }

.tag-input {
  border: none;
  outline: none;
  font-size: 0.85rem;
  flex: 1;
  min-width: 100px;
  background: transparent;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  height: 100%;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 12px; }
.contact-info-card p { color: var(--grey-400); margin-bottom: 32px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--grey-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item .text h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.contact-info-item .text p {
  font-size: 0.9rem;
  color: var(--white);
  margin: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form-card h3 { margin-bottom: 24px; }

/* ---------- About Page ---------- */
.about-hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 { color: var(--white); margin-bottom: 16px; }
.about-hero p { color: var(--grey-400); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  transition: var(--transition-slow);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grey-100);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.team-card h4 { margin-bottom: 4px; }
.team-card p { font-size: 0.85rem; color: var(--grey-500); }

.value-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  transition: var(--transition-slow);
}

.value-card:hover { border-color: var(--black); transform: translateY(-2px); }

.value-card .icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; line-height: 1.7; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--grey-600);
}

.page-btn:hover { border-color: var(--black); color: var(--black); }
.page-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--grey-200);
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: transparent;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.accordion-icon {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding-bottom: 16px;
  font-size: 0.88rem;
  color: var(--grey-600);
  line-height: 1.7;
}

.accordion-item.open .accordion-body { display: block; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--grey-200);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--grey-500);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover { color: var(--black); }

.tab-btn.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---------- Admin Login ---------- */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-50);
  padding: 20px;
}

.admin-login-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.admin-login-card .admin-icon {
  width: 64px;
  height: 64px;
  background: var(--black);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
  color: var(--white);
}

.admin-login-card h2 { text-align: center; margin-bottom: 8px; }
.admin-login-card .subtitle { text-align: center; color: var(--grey-500); font-size: 0.88rem; margin-bottom: 28px; }
