/* ============================================================
   TRADEHUB B2B — PAGE STYLES
   ============================================================ */

/* ── HERO ── */
.hero {
  background:
    radial-gradient(circle at top right, rgba(79, 163, 199, 0.24), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(249, 115, 22, 0.16), transparent 26%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 65% 50%, rgba(79, 163, 199, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(249, 115, 22, 0.10) 0%, transparent 60%);
  pointer-events: none;
  animation: heroDrift 18s linear infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.035) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -10px, 0) scale(1.03); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid > :first-child {
  width: 100%;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(255, 169, 77, 0.26);
  color: #FFD19C;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #FFA94D;
}

.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  opacity: 0;
  animation: fadeUpSoft 0.45s var(--ease-standard) forwards;
}

.hero-trust-icon { color: #FFA94D; font-size: 14px; }

.hero-trust-item:nth-child(1) { animation-delay: 0.65s; }
.hero-trust-item:nth-child(2) { animation-delay: 0.75s; }
.hero-trust-item:nth-child(3) { animation-delay: 0.85s; }
.hero-trust-item:nth-child(4) { animation-delay: 0.95s; }

.hero-trust-item:nth-child(2n) .hero-trust-icon {
  animation: iconPulse 2.4s var(--ease-standard) infinite;
}

/* Hero Visual */
.hero-visual {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.hero-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpSoft 0.45s var(--ease-standard) forwards;
}

.hero-stat-card:hover {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  transform: var(--hover-lift);
}
.hero-stat-card:nth-child(2) { margin-left: 28px; }
.hero-stat-card:nth-child(3) { margin-left: 14px; }
.hero-stat-card:nth-child(1) { animation-delay: 0.12s; }
.hero-stat-card:nth-child(2) { animation-delay: 0.24s; }
.hero-stat-card:nth-child(3) { animation-delay: 0.36s; }

.hero-stat-header { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-stat-val { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--white); }
.hero-stat-tag {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(255, 169, 77, 0.24);
  color: #FFD19C;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.62); margin-top: 4px; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid {
    gap: 24px;
  }
  .hero h1 { font-size: 38px; }
  .hero-desc {
    max-width: 100%;
    font-size: 17px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    min-height: 50px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 0 48px;
  }
  .hero-eyebrow {
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }
  .hero-desc {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .hero h1 {
    font-size: clamp(38px, 4.5vw, 52px);
  }
  .hero-desc {
    max-width: 620px;
  }
}

/* ── CATEGORIES ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(148,163,184,0.16);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(37,99,235,0.16) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
}

.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: var(--hover-lift);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-md);
}
.category-card.disabled { opacity: 0.4; cursor: default; pointer-events: none; }

.category-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.category-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.category-count { font-size: 12px; color: rgba(255,255,255,0.4); }

@media (max-width: 768px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.product-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.4);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.26s var(--ease-standard);
}

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

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 52px;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--off-white) 100%);
}

.product-placeholder.large {
  font-size: 96px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.product-detail-image {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  aspect-ratio: 1 / 1;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  background:
    radial-gradient(circle at top right, rgba(59,130,246,0.12), transparent 35%),
    linear-gradient(135deg, var(--gray-50) 0%, var(--off-white) 100%);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.9));
}

.product-detail-info {
  display: grid;
  gap: 18px;
}

.product-detail-info > .product-category {
  margin-bottom: 0;
}

.product-detail-info h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.06;
  margin-bottom: 0;
  color: var(--navy);
}

.product-detail-info > .product-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0;
  min-height: 0;
  display: block;
  overflow: visible;
}

.product-price-large {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--shadow-xs);
}

.product-price-large .price {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.product-price-large .price-vat,
.price-login {
  font-size: 14px;
  line-height: 1.6;
}

.product-meta {
  margin-top: 0;
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: var(--gray-50);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.products-load-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.product-stock,
.product-min-order {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  color: var(--text);
  font-size: 14px;
}

.stock-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.stock-in,
.stock-out {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.stock-in {
  background: rgba(34,197,94,0.12);
  color: #15803D;
}

.stock-out {
  background: rgba(239,68,68,0.10);
  color: #B91C1C;
}

.product-actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}

.product-actions .btn-lg {
  min-width: 220px;
}

.quantity-selector {
  display: inline-grid;
  grid-template-columns: 48px minmax(90px, 110px) 48px;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.quantity-selector .btn {
  border-radius: 0;
  min-height: 56px;
  border: none;
  background: var(--gray-50);
}

.quantity-selector .btn:hover {
  background: var(--gray-100);
}

.quantity-selector input {
  width: 100%;
  min-height: 56px;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
}

.quantity-selector input:focus {
  outline: none;
  background: #F8FBFF;
}

.product-login-prompt {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1.5px solid var(--gray-200);
  background: linear-gradient(135deg, #F8FBFF 0%, #F3F7FF 100%);
  box-shadow: var(--shadow-xs);
}

.product-login-prompt p {
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.product-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.94);
  color: var(--white);
}

.product-badge.low-stock {
  background: rgba(245, 158, 11, 0.94);
  color: var(--white);
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.product-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
  min-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: calc(1.6em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.product-footer .btn {
  flex-shrink: 0;
}

.product-meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.product-price .price,
.product-price-large .price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.product-price .price-vat,
.product-price-large .price-vat,
.price-login {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.old-price-line {
  text-decoration: line-through;
  opacity: 0.85;
}

.campaign-badge {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  animation: badgePulse 2.8s var(--ease-standard) infinite;
}

.inline-badge {
  display: inline-flex;
  margin-bottom: 10px;
}

.product-img {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.product-img-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}

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

.product-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--text);
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
}

.product-price .currency { font-size: 13px; font-weight: 600; color: var(--text-muted); }

.product-price-locked {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.product-min-order {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ── PRODUCT DETAIL ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-detail-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy-light) 100%);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 110px;
  border: 1.5px solid var(--gray-200);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.product-detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-detail-name {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
}

.product-detail-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.product-detail-meta {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-meta-row strong { color: var(--text); }

.product-detail-price {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 16px 0;
}

.product-detail-price .per { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }

.product-line-total {
  font-size: 14px;
  color: var(--text-muted);
  margin: 8px 0 20px;
}

.product-line-total strong { color: var(--text); font-size: 15px; }

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-img { position: static; height: 240px; }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-detail-image {
    position: static;
    min-height: 280px;
  }
  .product-image {
    min-height: 200px;
  }
  .product-actions {
    flex-direction: column;
  }
  .product-actions .btn-lg {
    width: 100%;
    min-width: 0;
  }
  .quantity-selector {
    width: 100%;
  }
}

/* ── CART ITEMS ── */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  transition: border-color var(--transition-fast);
}

