/* ==========================================================================
   فروشگاه باگ باز — shop.bugbazdev.ir
   استایل مستقل فروشگاه، هم‌راستا با هویت بصری سایت اصلی
   ========================================================================== */

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #3758f9;
  --primary-dark: #2442c9;
  --primary-soft: #eef2ff;
  --dark: #090e34;
  --dark-2: #111a44;
  --green: #13c296;
  --green-soft: #e6faf4;
  --amber: #d97706;
  --amber-soft: #fff7e6;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --purple: #7c3aed;
  --purple-soft: #f3eefe;
  --ink: #111928;
  --body: #4b5563;
  --muted: #7a8699;
  --line: #e5e9f2;
  --line-strong: #d7deec;
  --soft: #f6f8fc;
  --soft-2: #f0f4fd;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 10px rgba(9, 14, 52, 0.05);
  --shadow: 0 14px 40px rgba(9, 14, 52, 0.09);
  --shadow-lg: 0 26px 70px rgba(9, 14, 52, 0.16);
  --font: "Vazir", "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 800;
}

h1 {
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -0.4px;
}

h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.3px;
}

h3 {
  font-size: 20px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

svg {
  flex-shrink: 0;
}

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(55, 88, 249, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  right: 20px;
  z-index: 2000;
  background: var(--dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14.5px;
}

.is-free {
  color: var(--green) !important;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons, links, badges
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(55, 88, 249, 0.24);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 14px 30px rgba(55, 88, 249, 0.3);
}

.btn--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: #172052;
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}

.btn--light:hover {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: var(--primary-dark);
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 10px;
}

.btn--sm svg {
  width: 15px;
  height: 15px;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 17px;
  border-radius: 13px;
}

.btn--block {
  width: 100%;
}

.btn--block + .btn--block {
  margin-top: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.text-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.text-link--sm {
  font-size: 14.5px;
  font-weight: 600;
}

.link-danger {
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.link-danger:hover {
  color: #a61b1b;
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.9;
  white-space: nowrap;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.badge--lg {
  padding: 7px 16px;
  font-size: 15px;
}

.badge--warning {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge--info {
  background: #eaf4ff;
  color: #0369a1;
}

.badge--primary {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.badge--success {
  background: var(--green-soft);
  color: #087f5b;
}

.badge--muted {
  background: #f1f3f7;
  color: #64748b;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
}

.section-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.section-eyebrow--light {
  color: #dbe4ff;
}

.section-eyebrow--light::before {
  background: #dbe4ff;
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--dark);
  color: #c8d0e2;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 194, 150, 0.16);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.topbar__links a {
  transition: color 0.2s ease;
}

.topbar__links a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(9, 14, 52, 0.09);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 62px;
  border-radius: 12px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.55;
}

.brand__text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.brand__text small {
  font-size: 12.5px;
  color: var(--muted);
}

.main-nav {
  margin-inline-start: auto;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

.main-nav__list > li {
  position: relative;
}

.main-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 28px 0;
  color: #374151;
  font-size: 15.8px;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav__list > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav__list > li > a:hover,
.main-nav__list > li > a.is-active {
  color: var(--primary);
}

.main-nav__list > li > a:hover::after,
.main-nav__list > li > a.is-active::after {
  transform: scaleX(1);
}

.chev {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.has-menu:hover .chev,
.has-menu:focus-within .chev {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 14px);
  right: 50%;
  width: 620px;
  max-width: calc(100vw - 40px);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 95;
}

.has-menu:hover .mega-menu,
.has-menu:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(50%, 0);
}

.mega-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.mega-menu__head p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}

.mega-menu__head a {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mega-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 12px;
  transition: background-color 0.18s ease;
}

.mega-cat:hover {
  background: var(--soft);
}

.mega-cat__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
  flex-shrink: 0;
}

.mega-cat__icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.mega-cat strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.mega-cat small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.main-nav__mobile-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #374151;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #fff;
}

.header-cta {
  margin-inline-start: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-inline-start: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background: linear-gradient(135deg, #2f4ee3 0%, #3758f9 46%, #4f6bff 100%);
  border-radius: 0 0 38px 38px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px
    );
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero__glow--one {
  width: 440px;
  height: 440px;
  top: -190px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 68%);
}

.hero__glow--two {
  width: 520px;
  height: 520px;
  bottom: -260px;
  right: -80px;
  background: radial-gradient(circle, rgba(9, 14, 52, 0.3), transparent 68%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 54px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #eef2ff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(110, 231, 183, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.45;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.hero__highlight {
  display: inline-block;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  line-height: 1.55;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 24px;
  color: #dfe5ff;
  font-size: 16.5px;
  line-height: 2;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 580px;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(9, 14, 52, 0.22);
  color: var(--muted);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15.5px;
}

.hero-search input::placeholder {
  color: #9aa4b8;
}

.hero-search .btn {
  height: 44px;
  padding: 0 20px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.hero-chip {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #e8edff;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.hero-chip:hover {
  background: #fff;
  color: var(--primary-dark);
}

.hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 30px;
}

.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline: 22px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__stats > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.hero__stats strong {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.hero__stats span {
  color: #cfd8ff;
  font-size: 13px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-orbit--one {
  width: 400px;
  height: 400px;
}

.hero-orbit--two {
  width: 300px;
  height: 300px;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(100%, 332px);
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(6, 12, 48, 0.34);
  transform: rotate(-1.6deg);
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-card__eyebrow {
  color: var(--muted);
  font-size: 12.5px;
}

.hero-card__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.hero-card__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
}

.hero-card__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.hero-card h2 {
  font-size: 19px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.hero-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 14px;
  min-height: 42px;
}

.hero-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 12px 0;
  margin-bottom: 12px;
  border-top: 1px dashed var(--line);
}

.hero-card__price small,
.hero-card__price span {
  color: var(--muted);
  font-size: 12.5px;
}

.hero-card__price strong {
  color: var(--dark);
  font-size: 19px;
  font-weight: 800;
}

.hero-card .btn {
  padding: 10px;
  font-size: 14.5px;
}

.hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(6, 12, 48, 0.24);
}

.hero-float--support {
  top: 22px;
  left: -6px;
}

.hero-float--guarantee {
  bottom: 16px;
  right: 0;
}

.hero-float__icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
}

.hero-float__icon--green {
  background: var(--green-soft);
  color: #087f5b;
}

.hero-float strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.hero-float small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Trust strip & generic sections
   -------------------------------------------------------------------------- */

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 18px 0;
}

.trust-strip__inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  font-size: 14.5px;
  font-weight: 500;
}

.trust-strip__inner svg {
  color: var(--primary);
}

.section {
  padding: 68px 0;
}

.section--soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--body);
  font-size: 15.5px;
}

.section-head--center {
  display: block;
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head--center .section-eyebrow::before {
  display: none;
}

.section-head--center p {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent, var(--primary));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent, var(--primary));
  box-shadow: var(--shadow);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card__num {
  position: absolute;
  top: 16px;
  left: 18px;
  color: #c3cbdb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.category-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 17px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #3758f9) 16%, #fff);
}

.category-card__icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.category-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.category-card p {
  flex: 1;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.category-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--accent, var(--primary));
  font-size: 13px;
  font-weight: 600;
}

.category-card__foot svg {
  transition: transform 0.2s ease;
}

.category-card:hover .category-card__foot svg {
  transform: translateX(-4px);
}

