html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin-bottom: 60px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.home-shell {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f9fe;
  color: #111827;
}

.site-main {
  width: 100%;
  max-width: 100%;
  flex: 1 0 auto;
}

.home-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0 36px;
}

.header {
  min-height: 62px;
  padding: 0 34px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 22px;
  font-weight: 800;
  color: #1f4fd4;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #2563eb 70%);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.header nav a {
  text-decoration: none;
  color: #283448;
  font-size: 14px;
  font-weight: 500;
}

.header nav a:hover {
  color: #2563eb;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: 44px;
  padding: 54px 34px 30px;
  align-items: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(37, 99, 235, 0.08), transparent 26%),
    linear-gradient(180deg, #f6f9fe 0%, #f6f9fe 100%);
}

.hero-content h1 {
  font-size: clamp(2.9rem, 5vw, 5rem);
  line-height: 1.02;
  margin: 18px 0 18px;
  color: #0b1630;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.65;
  color: #516074;
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: #e4efff;
  color: #2150d8;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.search-card {
  margin-top: 26px;
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  max-width: 620px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.search-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.input-row {
  display: flex;
  gap: 12px;
}

.input-row input {
  flex: 1;
  height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-row input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.input-row button {
  height: 52px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.18);
  white-space: nowrap;
}

.input-row button:hover {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.search-card small {
  display: block;
  margin-top: 12px;
  color: #64748b;
  line-height: 1.5;
  font-size: 13px;
}

.hero-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  padding: 30px;
  min-height: 500px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  right: -88px;
  top: -54px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(219, 234, 254, 0.62);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #315ee6;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.package-box {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
  border: 1px solid #cddfff;
}

.package-box strong {
  display: block;
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 800;
}

.package-box p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.6;
  font-size: 14px;
}

.package-box span {
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
}

.hero-illustration {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 310px;
  height: 300px;
  z-index: 1;
}

.illustration-backpack {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 152px;
  height: 196px;
  border-radius: 70px 70px 50px 50px;
  background: linear-gradient(180deg, #2f6ce5 0%, #1d4ed8 100%);
  box-shadow: inset 0 12px 0 rgba(255, 255, 255, 0.08), 0 24px 36px rgba(29, 78, 216, 0.24);
}

.illustration-backpack::before {
  content: "";
  position: absolute;
  inset: 36px 16px 18px;
  border-radius: 44px;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.illustration-backpack::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 48px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50px 50px 0 0;
  border: 6px solid #f97316;
  border-bottom: 0;
}

.illustration-books {
  position: absolute;
  left: 12px;
  bottom: 16px;
  width: 155px;
  height: 100px;
  transform: rotate(10deg);
}

.illustration-books i {
  display: block;
  width: 145px;
  height: 16px;
  border-radius: 12px;
  box-shadow: 0 12px 16px rgba(15, 23, 42, 0.12);
  margin-top: 8px;
}

.illustration-books i:nth-child(1) { background: #f97316; width: 138px; }
.illustration-books i:nth-child(2) { background: #22c55e; width: 152px; }
.illustration-books i:nth-child(3) { background: #f59e0b; width: 143px; }

.illustration-cup {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: 54px;
  height: 72px;
  border-radius: 14px 14px 10px 10px;
  background: #c97a47;
  box-shadow: 0 18px 18px rgba(15, 23, 42, 0.14);
}

.illustration-cup::before {
  content: "";
  position: absolute;
  inset: 8px 8px auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 34px 28px;
}

.step {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
  text-align: center;
}

.step strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2f64ea;
  color: #fff;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
}

.step h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.step p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
  font-size: 14px;
}

.policy-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0 34px 14px;
  margin-top: 10px;
}

.policy-row a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}

.policy-row a:hover {
  color: #2563eb;
}

.landing-shell {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  color: #16213e;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #16213e;
}

.landing-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #f97316);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.landing-brand-copy strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.landing-brand-copy small {
  display: block;
  color: #6b7280;
}

.landing-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.landing-nav a {
  color: #24324f;
  text-decoration: none;
  font-weight: 600;
}

.landing-nav a:hover {
  color: #2563eb;
}

.landing-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.4rem 1.4rem 2rem;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0 2rem;
}

.landing-hero-copy h1,
.section-title-block h2,
.landing-preview-copy h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

.landing-hero-copy h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 0.95;
  font-weight: 800;
  color: #0f172a;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1d4ed8;
  font-weight: 700;
}

.landing-pill-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-style: normal;
  font-size: 0.9rem;
}

.landing-lead {
  max-width: 58ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #5b6476;
}

.landing-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.landing-search-card {
  padding: 1.35rem;
  margin-top: 1.7rem;
}

.landing-field-label {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.landing-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.landing-search-group .form-control,
.landing-search-group .input-group-text {
  border-radius: 16px;
  min-height: 58px;
}

.landing-search-group .input-group-text {
  background: #f8fafc;
  border-color: #dbe3ee;
  color: #94a3b8;
}

.landing-search-group .form-control {
  border-color: #dbe3ee;
}

.landing-search-group .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08);
}

.landing-cta {
  min-width: 214px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  border: 0;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(249, 115, 22, 0.22);
}

.landing-cta:hover {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.landing-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.95rem;
}

.landing-note span {
  font-size: 1.1rem;
}

.landing-hero-visual {
  display: flex;
  justify-content: center;
}

.landing-preview-card {
  width: 100%;
  padding: 1.4rem;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.landing-preview-badge {
  display: inline-flex;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.landing-preview-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.15rem;
}

.landing-preview-copy h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}

.landing-preview-copy p {
  margin: 0.75rem 0 0;
  color: #475569;
  line-height: 1.65;
}