.cart-item:hover { border-color: var(--gray-300); }

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.cart-item-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
}

.cart-item-price { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

.cart-item-total {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  text-align: right;
  white-space: nowrap;
}

.cart-mini-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.cart-qty-btn:hover { background: var(--gray-100); border-color: var(--gray-300); }
.cart-qty-val { font-weight: 700; font-size: 14px; min-width: 24px; text-align: center; }

.cart-remove {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cart-remove:hover { color: var(--error); background: var(--error-bg); }

/* ── ORDER SUMMARY ── */
.order-summary {
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.order-summary h3 { font-size: 18px; margin-bottom: 16px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-muted);
}

.summary-row:last-of-type { border-bottom: none; }
.summary-row strong { color: var(--text); font-weight: 600; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  padding-top: 14px;
  border-top: 2px solid var(--primary);
  margin-top: 4px;
  color: var(--primary-dark);
}

.summary-due {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* ── ADMIN ── */
.admin-page-header {
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.18), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 20px 0;
  margin-bottom: 32px;
}

.admin-page-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-page-header h1 {
  color: var(--white);
  font-size: 24px;
}

.admin-page-header .header-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Product Modal form in admin */
.product-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .product-form-grid { grid-template-columns: 1fr; } }

/* ── AUTH ── */
.auth-feature {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.auth-feature-icon {
  width: 38px;
  height: 38px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.24);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-feature-text {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.auth-feature-text strong { color: var(--white); font-weight: 600; }

.auth-left h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--white);
  margin-bottom: 14px;
}

.auth-left p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-notice {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  margin-top: 28px;
}

.auth-right h2 { font-size: 28px; margin-bottom: 6px; }
.auth-right .auth-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.auth-right .auth-sub a {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 900px) {
  .auth-layout {
    min-height: auto;
  }

  .auth-right {
    justify-content: flex-start;
  }

  .auth-right-inner {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .auth-right h2 {
    font-size: 30px;
  }

  .auth-right .auth-sub {
    margin-bottom: 22px;
  }

  .auth-feature {
    gap: 12px;
  }

  .auth-notice {
    padding: 14px 16px;
    line-height: 1.7;
  }

  .pending-card {
    padding: 24px 18px;
  }

  .pending-card button,
  .pending-card .btn {
    width: 100%;
  }
}

/* ── CONTRACT ── */
.contract-info-card {
  background: var(--navy);
  border: 1.5px solid rgba(148,163,184,0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contract-info-card h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy-border);
}

.contract-info-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}

.contract-info-item .ci-icon {
  color: #93C5FD;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.18), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.newsletter-text h2 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 8px;
}

.newsletter-text p { color: rgba(255,255,255,0.5); font-size: 15px; }

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--primary); }