/* --------------------------------------------------------------------------
   Product grid & cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ccd7f8;
  box-shadow: var(--shadow);
}

.product-card__visual {
  position: relative;
  height: 124px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f2f5ff;
  background: color-mix(in srgb, var(--accent, #3758f9) 8%, #fff);
  border-bottom: 1px solid
    color-mix(in srgb, var(--accent, #3758f9) 12%, #fff);
}

.product-card__visual img {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(9, 14, 52, 0.12));
  transition: transform 0.25s ease;
}

.product-card:hover .product-card__visual img {
  transform: scale(1.07) rotate(-2deg);
}

.product-card__glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, #3758f9) 17%, transparent);
  filter: blur(6px);
}

.product-card__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(9, 14, 52, 0.12);
}

.product-card__cat {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 10px;
  color: color-mix(in srgb, var(--accent, #3758f9) 85%, #111);
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-card__title {
  margin-bottom: 5px;
  font-size: 17.5px;
  line-height: 1.65;
}

.product-card__title a {
  transition: color 0.18s ease;
}

.product-card__title a:hover {
  color: var(--primary);
}

.product-card__tagline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.mini-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.mini-checks li {
  position: relative;
  padding-inline-start: 20px;
  color: #596477;
  font-size: 13px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-checks li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  right: 0;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: #0b8f68;
  font-size: 10px;
  font-weight: 800;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--soft);
  color: #5b6779;
  font-size: 11.5px;
  font-weight: 500;
}

.meta-chip svg {
  width: 12px;
  height: 12px;
}

.meta-chip--soft {
  background: var(--primary-soft);
  color: var(--primary);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
}

.product-price {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.product-price__value {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.product-price__period {
  color: var(--muted);
  font-size: 11px;
}

.product-card__footer .btn {
  padding: 7px 11px;
  font-size: 12.5px;
  border-radius: 8px;
  gap: 4px;
  box-shadow: none;
}

.product-card__footer .btn svg {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Process, why us, testimonials, FAQ, CTA
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.process-card:hover::after {
  transform: scaleY(1);
}

.process-card__num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.35;
}

.process-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 54px;
}

.why-copy h2 {
  font-size: clamp(25px, 2.5vw, 34px);
  margin-bottom: 14px;
}

.why-copy > p {
  color: var(--body);
  font-size: 15.5px;
  line-height: 2;
  margin-bottom: 20px;
}

.large-checks {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.large-checks li {
  position: relative;
  padding-inline-start: 30px;
  color: #374151;
  font-size: 15px;
}

.large-checks li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  right: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: #0b8f68;
  font-size: 13px;
  font-weight: 800;
}

.why-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(140deg, #eef2ff, #f8faff 64%);
  border: 1px solid #e0e7ff;
}

.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5eaff;
  box-shadow: var(--shadow-sm);
}

.stat-tile strong {
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.stat-tile span {
  color: var(--muted);
  font-size: 13px;
}

.stat-tile--accent {
  background: var(--dark);
  border-color: var(--dark);
}

.stat-tile--accent strong {
  color: #fff;
}

.stat-tile--accent span {
  color: #aab6d8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 1px;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 18px;
  color: #374151;
  font-size: 14.5px;
  line-height: 2;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
}

.testimonial-card figcaption small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-intro h2 {
  margin-bottom: 12px;
}

.faq-intro p {
  color: var(--body);
  font-size: 15.5px;
  line-height: 2;
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #c7d3fb;
  box-shadow: 0 8px 28px rgba(55, 88, 249, 0.07);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--primary);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 2;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.faq-answer p {
  margin-bottom: 8px;
}

.cta-section {
  padding: 20px 0 72px;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 42px 46px;
  border-radius: 26px;
  background: linear-gradient(120deg, #213bb8, #3758f9 58%, #5874ff);
  color: #fff;
  box-shadow: 0 24px 60px rgba(55, 88, 249, 0.24);
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(25px, 2.6vw, 33px);
  margin-bottom: 8px;
}

.cta-card p {
  max-width: 580px;
  margin: 0;
  color: #e0e6ff;
  font-size: 15px;
  line-height: 1.95;
}

.cta-card__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cta-card__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  top: -200px;
  left: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(10px);
}

/* --------------------------------------------------------------------------
   Page heads, breadcrumb, listing
   -------------------------------------------------------------------------- */

.page-head {
  padding: 34px 0 38px;
  background: linear-gradient(180deg, var(--soft), #fbfcff);
  border-bottom: 1px solid var(--line);
}

.page-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-head__row--center {
  justify-content: center;
  text-align: center;
}

.page-head__row--center .section-eyebrow::before {
  display: none;
}

.page-head h1 {
  margin-bottom: 8px;
  font-size: clamp(27px, 3vw, 36px);
}

.page-head p {
  max-width: 680px;
  margin: 0;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.95;
}

.page-head__badge {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.page-head--legal {
  padding-bottom: 42px;
}

.page-head--legal p {
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  transition: color 0.18s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.listing-head {
  position: relative;
  overflow: hidden;
  padding: 34px 0 44px;
  background: linear-gradient(135deg, #f3f6ff, #fbfcff 62%);
  border-bottom: 1px solid var(--line);
}

.listing-head__glow {
  position: absolute;
  top: -180px;
  left: 6%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 88, 249, 0.14), transparent 66%);
  pointer-events: none;
}

.listing-head .container {
  position: relative;
  z-index: 1;
}

.listing-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.listing-head h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.2vw, 39px);
}

.listing-head p {
  max-width: 690px;
  margin: 0;
  color: var(--body);
  font-size: 15.5px;
  line-height: 2;
}

.listing-head__count {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 112px;
  padding: 15px 18px;
  border: 1px solid #dde5ff;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}

.listing-head__count strong {
  color: var(--primary);
  font-size: 25px;
  font-weight: 800;
}

.listing-head__count span {
  color: var(--muted);
  font-size: 12.5px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  align-items: start;
  gap: 26px;
  padding: 34px 0 68px;
}

.catalog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.filter-card__title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  color: #4b5563;
  font-size: 14.5px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.filter-list a:hover {
  background: var(--soft);
  color: var(--primary);
}

.filter-list a.is-active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.filter-count {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
}

.filter-list a.is-active .filter-count {
  background: #fff;
  color: var(--primary);
}

.filter-help {
  padding: 18px;
  border: 1px solid #dfe7ff;
  border-radius: 16px;
  background: linear-gradient(150deg, #eef2ff, #f8faff);
}

.filter-help__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.filter-help h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.filter-help p {
  margin-bottom: 13px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.9;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: 440px;
  padding-inline: 8px;
  color: var(--muted);
}

.catalog-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
}

.catalog-search button {
  padding: 6px 13px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.catalog-sort label {
  color: var(--muted);
  font-size: 13px;
}

.catalog-sort select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  cursor: pointer;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
}

.filter-pill a {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  line-height: 1;
}

.product-grid--listing {
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.pagination__btn {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease,
    background-color 0.18s ease;
}

a.pagination__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination__btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination__btn.is-disabled {
  color: #c5ccd9;
  background: var(--soft);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 42px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin: 0;
  font-size: 19px;
}

.empty-state p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.empty-state .btn {
  margin-top: 10px;
}

.empty-state--large {
  padding: 70px 24px;
}

.empty-state--cart {
  grid-column: 1 / -1;
  padding: 70px 24px;
  border-style: solid;
}

.empty-state--panel {
  padding: 40px 20px;
  border: 0;
  background: var(--soft);
}

.empty-state__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}

.empty-state__icon--large {
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.product-page {
  padding-top: 22px;
  padding-bottom: 50px;
}

.product-hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 46px;
  margin: 20px 0 44px;
}

.product-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  padding: 26px;
  border-radius: 24px;
  background: #f1f4ff;
  background: color-mix(in srgb, var(--accent, #3758f9) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #3758f9) 15%, #fff);
}

.product-media__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, #3758f9) 18%, transparent);
  filter: blur(16px);
}

.product-media__top {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-media__cat,
.product-media__badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-media__badge {
  background: var(--primary);
  color: #fff;
}

.product-media__icon {
  position: relative;
  width: 122px;
  height: 122px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 14px 24px rgba(9, 14, 52, 0.18));
}

.product-media__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: min(100%, 250px);
  padding: 13px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.product-media__panel span {
  color: var(--muted);
  font-size: 12px;
}

.product-media__panel strong {
  color: var(--ink);
  font-size: 15px;
}

.product-media__period {
  margin-top: 3px;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
  width: 100%;
  color: var(--primary) !important;
  font-weight: 600;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info__cat {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
  color: color-mix(in srgb, var(--accent, #3758f9) 90%, #111);
  font-size: 12.5px;
  font-weight: 700;
}

.product-info h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.5;
}

.product-info__tagline {
  margin-bottom: 18px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.95;
}

.product-info__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 0;
  border-block: 1px dashed var(--line);
}

.price-label {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.price-value {
  color: var(--ink);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.price-period {
  margin-inline-start: 5px;
  color: var(--muted);
  font-size: 13px;
}

.price-compare {
  margin-inline-start: 8px;
  color: #a3adbe;
  font-size: 14px;
  text-decoration: line-through;
}

.discount-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0;
}

.product-info__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--body);
  font-size: 13px;
}

.product-info__meta svg {
  color: var(--green);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #374151;
  font-size: 14.5px;
  line-height: 1.8;
}

.feature-list--compact li {
  font-size: 13.5px;
}

.feature-list--grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}