.landing-illustration {
  position: relative;
  min-height: 370px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.landing-backpack {
  position: absolute;
  right: 14%;
  top: 15%;
  width: 180px;
  height: 230px;
  border-radius: 80px 80px 58px 58px;
  background: linear-gradient(180deg, #2f6ce5 0%, #1d4ed8 100%);
  box-shadow: inset 0 14px 0 rgba(255, 255, 255, 0.08), 0 24px 36px rgba(29, 78, 216, 0.24);
}

.landing-backpack::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 42px;
  bottom: 24px;
  border-radius: 52px;
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.landing-backpack::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 58px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 50px 50px 0 0;
  border: 8px solid #f97316;
  border-bottom: 0;
}

.landing-books {
  position: absolute;
  left: 16%;
  bottom: 15%;
  display: grid;
  gap: 8px;
  transform: rotate(10deg);
}

.landing-books span {
  display: block;
  width: 140px;
  height: 16px;
  border-radius: 14px;
  box-shadow: 0 10px 12px rgba(15, 23, 42, 0.12);
}

.landing-books span:nth-child(1) { background: #f97316; width: 132px; }
.landing-books span:nth-child(2) { background: #f59e0b; width: 146px; }
.landing-books span:nth-child(3) { background: #22c55e; width: 136px; }

.landing-cup {
  position: absolute;
  right: 8%;
  bottom: 18%;
  width: 62px;
  height: 78px;
  border-radius: 14px 14px 10px 10px;
  background: #c97a47;
  box-shadow: 0 18px 18px rgba(15, 23, 42, 0.14);
}

.landing-cup::before {
  content: "";
  position: absolute;
  inset: 8px 8px auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.landing-pencils {
  position: absolute;
  right: 0;
  bottom: 8%;
  display: flex;
  gap: 8px;
  align-items: end;
  transform: rotate(20deg);
}

.landing-pencils i {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: #2563eb;
}

.landing-pencils i:nth-child(1) { height: 92px; background: #f59e0b; }
.landing-pencils i:nth-child(2) { height: 86px; background: #ef4444; }
.landing-pencils i:nth-child(3) { height: 100px; background: #22c55e; }
.landing-pencils i:nth-child(4) { height: 78px; background: #8b5cf6; }

.landing-preview-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.landing-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #0f172a;
}

.landing-check span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #1d4ed8;
  color: #fff;
  flex: 0 0 auto;
}

.landing-check p {
  margin: 0;
  color: #334155;
}

.section-title-block h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
}

.how-section {
  margin-top: 1rem;
  padding: 2.3rem 1rem 1rem;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.6rem;
}

.how-step {
  text-align: center;
  padding: 0.5rem 1rem;
}

.how-step-index {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: #2563eb;
  font-size: 1.6rem;
  font-weight: 800;
}

.how-step-icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 0.8rem;
}

.how-step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.how-step p {
  margin: 0;
  color: #5b6476;
  line-height: 1.7;
}

.how-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6deeb, transparent);
}

.benefit-strip {
  margin-top: 1.8rem;
  padding: 1.2rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: #2563eb;
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.benefit-item strong {
  display: block;
  color: #0f172a;
}

.benefit-item span {
  display: block;
  color: #64748b;
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.policy-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: 1.4rem;
  padding: 1rem 0.5rem 0;
}

.policy-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}

.policy-link:hover {
  color: #2563eb;
}

.landing-pill:focus,
.landing-cta:focus,
.policy-link:focus,
.landing-nav a:focus {
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }

  .benefit-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .landing-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .landing-nav {
    gap: 0.8rem 1rem;
  }

  .landing-search-row {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    width: 100%;
  }

  .landing-preview-body {
    grid-template-columns: 1fr;
  }

  .landing-illustration {
    min-height: 280px;
  }

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

  .how-divider {
    display: none;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }
}

.storefront-shell {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.14), transparent 22%),
    linear-gradient(180deg, #fffaf3 0%, #f7f8fc 48%, #ffffff 100%);
  color: #111827;
}

.storefront-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.storefront-header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
}

.storefront-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #111827;
  text-decoration: none;
}

.storefront-brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.storefront-brand small {
  display: block;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.storefront-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff;
  font-weight: 800;
}

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

.storefront-nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 600;
}

.storefront-nav a:hover {
  color: #111827;
}

.storefront-header-actions {
  margin-left: auto;
}

.storefront-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
}

.storefront-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.1rem;
}

.storefront-hero-copy,
.storefront-hero-panel,
.storefront-banner,
.product-card,
.category-chip {
  border-radius: 28px;
}

