:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --bg-soft: #eef2ff;
  --surface: #ffffff;
  --surface-alt: #f8fbff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --line: rgba(148, 163, 184, 0.24);
  --shadow-sm: 0 12px 30px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 24px 64px rgba(15, 23, 42, 0.1);
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.92)),
    url("../images/nen.jpg") center / cover fixed no-repeat;
}

.left-quick-menu {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.quick-menu-item {
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--text-soft);
  background: transparent;
  position: relative;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.quick-menu-item span {
  position: absolute;
  left: calc(100% + 0.8rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.quick-menu-item:hover,
.quick-menu-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--primary);
  transform: translateX(2px);
}

.quick-menu-item:hover span,
.quick-menu-item.active span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.left-menu-header-trigger {
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  align-items: center;
  justify-content: center;
}

.left-menu-header-trigger i {
  font-size: 1.1rem;
  color: var(--text);
}

.quick-menu-mobile {
  display: grid;
  gap: 0.85rem;
}

.quick-menu-mobile-item {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface-alt);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 600;
}

.quick-menu-mobile-item:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.24);
}

.site-shell {
  min-height: 100vh;
}

.site-header .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-mark strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark small {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.brand-mark-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.22));
  color: var(--primary);
  font-size: 1.15rem;
}

.nav-link,
.footer-links a,
.section-head a,
.link-dark {
  color: var(--text);
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover,
.footer-links a:hover,
.section-head a:hover {
  color: var(--primary);
}

.nav-greeting {
  color: var(--text-soft);
}

.cart-link .badge {
  margin-left: 0.35rem;
}

.btn {
  border-radius: 14px;
  font-weight: 600;
  padding: 0.72rem 1.15rem;
}

.btn-sm {
  border-radius: 12px;
}

.btn-accent {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-gradient {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.22);
}

.btn-gradient:hover,
.btn-gradient:focus {
  color: #fff;
  filter: brightness(1.04);
}

.btn-outline-dark,
.btn-outline-primary {
  border-width: 1.5px;
}

.hero-section,
.section-pad,
.page-banner,
.auth-section {
  padding: 5.2rem 0;
}

.page-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.08));
}

.hero-panel,
.content-card,
.info-card,
.template-card,
.auth-card,
.stats-card,
.detail-card,
.success-card,
.filter-box,
.empty-state,
.chat-box,
.sidebar-card,
.post-preview-card,
.reason-card,
.testimonial-card,
.product-card,
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.14), transparent 24%),
    var(--surface);
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
}

.eyebrow {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

.pill {
  color: var(--secondary);
  background: rgba(124, 58, 237, 0.1);
}

.pill-blue {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

.pill-purple {
  color: var(--secondary);
  background: rgba(124, 58, 237, 0.12);
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 900;
  max-width: 11ch;
}

.hero-copy,
.section-kicker + h2 + p,
.content-card p,
.product-card p,
.template-card p,
.category-card p,
.reason-card p,
.testimonial-card p,
.footer-brand p {
  color: var(--text-muted);
}

.hero-copy {
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-mini-stats div {
  min-width: 10rem;
}

.hero-mini-stats strong {
  display: block;
  font-size: 1.45rem;
  color: var(--text);
}

.hero-mini-stats span,
.dashboard-card span,
.dashboard-stat span,
.achievement-card span,
.testimonial-user span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.hero-orb-a {
  top: 0;
  right: 1rem;
  width: 220px;
  height: 220px;
  background: rgba(37, 99, 235, 0.16);
}

.hero-orb-b {
  bottom: 2rem;
  left: 0;
  width: 180px;
  height: 180px;
  background: rgba(124, 58, 237, 0.15);
}

.dashboard-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(191, 219, 254, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.dashboard-main {
  position: absolute;
  inset: 2.4rem 2.8rem auto 1rem;
  padding: 2rem;
}

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

.muted-dot {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.dashboard-main h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.dashboard-bars {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.dashboard-bars span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.3));
}

.dashboard-bars span:nth-child(1) { width: 88%; }
.dashboard-bars span:nth-child(2) { width: 72%; }
.dashboard-bars span:nth-child(3) { width: 94%; }

.dashboard-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
}

.dashboard-float i {
  font-size: 1.2rem;
  color: var(--primary);
}

.dashboard-float strong,
.dashboard-stat strong,
.achievement-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

.dashboard-float-a {
  right: 1rem;
  top: 1rem;
}

.dashboard-float-b {
  left: 0.25rem;
  bottom: 4rem;
}

.dashboard-grid {
  position: absolute;
  right: 2rem;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
}

.dashboard-stat {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.8);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}

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

.section-head h2 {
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.62), rgba(248, 250, 252, 0));
}