@media (max-width: 768px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .newsletter-form { flex-direction: column; }
}

/* ── WHY US GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

/* ── ORDER CONFIRM ── */
.order-confirm-page {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px;
}

.order-confirm-icon { font-size: 72px; margin-bottom: 20px; animation: popIn 0.4s ease; }

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.order-confirm-page h1 { font-size: 36px; margin-bottom: 10px; }
.order-confirm-page > p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }

.order-confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.checkout-form {
  padding: 28px;
  display: grid;
  gap: 20px;
}

.checkout-summary {
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.checkout-section {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.checkout-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.checkout-section h3,
.checkout-summary h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.checkout-section-text,
.checkout-summary-intro {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.checkout-confirmation-step {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.checkout-confirmation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.checkout-confirmation-card,
.checkout-review-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.checkout-confirmation-card {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-confirmation-row,
.checkout-review-row,
.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-confirmation-row span,
.checkout-review-row span {
  color: var(--text-muted);
  font-size: 14px;
}

.checkout-approval {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  cursor: pointer;
}

.checkout-approval input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.checkout-items {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.checkout-item {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

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

.checkout-item-name {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.checkout-item-meta {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
}

.checkout-item-price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--text);
}

.checkout-totals {
  display: grid;
  gap: 2px;
  margin-bottom: 18px;
}

.checkout-review-box {
  margin-bottom: 16px;
}

.checkout-review-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.checkout-review-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.checkout-review-row:last-child {
  border-bottom: none;
}

.checkout-terms {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.checkout-terms a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .checkout-form,
  .checkout-summary {
    padding: 20px;
  }

  .checkout-confirmation-header,
  .checkout-confirmation-row,
  .checkout-review-row,
  .checkout-item {
    flex-direction: column;
  }
}

/* Order success and invoice preview */
.order-success {
  max-width: 980px;
  margin: 0 auto;
}

.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 auto 18px;
  box-shadow: 0 18px 36px rgba(37,99,235,0.22);
}

.order-success > h1,
.order-success > p,
.success-note {
  text-align: center;
}

.order-success > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.order-details-card,
.invoice-preview {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.order-details-card {
  padding: 24px;
  margin-bottom: 24px;
}

.order-info {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}

.order-info-row,
.order-item-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.order-info-row:last-child,
.order-item-row:last-child {
  border-bottom: none;
}

.order-items-summary h4 {
  margin-bottom: 10px;
}

.invoice-preview {
  padding: 28px;
  margin-bottom: 24px;
}

.invoice-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.invoice-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.invoice-preview-header h2 {
  margin-bottom: 8px;
}

.invoice-preview-header p {
  color: var(--text-muted);
  max-width: 620px;
}

.invoice-status-badge {
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.invoice-meta-grid,
.invoice-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.invoice-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.invoice-meta-card,
.invoice-company-card,
.invoice-lines-card,
.invoice-legal {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.invoice-meta-card,
.invoice-company-card {
  padding: 16px 18px;
}

.invoice-meta-card span,
.invoice-company-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.invoice-meta-card strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
}

.invoice-company-card h3,
.invoice-legal h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.invoice-company-card p + p,
.invoice-legal p + p {
  margin-top: 6px;
}

.invoice-lines-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 18px;
}

.invoice-lines-header,
.invoice-line-row {
  display: grid;
  grid-template-columns: 1.6fr 0.4fr 0.6fr;
  gap: 12px;
  padding: 14px 18px;
}

.invoice-lines-header {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.invoice-line-row {
  border-top: 1px solid var(--gray-200);
  color: var(--text);
  font-size: 14px;
}

.invoice-totals {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  padding: 16px 18px;
}

.invoice-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: var(--text-muted);
}

.invoice-total-row strong {
  color: var(--text);
}

.invoice-total-final {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  font-size: 16px;
  color: var(--text);
}

.invoice-total-final strong {
  color: var(--primary-dark);
}

.invoice-legal {
  padding: 18px;
}

.invoice-legal p {
  color: var(--text-muted);
  line-height: 1.7;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.success-note {
  color: var(--text-muted);
  margin-top: 18px;
}

@media (max-width: 900px) {
  .invoice-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-preview-header {
    flex-direction: column;
  }

  .invoice-company-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .invoice-preview,
  .order-details-card {
    padding: 20px;
  }

  .invoice-meta-grid,
  .invoice-company-grid {
    grid-template-columns: 1fr;
  }

  .order-info-row,
  .order-item-row,
  .invoice-total-row {
    flex-direction: column;
  }

  .invoice-line-row,
  .invoice-lines-header {
    grid-template-columns: 1fr;
  }
}

/* Additional navigation and content pages */
.section-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.section-nav-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.section-nav-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.4);
}

.section-nav-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity var(--transition), transform var(--transition);
}

.section-nav-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.section-nav-media {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.section-nav-body {
  padding: 18px;
}

.section-nav-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.section-nav-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.section-nav-link {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), color var(--transition);
}

.section-nav-link::after {
  content: '→';
  transition: transform var(--transition);
}

.section-nav-card:hover .section-nav-link::after {
  transform: translateX(4px);
}

.product-controls-card {
  background:
    radial-gradient(circle at top right, rgba(79, 163, 199, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,252,0.98));
  border: 1.5px solid rgba(79, 163, 199, 0.18);
  border-radius: 26px;
  padding: 24px;
  box-shadow:
    0 18px 40px rgba(8, 58, 92, 0.08),
    0 8px 20px rgba(8, 58, 92, 0.04);
  margin-bottom: 22px;
}

.product-controls-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 22px;
  align-items: center;
}

.product-search-panel {
  display: grid;
  gap: 12px;
}

.product-search-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-search-box {
  width: min(100%, 640px);
}

.product-search-box .form-input {
  min-height: 54px;
  font-size: 15px;
  border-radius: 16px;
  padding-inline: 16px;
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255,255,255,0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.product-toolbar-actions {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.product-price-toggle-panel {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.product-toggle-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.product-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.product-mode-switch .filter-chip {
  min-width: 132px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1.5px solid transparent;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.product-category-tabs .filter-chip,
.product-mode-switch .filter-chip {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.product-category-tabs .filter-chip:hover,
.product-mode-switch .filter-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-sm);
}

.product-category-tabs .filter-chip {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  background: rgba(255,255,255,0.82);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.product-category-tabs .filter-chip.active {
  background: linear-gradient(135deg, var(--green) 0%, var(--primary) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.18);
}

.product-mode-switch .filter-chip.active {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.18);
}

.product-results-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.product-results-copy {
  display: grid;
  gap: 6px;
}

.product-results-copy strong {
  font-size: 18px;
  color: var(--navy);
}

.product-results-copy span {
  font-size: 14px;
  color: var(--text-muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.4);
}

.news-card-media {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-100);
}

.news-card-media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
}

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

.news-card-date {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.news-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}

.news-card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
  border-radius: 28px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-lg);
}

.newsletter-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.10), transparent 28%);
  pointer-events: none;
}