.storefront-hero-copy {
  padding: 2rem;
  background: linear-gradient(145deg, #111827 0%, #1f2937 58%, #334155 100%);
  color: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.storefront-pill,
.section-kicker,
.product-badge,
.storefront-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-pill,
.storefront-hero-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-kicker,
.product-badge {
  background: #f3f4f6;
  color: #374151;
}

.storefront-hero-copy h1 {
  margin: 1rem 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.storefront-hero-copy p {
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.storefront-search {
  display: flex;
  gap: 0.75rem;
  margin: 1.4rem 0 1.25rem;
}

.storefront-search .form-control {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.93);
}

.storefront-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.storefront-meta div,
.storefront-hero-card,
.storefront-banner,
.product-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.storefront-meta div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.storefront-meta strong {
  display: block;
  font-size: 1.4rem;
}

.storefront-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.storefront-hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.storefront-hero-card {
  min-height: 132px;
  padding: 1.2rem;
  display: grid;
  align-content: space-between;
  color: #111827;
}

.storefront-hero-card span {
  color: #6b7280;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.storefront-hero-card strong {
  font-size: 1.4rem;
  line-height: 1.1;
}

.storefront-hero-card small {
  color: #475569;
}

.hero-card-a {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.hero-card-b {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
}

.hero-card-c {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}

.hero-card-d {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.storefront-section {
  margin-top: 1.4rem;
  padding: 0 1.1rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0.25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
}

.category-strip {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.category-chip {
  padding: 0.85rem 1.1rem;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  background: #fff;
}

.product-card-top,
.product-info {
  padding: 1rem;
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
}

.product-visual {
  height: 190px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 1));
}

.product-circle {
  width: 110px;
  height: 110px;
  border-radius: 34px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), transparent 35%),
    linear-gradient(135deg, #111827, #374151);
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.12);
}

.product-info h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.product-prices strong {
  font-size: 1.2rem;
}

.product-prices span {
  color: #94a3b8;
  text-decoration: line-through;
}

.storefront-banner {
  margin: 1.8rem 1.1rem 0;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #111827, #0f172a);
  color: #fff;
}

.storefront-banner h2 {
  margin: 0.5rem 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.storefront-banner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
}

.storefront-banner-inputs {
  display: flex;
  gap: 0.75rem;
  min-width: min(100%, 420px);
}

.storefront-banner-inputs .form-control {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

@media (max-width: 768px) {
  .storefront-header-inner {
    padding: 0.9rem 1rem;
    flex-wrap: wrap;
  }

  .storefront-header-actions {
    margin-left: 0;
    width: 100%;
  }

  .storefront-nav {
    width: 100%;
  }

  .storefront-search,
  .storefront-banner,
  .storefront-banner-inputs {
    flex-direction: column;
  }

  .storefront-meta {
    grid-template-columns: 1fr;
  }

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

  .storefront-banner {
    align-items: flex-start;
  }
}

.login-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 980px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28) !important;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-side {
  background:
    linear-gradient(160deg, rgba(17, 24, 39, 0.96) 0%, rgba(30, 41, 59, 0.96) 100%),
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="320" height="320" viewBox="0 0 320 320"%3E%3Ccircle cx="40" cy="40" r="2" fill="%23ffffff" fill-opacity="0.24"/%3E%3Ccircle cx="120" cy="88" r="2" fill="%23ffffff" fill-opacity="0.16"/%3E%3Ccircle cx="240" cy="60" r="2" fill="%23ffffff" fill-opacity="0.2"/%3E%3Ccircle cx="180" cy="180" r="2" fill="%23ffffff" fill-opacity="0.14"/%3E%3Ccircle cx="80" cy="220" r="2" fill="%23ffffff" fill-opacity="0.14"/%3E%3C/svg%3E');
  color: #fff;
}

.login-side-inner {
  min-height: 100%;
  padding: 2rem;
  display: grid;
  align-content: center;
  gap: 0.85rem;
}

.login-side p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32ch;
}

.login-points {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.login-points div {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-shell {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.10), transparent 24%),
    #f4f6fb;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98) 0%, rgba(31, 41, 55, 0.96) 100%),
    linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: #fff;
  box-shadow: 20px 0 40px rgba(15, 23, 42, 0.16);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  color: #111827;
  font-weight: 800;
}

.admin-brand-title {
  font-weight: 700;
  line-height: 1.2;
}

.admin-brand-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.admin-sidebar-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-nav-group {
  display: grid;
  gap: 0.6rem;
}

.admin-nav-label {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding-left: 0.2rem;
}

.admin-nav {
  display: grid;
  gap: 0.5rem;
}

.admin-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.1rem 0.2rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.admin-nav-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.admin-nav-toggle[aria-expanded="true"] .admin-nav-toggle-icon {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.16);
}

.admin-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateX(2px);
}

.admin-nav-link.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.admin-content {
  padding: 1.5rem;
}

.admin-page {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-page.narrow {
  max-width: 980px;
}

.admin-topbar-copy {
  display: grid;
  gap: 0.35rem;
}

.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.page-intro p {
  margin-bottom: 0;
  color: #64748b;
}

.page-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.soft-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.soft-card .card-body {
  padding: 1.35rem;
}

.admin-form-shell {
  display: block;
}

.admin-form-page {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-form-page > .soft-card {
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.055), transparent 30%),
    #fff;
}

.admin-form-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8edf4;
}

.admin-form-lead p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  text-align: right;
}

.admin-form-grid {
  display: flex;
  flex-wrap: wrap;
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 0.9rem;
}

.admin-form-grid.compact {
  --bs-gutter-y: 0.8rem;
}

.admin-form-grid .form-label {
  margin-bottom: 0.38rem;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-form-grid .form-control,
.admin-form-grid .form-select,
.admin-form-grid .form-check-input,
.admin-form-grid textarea {
  border-radius: 10px;
}

.admin-form-grid .form-control,
.admin-form-grid .form-select {
  min-height: 44px;
  padding: 0.58rem 0.78rem;
  border-color: #dbe3ee;
  font-size: 0.94rem;
}

.admin-form-grid textarea.form-control {
  min-height: 104px;
  padding: 0.72rem 0.8rem;
  border-color: #dbe3ee;
  font-size: 0.94rem;
}

.admin-form-grid .form-control:focus,
.admin-form-grid .form-select:focus,
.admin-form-grid textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08);
}

.admin-form-grid .form-text {
  margin-top: 0.28rem;
  color: #7b8798;
  font-size: 0.76rem;
}

.admin-form-grid .btn-lg,
.admin-form-actions .btn-lg {
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-form-section {
  padding: 1rem;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.78);
}

.admin-form-section + .admin-form-section {
  margin-top: 0.9rem;
}

.admin-form-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-form-section-title::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.09);
  content: "";
}

.product-image-editor {
  margin-top: 0.35rem;
  padding: 1rem;
  border: 1px solid #dce5f1;
  border-radius: 14px;
  background: #f8fafc;
}

.product-image-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.product-image-editor-heading h3 {
  margin: 0 0 0.25rem;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
}

.product-image-editor-heading p {
  margin: 0;
  color: #718096;
  font-size: 0.76rem;
}

.product-image-editor-heading > span {
  padding: 0.35rem 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.product-image-preview {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #fff;
}

.product-image-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-image-empty {
  margin-bottom: 0.85rem;
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 11px;
  color: #718096;
  font-size: 0.78rem;
  text-align: center;
}

.product-image-upload {
  min-height: 72px;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px dashed #9db8e5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.product-image-upload:hover {
  border-color: #2563eb;
  background: #f5f9ff;
}

.product-image-upload > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.product-image-upload strong,
.product-image-upload small {
  display: block;
}

.product-image-upload strong {
  margin-bottom: 0.2rem;
  color: #172033;
  font-size: 0.8rem;
}

.product-image-upload small {
  color: #718096;
  font-size: 0.7rem;
}

.product-image-upload-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 1.25rem;
  font-weight: 700;
}

.selected-image-list {
  margin-top: 0.55rem;
  color: #526174;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8edf4;
}

.admin-switch-panel {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.58rem 0.8rem;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
}

.admin-form-shell .alert {
  border-radius: 16px;
}

.admin-table-card .table {
  margin-bottom: 0;
}