.check-dot {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-soft);
  color: #0b8f68;
}

.add-to-cart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e0e7ff;
  border-radius: 16px;
  background: #f9fbff;
}

.qty-field {
  flex-shrink: 0;
}

.qty-field > label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--body);
  font-size: 18px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.qty-control button:hover {
  background: var(--soft);
  color: var(--primary);
}

.qty-control input {
  width: 38px;
  height: 100%;
  border: 0;
  border-inline: 1px solid var(--line);
  outline: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-to-cart > .btn {
  flex: 1;
  height: 44px;
  padding-inline: 14px;
  font-size: 14.5px;
}

.product-info__assist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-info__assist a {
  color: var(--primary);
  font-weight: 700;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: start;
  gap: 26px;
}

.content-card {
  padding: 26px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.content-card h2 {
  font-size: 20px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.rich-text {
  color: var(--body);
  font-size: 14.5px;
  line-height: 2.05;
}

.rich-text p {
  margin-bottom: 10px;
}

.suitable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.suitable-grid > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.suitable-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
}

.suitable-grid h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.suitable-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.product-aside {
  position: sticky;
  top: 100px;
}

.purchase-card {
  padding: 22px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.purchase-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.purchase-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.purchase-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.purchase-card dt {
  color: var(--muted);
}

.purchase-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.purchase-card__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 0;
  margin-bottom: 12px;
  border-top: 1px dashed var(--line);
}

.purchase-card__total span {
  color: var(--muted);
  font-size: 13px;
}

.purchase-card__total strong {
  color: var(--ink);
  font-size: 18px;
}

.purchase-card .btn {
  font-size: 14.5px;
  padding: 11px;
}

.purchase-card__note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.purchase-assist {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, var(--dark), #142052);
  color: #fff;
}

.purchase-assist h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
}

.purchase-assist p {
  color: #b9c4e2;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 13px;
}

.purchase-assist .btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.purchase-assist .btn--outline:hover {
  background: #fff;
  color: var(--dark);
}

.purchase-assist__phone {
  display: block;
  margin-top: 11px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  direction: ltr;
  letter-spacing: 0.5px;
}

.related-section {
  margin-top: 44px;
}

.related-section .section-head {
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  align-items: start;
  gap: 26px;
  padding: 32px 0 68px;
}

.cart-main {
  min-width: 0;
}

.cart-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.cart-row {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.8fr 0.7fr 36px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row--head {
  padding-block: 11px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.cart-product__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
}

.cart-product__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cart-product a {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.cart-product a:hover {
  color: var(--primary);
}

.cart-product small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.cart-price,
.cart-line-total {
  color: #4b5563;
  font-size: 13.5px;
  white-space: nowrap;
}

.cart-line-total {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
}

.cart-qty .qty-control {
  height: 34px;
}

.cart-qty .qty-control button {
  width: 27px;
  font-size: 16px;
}

.cart-qty .qty-control input {
  width: 31px;
  font-size: 13px;
}

.cart-remove {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #9aa4b8;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cart-remove:hover {
  background: var(--red-soft);
  color: var(--red);
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}

.cart-actions .text-link {
  margin-inline-start: auto;
}

.cart-summary,
.checkout-summary,
.order-aside {
  position: sticky;
  top: 100px;
}

.summary-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.summary-card h2 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.summary-list {
  display: grid;
  margin: 0 0 14px;
}

.summary-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #edf0f7;
}

.summary-list dt {
  color: var(--muted);
  font-size: 13px;
}

.summary-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 14px;
  border-top: 2px solid var(--line);
}

.summary-total span {
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
}

.summary-total strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.summary-card > .btn {
  font-size: 14.5px;
  padding: 11px;
}

.summary-note {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.summary-trust {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.summary-trust li {
  position: relative;
  padding-inline-start: 18px;
  color: #5b6779;
  font-size: 12px;
}

.summary-trust li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--green);
  font-weight: 800;
}

.summary-items {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.summary-item__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
}

.summary-item__icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.summary-item > div {
  flex: 1;
  min-width: 0;
}

.summary-item strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-item small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.summary-item > span:last-child {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.checkout-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  align-items: start;
  gap: 26px;
  padding: 32px 0 68px;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}

.checkout-steps span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.checkout-steps span.is-done {
  color: #0b8f68;
  border-color: #c8eee1;
  background: var(--green-soft);
}

.checkout-steps span.is-active {
  color: var(--primary);
  border-color: #c9d5ff;
  background: var(--primary-soft);
}

.checkout-form .content-card {
  padding: 22px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.card-heading__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.card-heading h2 {
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  font-size: 17px;
}

.card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid--auth {
  gap: 12px;
}

.field {
  margin-bottom: 14px;
  min-width: 0;
}

.form-grid .field {
  margin-bottom: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field--spaced {
  margin-top: 16px;
}

.field > label {
  display: block;
  margin-bottom: 6px;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
}

.field > label > span {
  color: var(--red);
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea,
.field-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fbfcff;
  color: var(--ink);
  font-size: 14.5px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus,
.field-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(55, 88, 249, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa4b8;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.9;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%237a8699' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 16px;
  padding-left: 36px;
}

.field-error {
  margin: 5px 0 0;
  color: var(--red);
  font-size: 12.5px;
  line-height: 1.8;
}

.field-help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.field-help ul {
  display: grid;
  gap: 3px;
  padding-inline-start: 16px;
  list-style: disc;
  margin-top: 4px;
}

.form-alert {
  padding: 11px 14px;
  margin-bottom: 14px;
  border: 1px solid #ffe0b2;
  border-radius: 10px;
  background: var(--amber-soft);
  color: #92400e;
  font-size: 13.5px;
  line-height: 1.9;
}

.form-alert--error {
  border-color: #fecaca;
  background: var(--red-soft);
  color: #991b1b;
}

.form-alert ul {
  margin: 0;
  padding-inline-start: 16px;
  list-style: disc;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #374151;
  font-size: 13.5px;
  line-height: 1.9;
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.check-row--sm {
  font-size: 12.5px;
}

.check-row--sm input {
  width: 15px;
  height: 15px;
}

.payment-options {
  display: grid;
  gap: 9px;
  margin-bottom: 4px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcff;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.payment-option:hover {
  border-color: #b9c8fb;
  background: #fff;
}

.payment-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.payment-option input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.payment-option__body strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
}

.payment-option__body small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* --------------------------------------------------------------------------
   Orders
   -------------------------------------------------------------------------- */

.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 26px;
  padding: 32px 0 68px;
}

.order-main {
  min-width: 0;
}

.order-status-card {
  padding: 22px;
}

.order-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.order-progress::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: var(--line);
}

.order-progress__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.order-progress__step > span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.order-progress__step strong {
  color: #4b5563;
  font-size: 12.5px;
}

.order-progress__step small {
  color: var(--muted);
  font-size: 11px;
}

.order-progress__step.is-done > span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.order-progress__step.is-current > span {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 0 0 4px rgba(55, 88, 249, 0.12);
}

.order-progress__step.is-current strong {
  color: var(--primary);
}

.order-hint {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: #334bb5;
  font-size: 12.5px;
  line-height: 1.9;
}

.order-items {
  display: flex;
  flex-direction: column;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.order-item:first-child {
  padding-top: 0;
}

.order-item:last-child {
  border-bottom: 0;
}

.order-item__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent, #3758f9) 10%, #fff);
  color: var(--primary);
}

.order-item__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.order-item__info {
  flex: 1;
  min-width: 0;
}

.order-item__info strong {
  display: block;
  font-size: 14px;
}

.order-item__info small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.order-item__price {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.order-totals {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.order-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--body);
  font-size: 13px;
}

.order-totals__final {
  padding-top: 9px;
  margin-top: 3px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 700;
}

.order-totals__final strong {
  font-size: 18px;
  font-weight: 800;
}

.summary-subtitle {
  margin: 16px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}

.order-aside .btn--block {
  margin-top: 12px;
}

.order-cancel-form {
  margin-top: 10px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Account
   -------------------------------------------------------------------------- */

.account-head {
  padding: 30px 0 34px;
  background: linear-gradient(135deg, #f2f5ff, #fbfcff);
  border-bottom: 1px solid var(--line);
}

.account-head h1 {
  margin: 0;
  font-size: clamp(25px, 2.8vw, 32px);
}

.account-shell {
  display: grid;
  grid-template-columns: 252px 1fr;
  align-items: start;
  gap: 24px;
  padding: 30px 0 68px;
}

.account-sidebar {
  position: sticky;
  top: 100px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.account-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.account-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), #6178ff);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.account-user > div {
  min-width: 0;
}

.account-user strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-user small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #4b5563;
  font-size: 13.5px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.account-menu a:hover {
  background: var(--soft);
  color: var(--primary);
}

.account-menu a.is-active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.account-menu svg {
  width: 17px;
  height: 17px;
  opacity: 0.85;
}

.account-logout {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  padding-inline: 4px;
}

.account-main {
  min-width: 0;
}

.welcome-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 26px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(125deg, #223bb7, var(--primary) 62%, #5a76ff);
  color: #fff;
  box-shadow: 0 16px 38px rgba(55, 88, 249, 0.2);
}

.welcome-card .section-eyebrow {
  color: #dbe4ff;
  margin-bottom: 5px;
}

.welcome-card .section-eyebrow::before {
  background: #dbe4ff;
}

.welcome-card h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 3px;
}

.welcome-card p {
  margin: 0;
  color: #dfe5ff;
  font-size: 13.5px;
}

.welcome-card .btn {
  flex-shrink: 0;
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
  box-shadow: none;
  font-size: 13.5px;
  padding: 9px 16px;
}

.welcome-card .btn:hover {
  background: var(--primary-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: #cbd7fb;
  box-shadow: var(--shadow-sm);
}

.stat-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
}

.stat-card__icon--blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.stat-card__icon--green {
  background: var(--green-soft);
  color: #0b8f68;
}

.stat-card__icon--purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.stat-card__icon--orange {
  background: #fff4e6;
  color: #d97706;
}

.stat-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.4;
}

.stat-card small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.panel {
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.panel--help {
  background: var(--soft);
  border-style: dashed;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.panel-head h2 {
  margin: 0 0 2px;
  font-size: 17px;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.profile-chip {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.security-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.security-row strong {
  display: block;
  font-size: 14px;
}

.security-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.inline-empty {
  padding: 22px;
  border-radius: 11px;
  background: var(--soft);
  text-align: center;
}

.inline-empty p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13.5px;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.data-table th {
  padding: 10px 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  color: #4b5563;
  font-size: 13px;
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background-color 0.15s ease;
}

.data-table tbody tr:hover {
  background: #fbfcff;
}

.data-table td strong {
  color: var(--ink);
  font-size: 13px;
}

.table-link {
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.table-link:hover {
  text-decoration: underline;
}

.ticket-mini-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ticket-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.ticket-mini:hover {
  border-color: #c7d3fb;
  background: #fbfcff;
}

.ticket-mini > span:first-child {
  min-width: 0;
}

.ticket-mini strong {
  display: block;
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-mini small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Auth
   -------------------------------------------------------------------------- */

.auth-section {
  padding: 40px 0 64px;
  background: radial-gradient(circle at 14% 10%, #e9efff, transparent 42%),
    var(--soft);
}

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100% - 40px, 1010px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.auth-shell--wide {
  width: min(100% - 40px, 1080px);
}

.auth-shell--narrow {
  grid-template-columns: 1fr;
  width: min(100% - 40px, 470px);
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 40px 36px;
  background: linear-gradient(150deg, #1c2f8c, #2f4ee3 55%, #4b67f5);
  color: #fff;
}

.auth-aside__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e5ebff;
  font-size: 12.5px;
  font-weight: 600;
}

.auth-aside h1 {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.65;
  margin-bottom: 10px;
}

.auth-aside > p {
  color: #d6dfff;
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 18px;
}

.auth-points {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
}

.auth-points li {
  position: relative;
  padding-inline-start: 24px;
  color: #e2e8ff;
  font-size: 13px;
}

.auth-points li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  right: 0;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.18);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
}

.auth-aside__quote {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-aside__quote p {
  margin-bottom: 5px;
  color: #e9eeff;
  font-size: 12.5px;
  line-height: 1.95;
}

.auth-aside__quote span {
  color: #aebce8;
  font-size: 11px;
}

.auth-aside__glow {
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(12px);
}

.auth-card {
  padding: 38px 34px;
}

.auth-card--center {
  text-align: center;
}

.auth-card__head {
  margin-bottom: 20px;
}

.auth-card__head h2 {
  font-size: 23px;
  margin-bottom: 4px;
}

.auth-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.auth-card .field {
  margin-bottom: 12px;
}

.auth-card .btn {
  margin-top: 6px;
}

.auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 14px;
}

.auth-switch {
  margin: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 700;
}

.auth-state-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.auth-state-icon--success {
  background: var(--green-soft);
  color: #0b8f68;
}

.auth-state-icon--error {
  background: var(--red-soft);
  color: var(--red);
}

.auth-card--center h2 {
  font-size: 22px;
}

.auth-card--center > p {
  color: var(--body);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 18px;
}

.auth-card form .form-alert ul {
  list-style: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Tickets
   -------------------------------------------------------------------------- */

.status-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.status-tabs a {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.status-tabs a:hover {
  color: var(--primary);
}

.status-tabs a.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}

.ticket-row:hover {
  transform: translateX(-3px);
  border-color: #c7d3fb;
  box-shadow: var(--shadow-sm);
}

.ticket-row__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.ticket-row__body {
  flex: 1;
  min-width: 0;
}

.ticket-row__body strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-row__body small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.ticket-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.ticket-row__count {
  color: var(--muted);
  font-size: 11px;
}

.ticket-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.ticket-head h2 {
  margin: 5px 0 3px;
  font-size: 18px;
}

.ticket-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
}

.thread-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 88%;
}

.thread-message--staff {
  flex-direction: row-reverse;
  margin-inline-start: auto;
}

.thread-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.thread-message--staff .thread-avatar {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.thread-bubble {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px;
  background: #fff;
}

.thread-message--staff .thread-bubble {
  border-color: #dbe6ff;
  background: #f3f7ff;
  border-radius: 14px 4px 14px 14px;
}

.thread-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.thread-meta strong {
  color: var(--ink);
  font-size: 12.5px;
}

.thread-meta span {
  color: var(--muted);
  font-size: 10.5px;
}

.thread-body {
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.95;
}

.thread-body p {
  margin-bottom: 6px;
}

.ticket-reply {
  margin-bottom: 16px;
}

.ticket-reply h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.inline-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.inline-help__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
}

.inline-help p {
  margin: 0;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.95;
}

/* --------------------------------------------------------------------------
   About, contact, legal, FAQ page
   -------------------------------------------------------------------------- */

.about-hero {
  padding: 54px 0 60px;
  background: radial-gradient(circle at 10% 15%, #e6edff, transparent 45%),
    linear-gradient(180deg, #f7f9ff, #fff);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.about-hero h1 {
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: 1.5;
  margin-bottom: 12px;
}

.about-hero p {
  color: var(--body);
  font-size: 15px;
  line-height: 2.05;
  margin-bottom: 20px;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e0e7ff;
  border-radius: 26px;
  background: linear-gradient(145deg, #eef2ff, #fbfcff);
}

.about-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 16px;
  border: 1px solid #e5eaff;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-metric strong {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}

.about-metric span {
  color: var(--muted);
  font-size: 12.5px;
}

.about-metric--wide {
  grid-column: 1 / -1;
  background: var(--dark);
  border-color: var(--dark);
}

.about-metric--wide strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.story-grid h2 {
  margin-bottom: 10px;
}

.story-text p {
  color: var(--body);
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 12px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.value-card__num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.35;
}

.value-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.about-team-cta {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.about-team-cta h2 {
  margin-bottom: 10px;
}

.about-team-cta p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 2;
  margin-bottom: 18px;
}

.team-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}

.team-strip small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: 28px;
  padding: 32px 0 68px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: #c7d3fb;
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-card__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.contact-card strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.7;
  word-break: break-word;
}

.contact-note {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.contact-note h2 {
  font-size: 16px;
  margin-bottom: 9px;
}

.contact-note .large-checks {
  margin-bottom: 0;
}

.contact-note .large-checks li {
  font-size: 12.5px;
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.contact-social > span {
  color: var(--muted);
  font-size: 12.5px;
}

.contact-social > div {
  display: flex;
  gap: 6px;
}

.contact-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--soft);
  transition: background-color 0.18s ease;
}

.contact-social a:hover {
  background: var(--primary-soft);
}

.contact-social img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.contact-form-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form-card .field {
  margin-bottom: 12px;
}

.contact-form-card .form-grid .field {
  margin-bottom: 0;
}

.contact-form-card .form-grid {
  margin-bottom: 12px;
}

.faq-page {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: start;
  gap: 28px;
  padding: 32px 0 68px;
}

.faq-list--page .faq-item summary {
  padding: 17px 19px;
  font-size: 15.5px;
}

.faq-side {
  position: sticky;
  top: 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: start;
  gap: 28px;
  padding: 32px 0 68px;
}

.legal-content {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.legal-content h2 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 2.1;
}

.legal-aside {
  position: sticky;
  top: 100px;
}

/* --------------------------------------------------------------------------
   Errors
   -------------------------------------------------------------------------- */

.error-page {
  padding: 72px 0 90px;
  text-align: center;
  background: radial-gradient(circle at 50% 0, #eef2ff, transparent 55%), #fff;
}

.error-code {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: clamp(70px, 12vw, 122px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  opacity: 0.16;
}

.error-page h1 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3vw, 33px);
}

.error-page p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--body);
  font-size: 15px;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */

.toast-stack {
  position: fixed;
  top: 96px;
  left: 20px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(360px, calc(100vw - 40px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--primary);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: toast-in 0.25s ease both;
}

.toast.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast--success {
  border-inline-start-color: var(--green);
}

.toast--error {
  border-inline-start-color: var(--red);
}

.toast--warning {
  border-inline-start-color: var(--amber);
}

.toast__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
}

.toast--success .toast__icon {
  background: var(--green-soft);
  color: #0b8f68;
}

.toast--error .toast__icon {
  background: var(--red-soft);
  color: var(--red);
}

.toast--warning .toast__icon {
  background: var(--amber-soft);
  color: var(--amber);
}

.toast__icon svg {
  width: 13px;
  height: 13px;
}

.toast__text {
  flex: 1;
  margin: 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.9;
}

.toast__close {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 6px;
  color: var(--muted);
}

.toast__close:hover {
  background: var(--soft);
  color: var(--ink);
}

.toast__close svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 10px;
  padding-top: 54px;
  background: var(--dark);
  color: #a6b0c3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.1fr;
  gap: 36px;
  padding-bottom: 34px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 78px;
  padding: 7px;
  border-radius: 13px;
  background: #fff;
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: 16px;
  color: #97a3ba;
  font-size: 13.5px;
  line-height: 2;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-socials a {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.footer-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14.5px;
}

.footer-col ul {
  display: grid;
  gap: 7px;
}

.footer-col a {
  color: #97a3ba;
  font-size: 13px;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col--contact li {
  color: #c6d0e2;
  font-size: 13.5px;
  font-weight: 600;
}

.footer-hours {
  margin: 10px 0 14px;
  color: #7f8da7;
  font-size: 12px;
}

.footer-col--contact .btn {
  font-size: 12.5px;
  padding: 7px 13px;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 15px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust span {
  position: relative;
  padding-inline-start: 16px;
  color: #9fabc1;
  font-size: 12px;
}

.footer-trust span::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--green);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  color: #7f8da7;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom__links a {
  transition: color 0.18s ease;
}

.footer-bottom__links a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero__visual {
    display: none;
  }

  .hero__lead {
    max-width: 640px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-col--contact ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .product-layout {
    grid-template-columns: 1fr 300px;
    gap: 20px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 12px 20px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px rgba(9, 14, 52, 0.12);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav__list > li > a {
    display: flex;
    justify-content: space-between;
    padding: 11px 4px;
    font-size: 15px;
    border-bottom: 1px solid #f1f4f9;
  }

  .main-nav__list > li > a::after {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  .has-menu .chev {
    transform: rotate(0);
  }

  .main-nav__mobile-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
  }

  .main-nav__mobile-extra a {
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--soft);
    color: #4b5563;
    font-size: 13px;
  }

  .main-nav__mobile-extra a:hover {
    background: var(--primary-soft);
    color: var(--primary);
  }

  .header-actions {
    margin-inline-start: 0;
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand {
    margin-inline-end: auto;
  }

  .hero {
    padding: 46px 0 54px;
    border-radius: 0 0 26px 26px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-media {
    min-height: 300px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .purchase-card {
    margin-bottom: 0;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-sidebar {
    position: static;
  }

  .filter-card {
    padding: 14px;
  }

  .filter-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .filter-help {
    display: none;
  }

  .cart-layout,
  .checkout-layout,
  .order-detail-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary,
  .order-aside {
    position: static;
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .account-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .account-user {
    margin-bottom: 12px;
  }

  .faq-layout,
  .faq-page,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-intro,
  .faq-side,
  .legal-aside {
    position: static;
  }

  .why-grid,
  .about-hero__inner,
  .about-team-cta,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-panel {
    max-width: 560px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 26px;
  }

  .section-head .text-link {
    margin-top: 10px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .cta-card__actions {
    flex-wrap: wrap;
  }

  .listing-head__row,
  .page-head__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .listing-head__count {
    flex-direction: row;
    gap: 7px;
    align-items: baseline;
    padding: 8px 14px;
    min-width: 0;
  }

  .listing-head__count strong {
    font-size: 20px;
  }

  .catalog-toolbar {
    flex-wrap: wrap;
  }

  .catalog-search {
    max-width: none;
    width: 100%;
    flex-basis: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }

  .catalog-sort {
    margin-inline-start: auto;
  }

  .product-info__price-row {
    align-items: flex-start;
  }

  .feature-list--grid {
    grid-template-columns: 1fr;
  }

  .product-aside {
    grid-template-columns: 1fr;
  }

  .cart-row--head {
    display: none;
  }

  .cart-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 14px;
  }

  .cart-product {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--line);
  }

  .cart-price {
    display: none;
  }

  .cart-qty {
    justify-self: start;
  }

  .cart-line-total {
    justify-self: end;
  }

  .cart-remove {
    position: absolute;
    left: 16px;
    margin-top: -52px;
  }

  .cart-row {
    position: relative;
    padding-left: 52px;
  }

  .cart-actions {
    gap: 12px;
  }

  .cart-actions .text-link {
    margin-inline-start: 0;
  }

  .order-progress {
    grid-template-columns: 1fr 1fr;
    gap: 16px 8px;
  }

  .order-progress::before {
    display: none;
  }

  .order-progress__step {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
    gap: 8px;
  }

  .order-progress__step > span {
    margin-bottom: 0;
  }

  .order-progress__step small {
    display: none;
  }

  .welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .data-table-wrap {
    overflow: visible;
    border: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
  }

  .data-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px dashed #edf0f7;
    text-align: left;
  }

  .data-table td:last-child {
    border-bottom: 0;
    justify-content: flex-start;
    padding-top: 8px;
  }

  .data-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
  }

  .data-table td:not([data-label])::before {
    content: "";
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .product-grid,
  .product-grid--listing {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
    min-height: 34px;
  }

  .topbar {
    font-size: 12.5px;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand img {
    width: 50px;
  }

  .brand__text strong {
    font-size: 15px;
  }

  .brand__text small {
    display: none;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .header-actions .icon-btn:first-child {
    display: none;
  }

  .hero {
    padding: 34px 0 40px;
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.55;
  }

  .hero__highlight {
    padding: 0 8px;
  }

  .hero__lead {
    font-size: 14.5px;
    line-height: 1.95;
  }

  .hero__eyebrow {
    font-size: 12.5px;
  }

  .hero-search {
    flex-wrap: wrap;
    padding: 8px;
  }

  .hero-search input {
    flex-basis: calc(100% - 30px);
    height: 38px;
  }

  .hero-search .btn {
    width: 100%;
    height: 40px;
  }

  .hero__stats {
    gap: 0;
  }

  .hero__stats > div {
    padding-inline: 13px;
  }

  .hero__stats strong {
    font-size: 20px;
  }

  .hero__stats span {
    font-size: 11.5px;
  }

  .trust-strip__inner {
    justify-content: flex-start;
    gap: 10px 18px;
    padding: 14px 0;
  }

  .trust-strip__inner span {
    font-size: 12.5px;
  }

  .trust-strip__inner span:nth-child(n + 3) {
    display: none;
  }

  .section {
    padding: 40px 0;
  }

  .section-head h2 {
    font-size: 23px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-card {
    padding: 15px;
    border-radius: 14px;
  }

  .category-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 11px;
    border-radius: 12px;
  }

  .category-card__icon img {
    width: 29px;
    height: 29px;
  }

  .category-card h3 {
    font-size: 15px;
  }

  .category-card p {
    min-height: 50px;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .category-card__foot {
    font-size: 11px;
    padding-top: 8px;
  }

  .category-card__foot svg {
    display: none;
  }

  .category-card__num {
    top: 11px;
    left: 12px;
    font-size: 11px;
  }

  .product-grid,
  .product-grid--listing {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-card__visual {
    height: 105px;
  }

  .product-card__title {
    font-size: 16.5px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-card {
    padding: 18px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 22px;
  }

  .why-panel {
    padding: 13px;
    gap: 8px;
  }

  .stat-tile {
    padding: 16px 13px;
  }

  .stat-tile strong {
    font-size: 25px;
  }

  .cta-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .cta-card__actions {
    width: 100%;
  }

  .cta-card__actions .btn {
    flex: 1;
    font-size: 13.5px;
    padding: 10px 12px;
  }

  .page-head {
    padding: 26px 0 28px;
  }

  .page-head h1 {
    font-size: 25px;
  }

  .listing-head {
    padding: 26px 0 28px;
  }

  .listing-head h1 {
    font-size: 25px;
  }

  .listing-head p,
  .page-head p {
    font-size: 14px;
  }

  .filter-list {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-layout {
    padding: 22px 0 46px;
  }

  .catalog-search button {
    padding: 6px 10px;
  }

  .pagination {
    gap: 4px;
  }

  .pagination__btn {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .product-page {
    padding-top: 14px;
  }

  .product-media {
    min-height: 250px;
    border-radius: 18px;
  }

  .product-media__icon {
    width: 88px;
    height: 88px;
  }

  .product-info h1 {
    font-size: 26px;
  }

  .price-value {
    font-size: 25px;
  }

  .add-to-cart {
    flex-wrap: wrap;
  }

  .qty-field {
    width: 100%;
  }

  .qty-control {
    width: 100%;
    justify-content: space-between;
  }

  .qty-control input {
    flex: 1;
  }

  .add-to-cart > .btn {
    flex-basis: 100%;
  }

  .content-card {
    padding: 18px;
    border-radius: 14px;
  }

  .content-card h2 {
    font-size: 17px;
  }

  .suitable-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-grid .field {
    margin-bottom: 12px;
  }

  .cart-layout,
  .checkout-layout,
  .order-detail-layout,
  .account-shell {
    padding: 22px 0 46px;
  }

  .summary-card {
    padding: 18px;
  }

  .cart-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-actions .btn {
    width: 100%;
  }

  .account-head {
    padding: 22px 0 24px;
  }

  .account-menu {
    grid-template-columns: 1fr;
  }

  .welcome-card {
    padding: 20px;
  }

  .welcome-card h2 {
    font-size: 19px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat-card {
    padding: 12px;
    gap: 8px;
  }

  .stat-card__icon {
    width: 34px;
    height: 34px;
  }

  .stat-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .stat-card strong {
    font-size: 18px;
  }

  .stat-card small {
    font-size: 10.5px;
  }

  .panel {
    padding: 16px;
  }

  .panel-head {
    flex-direction: column;
    gap: 6px;
  }

  .profile-chip {
    align-self: flex-start;
  }

  .ticket-head {
    flex-direction: column;
    padding: 15px;
  }

  .ticket-thread {
    padding: 12px;
  }

  .thread-message {
    max-width: 96%;
  }

  .thread-message--staff {
    flex-direction: row;
    margin-inline-start: 0;
  }

  .thread-bubble {
    font-size: 13px;
  }

  .ticket-row {
    padding: 11px;
    gap: 9px;
  }

  .ticket-row__meta {
    gap: 2px;
  }

  .ticket-row__body small {
    font-size: 10.5px;
  }

  .auth-section {
    padding: 18px 0 40px;
  }

  .auth-shell {
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  .auth-card {
    padding: 24px 18px;
  }

  .auth-card__head h2 {
    font-size: 21px;
  }

  .auth-row {
    gap: 6px;
  }

  .contact-layout,
  .faq-page,
  .legal-layout {
    padding: 22px 0 46px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 18px;
  }

  .legal-content {
    padding: 20px;
  }

  .about-hero {
    padding: 32px 0 38px;
  }

  .about-visual {
    padding: 12px;
    gap: 8px;
  }

  .about-metric {
    padding: 14px 12px;
  }

  .about-metric strong {
    font-size: 24px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 24px;
  }

  .footer-brand,
  .footer-col--contact {
    grid-column: auto;
  }

  .footer-col--contact ul {
    display: grid;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast-stack {
    top: 80px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  .error-page {
    padding: 46px 0 60px;
  }

  .error-actions .btn {
    flex: 1;
  }
}

@media (max-width: 380px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats > div {
    padding-inline: 9px;
  }

  .brand img {
    width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Catalog completeness: portfolio CTA, cheapest-first hints, plan comparison
   ========================================================================== */

.brand img {
  width: 60px;
  height: auto;
  border-radius: 0;
}

.mega-menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

.mega-menu__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-portfolio {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.cheapest-section {
  padding-top: 42px;
}

.catalog-portfolio {
  padding-top: 22px;
}

.portfolio-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #dfe7ff;
  border-radius: 16px;
  background: linear-gradient(120deg, #eef2ff, #fbfcff 70%);
}

.portfolio-banner__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.portfolio-banner__copy {
  flex: 1;
  min-width: 0;
}

.portfolio-banner__copy strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
}

.portfolio-banner__copy p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.portfolio-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.portfolio-banner__actions .btn {
  font-size: 13.5px;
  padding: 9px 15px;
}

.price-start-card {
  padding: 18px;
  border: 1px solid #e7ecfb;
  border-radius: 16px;
  background: #fff;
}

.price-start-card > span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.price-start-card > strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--primary);
  font-size: 19px;
  font-weight: 800;
}

.price-start-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.sort-hint {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px dashed #d7e0f8;
  border-radius: 16px;
  background: #fbfcff;
}

.catalog-help-strip strong {
  display: block;
  font-size: 14.5px;
}

.catalog-help-strip p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.product-card__suitable {
  margin: -2px 0 8px;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.8;
}

.product-card__suitable span {
  color: var(--muted);
}

.product-price__note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.product-price {
  min-width: 0;
}

.price-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

.price-note-box {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--body);
  font-size: 13px;
}

.product-info__suitable {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--body);
  font-size: 13px;
  line-height: 1.9;
}

.product-info__suitable strong {
  color: var(--ink);
}

.product-media__facts {
  position: absolute;
  bottom: 16px;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
}

.product-media__facts strong {
  color: var(--ink);
}

.product-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.product-cta-row .btn {
  font-size: 13.5px;
  padding: 11px 10px;
  white-space: normal;
  text-align: center;
}

.btn--custom {
  background: linear-gradient(120deg, #3758f9, #6d5cf6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(85, 82, 246, 0.22);
}

.btn--custom:hover {
  background: linear-gradient(120deg, #2442c9, #5949e6);
  border-color: transparent;
  color: #fff;
}

.purchase-card__custom {
  margin-top: 8px;
}

.purchase-card__portfolio {
  margin-top: 8px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-box {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.detail-box--exclude {
  background: #fff8f7;
  border-color: #f6dfdc;
}

.detail-box h3 {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.x-list {
  display: grid;
  gap: 5px;
}

.x-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.85;
}

.x-list li span {
  flex-shrink: 0;
  color: #c0392b;
  font-weight: 800;
}

.x-list--check li span {
  color: #0b8f68;
}

.info-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.info-tile {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.info-tile span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.info-tile strong {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.7;
}

.suitable-lead {
  margin: -4px 0 12px;
  color: var(--body);
  font-size: 14px;
}

.process-grid--compact {
  gap: 12px;
}

.process-grid--compact .process-card {
  padding: 16px;
}

.process-grid--compact .process-card h3 {
  font-size: 14.5px;
}

.process-grid--compact .process-card p {
  font-size: 12.5px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 11px 12px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table th {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td a {
  color: var(--ink);
  font-weight: 700;
}

.compare-table tr.is-current td {
  background: var(--primary-soft);
}

.compare-table tr.is-current td a {
  color: var(--primary-dark);
}

.current-chip {
  margin-inline-start: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.compare-all {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
}

.faq-consult-card {
  margin-top: 14px;
}

/* == consultation page == */

.consult-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 40px;
  background: linear-gradient(135deg, #f3f6ff, #fbfcff 65%);
  border-bottom: 1px solid var(--line);
}

.consult-hero__glow {
  position: absolute;
  top: -200px;
  left: 4%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 88, 249, 0.15), transparent 66%);
  pointer-events: none;
}

.consult-hero .container {
  position: relative;
  z-index: 1;
}

.consult-hero__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 34px;
}

.consult-hero h1 {
  margin-bottom: 10px;
}

.consult-hero__copy p {
  max-width: 640px;
  color: var(--body);
  font-size: 15px;
  line-height: 2;
}

.consult-points {
  display: grid;
  gap: 6px;
  margin: 14px 0;
}

.consult-points li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--body);
  font-size: 13.5px;
}

.consult-points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.consult-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.consult-hero__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dfe7ff;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.consult-stat {
  padding: 12px;
  border-radius: 12px;
  background: var(--soft);
  text-align: center;
}

.consult-stat strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.consult-stat span {
  color: var(--muted);
  font-size: 11.5px;
}

.consult-hero__note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}

.consult-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: start;
  gap: 26px;
  padding: 32px 0 64px;
}

.consult-main {
  min-width: 0;
}

.consult-form-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.consult-form-card__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.consult-form-card__head h2 {
  margin-bottom: 4px;
  font-size: 21px;
}

.consult-form-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.consult-source {
  margin-top: 8px !important;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary-dark) !important;
  font-size: 13px !important;
}

.consult-source a {
  margin-inline-start: 6px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

.consult-form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
  text-align: center;
}

.consult-success {
  padding: 40px 26px;
  border: 1px solid #c8efdf;
  border-radius: 18px;
  background: linear-gradient(160deg, #effcf6, #fff 60%);
  text-align: center;
}

.consult-success__icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  color: #0b8f68;
  box-shadow: 0 12px 26px rgba(19, 194, 150, 0.22);
}

.consult-success h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.consult-success p {
  max-width: 520px;
  margin: 0 auto 16px;
  color: var(--body);
  font-size: 14px;
  line-height: 2;
}

.consult-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.consult-process {
  margin-top: 30px;
}

.consult-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.consult-aside__card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.consult-aside__card h3 {
  margin-bottom: 10px;
  font-size: 15.5px;
}

.consult-aside__card .large-checks li {
  font-size: 13px;
}

/* == end of catalog and consultation additions == */

@media (max-width: 1180px) {
  .main-nav__list {
    gap: 12px;
  }

  .main-nav__list > li > a {
    font-size: 14.6px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1024px) {
  .consult-layout,
  .consult-hero__inner {
    grid-template-columns: 1fr;
  }

  .consult-aside {
    position: static;
  }

  .product-media__facts {
    display: none;
  }

  .brand img {
    width: 54px;
  }
}

@media (max-width: 860px) {
  .portfolio-banner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .portfolio-banner__copy {
    flex: 1 1 calc(100% - 60px);
  }

  .portfolio-banner__actions {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .catalog-help-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .mega-menu__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .detail-columns,
  .info-tiles,
  .product-cta-row {
    grid-template-columns: 1fr;
  }

  .consult-hero {
    padding: 22px 0 30px;
  }

  .consult-layout {
    padding: 22px 0 46px;
  }

  .consult-form-card,
  .consult-success {
    padding: 18px;
  }

  .consult-hero__panel {
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions .btn,
  .why-actions .btn {
    flex: 1;
  }

  .compare-table {
    min-width: 520px;
  }
}

@media (max-width: 480px) {
  .consult-hero__panel {
    grid-template-columns: 1fr;
  }

  .consult-success__actions .btn {
    width: 100%;
  }

  .portfolio-banner__copy strong {
    font-size: 14.5px;
  }

  .product-card__suitable {
    min-height: 0;
  }
}

/* ==========================================================================
   اصلاحات و بخش‌های جدید — نسخه فروشگاه
   ========================================================================== */

/* ------------------------------ Top bar --------------------------------- */
.topbar__inner {
  min-height: 40px;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.topbar__phone svg {
  color: #8fa4ff;
}

.topbar__phone:hover {
  color: #dfe6ff;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.topbar__portfolio {
  color: #c8d0e2;
  font-size: 13.5px;
}

.topbar__portfolio:hover {
  color: #fff;
}

.topbar__note {
  color: #aeb8cc;
  font-size: 13.5px;
  text-align: left;
}

/* --------------------------- Brand and footer --------------------------- */
.brand img {
  width: 50px;
  height: auto;
  border-radius: 10px;
}

.footer-logo img {
  width: 132px;
  height: auto;
  padding: 9px;
  border-radius: 15px;
  background: #fff;
}

.footer-contact-list {
  display: grid;
  gap: 8px;
  margin-bottom: 2px;
}

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c6d0e2;
  font-size: 13px;
  font-weight: 600;
}

.footer-contact-list svg {
  color: #8fa4ff;
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-consult {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 11px 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3758f9 0%, #5b7bff 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(55, 88, 249, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(55, 88, 249, 0.42);
}

.footer-consult__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.footer-consult__text {
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  min-width: 0;
}

.footer-consult__text strong {
  font-size: 13.5px;
  font-weight: 800;
}

.footer-consult__text small {
  color: #dbe3ff;
  font-size: 10.8px;
  font-weight: 400;
}

.footer-consult__arrow {
  margin-inline-start: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-portfolio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #c6d0e2;
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.footer-portfolio-btn:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* ------------------------- Hero product orbit --------------------------- */
.hero__visual {
  min-height: 500px;
}

/* The carousel replaces the decorative floating badges on the home hero. */
.hero__visual--orbit .hero-float {
  display: none;
}

.product-orbit {
  position: relative;
  width: min(100%, 560px);
  height: 430px;
  z-index: 2;
}

.product-orbit__stage {
  position: absolute;
  inset: 0;
}

.orbit-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 248px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(5, 10, 40, 0.3);
  transform: translate(
      calc(-50% + var(--x, 0px)),
      calc(-50% + var(--y, 0px))
    )
    scale(var(--s, 1));
  opacity: var(--o, 1);
  z-index: var(--z, 1);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.orbit-card.is-side {
  cursor: pointer;
}

.orbit-card.is-side:hover {
  opacity: 1;
}

.orbit-card.is-active {
  box-shadow: 0 38px 84px rgba(5, 10, 40, 0.42);
}

.orbit-card__media {
  position: relative;
  display: block;
  height: 116px;
  overflow: hidden;
  background: #eef2ff;
}

.orbit-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-card__icon {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 7px 16px rgba(9, 14, 52, 0.22);
}

.orbit-card__icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.orbit-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px 13px;
}

.orbit-card__cat {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.orbit-card__name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.orbit-card__price {
  color: var(--dark);
  font-size: 14.5px;
  font-weight: 800;
}

.orbit-card__price small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.orbit-card__cta {
  display: none;
  margin-top: 6px;
  padding: 7px 8px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.orbit-card.is-active .orbit-card__cta {
  display: block;
}

.orbit-ui {
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.orbit-nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.orbit-nav:hover {
  background: #fff;
  color: var(--primary);
}

.orbit-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.orbit-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.orbit-dot.is-active {
  width: 20px;
  border-radius: 99px;
  background: #fff;
}

.orbit-hint {
  position: absolute;
  left: 50%;
  bottom: -17px;
  margin: 0;
  color: #cfd8ff;
  font-size: 11px;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* --------------------------- Product cards ------------------------------ */
.product-card__visual--photo {
  height: 156px;
  display: block;
  background: #0e1638;
}

.product-card__visual .product-card__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card__visual .product-card__cover {
  transform: scale(1.05);
}

.product-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(9, 14, 52, 0.06) 20%,
    rgba(9, 14, 52, 0.72) 100%
  );
}

.product-card__visual--photo .product-card__glow {
  display: none;
}

.product-card__icon {
  position: absolute;
  right: 12px;
  bottom: 11px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(9, 14, 52, 0.22);
}

.product-card__visual .product-card__icon img {
  position: static;
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
}

.product-card:hover .product-card__visual .product-card__icon img {
  transform: none;
}

.product-card__visual--photo .product-card__cat {
  right: auto;
  left: 11px;
  bottom: 16px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(9, 14, 52, 0.48);
  color: #fff;
  font-size: 11px;
  opacity: 1;
}

.product-card__visual:not(.product-card__visual--photo) .product-card__icon {
  position: static;
  background: transparent;
  box-shadow: none;
}

/* --------------------------- Core plan section -------------------------- */
.core-plans-section {
  padding-top: 36px;
}

.core-plans-section__count {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.core-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.core-plan-grid--all {
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}

.core-plan {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.core-plan:hover {
  transform: translateY(-3px);
  border-color: #c4d0f7;
  box-shadow: var(--shadow);
}

.core-plan--featured {
  border-color: #b9c7ff;
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 70%);
  box-shadow: 0 14px 36px rgba(55, 88, 249, 0.09);
}

.core-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.core-plan__tier {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 700;
}

.core-plan--featured .core-plan__tier {
  background: var(--primary);
  color: #fff;
}

.core-plan__cat {
  color: var(--muted);
  font-size: 11.5px;
}

.core-plan__cat:hover {
  color: var(--primary);
}

.core-plan h3 {
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.65;
}

.core-plan h3 a:hover {
  color: var(--primary);
}

.core-plan__tagline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.core-plan__price {
  margin-bottom: 11px;
  padding: 9px 0;
  border-block: 1px dashed var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.core-plan__price small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
}

.core-plan .mini-checks {
  margin-bottom: 14px;
}

.core-plan__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.core-plan__foot > span {
  color: var(--muted);
  font-size: 11.5px;
}

.catalog-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.catalog-block-head h2 {
  margin-bottom: 3px;
  font-size: 21px;
}

.catalog-block-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.catalog-block-head > span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
}

/* --------------------------- Sample galleries --------------------------- */
.catalog-samples {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-strong);
}

.catalog-samples .section-head {
  margin-bottom: 18px;
}

.catalog-samples .section-head h2 {
  font-size: 21px;
}

.catalog-samples .section-head p {
  font-size: 13px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 14px;
}

.sample-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sample-card:hover {
  transform: translateY(-3px);
  border-color: #c4d0f7;
  box-shadow: var(--shadow);
}

.sample-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.sample-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sample-card:hover .sample-card__media img {
  transform: scale(1.04);
}

.sample-card__play {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(9, 14, 52, 0.62);
  color: #fff;
  backdrop-filter: blur(4px);
}

.sample-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px 13px;
}

.sample-card__body strong {
  font-size: 13.5px;
  line-height: 1.6;
}

.sample-card__body small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.sample-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
}

/* ------------------------------ Tier ladder ----------------------------- */
.tier-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.tier-ladder__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.tier-ladder__item:hover {
  transform: translateY(-2px);
  border-color: #c4d0f7;
  box-shadow: var(--shadow-sm);
}

.tier-ladder__item.is-current {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 10px 26px rgba(55, 88, 249, 0.12);
}

.tier-ladder__label {
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
}

.tier-ladder__item strong {
  font-size: 13.5px;
  line-height: 1.6;
}

.tier-ladder__price {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.tier-ladder__meta {
  color: var(--muted);
  font-size: 11px;
}

.tier-ladder__item .current-chip {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* ---------------------------- Product media ----------------------------- */
.product-media__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.9);
}

.product-media__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.9)
  );
}

.product-media__top,
.product-media__icon,
.product-media__panel,
.product-media__facts {
  z-index: 2;
}

.product-media__icon,
.product-media__panel {
  position: relative;
}

/* ------------------------------- Video ---------------------------------- */
.video-frame {
  position: relative;
  overflow: hidden;
  margin: 14px 0 12px;
  padding-top: 56.25%;
  border-radius: 14px;
  background: #05070f;
  box-shadow: var(--shadow-sm);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------- Team ----------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
}

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: #c8d3f8;
  box-shadow: var(--shadow);
}

.team-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(9, 14, 52, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(5px);
}

.team-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

.team-card__body h3 {
  margin-bottom: 3px;
  font-size: 17px;
}

.team-card__tagline {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.7;
}

.team-card__bio {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 13px;
}

.team-card__skills li {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--soft);
  color: #596477;
  font-size: 10.5px;
}

.team-card__socials {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
}

.team-card__socials a {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--body);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.team-card__socials a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.team-card__socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.team-section__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.team-section__cta p {
  margin: 0 auto 0 0;
  color: var(--body);
  font-size: 13.5px;
}

/* ---------------------------- Quick chat -------------------------------- */
.quick-chat {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.quick-chat__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.quick-chat__btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.quick-chat__btn img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.quick-chat__btn--whatsapp {
  border-color: #c9f0df;
  background: #e9f9f1;
  color: #0b7a55;
}

.quick-chat__btn--whatsapp:hover {
  background: #dcf6e9;
}

.quick-chat__btn--bale {
  border-color: #c9ece9;
  background: #eaf7f6;
  color: #0f766e;
}

.quick-chat__btn--bale:hover {
  background: #def3f1;
}

/* --------------------------- Contact social ------------------------------ */
.contact-social__github img {
  width: 24px;
  height: 24px;
}

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 900px) {
  .core-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-ladder {
    grid-template-columns: 1fr;
  }

  .catalog-block-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 700px) {
  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-start;
    min-height: 38px;
  }

  .topbar__contact {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .topbar__portfolio {
    font-size: 12.5px;
  }

  .topbar__sep {
    display: none;
  }

  .brand img {
    width: 44px;
  }

  .core-plan-grid {
    grid-template-columns: 1fr;
  }

  .sample-grid,
  .sample-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-section__cta {
    justify-content: flex-start;
  }

  .team-section__cta p {
    margin: 0 0 4px;
  }
}

@media (max-width: 480px) {
  .sample-grid,
  .sample-grid--compact {
    grid-template-columns: 1fr;
  }

  .core-plans-section__count {
    display: none;
  }

  .footer-logo img {
    width: 118px;
  }
}