.newsletter-copy,
.newsletter-form-card {
  position: relative;
  z-index: 1;
}

.newsletter-copy h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.newsletter-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 560px;
}

.newsletter-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.newsletter-point {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.newsletter-point::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--primary));
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.10);
}

.newsletter-form-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.newsletter-form-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}

.newsletter-admin-grid {
  display: grid;
  gap: 24px;
}

.newsletter-admin-form {
  display: grid;
  gap: 14px;
}

.newsletter-image-preview-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), #ffffff);
  padding: 14px;
}

.newsletter-image-preview-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.newsletter-image-preview-img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--gray-100);
}

.admin-header-inline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-header-inline p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
}

.page-feature-panel,
.about-layout,
.contact-grid {
  display: grid;
  gap: 20px;
}

.page-feature-panel,
.about-layout {
  grid-template-columns: 1.2fr 1fr;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-feature-panel,
.about-card,
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.page-feature-panel:hover,
.about-card:hover,
.contact-card:hover {
  transform: var(--hover-lift);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: var(--shadow-md);
}

.page-feature-copy h2,
.about-card h2,
.contact-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.page-feature-copy p,
.about-card p,
.contact-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

.page-feature-checklist {
  display: grid;
  gap: 12px;
}

.page-check-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  color: var(--text);
  font-weight: 600;
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.18);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.05);
  }
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 20px;
  margin-bottom: 20px;
}

