@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.76);
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-green: #34c759;
  --accent-amber: #ff9500;
  --accent-red: #ff3b30;
  --border-color: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 980px;
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-apple);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  overflow-x: hidden;
  touch-action: manipulation;
}

/* Apple Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.site-header .brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header .brand .brand-name {
  white-space: nowrap;
  display: inline-block;
}

.site-header .brand span.logo-tag {
  background: linear-gradient(135deg, #1d1d1f, #434344);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.site-header nav a:hover {
  opacity: 1;
  color: var(--accent-blue);
}

.nav-cart-btn {
  background: var(--text-primary);
  color: #ffffff !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem !important;
  font-weight: 500;
  opacity: 1 !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease !important;
}

.nav-cart-btn:hover {
  background: var(--accent-blue) !important;
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.7rem 0.85rem;
  }
  .site-header .brand {
    font-size: 1.1rem;
    gap: 0.35rem;
  }
  .site-header .brand span.logo-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.4rem;
  }
  .site-header nav {
    gap: 0.75rem;
  }
  .site-header nav a {
    font-size: 0.85rem;
  }
  .nav-cart-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    font-size: 1rem;
  }
  .site-header .brand span.logo-tag {
    display: none;
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* Apple Hero Banner */
.hero-banner {
  background: #000000;
  color: #ffffff;
  border-radius: 28px;
  padding: 2.5rem 1.75rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 850px) {
  .hero-banner {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 4.5rem 3.5rem;
    gap: 2.5rem;
  }
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #34c759;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.15rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #86868b;
  max-width: 48ch;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;

  /* Touch optimization */
  min-height: 44px;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

@media (min-width: 850px) {
  .hero-image-wrap {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  }
  .hero-banner:hover .hero-image-wrap {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  }
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Section Title */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

/* Product Grid */
.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.product-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: #fafafa;
  overflow: hidden;
}

.product-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Grade Stamps (Apple Style Pill Badge) */
.grade-stamp {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.grade-stamp.grade-a {
  background: rgba(52, 199, 89, 0.15);
  color: #1e7e34;
  border: 1px solid rgba(52, 199, 89, 0.3);
}

.grade-stamp.grade-b {
  background: rgba(255, 149, 0, 0.15);
  color: #b36b00;
  border: 1px solid rgba(255, 149, 0, 0.3);
}

.grade-stamp.grade-c {
  background: rgba(142, 142, 147, 0.15);
  color: #48484a;
  border: 1px solid rgba(142, 142, 147, 0.3);
}

.product-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-card .summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card .price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.btn-card-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: transform 0.2s ease;
}

.product-card:hover .btn-card-action {
  transform: translateX(3px);
}

/* Product Detail View */
.product-detail {
  display: grid;
  gap: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 800px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    gap: 3rem;
  }
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.gallery-main,
.gallery {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}

.gallery-main img,
.gallery img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  padding: 1.5rem;
  transition: opacity 0.2s ease;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.25rem;
}

.thumb-btn {
  width: 76px;
  height: 76px;
  padding: 4px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.thumb-btn:hover {
  border-color: #a1a1a6;
  transform: translateY(-1px);
}

.thumb-btn.active {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 1px #1d1d1f, var(--shadow-sm);
  transform: scale(1.03);
}

.description {
  white-space: pre-line;
  color: var(--text-secondary);
  line-height: 1.6;
}

.description p {
  margin-bottom: 1rem;
}

.description img,
.description video,
.description iframe,
.description table {
  max-width: 100%;
  height: auto;
  white-space: normal;
  display: block;
}

.condition-note {
  white-space: pre-line;
}

.product-detail .info h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .product-detail .info h1 {
    font-size: 2.2rem;
  }
}

.product-detail .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-detail .price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.btn-add-cart {
  width: 100%;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  min-height: 48px;
}

.btn-add-cart:hover:not(:disabled) {
  background: var(--accent-blue-hover);
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.btn-add-cart:disabled {
  background: #e5e5ea;
  color: #8e8e93;
  cursor: not-allowed;
  box-shadow: none;
}

.notice {
  background: rgba(255, 149, 0, 0.08);
  border: 1px solid rgba(255, 149, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #995c00;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1.75rem;
}

/* Collection & Google Maps Navigation Styling */
.collection-card {
  background: #ffffff;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.06);
}

.collection-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.collection-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.collection-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.collection-address {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.collection-hours {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.directions-action-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-directions {
  background: #34c759;
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-directions:hover {
  background: #2cb04d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.btn-maps-link {
  color: var(--accent-blue);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.btn-maps-link:hover {
  text-decoration: underline;
}

.map-container {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #f5f5f7;
}

/* Spec Table (Apple Modern Card Table) */
.spec-table-wrap {
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th {
  background: #fafafa;
  color: var(--text-secondary);
  font-weight: 500;
  width: 35%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 500;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem 3.5rem;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer nav a:hover {
  color: var(--text-primary);
}

/* Quantity input */
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.qty-row input[type='number'] {
  width: 4.5rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 1rem;
  text-align: center;
  font-family: var(--font-apple);
}

/* ============================================================ */
/* APPLE ADMIN DESIGN SYSTEM                                    */
/* ============================================================ */

body.admin {
  background: #f4f4f7;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(29, 29, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-header .brand {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-header .brand::after {
  content: 'PORTAL';
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
}

.admin-header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-header nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.admin-header nav a:hover {
  color: #ffffff;
}

.admin-header nav button {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-header nav button:hover {
  background: var(--accent-red);
}

/* Admin Login Card */
.admin-login {
  background: var(--bg-card);
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .admin-login {
    padding: 2.5rem;
    margin: 4rem auto;
  }
}

.admin-login h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.admin-login label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.admin-login input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-family: var(--font-apple);
  transition: border-color 0.2s ease;
}

.admin-login input:focus {
  border-color: var(--accent-blue);
  outline: none;
}

.admin-login button {
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 0.5rem;
  min-height: 44px;
}

.admin-login button:hover {
  background: var(--accent-blue-hover);
}

/* Admin Toolbar & Table */
.admin-toolbar {
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.admin-table th {
  background: #fafafa;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

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

.admin-table tr:hover td {
  background: rgba(0, 0, 0, 0.015);
}

/* Admin Form Card */
.admin-form {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .admin-form {
    padding: 2.25rem;
  }
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.admin-form label.checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  font-family: var(--font-apple);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--accent-blue);
  outline: none;
}

.admin-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.admin-form button[type='submit'] {
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  width: fit-content;
  min-height: 44px;
}

.admin-form button[type='submit']:hover {
  background: var(--accent-blue-hover);
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