.category-card,
.reason-card,
.template-card,
.testimonial-card,
.post-preview-card,
.about-photo-card,
.process-card,
.resource-card {
  padding: 1.7rem;
  height: 100%;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card p {
  margin-bottom: 0;
}

.category-icon,
.reason-icon,
.product-thumb-icon,
.testimonial-avatar {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.category-icon,
.reason-icon {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.14));
  color: var(--primary);
  font-size: 1.2rem;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.category-card:hover,
.template-card:hover,
.reason-card:hover,
.testimonial-card:hover,
.post-preview-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.22);
}

.product-thumb {
  min-height: 172px;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.12)),
    linear-gradient(180deg, #ffffff, #f5f8ff);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-thumb-image {
  width: 100%;
  height: 172px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.product-thumb-icon {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 1.25rem;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  min-height: 250px;
}

.product-card h3,
.template-card h3,
.category-card h3,
.reason-card h3,
.post-preview-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.template-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.template-visual i {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
  font-size: 1.2rem;
}

.template-visual-image {
  width: 4.5rem;
  height: 3.2rem;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.template-media {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.1));
}

.template-media-image,
.template-detail-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.template-media-image {
  height: 220px;
}

.template-media-placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(37, 99, 235, 0.72);
  font-size: 2.6rem;
}

.template-detail-media {
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
}

.template-detail-image {
  max-height: 420px;
}

.article-hero-media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
}

.article-hero-image {
  width: 100%;
  max-height: 460px;
  display: block;
  object-fit: cover;
}

.article-excerpt {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  color: var(--text-soft);
}

.article-body {
  white-space: pre-wrap;
  line-height: 1.85;
  color: var(--text);
}

.product-detail-summary {
  white-space: pre-wrap;
}

.product-hero-media {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.product-hero-image {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: cover;
}

.admin-image-preview {
  width: 100%;
  max-width: 280px;
  max-height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-table-thumb {
  width: 88px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: block;
}

.admin-table-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.12));
  color: rgba(37, 99, 235, 0.72);
  font-size: 1.1rem;
}

.reason-card {
  background: var(--surface-alt);
}

.process-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

.resource-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.resource-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.14));
  color: var(--secondary);
  font-size: 1.2rem;
}

.about-highlight {
  padding: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}

.about-visual {
  height: 100%;
}

.about-photo-card {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.1)),
    #ffffff;
  min-height: 100%;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.6rem 0;
}

.achievement-card {
  padding: 1.15rem;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.testimonial-card {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.testimonial-avatar {
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.22));
  color: var(--primary);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: var(--surface-alt);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
}

.profile-avatar {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.2));
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.profile-info-list,
.profile-order-list {
  display: grid;
  gap: 0.9rem;
}

.profile-info-item,
.profile-order-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--surface-alt);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.profile-info-item span,
.profile-order-item span {
  color: var(--text-soft);
}

.profile-order-item {
  color: var(--text);
  text-decoration: none;
}

.profile-order-item strong {
  display: block;
}

.cta-panel {
  padding: 2.3rem;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.25);
  color: #fff;
}