.admin-table-card thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table-card tbody tr {
  border-color: #eef2f7;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-kpi-card {
  border-radius: 20px;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.admin-kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.admin-kpi-value {
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.admin-nav-standalone {
  margin-bottom: 0.5rem;
}

.dash-page {
  display: grid;
  gap: 1.25rem;
}

.dash-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.22), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.18), transparent 38%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #111827 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.dash-hero-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash-hero-title {
  margin: 0.65rem 0 0.35rem;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dash-hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.dash-hero-highlight {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-hero-highlight-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.dash-hero-highlight-value {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

.dash-hero-highlight-value span {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.dash-hero-highlight-meta {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
}

.dash-hero-actions {
  align-self: end;
}

.dash-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dash-period-card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.dash-period-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}

.dash-period-card--today::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.dash-period-card--week::before {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.dash-period-card--month::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.dash-period-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dash-period-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.dash-period-card--today .dash-period-icon {
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
}

.dash-period-card--week .dash-period-icon {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.dash-period-card--month .dash-period-icon {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

.dash-period-icon svg {
  width: 20px;
  height: 20px;
}

.dash-period-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.dash-period-amount {
  margin-top: 1rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.dash-period-amount small {
  margin-left: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
}

.dash-period-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.dash-period-stat-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.dash-period-stat-label {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.dash-mid-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dash-alert-card,
.dash-channel-card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.dash-alert-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dash-alert-card--warning {
  background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}

.dash-alert-card--info {
  background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
}

.dash-alert-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.dash-alert-card--warning .dash-alert-icon {
  color: #d97706;
  background: rgba(245, 158, 11, 0.14);
}

.dash-alert-card--info .dash-alert-icon {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.dash-alert-icon svg {
  width: 22px;
  height: 22px;
}

.dash-alert-value {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.dash-alert-label {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #64748b;
}

.dash-channel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.dash-channel-name {
  font-weight: 700;
  color: #0f172a;
}

.dash-channel-amount {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.dash-channel-bar {
  height: 8px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.dash-channel-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.dash-channel-bar-fill--online {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.dash-channel-bar-fill--stand {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.dash-channel-meta {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.dash-operations-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.8fr);
  gap: 1rem;
  align-items: start;
}

.dash-panel-link {
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.dash-panel-link:hover {
  color: #1d4ed8;
}

.dash-fulfillment-list {
  display: grid;
  gap: 0.55rem;
}

.dash-fulfillment-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.64rem 0.72rem;
  border: 1px solid #e8edf4;
  border-radius: 11px;
  background: #fbfcfe;
}

.dash-fulfillment-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

.dash-fulfillment-item > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

.dash-fulfillment-item strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.dash-fulfillment-item span:last-child {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
}

.dash-fulfillment-item--new .dash-fulfillment-dot {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.dash-fulfillment-item--processing .dash-fulfillment-dot {
  background: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.dash-fulfillment-item--preparing .dash-fulfillment-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.dash-fulfillment-item--shipped .dash-fulfillment-dot {
  background: #0891b2;
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.11);
}

.dash-fulfillment-item--delivered .dash-fulfillment-dot {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.11);
}

.dash-recent-panel {
  min-width: 0;
}

.dash-recent-table-wrap {
  overflow-x: auto;
}

.dash-recent-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-recent-table th {
  padding: 0 0.65rem 0.55rem;
  border-bottom: 1px solid #e8edf4;
  color: #94a3b8;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dash-recent-table td {
  padding: 0.62rem 0.65rem;
  border-bottom: 1px solid #eef2f7;
  color: #475569;
  font-size: 0.76rem;
  vertical-align: middle;
}

.dash-recent-table tbody tr:last-child td {
  border-bottom: 0;
}

.dash-recent-table tbody tr:hover {
  background: #fbfdff;
}

.dash-recent-table td > strong,
.dash-recent-table td > span {
  display: block;
}

.dash-recent-table td > strong {
  max-width: 180px;
  overflow: hidden;
  color: #172033;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-recent-table td > span:not(.dash-source-badge):not(.dash-order-status) {
  margin-top: 0.12rem;
  color: #94a3b8;
  font-size: 0.67rem;
}

.dash-source-badge,
.dash-order-status {
  display: inline-flex !important;
  padding: 0.25rem 0.42rem;
  border-radius: 7px;
  font-size: 0.65rem !important;
  font-weight: 700;
  white-space: nowrap;
}

.dash-source-badge.online {
  background: #eff6ff;
  color: #1d4ed8;
}

.dash-source-badge.stand {
  background: #f5f3ff;
  color: #6d28d9;
}

.dash-order-status--paid {
  background: #ecfdf5;
  color: #047857 !important;
}

.dash-order-status--pending {
  background: #eff6ff;
  color: #1d4ed8 !important;
}

.dash-order-status--transfer {
  background: #fffbeb;
  color: #b45309 !important;
}

.dash-order-status--cancelled {
  background: #fef2f2;
  color: #b91c1c !important;
}

.dash-order-status--default {
  background: #f1f5f9;
  color: #475569 !important;
}

.dash-recent-amount {
  color: #0f172a !important;
  font-weight: 800;
  white-space: nowrap;
}

.dash-detail-link {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.dash-detail-link:hover {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.dash-bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.dash-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.dash-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.dash-panel-subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.dash-chart-wrap {
  height: 280px;
}

.dash-chart-legend {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dash-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.dash-legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.dash-legend-item--amount::before {
  background: #2563eb;
}

.dash-legend-item--orders::before {
  background: #10b981;
  border-radius: 999px;
}

.dash-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.dash-rank-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.dash-rank-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
}

.dash-rank-badge--1 {
  color: #92400e;
  background: linear-gradient(135deg, #fde68a, #fcd34d);
}

.dash-rank-badge--2 {
  color: #475569;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.dash-rank-badge--3 {
  color: #9a3412;
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.dash-rank-body {
  flex: 1;
  min-width: 0;
}

.dash-rank-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.dash-rank-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-rank-amount {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.dash-rank-bar {
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.dash-rank-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.dash-rank-bar-fill--product {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.dash-rank-meta {
  margin-top: 0.3rem;
  font-size: 0.74rem;
  color: #94a3b8;
}

.dash-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  border-radius: 16px;
  background: #f8fafc;
}

@media (max-width: 1200px) {
  .dash-hero {
    grid-template-columns: 1fr;
  }

  .dash-hero-actions {
    align-self: auto;
  }

  .dash-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dash-operations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .dash-period-grid,
  .dash-mid-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .dash-period-grid,
  .dash-mid-grid {
    grid-template-columns: 1fr;
  }

  .dash-hero {
    padding: 1.25rem;
  }
}

.box-product-chip {
  display: block;
  min-height: 64px;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.box-product-chip:hover {
  border-color: #94a3b8;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.box-product-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.box-product-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dde5ef;
  border-radius: 14px;
  background: #fff;
}

.box-product-panel.included {
  border-top: 3px solid #16a34a;
}

.box-product-panel.available {
  border-top: 3px solid #2563eb;
}

.box-product-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem 0.65rem;
  border-bottom: 1px solid #edf1f6;
}

.box-product-panel-header div {
  display: grid;
  gap: 0.1rem;
}

.box-product-panel-header div > span {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.box-product-panel-header h4 {
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
}

.box-product-count {
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.box-product-search {
  padding: 0.65rem 0.8rem;
  background: #fafcff;
}

.box-product-search input {
  width: 100%;
  min-height: 38px;
  padding: 0.48rem 0.68rem;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  outline: none;
  color: #0f172a;
  font-size: 0.78rem;
}

.box-product-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.08);
}

.box-product-list {
  display: grid;
  gap: 0.45rem;
  max-height: 370px;
  min-height: 86px;
  padding: 0.7rem 0.8rem;
  overflow: auto;
}

.box-product-row {
  display: grid;
  grid-template-columns: 30px minmax(115px, 1fr) minmax(260px, 1.35fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.58rem 0.62rem;
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.box-product-row:hover {
  border-color: #cbd5e1;
  background: #fbfdff;
}

.box-product-state-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 900;
}

.box-product-panel.included .box-product-state-icon {
  background: #dcfce7;
  color: #15803d;
}

.box-product-identity {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.box-product-identity strong {
  overflow: hidden;
  color: #172033;
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.box-product-identity small {
  color: #7b8798;
  font-size: 0.68rem;
}

.box-product-settings {
  display: grid;
  grid-template-columns: minmax(80px, 0.8fr) minmax(105px, 1fr) auto;
  align-items: end;
  gap: 0.45rem;
}

.box-product-setting {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
  margin: 0;
}

.box-product-setting > span,
.box-product-required > span {
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.box-product-setting.readonly strong {
  overflow: visible;
  color: #0f172a;
  font-size: 0.7rem;
  white-space: nowrap;
}

.box-product-setting input {
  width: 100%;
  min-height: 31px;
  padding: 0.3rem 0.45rem;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  color: #0f172a;
  font-size: 0.7rem;
}

.box-product-setting input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.08);
  outline: none;
}

.box-product-required {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0 0.45rem;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #f8fafc;
  cursor: pointer;
  white-space: nowrap;
}

.box-product-required input {
  width: 14px;
  height: 14px;
  accent-color: #2563eb;
}

.box-product-row .btn-sm {
  min-width: 54px;
  padding: 0.32rem 0.48rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
}

.box-product-empty {
  padding: 1.5rem 0.8rem;
  color: #7b8798;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .box-product-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .box-product-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .box-product-settings {
    grid-column: 2 / -1;
  }
}

.box-assignment-page {
  max-width: 1480px;
  margin: 0 auto;
}

.assignment-selector-card {
  margin-bottom: 1rem;
}

.assignment-selector-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.assignment-selector-field {
  flex: 0 1 520px;
}

.assignment-selector-field .form-label {
  margin-bottom: 0.35rem;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
}

.assignment-selector-field .form-select {
  min-height: 44px;
  border-color: #dbe3ee;
  border-radius: 10px;
  font-size: 0.92rem;
}

.assignment-selector-row > .btn {
  min-height: 44px;
  padding-inline: 1.05rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.selected-box-summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 290px;
  margin-left: auto;
  padding: 0.55rem 0.7rem;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #eff6ff;
}

.selected-box-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.selected-box-summary div {
  display: grid;
  line-height: 1.2;
}

.selected-box-summary small {
  color: #64748b;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.selected-box-summary strong {
  margin: 0.12rem 0;
  color: #0f172a;
  font-size: 0.9rem;
}

.selected-box-summary div > span {
  color: #64748b;
  font-size: 0.74rem;
}

.assignment-empty-state {
  display: grid;
  min-height: 320px;
  padding: 2rem;
  place-items: center;
  align-content: center;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.assignment-empty-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 0.8rem;
  place-items: center;
  border-radius: 15px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 1.4rem;
}

.assignment-empty-state h3 {
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 1.05rem;
}

.assignment-empty-state p {
  max-width: 480px;
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}

.assignment-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.assignment-panel {
  min-width: 0;
}

.assignment-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem 0.75rem;
  border-bottom: 1px solid #edf1f6;
}

.assignment-panel-kicker {
  display: block;
  margin-bottom: 0.15rem;
  color: #2563eb;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.assignment-panel-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.assignment-count {
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.assignment-count.assigned {
  background: #dcfce7;
  color: #15803d;
}

.assignment-count.available {
  background: #eaf2ff;
  color: #1d4ed8;
}

.assignment-search {
  padding: 0.75rem 1.05rem;
  background: #fbfcfe;
}

.assignment-search input {
  width: 100%;
  min-height: 40px;
  padding: 0.52rem 0.75rem 0.52rem 2.15rem;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  outline: none;
  background:
    linear-gradient(45deg, transparent 47%, #94a3b8 48%, #94a3b8 54%, transparent 55%) 1rem 1.13rem / 7px 7px no-repeat,
    radial-gradient(circle, transparent 45%, #94a3b8 47%, #94a3b8 58%, transparent 60%) 0.72rem 0.68rem / 12px 12px no-repeat,
    #fff;
  color: #0f172a;
  font-size: 0.82rem;
}

.assignment-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08);
}

.assignment-table-wrap {
  max-height: 590px;
  overflow: auto;
}

.assignment-table {
  width: 100%;
  border-collapse: collapse;
}

.assignment-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 0.62rem 0.85rem;
  border-bottom: 1px solid #e5eaf1;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.assignment-table td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.assignment-table tbody tr:last-child td {
  border-bottom: 0;
}

.assignment-table tbody tr:hover {
  background: #fbfdff;
}

.assignment-student {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 190px;
}

.student-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #eef2ff);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
}

.assignment-student div {
  display: grid;
  gap: 0.12rem;
}

.assignment-student strong {
  color: #172033;
  font-size: 0.82rem;
}

.assignment-student span {
  color: #748096;
  font-size: 0.69rem;
}

.class-badge,
.current-box-badge,
.unassigned-badge {
  display: inline-flex;
  margin: 0.1rem 0.18rem 0.1rem 0;
  padding: 0.25rem 0.42rem;
  border-radius: 7px;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.class-badge {
  background: #f1f5f9;
  color: #475569;
}

.current-box-badge {
  background: #fff7ed;
  color: #c2410c;
}

.unassigned-badge {
  background: #ecfdf5;
  color: #047857;
}

.assignment-table .btn-sm {
  padding: 0.38rem 0.58rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.assignment-list-empty {
  padding: 3rem 1rem;
  color: #7b8798;
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .assignment-selector-row {
    flex-wrap: wrap;
  }

  .selected-box-summary {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .assignment-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .assignment-selector-field {
    flex-basis: 100%;
  }

  .assignment-selector-row > .btn {
    width: 100%;
  }

  .assignment-panel-header {
    align-items: flex-start;
  }

  .assignment-table th:nth-child(2),
  .assignment-table td:nth-child(2) {
    display: none;
  }

  .assignment-table td,
  .assignment-table th {
    padding-inline: 0.65rem;
  }

  .assignment-student {
    min-width: 150px;
  }
}

@media (max-width: 767.98px) {
  .admin-form-page {
    max-width: 100%;
  }

  .admin-form-page .card-body {
    padding: 1rem !important;
  }

  .admin-form-lead {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .admin-form-lead p {
    text-align: left;
  }

  .admin-form-section {
    padding: 0.85rem;
  }

  .product-image-editor-heading,
  .product-image-upload {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-image-upload .btn {
    width: 100%;
  }

  .admin-form-actions .btn {
    flex: 1 1 auto;
  }
}

/* Sales report */
.report-page {
  display: grid;
  gap: 1.15rem;
}

.report-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  min-height: 174px;
  padding: 1.65rem 1.8rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(56, 189, 248, 0.25), transparent 28%),
    linear-gradient(125deg, #0b1730 0%, #113c69 58%, #0f6b76 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.report-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 76px rgba(255, 255, 255, 0.025);
}

.report-hero-badge,
.report-section-eyebrow {
  display: inline-block;
  color: #0ea5e9;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.report-hero-badge {
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(255, 255, 255, 0.08);
}

.report-hero h2 {
  margin: 0.75rem 0 0.35rem;
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.report-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.report-hero-total {
  min-width: 270px;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(5px);
}

.report-hero-total span,
.report-hero-total small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
}

.report-hero-total span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-hero-total strong {
  display: block;
  margin: 0.42rem 0 0.28rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  white-space: nowrap;
}

.report-hero-total small {
  font-size: 0.75rem;
}

.report-filter-card,
.report-panel {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.055);
}

.report-filter-card {
  padding: 1.25rem 1.35rem 1.35rem;
}

.report-filter-card .form-label {
  margin-bottom: 0.38rem;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
}

.report-filter-card .form-control,
.report-filter-card .form-select {
  min-height: 42px;
  border-color: #d9e2ee;
  border-radius: 10px;
  font-size: 0.86rem;
}

.report-filter-card .form-control:focus,
.report-filter-card .form-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.11);
}

.report-filter-card .validation-summary-valid {
  display: none;
}

.report-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.report-section-head h3 {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.report-result-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border: 1px solid #dbe7f4;
  border-radius: 999px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.report-summary-card {
  position: relative;
  overflow: hidden;
  display: block;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.report-summary-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.045;
}

.report-summary-card--revenue {
  color: #0f766e;
}

.report-summary-card--orders {
  color: #2563eb;
}

.report-summary-card--average {
  color: #7c3aed;
}

.report-summary-card--discount {
  color: #ea580c;
}

.report-summary-card--products {
  color: #0891b2;
}

.report-summary-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  color: currentColor;
  background: color-mix(in srgb, currentColor 11%, white);
  font-size: 1rem;
  font-weight: 800;
}

.report-summary-card > div {
  min-width: 0;
}

.report-summary-label,
.report-summary-card small {
  display: block;
}

.report-summary-label {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.report-summary-card strong {
  display: block;
  overflow: hidden;
  margin-top: 0.35rem;
  color: #0f172a;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-summary-card small {
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.69rem;
  line-height: 1.35;
}

.report-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 1rem;
}

.report-panel {
  min-width: 0;
  padding: 1.25rem 1.3rem;
}

.report-school-list,
.report-channel-list {
  display: grid;
  gap: 0.85rem;
}

.report-school-item {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #edf2f7;
}

.report-school-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.report-school-row,
.report-channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.report-school-row > div:first-child {
  min-width: 0;
}

.report-school-row strong,
.report-school-row span {
  display: block;
}

.report-school-row > div:first-child strong {
  overflow: hidden;
  color: #1e293b;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-school-row > div:first-child span,
.report-school-amount span {
  margin-top: 0.18rem;
  color: #94a3b8;
  font-size: 0.7rem;
}

.report-school-amount {
  flex: 0 0 auto;
  text-align: right;
}

.report-school-amount strong {
  color: #0f172a;
  font-size: 0.84rem;
}

.report-progress {
  overflow: hidden;
  height: 6px;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: #edf2f7;
}

.report-progress span {
  display: block;
  width: 0;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.report-channel-card {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.report-channel-card--online {
  background: linear-gradient(145deg, #f0f9ff, #fff);
}

.report-channel-card--stand {
  background: linear-gradient(145deg, #f0fdfa, #fff);
}

.report-channel-head span {
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
}

.report-channel-head strong {
  color: #2563eb;
  font-size: 0.82rem;
}

.report-channel-card--stand .report-channel-head strong {
  color: #0f766e;
}

.report-channel-card--stand .report-progress span {
  background: linear-gradient(90deg, #14b8a6, #0f766e);
}

.report-channel-amount {
  margin-top: 0.55rem;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
}

.report-channel-card small {
  display: block;
  margin-top: 0.55rem;
  color: #94a3b8;
  font-size: 0.72rem;
}

.report-orders-panel {
  padding-bottom: 0.5rem;
}

.report-orders-panel .table-responsive {
  margin-right: -1.3rem;
  margin-left: -1.3rem;
}

.report-table {
  min-width: 1180px;
  margin-bottom: 0;
  font-size: 0.78rem;
}

.report-table thead th {
  padding: 0.75rem 0.8rem;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #dfe7f1;
  color: #64748b;
  background: #f8fafc;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.report-table thead th:first-child,
.report-table tbody td:first-child {
  padding-left: 1.3rem;
}

.report-table thead th:last-child,
.report-table tbody td:last-child {
  padding-right: 1.3rem;
}

.report-table tbody td {
  padding: 0.8rem;
  border-bottom-color: #edf2f7;
  color: #334155;
  vertical-align: middle;
}

.report-table tbody tr:hover td {
  background: #fbfdff;
}

.report-table-sub {
  display: block;
  margin-top: 0.18rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 500;
}

.report-source,
.report-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.25rem 0.52rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
}

.report-source--online {
  color: #1d4ed8;
  background: #dbeafe;
}

.report-source--stand {
  color: #0f766e;
  background: #ccfbf1;
}

.report-status--paid {
  color: #047857;
  background: #d1fae5;
}

.report-status--pending {
  color: #1d4ed8;
  background: #dbeafe;
}

.report-status--transfer {
  color: #a16207;
  background: #fef3c7;
}

.report-status--cancelled {
  color: #b91c1c;
  background: #fee2e2;
}

.report-status--default {
  color: #475569;
  background: #e2e8f0;
}

.report-empty {
  padding: 2rem 1rem !important;
  color: #94a3b8 !important;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1199.98px) {
  .report-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .report-insight-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767.98px) {
  .report-page {
    gap: 0.9rem;
  }

  .report-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: auto;
    padding: 1.3rem;
    border-radius: 19px;
  }

  .report-hero-total {
    min-width: 0;
  }

  .report-filter-card,
  .report-panel {
    padding: 1rem;
    border-radius: 17px;
  }

  .report-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .report-summary-card {
    padding: 0.85rem;
  }

  .report-summary-icon {
    margin-bottom: 0.6rem;
  }

  .report-summary-card strong {
    font-size: 1rem;
  }

  .report-channel-list {
    grid-template-columns: 1fr;
  }

  .report-orders-panel .table-responsive {
    margin-right: -1rem;
    margin-left: -1rem;
  }
}

@media (max-width: 420px) {
  .report-summary-grid {
    grid-template-columns: 1fr;
  }
}

.school-logo-thumb,
.school-logo-preview {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.school-logo-preview {
  width: 110px;
  height: 110px;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-hint {
  color: #64748b;
  font-size: 0.9rem;
}

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

  .admin-sidebar {
    border-radius: 0 0 24px 24px;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .admin-content {
    padding: 1rem;
  }

  .page-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .header,
  .hero,
  .steps,
  .policy-row {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-card {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .header {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header nav {
    gap: 14px 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .input-row {
    flex-direction: column;
  }

  .input-row button {
    width: 100%;
  }

  .hero-card {
    min-height: 390px;
    padding: 22px;
  }

  .hero-illustration {
    right: 0;
    bottom: 0;
    transform: scale(0.82);
    transform-origin: bottom right;
  }

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

/* Public corporate pages and shared footer */
.site-footer {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  color: #dbe7f7;
  background:
    radial-gradient(circle at 12% 0, rgba(27, 111, 238, 0.24), transparent 32%),
    #071632;
}

.site-footer-inner,
.site-footer-bottom {
  width: min(1224px, calc(100% - 64px));
  margin: 0 auto;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(150px, 0.6fr) minmax(190px, 0.8fr) minmax(220px, 1fr);
  gap: 42px;
  padding: 52px 0 42px;
}

.site-footer-brand a {
  display: inline-flex;
  max-width: 220px;
  color: #fff;
  text-decoration: none;
}

.site-footer-brand p {
  max-width: 370px;
  margin: 18px 0 0;
  color: #9fb0c8;
  line-height: 1.65;
}

.site-footer-links,
.site-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.site-footer-links span,
.site-footer-contact span {
  margin-bottom: 5px;
  color: #6f85a4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer-links a,
.site-footer-contact a {
  color: #e8f0fb;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
  color: #ff8a3d;
  transform: translateX(3px);
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(219, 231, 247, 0.12);
  color: #7185a1;
  font-size: 0.78rem;
}

.corporate-page {
  --corporate-ink: #071632;
  --corporate-blue: #0b63e5;
  --corporate-orange: #ff6b00;
  width: min(1224px, calc(100% - 64px));
  margin: 0 auto;
  padding: 50px 0 88px;
}

.corporate-hero {
  position: relative;
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 60px;
  padding: 68px;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 34px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(11, 99, 229, 0.05) 46px 47px);
  box-shadow: 0 28px 80px rgba(15, 43, 84, 0.08);
}

.corporate-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -90px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
}

.corporate-hero-copy {
  position: relative;
  z-index: 2;
}

.corporate-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  color: #52647d;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.corporate-back::before {
  content: "←";
  color: var(--corporate-blue, #0b63e5);
}

.corporate-back:hover {
  color: var(--corporate-blue, #0b63e5);
}

.corporate-eyebrow,
.corporate-section-label {
  display: block;
  color: var(--corporate-orange, #ff6b00);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.corporate-hero h1,
.legal-hero h1 {
  max-width: 760px;
  margin: 13px 0 20px;
  color: var(--corporate-ink, #071632);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.corporate-hero-copy > p,
.legal-hero > p {
  max-width: 680px;
  margin: 0;
  color: #52647d;
  font-size: 1.08rem;
  line-height: 1.75;
}

.corporate-hero-mark {
  position: relative;
  z-index: 1;
  min-height: 270px;
  display: grid;
  place-items: center;
}

.corporate-hero-mark span {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 38px solid #0b63e5;
  border-right-color: #ff6b00;
  border-radius: 42% 58% 63% 37% / 48% 38% 62% 52%;
  transform: rotate(-13deg);
  box-shadow: 0 26px 46px rgba(11, 99, 229, 0.18);
}

.corporate-hero-mark strong {
  position: relative;
  z-index: 1;
  max-width: 190px;
  padding: 14px 18px;
  color: #071632;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 40px rgba(7, 22, 50, 0.13);
  text-align: center;
}

.corporate-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 80px;
  padding: 86px 38px 0;
}

.corporate-article h2 {
  margin: 14px 0 24px;
  color: #071632;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.corporate-article p,
.corporate-custom-content {
  color: #516074;
  font-size: 1rem;
  line-height: 1.85;
}

.corporate-custom-content {
  margin-top: 22px;
  white-space: pre-line;
}

.corporate-value-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.corporate-value-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid #dfe8f4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 22, 50, 0.05);
}

.corporate-value-card > span {
  color: #0b63e5;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.corporate-value-card strong {
  color: #071632;
  font-size: 1.05rem;
}

.corporate-value-card p {
  margin: 7px 0 0;
  color: #66758a;
  line-height: 1.55;
}

.contact-orbit {
  position: relative;
  z-index: 1;
  width: 270px;
  height: 270px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(11, 99, 229, 0.2);
  border-radius: 50%;
}

.contact-orbit::before,
.contact-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(11, 99, 229, 0.15);
  border-radius: 50%;
}

.contact-orbit::before {
  inset: 30px;
}

.contact-orbit::after {
  inset: 68px;
}

.contact-orbit-core {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b63e5, #0846a6);
  font-size: 2.4rem;
  font-weight: 850;
  box-shadow: 0 22px 40px rgba(11, 99, 229, 0.28);
}

.contact-orbit i,
.contact-orbit b {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.contact-orbit i {
  top: 18px;
  right: 52px;
  background: #ff6b00;
}

.contact-orbit b {
  bottom: 39px;
  left: 25px;
  background: #84cc16;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.contact-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #071632;
  border: 1px solid #dce7f5;
  border-radius: 24px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(7, 22, 50, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

a.contact-card:hover {
  color: #071632;
  border-color: #0b63e5;
  transform: translateY(-4px);
}

.contact-card-label {
  margin-bottom: auto;
  color: #0b63e5;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: 1.18rem;
  line-height: 1.45;
}

.contact-card small {
  margin-top: 9px;
  color: #7b8798;
}

.contact-card--address {
  background: #071632;
  color: #fff;
}

.contact-card--address .contact-card-label {
  color: #ff8a3d;
}

.contact-card--address small {
  color: #9fb0c8;
}

.company-identity-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid #dce7f5;
  border-radius: 20px;
  background: #eef5ff;
}

.company-identity-strip div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.company-identity-strip span {
  color: #73839a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-identity-strip strong {
  color: #071632;
}

.corporate-empty-state {
  margin-top: 34px;
  padding: 54px;
  border: 1px dashed #b9cbe3;
  border-radius: 28px;
  background: #fff;
  text-align: center;
}

.corporate-empty-state span {
  color: #ff6b00;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.corporate-empty-state h2 {
  margin: 12px 0;
  color: #071632;
}

.corporate-empty-state p {
  margin: 0;
  color: #66758a;
}

.legal-page {
  max-width: 1060px;
}

.legal-hero {
  position: relative;
  padding: 70px 72px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(7, 22, 50, 0.97), rgba(10, 61, 133, 0.94)),
    #071632;
}

.legal-hero::after {
  content: "KV";
  position: absolute;
  right: 48px;
  bottom: -44px;
  color: rgba(255, 255, 255, 0.045);
  font-size: 13rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
}

.legal-hero .corporate-back {
  position: relative;
  z-index: 1;
  color: #a8b8ce;
}

.legal-hero .corporate-eyebrow {
  position: relative;
  z-index: 1;
  color: #ff8a3d;
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
}

.legal-hero > p {
  position: relative;
  z-index: 1;
  color: #b8c7da;
}

.legal-document {
  margin: -1px 28px 0;
  padding: 38px 50px 16px;
  border: 1px solid #dfe8f4;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 22, 50, 0.06);
}

.legal-document > section {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid #e7edf5;
}

.legal-document > section:last-child {
  border-bottom: 0;
}

.legal-index {
  width: 42px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #0b63e5;
  border-radius: 8px;
  background: #eaf3ff;
  font-size: 0.72rem;
  font-weight: 850;
}

.legal-document h2 {
  margin: 0 0 14px;
  color: #071632;
  font-size: 1.18rem;
  font-weight: 800;
}

.legal-document p {
  margin: 0 0 12px;
  color: #56667b;
  line-height: 1.8;
}

.legal-contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.legal-contact-list a,
.legal-contact-list span {
  color: #0b63e5;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.information-custom-content {
  min-height: 300px;
  padding: 24px 0 42px;
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .corporate-hero {
    grid-template-columns: 1fr;
    padding: 48px;
  }

  .corporate-hero-mark,
  .contact-orbit {
    display: none;
  }

  .corporate-content-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-page {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    box-sizing: border-box;
  }

  .site-footer-inner,
  .site-footer-bottom,
  .corporate-page {
    width: calc(100% - 32px);
    max-width: 1224px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .site-footer-brand {
    grid-column: auto;
  }

  .site-footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .corporate-page {
    padding-top: 24px;
    padding-bottom: 54px;
  }

  .corporate-hero {
    min-height: 0;
    padding: 34px 26px 42px;
    border-radius: 24px;
  }

  .corporate-hero h1,
  .legal-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .corporate-content-grid {
    padding-top: 52px;
  }

  .corporate-value-card {
    grid-template-columns: 38px 1fr;
    padding: 20px;
  }

  .contact-card {
    min-height: 165px;
    padding: 23px;
  }

  .company-identity-strip {
    gap: 24px;
  }

  .legal-hero {
    padding: 42px 28px 50px;
    border-radius: 24px;
  }

  .legal-hero::after {
    right: 12px;
    font-size: 8rem;
  }

  .legal-document {
    margin: 0;
    padding: 18px 24px 10px;
    border-top: 1px solid #dfe8f4;
    border-radius: 20px;
  }

  .legal-document > section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }
}