.about-story-card {
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.12), transparent 32%),
    var(--white);
}

.about-highlight-card .page-check-item + .page-check-item {
  margin-top: 10px;
}

.about-value-panel {
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .section-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .product-controls-top {
    grid-template-columns: 1fr;
  }

  .product-toolbar-actions {
    justify-content: flex-start;
  }

  .product-price-toggle-panel {
    justify-items: start;
  }

  .product-search-box {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .page-feature-panel,
  .about-layout,
  .contact-grid,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-controls-card {
    padding: 16px;
  }

  .product-toolbar-actions,
  .product-mode-switch,
  .product-category-tabs,
  .product-price-toggle-panel {
    width: 100%;
  }

  .product-mode-switch {
    justify-content: stretch;
  }

  .product-mode-switch .filter-chip,
  .product-category-tabs .filter-chip {
    flex: 1 1 0;
    justify-content: center;
  }

  .product-results-bar {
    align-items: flex-start;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal and info pages */
.info-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.info-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.info-page h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 12px;
}

.info-page .meta {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.info-page-intro {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-company-card,
.legal-section-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
}

.legal-company-card {
  padding: 22px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-company-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.legal-company-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 4px;
}

.legal-section-grid {
  display: grid;
  gap: 18px;
}

.legal-section-card {
  padding: 24px;
}

.legal-section-card h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.legal-section-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal-list li {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 4px;
}

@media (max-width: 900px) {
  .info-page {
    padding: 40px 20px 56px;
  }

  .info-page-hero {
    grid-template-columns: 1fr;
  }

  .legal-company-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .info-page {
    padding: 32px 16px 44px;
  }

  .legal-company-card,
  .legal-section-card {
    padding: 18px;
  }

  .legal-section-card h2 {
    font-size: 21px;
  }
}

/* Admin panel */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
}

.admin-tabs {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(248,250,252,0.98), rgba(241,245,249,0.95));
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.admin-tab {
  appearance: none;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  min-height: 48px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.admin-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
}

.admin-tab.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(37,99,235,0.18);
}

.admin-tab:focus-visible {
  outline: none;
  border-color: rgba(59,130,246,0.65);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.16);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-sections {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.admin-section {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.admin-section h3 {
  margin-bottom: 14px;
  color: var(--navy);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.admin-detail-section {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 18px;
}

.admin-detail-section h4 {
  margin-bottom: 14px;
  color: var(--navy);
}

.admin-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

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

.admin-detail-item span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-detail-item strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
}

.admin-detail-note {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px;
    margin-inline: -4px;
    scrollbar-width: thin;
  }

  .admin-tab {
    flex: 0 0 auto;
    min-width: max-content;
  }
}

@media (max-width: 640px) {
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-tabs {
    gap: 8px;
    border-radius: 20px;
  }

  .admin-tab {
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
  }

  .admin-section {
    padding: 18px;
  }
}