.cta-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.site-footer {
  margin-top: 3rem;
  background: #0f172a;
  color: #fff;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-links {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-links a,
.footer-links span {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links i {
  margin-right: 0.45rem;
}

.site-footer h6 {
  margin-bottom: 1rem;
  color: #fff;
}

.auth-card {
  max-width: 560px;
  margin: 0 auto;
}

.filter-box,
.content-card,
.detail-card,
.success-card,
.empty-state,
.chat-box {
  padding: 1.5rem;
}

.chat-box {
  min-height: 420px;
}

.chat-line {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  margin-bottom: 0.9rem;
  max-width: 85%;
}

.chat-line.user {
  background: rgba(37, 99, 235, 0.12);
  margin-left: auto;
}

.chat-line.admin {
  background: rgba(124, 58, 237, 0.1);
}

.feature-list {
  padding-left: 1rem;
}

.feature-list li {
  margin-bottom: 0.6rem;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.chatbot-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(360px, calc(100vw - 2rem));
  z-index: 1080;
}

.chatbot-panel {
  margin-top: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.chatbot-toggle-icon {
  margin-right: 0.5rem;
}

.chatbot-log {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.chatbot-bubble {
  padding: 0.85rem 1rem;
  border-radius: 18px;
}

.chatbot-bubble.bot {
  background: rgba(37, 99, 235, 0.08);
}

.chatbot-bubble.user {
  background: rgba(124, 58, 237, 0.12);
  align-self: flex-end;
}

.admin-shell {
  padding: 1.75rem 0;
}

.admin-sidebar,
.admin-main {
  padding: 1rem;
}

.sidebar-card {
  padding: 1.25rem;
  position: sticky;
  top: 100px;
}

.sidebar-card .nav-link {
  padding: 0.78rem 0.95rem;
  border-radius: 14px;
}

.sidebar-card .nav-link:hover {
  background: rgba(37, 99, 235, 0.08);
}

.admin-header {
  margin-bottom: 1.5rem;
}

.stats-card {
  padding: 1.25rem;
}

.table {
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  padding: 1rem 0.75rem;
}

@media (max-width: 1199px) {
  .hero-panel,
  .about-highlight {
    padding: 2rem;
  }

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

  .dashboard-main {
    inset: 2rem 2rem auto 0.5rem;
  }
}

@media (max-width: 991px) {
  .hero-section,
  .section-pad,
  .page-banner,
  .auth-section {
    padding: 4rem 0;
  }

  .section-head,
  .cart-summary {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .chatbot-widget {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .dashboard-main {
    position: relative;
    inset: auto;
    margin: 2rem 0 0;
  }

  .dashboard-float,
  .dashboard-grid {
    position: relative;
    inset: auto;
    margin-top: 1rem;
  }

  .dashboard-grid {
    right: auto;
    bottom: auto;
  }

  .navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .brand-mark {
    gap: 0.65rem;
  }

  .brand-mark strong {
    font-size: 0.95rem;
  }

  .brand-mark small {
    font-size: 0.72rem;
  }

  .navbar-brand {
    min-width: 0;
  }

  .navbar-toggler {
    justify-self: end;
  }
}

@media (max-width: 575px) {
  .hero-panel,
  .about-highlight,
  .cta-panel {
    padding: 1.5rem;
  }

  .hero-mini-stats {
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero-title {
    max-width: none;
  }

  .chatbot-widget {
    left: auto;
    right: 0.85rem;
    bottom: 0.85rem;
    width: 68px;
  }

  .chatbot-widget .btn-gradient {
    width: 68px !important;
    height: 68px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
  }

  .chatbot-toggle-icon {
    margin-right: 0;
    font-size: 1.2rem;
  }

  .chatbot-toggle-label {
    display: none;
  }

  .chatbot-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: min(360px, calc(100vw - 1.5rem));
    max-height: 70vh;
  }

  .chatbot-log {
    max-height: 42vh;
  }
}
