/*
 * Accanta Home V8 Preview
 * Microsoft Store-inspired merchandising system, Accanta brand palette.
 * Scope: /home-v2/ preview only.
 */

:root {
  --ak8-green: #0a8f61;
  --ak8-green-strong: #067a52;
  --ak8-green-dark: #07543d;
  --ak8-mint: #eaf9f2;
  --ak8-mint-2: #f4fcf8;

  /* Type palette: stronger hierarchy, softer secondary copy. */
  --ak8-heading: #10261e;
  --ak8-ink: #163328;
  --ak8-body: #355046;
  --ak8-muted: #667c73;
  --ak8-soft: #8ca198;

  --ak8-line: #e2eee8;
  --ak8-surface: #ffffff;
  --ak8-page: #f5f7f6;
  --ak8-shadow: 0 18px 48px rgba(19, 61, 46, .09);
  --ak8-radius-xl: 22px;
  --ak8-radius-lg: 18px;
  --ak8-radius-md: 14px;
}


/* ---------- Preview typography ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body.ak8-preview {
  margin: 0;
  background: var(--ak8-page);
  color: var(--ak8-body);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ak8-preview button,
body.ak8-preview input,
body.ak8-preview select,
body.ak8-preview textarea {
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

body.ak8-preview * {
  box-sizing: border-box;
}

body.ak8-preview a {
  color: inherit;
  text-decoration: none;
}

.ak8-shell {
  width: min(1500px, calc(100% - 64px));
  margin-inline: auto;
}

.ak8-preview-bar {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d241c;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: -.1px;
}

.ak8-preview-bar strong {
  color: #b8f0d7;
  margin-inline: 5px;
}

/* ---------- Header ---------- */
.ak8-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15,87,61,.08);
}

.admin-bar .ak8-header {
  top: 32px;
}

.ak8-header__row {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.ak8-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ak8-brand img {
  display: block;
  width: auto;
  max-width: 148px;
  max-height: 44px;
  object-fit: contain;
}

.ak8-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ak8-nav a {
  position: relative;
  padding: 11px 10px;
  color: #2e463d;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}

.ak8-nav a:hover,
.ak8-nav a.is-active {
  color: var(--ak8-green-dark);
}

.ak8-nav a.is-active::after {
  content: "";
  position: absolute;
  height: 2px;
  border-radius: 99px;
  background: var(--ak8-green);
  right: 10px;
  left: 10px;
  bottom: 2px;
}

.ak8-search {
  min-width: 0;
}

.ak8-search form {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cbdad3;
  background: #fff;
  border-radius: 999px;
  padding: 0 17px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ak8-search form:focus-within {
  border-color: rgba(10,143,97,.65);
  box-shadow: 0 0 0 4px rgba(10,143,97,.08);
}

.ak8-search i {
  color: var(--ak8-green);
  font-size: 15px;
}

.ak8-search input {
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--ak8-ink);
  font-size: 13px;
  padding: 0 !important;
  height: auto !important;
}

.ak8-search input::placeholder {
  color: var(--ak8-soft);
  opacity: 1;
}

.ak8-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.ak8-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 700;
  color: #284139;
  transition: .2s ease;
}

.ak8-action:hover {
  background: #f3f8f5;
  color: var(--ak8-green);
}

.ak8-action--account {
  border-color: #d5e5dd;
  background: #fff;
}

.ak8-action--cart {
  position: relative;
  background: #edf8f3;
  color: #0b6d4a;
}

.ak8-cart-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: var(--ak8-green);
  color: #fff;
  font-size: 10px;
  padding-inline: 5px;
}

/* ---------- Microsoft-style hero mosaic ---------- */
.ak8-main {
  min-height: 100vh;
}

.ak8-hero {
  padding: 34px 0 26px;
}

.ak8-hero-grid {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
  gap: 14px;
  min-height: 545px;
}

.ak8-hero-main-shell {
  position: relative;
  min-width: 0;
  min-height: 545px;
}

.ak8-hero-main-shell .ak8-hero-main {
  display: block;
  height: 100%;
  min-height: 545px;
}

.ak8-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ak8-radius-xl);
  border: 1px solid rgba(11,74,52,.08);
  box-shadow: var(--ak8-shadow);
  isolation: isolate;
  direction: rtl;
}

.ak8-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: inherit;
  z-index: 5;
}

.ak8-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  z-index: -3;
}

.ak8-card:hover .ak8-card__cover {
  transform: scale(1.025);
}

.ak8-card__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ak8-hero-main {
  min-height: 545px;
  background:
    radial-gradient(circle at 75% 25%, rgba(55, 215, 154, .26), transparent 34%),
    linear-gradient(135deg, #051b14, #0b3828 68%, #0c7f58);
}

.ak8-hero-main .ak8-card__veil {
  /*
   * RTL copy sits on the right. Keep that side deliberately darker, like
   * Microsoft Store's hero, instead of outlining every glyph.
   */
  background:
    linear-gradient(270deg, rgba(3,18,13,.95) 0%, rgba(4,22,16,.84) 34%, rgba(4,21,15,.42) 58%, rgba(4,21,15,.10) 82%, rgba(4,21,15,.04) 100%);
}

.ak8-hero-main__copy {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: min(58%, 650px);
  padding: 46px;
  color: #fff;
  text-align: right;
}

.ak8-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(203,255,233,.16);
  border: 1px solid rgba(203,255,233,.24);
  color: #e7fff5;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ak8-hero-main h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 1.28;
  letter-spacing: -1.2px;
  color: #fff;
  font-weight: 800;
  text-shadow:
    0 1px 1px rgba(0,0,0,.68),
    0 4px 18px rgba(0,0,0,.34);
}

.ak8-hero-main__copy > p {
  margin: 0 0 22px;
  max-width: 560px;
  color: rgba(255,255,255,.90);
  font-size: 15px;
  line-height: 2;
}

.ak8-hero-main__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.88);
}

.ak8-hero-main__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ak8-hero-main__meta i {
  color: #70efb9;
}

.ak8-hero-main__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ak8-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.ak8-cta:hover {
  transform: translateY(-1px);
}

.ak8-cta--light {
  background: #fff;
  color: #0e2b21;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}

.ak8-cta--glass {
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
}

.ak8-hero-main__dots {
  position: absolute;
  left: 50%;
  bottom: -21px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
  gap: 9px;
  transform: translateX(-50%);
}

.ak8-hero-main__dots span {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: #8f969d;
  opacity: .92;
  transition: background .16s ease, opacity .16s ease;
}

.ak8-hero-main__dots span[aria-current="true"] {
  background: #545b62;
  opacity: 1;
}

.ak8-hero-nav {
  position: absolute;
  top: calc(50% - 15px);
  z-index: 9;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-top: -19px;
  border: 1px solid rgba(210,218,214,.96);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #3b4742;
  box-shadow: 0 5px 18px rgba(23,43,35,.16);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  backdrop-filter: blur(8px);
}

.ak8-hero-nav--right {
  right: -19px;
}

.ak8-hero-nav--left {
  left: -19px;
}

.ak8-hero-nav:hover {
  background: #fff;
  color: #111915;
  transform: scale(1.04);
  box-shadow: 0 7px 20px rgba(23,43,35,.20);
}

.ak8-hero-nav:focus-visible {
  outline: 3px solid rgba(10,143,97,.18);
  outline-offset: 2px;
}

.ak8-hero-nav i {
  font-size: 11px;
}

.ak8-side {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 14px;
}

.ak8-side-top {
  min-height: 310px;
  background: linear-gradient(135deg, #06261b, #0a8f61);
}

.ak8-side-top .ak8-card__veil {
  background:
    linear-gradient(180deg, rgba(3,20,14,.06) 10%, rgba(3,20,14,.28) 48%, rgba(3,20,14,.88) 100%),
    linear-gradient(270deg, rgba(3,20,14,.42), rgba(3,20,14,.08) 62%);
}

.ak8-side-top__copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px;
  color: #fff;
}

.ak8-side-top__copy small,
.ak8-mini__copy small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 700;
}

.ak8-side-top__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.34;
  color: #fff;
  font-weight: 800;
  text-shadow:
    0 1px 1px rgba(0,0,0,.62),
    0 3px 14px rgba(0,0,0,.30);
}

.ak8-side-top__copy p {
  margin: 0 0 17px;
  color: rgba(255,255,255,.88);
  line-height: 1.8;
  font-size: 13px;
  max-width: 470px;
}

.ak8-side-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ak8-mini {
  min-height: 220px;
  background: #e9faf3;
}

.ak8-mini:nth-child(2) {
  background: #edf5ff;
}

.ak8-mini .ak8-card__veil {
  background: linear-gradient(180deg, rgba(5,27,19,.04) 18%, rgba(5,27,19,.88) 100%);
}

.ak8-mini__copy {
  position: absolute;
  inset: auto 0 0 0;
  color: #fff;
  padding: 21px;
}

.ak8-mini__copy h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.45;
  color: #fff;
  font-weight: 800;
  text-shadow:
    0 1px 1px rgba(0,0,0,.66),
    0 3px 12px rgba(0,0,0,.34);
}

.ak8-mini__copy p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 11px;
  line-height: 1.7;
}


/* ---------- Hero role differentiation ---------- */
.ak8-hero-role {
  --ak8-role-accent: #70efb9;
}

.ak8-hero-role--primary {
  --ak8-role-accent: #86f7c5;
}

.ak8-hero-role--assistant {
  --ak8-role-accent: #9dd8ff;
}

.ak8-hero-role--creative {
  --ak8-role-accent: #ffd28a;
}

.ak8-hero-role--learning {
  --ak8-role-accent: #c7b8ff;
}

.ak8-role-label {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.ak8-role-label i {
  color: var(--ak8-role-accent);
}

.ak8-side-price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  font-weight: 800;
}

.ak8-side-price i {
  color: var(--ak8-role-accent);
}

.ak8-hero-role--assistant .ak8-card__veil {
  background:
    linear-gradient(180deg, rgba(5,18,35,.04) 8%, rgba(5,20,38,.36) 50%, rgba(4,17,32,.92) 100%),
    linear-gradient(270deg, rgba(5,27,48,.42), rgba(5,27,48,.04) 64%);
}

.ak8-mini--creative {
  background: linear-gradient(145deg, #33220c, #8c5c19);
}

.ak8-mini--creative .ak8-card__veil {
  background:
    linear-gradient(180deg, rgba(34,20,4,.02) 12%, rgba(34,20,4,.22) 48%, rgba(30,17,3,.90) 100%);
}

.ak8-mini--learning {
  background: linear-gradient(145deg, #251b45, #5f4aa5);
}

.ak8-mini--learning .ak8-card__veil {
  background:
    linear-gradient(180deg, rgba(28,20,52,.02) 12%, rgba(28,20,52,.24) 48%, rgba(25,17,48,.92) 100%);
}

.ak8-mini--creative .ak8-card__cover {
  object-position: center 42%;
}

.ak8-mini--learning .ak8-card__cover {
  object-position: center 35%;
}

.ak8-mini--creative::before,
.ak8-mini--learning::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  inset-inline-start: -22px;
  top: -24px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ak8-role-accent) 38%, transparent);
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--ak8-role-accent) 7%, transparent),
    0 0 0 36px color-mix(in srgb, var(--ak8-role-accent) 4%, transparent);
  pointer-events: none;
  z-index: 1;
}

.ak8-hero-role--primary .ak8-kicker {
  border-color: color-mix(in srgb, var(--ak8-role-accent) 35%, transparent);
}

.ak8-hero-role--primary .ak8-hero-main__meta i {
  color: var(--ak8-role-accent);
}


/* Keep hero copy crisp on busy product artwork without a heavy text outline. */
.ak8-hero-main__copy,
.ak8-side-top__copy,
.ak8-mini__copy {
  text-wrap: pretty;
}

.ak8-hero-main__copy > p,
.ak8-side-top__copy p,
.ak8-mini__copy p {
  text-shadow: 0 1px 2px rgba(0,0,0,.42);
}

.ak8-hero-main__meta,
.ak8-side-top__copy small,
.ak8-mini__copy small {
  text-shadow: 0 1px 2px rgba(0,0,0,.38);
}

/* ---------- Below hero teaser / reference rail ---------- */
.ak8-strip {
  padding: 0 0 42px;
}

.ak8-strip__panel {
  border: 1px solid var(--ak8-line);
  background: rgba(255,255,255,.9);
  border-radius: var(--ak8-radius-lg);
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(20,55,43,.04);
}

.ak8-strip__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ak8-strip__title strong {
  color: var(--ak8-heading);
  font-size: 14px;
  font-weight: 800;
}

.ak8-strip__title span {
  color: var(--ak8-muted);
  font-size: 11px;
}

.ak8-strip__products {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.ak8-strip-product {
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7faf8;
  border: 1px solid #edf3f0;
  padding: 8px 10px;
  border-radius: 12px;
}

.ak8-strip-product img,
.ak8-strip-product__fallback {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--ak8-mint);
  display: grid;
  place-items: center;
  color: var(--ak8-green);
}

.ak8-strip-product b {
  display: block;
  color: var(--ak8-heading);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  max-width: 105px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak8-strip-product small {
  color: var(--ak8-green-strong);
  font-size: 10px;
  font-weight: 700;
}

.ak8-strip__next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ak8-green);
  font-size: 12px;
  font-weight: 800;
}


/* ---------- Trending panels ---------- */
.ak8-trending {
  padding: 4px 0 36px;
}

.ak8-trending__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding-inline: 3px;
}

.ak8-trending__intro > div > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ak8-green);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.ak8-trending__intro h2 {
  margin: 0;
  color: var(--ak8-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.35px;
}

.ak8-trending__intro p {
  max-width: 470px;
  margin: 0;
  color: #7a8f85;
  font-size: 11px;
  line-height: 1.8;
}

.ak8-trending__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ak8-trend-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #e2ebe6;
  border-radius: 20px;
  padding: 22px 24px 20px;
  box-shadow: 0 10px 28px rgba(18, 54, 40, .045);
}

.ak8-trend-panel__head {
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #eef3f0;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.ak8-trend-panel__title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.ak8-trend-panel__title-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eef8f3;
  color: var(--ak8-green);
  font-size: 14px;
}

.ak8-trend-panel__title > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ak8-trend-panel__title strong {
  color: var(--ak8-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.ak8-trend-panel__title small {
  color: #8aa096;
  font-size: 9.5px;
  font-weight: 500;
}

.ak8-trend-panel__title > i {
  color: var(--ak8-green);
  font-size: 11px;
  margin-inline-start: 2px;
}

.ak8-trend-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}

.ak8-trend-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: inherit;
}

.ak8-trend-item__media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e3ebe7;
  background: #fff;
  color: var(--ak8-green);
  font-size: 19px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ak8-trend-item__media.is-logo {
  padding: 7px;
  background: #fff;
  border-color: #dfe8e3;
}

a.ak8-trend-item:hover .ak8-trend-item__media {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(21, 63, 47, .09);
}

.ak8-trend-item__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ak8-trend-item__media.is-logo img {
  object-fit: contain;
}

.ak8-trend-item__body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 3px;
}

.ak8-trend-item__body strong {
  width: 100%;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  color: #173429;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ak8-trend-item__body small {
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: hidden;
  color: #81958c;
  font-size: 9px;
  line-height: 1.45;
  white-space: nowrap;
}

.ak8-trend-item__body small span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ak8-trend-item__body small i {
  color: var(--ak8-green);
  font-size: 8px;
}

.ak8-trend-item__body em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0;
  padding: 0 9px;
  border-radius: 7px;
  background: #edf7f1;
  color: #126b47;
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.1px;
  white-space: nowrap;
}

.ak8-trend-item--soon {
  opacity: .32;
}

.ak8-trend-item--soon .ak8-trend-item__media {
  border-style: dashed;
  background: #f8faf9;
}

.ak8-trend-item--soon .ak8-trend-item__body strong {
  color: #91a39b;
}

.ak8-trend-item--soon .ak8-trend-item__body em {
  color: #9aa9a2;
  background: #f4f6f5;
}


/* ---------- Gaming shelf ---------- */
.ak8-games-shelf {
  padding: 4px 0 42px;
}

.ak8-games-shelf__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
  padding-inline: 3px;
}

.ak8-games-shelf__head > div:first-child > span {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--ak8-green);
  font-size: 11px;
  font-weight: 800;
}

.ak8-games-shelf__head h2 {
  margin: 0;
  color: var(--ak8-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.35px;
}

.ak8-games-shelf__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ak8-games-shelf__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #dce8e2;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #6f857b;
  font-size: 9.5px;
  font-weight: 700;
}

.ak8-games-shelf__meta > span i {
  color: var(--ak8-green);
  font-size: 8px;
}

.ak8-games-rail-shell,
.ak8-shelf-rail-shell {
  position: relative;
}

.ak8-games-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px 6px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  outline: none;
}

.ak8-games-rail::-webkit-scrollbar {
  display: none;
}


.ak8-games-nav,
.ak8-rail-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-top: -19px;
  border: 1px solid rgba(207,222,214,.92);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #24463a;
  box-shadow: 0 9px 24px rgba(18,55,42,.14);
  cursor: pointer;
  opacity: 0;
  transform: scale(.94);
  transition:
    opacity .18s ease,
    transform .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease;
  backdrop-filter: blur(10px);
}

.ak8-games-rail-shell.is-scrollable .ak8-games-nav,
.ak8-shelf-rail-shell.is-scrollable .ak8-rail-nav {
  opacity: 1;
  transform: scale(1);
}

.ak8-games-nav--right,
.ak8-rail-nav--right {
  right: -17px;
}

.ak8-games-nav--left,
.ak8-rail-nav--left {
  left: -17px;
}

.ak8-games-nav:hover:not(:disabled),
.ak8-rail-nav:hover:not(:disabled) {
  background: var(--ak8-green);
  color: #fff;
  border-color: var(--ak8-green);
  box-shadow: 0 11px 26px rgba(10,143,97,.22);
}

.ak8-games-nav:focus-visible,
.ak8-rail-nav:focus-visible {
  outline: 3px solid rgba(10,143,97,.18);
  outline-offset: 2px;
}

.ak8-games-nav:disabled,
.ak8-rail-nav:disabled {
  opacity: .28 !important;
  cursor: default;
  box-shadow: 0 4px 12px rgba(18,55,42,.06);
}

.ak8-games-nav i,
.ak8-rail-nav i {
  font-size: 11px;
}

.ak8-game-card {
  min-width: 0;
  display: block;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(217,230,224,.95);
  box-shadow: 0 9px 24px rgba(16, 48, 36, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ak8-game-card:not(.ak8-game-card--draft):hover {
  transform: translateY(-2px);
  border-color: #cfdfd7;
  box-shadow: 0 14px 30px rgba(16, 48, 36, .09);
}

.ak8-game-card__media {
  position: relative;
  display: block;
  aspect-ratio: 0.68;
  overflow: hidden;
  background:
    linear-gradient(145deg, #16372a, #0b1f18);
}

.ak8-game-card__media > img,
.ak8-game-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ak8-game-card__media > img {
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.ak8-game-card:not(.ak8-game-card--draft):hover .ak8-game-card__media > img {
  transform: scale(1.025);
}

.ak8-game-card__fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 18px;
  color: #d8eee5;
  font-size: 34px;
  text-align: center;
}

.ak8-game-card__fallback b {
  max-width: 120px;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  line-height: 1.55;
  font-weight: 800;
}

.ak8-game-card__media--1 { background: linear-gradient(150deg, #213d31, #0b1712); }
.ak8-game-card__media--2 { background: linear-gradient(150deg, #31553f, #111d16); }
.ak8-game-card__media--3 { background: linear-gradient(150deg, #33483d, #151918); }
.ak8-game-card__media--4 { background: linear-gradient(150deg, #4a392c, #17120e); }
.ak8-game-card__media--5 { background: linear-gradient(150deg, #203d44, #0a1518); }

.ak8-game-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,16,12,.01) 28%, rgba(4,14,10,.18) 55%, rgba(3,12,8,.90) 100%);
}

.ak8-game-card__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 13px 12px;
  color: #fff;
  text-align: right;
}

.ak8-game-card__copy strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  color: #fff;
  font-size: 11.5px;
  line-height: 1.58;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,.48);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-game-card__copy small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  line-height: 1.5;
}

.ak8-game-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 5px;
}

.ak8-game-card__footer em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  color: #113b2a;
  font-style: normal;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 850;
  backdrop-filter: blur(5px);
}

.ak8-game-card__footer em.is-draft {
  gap: 5px;
  background: rgba(240,248,244,.92);
  color: #50675d;
}

.ak8-game-card__footer em.is-draft i {
  color: var(--ak8-green);
  font-size: 7px;
}

.ak8-game-card--draft {
  cursor: default;
}

.ak8-game-card--draft .ak8-game-card__media > img {
  filter: saturate(.92);
}

.ak8-games-shelf__note {
  margin: 9px 3px 0;
  color: #83968d;
  font-size: 9.5px;
  line-height: 1.8;
}

@media (min-width: 1280px) {
  .ak8-games-rail {
    grid-auto-columns: calc((100% - 70px) / 8);
  }
}

@media (max-width: 900px) {
  .ak8-games-shelf__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ak8-games-shelf__meta {
    width: 100%;
    justify-content: space-between;
  }

  .ak8-games-rail {
    grid-auto-columns: minmax(145px, 34vw);
  }

  .ak8-games-nav--right,
  .ak8-rail-nav--right {
    right: 6px;
  }

  .ak8-games-nav--left,
  .ak8-rail-nav--left {
    left: 6px;
  }
}

@media (max-width: 620px) {
  .ak8-games-shelf {
    padding-bottom: 34px;
  }

  .ak8-games-shelf__head h2 {
    font-size: 21px;
  }

  .ak8-games-shelf__meta > span {
    font-size: 9px;
  }

  .ak8-games-rail {
    grid-auto-columns: minmax(138px, 48vw);
    gap: 9px;
  }

  .ak8-games-nav,
  .ak8-rail-nav {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .ak8-games-nav--right,
  .ak8-rail-nav--right {
    right: 5px;
  }

  .ak8-games-nav--left,
  .ak8-rail-nav--left {
    left: 5px;
  }

  .ak8-game-card {
    border-radius: 14px;
  }

  .ak8-game-card__copy {
    padding: 13px 11px 11px;
  }

  .ak8-game-card__copy strong {
    font-size: 11px;
    min-height: 35px;
  }

  .ak8-games-shelf__note {
    font-size: 9px;
  }
}

/* ---------- Shared storefront section heading ---------- */
.ak8-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding-inline: 3px;
}

.ak8-section-heading > div > span {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--ak8-green);
  font-size: 11px;
  font-weight: 800;
}

.ak8-section-heading h2 {
  margin: 0;
  color: var(--ak8-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.35px;
}

.ak8-section-heading > p {
  max-width: 490px;
  margin: 0;
  color: #7b8f86;
  font-size: 11px;
  line-height: 1.85;
}

.ak8-section-heading--compact {
  margin-bottom: 13px;
}

/* ---------- Digital essentials ---------- */
.ak8-digital-essentials {
  padding: 4px 0 42px;
}

.ak8-essentials-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.ak8-essentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ak8-essential-card {
  min-width: 0;
  min-height: 102px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid #e1e9e5;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  box-shadow: 0 7px 20px rgba(18,54,40,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ak8-essential-card:hover {
  transform: translateY(-2px);
  border-color: #d3e2da;
  box-shadow: 0 12px 27px rgba(18,54,40,.08);
}

.ak8-essential-card__media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1e9e5;
  border-radius: 14px;
  background: #fff;
  color: var(--ak8-green);
  font-size: 20px;
}

.ak8-essential-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 7px;
}

.ak8-essential-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ak8-essential-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ak8-heading);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-essential-card__body small {
  overflow: hidden;
  color: #7d9188;
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.ak8-essential-card__role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  font-weight: 800;
}

.ak8-essential-card__role i {
  flex: 0 0 auto;
  font-size: 8px;
}

.ak8-essential-card--ai {
  border-inline-start: 3px solid #23a879;
}

.ak8-essential-card--work {
  border-inline-start: 3px solid #4f7fd8;
}

.ak8-essential-card--creative {
  border-inline-start: 3px solid #d6932f;
}

.ak8-essential-card--learning {
  border-inline-start: 3px solid #7657c7;
}

.ak8-essential-card--ai .ak8-essential-card__role {
  color: #187b5a;
}

.ak8-essential-card--work .ak8-essential-card__role {
  color: #416bb7;
}

.ak8-essential-card--creative .ak8-essential-card__role {
  color: #a76b13;
}

.ak8-essential-card--learning .ak8-essential-card__role {
  color: #6547ae;
}

.ak8-essential-card__price {
  align-self: start;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  margin-top: 1px;
  padding: 0 9px;
  border-radius: 7px;
  background: #edf7f1;
  color: #166b4a;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.ak8-value-card {
  position: relative;
  min-height: 214px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(180px, .95fr);
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(190,255,225,.17), transparent 28%),
    linear-gradient(125deg, #0a7255 0%, #0a8560 46%, #136e6a 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(7,82,59,.14);
}

.ak8-value-card__copy {
  position: relative;
  z-index: 2;
  padding: 25px 27px;
}

.ak8-value-card__copy > span {
  display: inline-block;
  margin-bottom: 6px;
  color: rgba(232,255,245,.8);
  font-size: 10px;
  font-weight: 800;
}

.ak8-value-card__copy h3 {
  max-width: 440px;
  margin: 0 0 7px;
  color: #fff;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -.3px;
}

.ak8-value-card__copy p {
  max-width: 475px;
  margin: 0;
  color: rgba(245,255,251,.78);
  font-size: 11px;
  line-height: 1.9;
}

.ak8-value-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.ak8-value-card__features span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(220,255,239,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.9);
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.ak8-value-card__features i {
  color: #b7f5d9;
  font-size: 8px;
}

body.ak8-preview .ak8-value-card__cta {
  min-width: 154px;
  min-height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding: 0 15px;
  border: 1px solid rgba(213,245,230,.78);
  border-radius: 10px;
  background: #effbf5 !important;
  color: #07543d !important;
  -webkit-text-fill-color: #07543d !important;
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  white-space: nowrap;
  opacity: 1 !important;
  box-shadow: 0 8px 19px rgba(3,45,32,.12);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

body.ak8-preview .ak8-value-card__cta span,
body.ak8-preview .ak8-value-card__cta i {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #07543d !important;
  -webkit-text-fill-color: #07543d !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

body.ak8-preview .ak8-value-card__cta:hover {
  transform: translateY(-1px);
  background: #ffffff !important;
  box-shadow: 0 11px 24px rgba(3,45,32,.16);
}

.ak8-value-card__visual {
  position: relative;
  min-height: 100%;
}

.ak8-value-card__visual::before,
.ak8-value-card__visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(221,255,240,.16);
}

.ak8-value-card__visual::before {
  width: 230px;
  height: 230px;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
}

.ak8-value-card__visual::after {
  width: 160px;
  height: 160px;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
}

.ak8-value-core,
.ak8-value-orbit {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.94);
  color: #0b7656;
  box-shadow: 0 13px 28px rgba(2,44,31,.16);
  backdrop-filter: blur(8px);
}

.ak8-value-core {
  width: 62px;
  height: 62px;
  top: 50%;
  left: 50%;
  margin: -31px 0 0 -31px;
  border-radius: 19px;
  font-size: 21px;
}

.ak8-value-orbit {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 15px;
}

.ak8-value-orbit--1 { top: 18%; right: 15%; }
.ak8-value-orbit--2 { top: 17%; left: 17%; }
.ak8-value-orbit--3 { bottom: 15%; right: 18%; }
.ak8-value-orbit--4 { bottom: 17%; left: 15%; }
.ak8-value-orbit--5 { top: 50%; right: 4%; transform: translateY(-50%); }

/* ---------- Curated collections ---------- */
.ak8-collections {
  padding: 0 0 44px;
}

.ak8-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ak8-collection-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  border: 1px solid #dfe8e3;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 23px rgba(18,54,40,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.ak8-collection-card:hover {
  transform: translateY(-2px);
  border-color: #d0dfd7;
  box-shadow: 0 13px 29px rgba(18,54,40,.085);
}

.ak8-collection-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.38;
  overflow: hidden;
  background: linear-gradient(145deg, #0f503b, #10231c);
}

.ak8-collection-card__media--2 {
  background: linear-gradient(145deg, #2d4141, #121e1d);
}

.ak8-collection-card__media--3 {
  background: linear-gradient(145deg, #345a47, #13231a);
}

.ak8-collection-card__media--4 {
  background: linear-gradient(145deg, #3c342c, #171411);
}

.ak8-collection-card__media > img {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform .35s ease;
}

a.ak8-collection-card:hover .ak8-collection-card__media > img {
  transform: scale(1.045);
}

.ak8-collection-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,15,10,.00) 18%, rgba(3,15,10,.18) 52%, rgba(3,15,10,.90) 100%);
}

.ak8-collection-card__copy {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  padding: 17px 16px 15px;
  color: #fff;
}

.ak8-collection-card__copy small {
  margin-bottom: 3px;
  color: #baf1d7;
  font-size: 8.5px;
  font-weight: 800;
}

.ak8-collection-card__copy strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,.38);
}

.ak8-collection-card__copy > span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255,255,255,.74);
  font-size: 9.5px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-collection-card__foot {
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.ak8-collection-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e2ebe6;
  border-radius: 12px;
  background: #f5faf7;
  color: var(--ak8-green);
  font-size: 14px;
}

.ak8-collection-card__foot > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ak8-collection-card__foot strong {
  color: var(--ak8-heading);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
}

.ak8-collection-card__foot small {
  color: #84988f;
  font-size: 8.5px;
  line-height: 1.5;
}

.ak8-collection-card__foot > i {
  color: #789086;
  font-size: 9px;
}

.ak8-collection-card--preview {
  opacity: .92;
}


.ak8-collection-card--ai .ak8-collection-card__icon {
  color: #187b5a;
  background: #f0faf6;
}

.ak8-collection-card--creative .ak8-collection-card__icon {
  color: #a76b13;
  background: #fff8ec;
}

.ak8-collection-card--learning .ak8-collection-card__icon {
  color: #6547ae;
  background: #f7f3ff;
}

.ak8-collection-card--gaming .ak8-collection-card__icon {
  color: #5d6570;
  background: #f5f6f8;
}

.ak8-collection-card--ai .ak8-collection-card__copy small {
  color: #baf1d7;
}

.ak8-collection-card--creative .ak8-collection-card__copy small {
  color: #ffd99a;
}

.ak8-collection-card--learning .ak8-collection-card__copy small {
  color: #d6c9ff;
}

.ak8-collection-card--gaming .ak8-collection-card__copy small {
  color: #ddd5ca;
}

@media (max-width: 1080px) {
  .ak8-essentials-layout {
    grid-template-columns: 1fr;
  }

  .ak8-value-card {
    min-height: 220px;
  }

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

@media (max-width: 760px) {
  .ak8-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ak8-essentials-grid {
    grid-template-columns: 1fr;
  }

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

  .ak8-value-card__visual {
    min-height: 190px;
    order: -1;
  }
}

@media (max-width: 620px) {
  .ak8-digital-essentials {
    padding-bottom: 38px;
  }

  .ak8-section-heading h2 {
    font-size: 21px;
  }

  .ak8-essential-card {
    min-height: 88px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 11px 12px;
  }

  .ak8-essential-card__media {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .ak8-value-card {
    border-radius: 16px;
  }

  .ak8-value-card__copy {
    padding: 21px 18px 22px;
  }

  .ak8-value-card__copy h3 {
    font-size: 20px;
  }

  .ak8-value-card__visual {
    min-height: 165px;
  }

  .ak8-collections {
    padding-bottom: 40px;
  }

  .ak8-collections-grid {
    grid-template-columns: 1fr;
  }

  .ak8-collection-card__media {
    aspect-ratio: 1.55;
  }
}

/* ---------- Store-style category shelves ---------- */
.ak8-store-shelf {
  padding: 2px 0 38px;
}

.ak8-store-shelf--last {
  padding-bottom: 44px;
}

.ak8-store-shelf__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 13px;
  padding-inline: 3px;
}

.ak8-store-shelf__head h2 {
  margin: 0;
  color: var(--ak8-heading);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -.3px;
}

.ak8-app-rail,
.ak8-mini-game-rail {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px 5px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.ak8-app-rail::-webkit-scrollbar,
.ak8-mini-game-rail::-webkit-scrollbar {
  display: none;
}

.ak8-app-rail {
  grid-auto-columns: minmax(142px, 1fr);
}

.ak8-app-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #e0e8e4;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  box-shadow: 0 7px 19px rgba(18,54,40,.045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.ak8-app-card:hover {
  transform: translateY(-2px);
  border-color: #d1e0d8;
  box-shadow: 0 11px 25px rgba(18,54,40,.08);
}

.ak8-app-card--planned {
  opacity: .78;
}

.ak8-app-card__visual {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-bottom: 0;
}

.ak8-app-card__visual img {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: contain;
  padding: 7px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 7px 18px rgba(19,48,38,.06);
}

.ak8-app-card__visual > i {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color: #174f3b;
  font-size: 28px;
  box-shadow: 0 7px 18px rgba(19,48,38,.06);
}

.ak8-app-card__visual--1 { background: #f8eef0; }
.ak8-app-card__visual--2 { background: #edf4fa; }
.ak8-app-card__visual--3 { background: #eef7f2; }
.ak8-app-card__visual--4 { background: #f7eef7; }
.ak8-app-card__visual--5 { background: #f9f1eb; }
.ak8-app-card__visual--6 { background: #f1f0f8; }
.ak8-app-card__visual--7 { background: #eaf6f8; }
.ak8-app-card__visual--8 { background: #f8f3e8; }

.ak8-app-card__body {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  padding: 12px 13px 12px;
}

.ak8-app-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 37px;
  color: var(--ak8-heading);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-app-card__body small {
  margin-top: 2px;
  color: #82958d;
  font-size: 9px;
  line-height: 1.5;
}

.ak8-app-card__body > span {
  margin-top: auto;
  padding-top: 9px;
}

.ak8-app-card__body em {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 7px;
  background: #edf7f1;
  color: #176b4a;
  font-size: 10.5px;
  line-height: 1;
  font-style: normal;
  font-weight: 850;
}

.ak8-app-card--planned .ak8-app-card__body em {
  background: #f4f5f4;
  color: #8a9a93;
}

.ak8-mini-game-rail {
  grid-auto-columns: minmax(150px, 1fr);
}

.ak8-mini-game-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #dfe7e3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18,54,40,.05);
}

.ak8-mini-game-card__media {
  position: relative;
  display: block;
  aspect-ratio: .72;
  overflow: hidden;
  background: linear-gradient(145deg, #15392b, #101b16);
}

.ak8-mini-game-card__media > img,
.ak8-mini-game-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ak8-mini-game-card__media > img {
  display: block;
  object-fit: cover;
}

.ak8-mini-game-card__fallback {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.84);
  font-size: 30px;
}

.ak8-mini-game-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,16,11,.02) 28%, rgba(4,16,11,.18) 55%, rgba(3,12,8,.90) 100%);
}

.ak8-mini-game-card__copy {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 12px 11px;
  color: #fff;
}

.ak8-mini-game-card__copy strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  color: #fff;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-mini-game-card__copy small {
  color: rgba(255,255,255,.72);
  font-size: 8.5px;
}

.ak8-mini-game-card__copy em {
  align-self: flex-start;
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(245,250,247,.92);
  color: #52685e;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

@media (min-width: 1280px) {
  .ak8-app-rail {
    grid-auto-columns: calc((100% - 70px) / 8);
  }

  .ak8-mini-game-rail {
    grid-auto-columns: calc((100% - 70px) / 8);
  }
}

@media (max-width: 900px) {
  .ak8-store-shelf__head h2 {
    font-size: 20px;
  }

  .ak8-app-rail,
  .ak8-mini-game-rail {
    grid-auto-columns: minmax(145px, 34vw);
  }
}

@media (max-width: 620px) {
  .ak8-store-shelf {
    padding-bottom: 36px;
  }

  .ak8-store-shelf__head h2 {
    font-size: 19px;
  }


  .ak8-app-rail,
  .ak8-mini-game-rail {
    grid-auto-columns: minmax(138px, 48vw);
    gap: 9px;
  }

  .ak8-app-card__visual {
    min-height: 104px;
  }

  .ak8-app-card__visual img,
  .ak8-app-card__visual > i {
    width: 64px;
    height: 64px;
  }

  .ak8-app-card__body {
    min-height: 96px;
  }
}

/* ---------- Feature shelves ---------- */
.ak8-feature-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px 5px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.ak8-feature-rail::-webkit-scrollbar {
  display: none;
}

.ak8-feature-card {
  min-width: 0;
  min-height: 174px;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #e0e8e4;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 22px rgba(18,54,40,.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.ak8-feature-card:hover {
  transform: translateY(-2px);
  border-color: #d1e0d8;
  box-shadow: 0 12px 27px rgba(18,54,40,.085);
}

.ak8-feature-card--planned {
  opacity: .82;
}

.ak8-feature-card__visual {
  display: grid;
  place-items: center;
  padding: 18px;
  border-inline-end: 1px solid rgba(219,229,224,.72);
}

.ak8-feature-card__visual img {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: contain;
  padding: 7px;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 20px rgba(18,54,40,.07);
}

.ak8-feature-card__visual > i {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  color: #174f3b;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(18,54,40,.07);
}

.ak8-feature-card__body {
  min-width: 0;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 15px 14px;
}

.ak8-feature-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 41px;
  color: var(--ak8-heading);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-feature-card__body small {
  margin-top: 2px;
  color: #7d9188;
  font-size: 9px;
  line-height: 1.5;
}

.ak8-feature-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: #5f756b;
  font-size: 9.5px;
  line-height: 1.75;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ak8-feature-card__body em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: auto;
  padding: 0 7px;
  border-radius: 6px;
  background: #f1f7f3;
  color: #27694f;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 800;
}

.ak8-feature-card--planned .ak8-feature-card__body em {
  background: #f4f5f4;
  color: #8b9a94;
}

@media (min-width: 1280px) {
  .ak8-feature-rail {
    grid-auto-columns: calc((100% - 30px) / 4);
  }
}

@media (max-width: 900px) {
  .ak8-feature-rail {
    grid-auto-columns: minmax(270px, 64vw);
  }
}

@media (max-width: 620px) {
  .ak8-feature-rail {
    grid-auto-columns: minmax(260px, 84vw);
    gap: 9px;
  }

  .ak8-feature-card {
    min-height: 160px;
    grid-template-columns: 36% minmax(0, 1fr);
  }

  .ak8-feature-card__visual {
    padding: 14px;
  }

  .ak8-feature-card__visual img,
  .ak8-feature-card__visual > i {
    width: 66px;
    height: 66px;
  }

  .ak8-feature-card__body {
    padding: 14px 13px 12px;
  }

  .ak8-feature-card__body p {
    -webkit-line-clamp: 3;
  }
}

/* ---------- Smart stack ---------- */
.ak8-smart-stack {
  padding: 2px 0 42px;
}

.ak8-smart-stack__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 12px;
}

.ak8-stack-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 77% 24%, rgba(176,255,220,.17), transparent 22%),
    radial-gradient(circle at 28% 86%, rgba(102,208,169,.12), transparent 28%),
    linear-gradient(135deg, #0a6d50 0%, #0b8460 48%, #0d5f59 100%);
  color: #fff;
  box-shadow: 0 15px 34px rgba(8,76,56,.13);
}

.ak8-stack-hero__copy {
  position: relative;
  z-index: 3;
  padding: 34px 32px 30px;
}

.ak8-stack-hero__copy > span {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(224,255,242,.82);
  font-size: 10px;
  font-weight: 800;
}

.ak8-stack-hero__copy h3 {
  max-width: 520px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 29px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -.45px;
}

.ak8-stack-hero__copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(245,255,251,.8);
  font-size: 11.5px;
  line-height: 1.95;
}

.ak8-stack-hero__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.ak8-stack-hero__steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(222,255,240,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.91);
  font-size: 9px;
  font-weight: 700;
}

.ak8-stack-hero__steps b {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0b6e50;
  font-size: 8px;
}

.ak8-stack-hero__copy > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  margin-top: 19px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  color: #0b5e47 !important;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 9px 22px rgba(3,43,31,.16);
}

.ak8-stack-hero__visual {
  position: relative;
  min-height: 100%;
}

.ak8-stack-hero__visual::before,
.ak8-stack-hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(222,255,240,.14);
}

.ak8-stack-hero__visual::before {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
}

.ak8-stack-hero__visual::after {
  width: 190px;
  height: 190px;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
}

.ak8-stack-bubble {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 21px;
  background: rgba(255,255,255,.94);
  color: #0b6e50;
  box-shadow: 0 15px 30px rgba(2,44,31,.18);
  backdrop-filter: blur(10px);
}

.ak8-stack-bubble img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 9px;
}

.ak8-stack-bubble i {
  font-size: 27px;
}

.ak8-stack-bubble--1 { top: 14%; right: 15%; }
.ak8-stack-bubble--2 { top: 19%; left: 13%; }
.ak8-stack-bubble--3 { bottom: 16%; right: 18%; }
.ak8-stack-bubble--4 { bottom: 14%; left: 17%; }

.ak8-stack-path {
  position: absolute;
  inset: 18% 13%;
  border: 1px dashed rgba(222,255,240,.22);
  border-radius: 45% 55% 50% 50%;
  transform: rotate(-7deg);
}

.ak8-stack-list {
  overflow: hidden;
  border: 1px solid #dfe8e3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18,54,40,.05);
}

.ak8-stack-list__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 19px 20px 15px;
  border-bottom: 1px solid #edf2ef;
}

.ak8-stack-list__head strong {
  color: var(--ak8-heading);
  font-size: 16px;
  font-weight: 800;
}

.ak8-stack-list__head small {
  color: #83978e;
  font-size: 9.5px;
}

.ak8-stack-list__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ak8-stack-item {
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border-bottom: 1px solid #eef3f0;
  border-inline-end: 1px solid #eef3f0;
  color: inherit;
}

.ak8-stack-item:nth-child(2n) {
  border-inline-end: 0;
}

.ak8-stack-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.ak8-stack-item--planned {
  opacity: .68;
}

.ak8-stack-item__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1e9e5;
  border-radius: 13px;
  background: #f7faf8;
  color: #1b6a4e;
  font-size: 16px;
}

.ak8-stack-item__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

.ak8-stack-item__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ak8-stack-item__copy strong {
  overflow: hidden;
  color: var(--ak8-heading);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ak8-stack-item__copy small {
  color: #83968d;
  font-size: 8px;
}

.ak8-stack-item em {
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 6px;
  background: #f1f7f3;
  color: #2b6d53;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

/* ---------- Digital life ---------- */
.ak8-digital-life {
  padding: 0 0 44px;
}

.ak8-digital-life__rail-shell {
  position: relative;
}

.ak8-digital-life__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 5);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px 6px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  outline: none;
}

.ak8-digital-life__grid::-webkit-scrollbar {
  display: none;
}

.ak8-life-card {
  min-width: 0;
  display: block;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #dfe8e3;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 23px rgba(18,54,40,.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.ak8-life-card:hover {
  transform: translateY(-2px);
  border-color: #d1e0d8;
  box-shadow: 0 13px 29px rgba(18,54,40,.08);
}

.ak8-life-card--planned {
  opacity: .86;
}

.ak8-life-card__cover {
  position: relative;
  min-height: 178px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ak8-life-card__cover::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 125%;
  height: 92px;
  left: 50%;
  bottom: -52px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: #fff;
}

.ak8-life-card__orb {
  position: relative;
  z-index: 3;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  color: #17684d;
  box-shadow: 0 13px 28px rgba(18,54,40,.10);
}

.ak8-life-card__orb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 8px;
}

.ak8-life-card__orb i {
  font-size: 32px;
}

.ak8-life-card__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: .20;
}

.ak8-life-card__glow--1 { background: #59cfa0; }
.ak8-life-card__glow--2 { background: #4da4ff; }
.ak8-life-card__glow--3 { background: #7ddc89; }
.ak8-life-card__glow--4 { background: #7b78e8; }

.ak8-life-card__body {
  position: relative;
  z-index: 4;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 18px 16px;
  text-align: center;
}

.ak8-life-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 41px;
  color: var(--ak8-heading);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ak8-life-card__body small {
  margin-top: 2px;
  color: #82958d;
  font-size: 9px;
}

.ak8-life-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: #647a70;
  font-size: 9.5px;
  line-height: 1.75;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ak8-life-card__body em {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0 7px;
  border-radius: 6px;
  background: #f1f7f3;
  color: #2a6a51;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .ak8-smart-stack__layout {
    grid-template-columns: 1fr;
  }

  .ak8-stack-hero {
    min-height: 330px;
  }

  .ak8-digital-life__grid {
    grid-auto-columns: minmax(220px, 34vw);
  }
}

@media (max-width: 760px) {
  .ak8-stack-hero {
    grid-template-columns: 1fr;
  }

  .ak8-stack-hero__visual {
    min-height: 250px;
    order: -1;
  }

  .ak8-stack-list__items {
    grid-template-columns: 1fr;
  }

  .ak8-stack-item,
  .ak8-stack-item:nth-child(2n),
  .ak8-stack-item:nth-last-child(-n+2) {
    border-inline-end: 0;
    border-bottom: 1px solid #eef3f0;
  }

  .ak8-stack-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .ak8-smart-stack {
    padding-bottom: 38px;
  }

  .ak8-stack-hero {
    min-height: 0;
    border-radius: 16px;
  }

  .ak8-stack-hero__copy {
    padding: 23px 19px 24px;
  }

  .ak8-stack-hero__copy h3 {
    font-size: 22px;
  }

  .ak8-stack-hero__visual {
    min-height: 220px;
  }

  .ak8-stack-bubble {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }

  .ak8-stack-list {
    border-radius: 16px;
  }

  .ak8-digital-life {
    padding-bottom: 40px;
  }

  .ak8-digital-life__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 84vw);
    overflow-x: auto;
    gap: 9px;
    padding: 2px 1px 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ak8-digital-life__grid::-webkit-scrollbar {
    display: none;
  }

  .ak8-life-card {
    min-width: 0;
    scroll-snap-align: start;
  }
}


/* Fill desktop shelf width with the actual number of current cards. */
@media (min-width: 1200px) {
  .ak8-app-rail.ak8-rail-count-1 { grid-auto-columns: 100%; }
  .ak8-app-rail.ak8-rail-count-2 { grid-auto-columns: calc((100% - 10px) / 2); }
  .ak8-app-rail.ak8-rail-count-3 { grid-auto-columns: calc((100% - 20px) / 3); }
  .ak8-app-rail.ak8-rail-count-4 { grid-auto-columns: calc((100% - 30px) / 4); }
  .ak8-app-rail.ak8-rail-count-5 { grid-auto-columns: calc((100% - 40px) / 5); }
  .ak8-app-rail.ak8-rail-count-6 { grid-auto-columns: calc((100% - 50px) / 6); }
  .ak8-app-rail.ak8-rail-count-7 { grid-auto-columns: calc((100% - 60px) / 7); }
  .ak8-app-rail.ak8-rail-count-8 { grid-auto-columns: calc((100% - 70px) / 8); }

  .ak8-feature-rail.ak8-feature-count-1 { grid-auto-columns: 100%; }
  .ak8-feature-rail.ak8-feature-count-2 { grid-auto-columns: calc((100% - 10px) / 2); }
  .ak8-feature-rail.ak8-feature-count-3 { grid-auto-columns: calc((100% - 20px) / 3); }
  .ak8-feature-rail.ak8-feature-count-4 { grid-auto-columns: calc((100% - 30px) / 4); }

  .ak8-digital-life__grid.ak8-life-count-1 { grid-auto-columns: 100%; }
  .ak8-digital-life__grid.ak8-life-count-2 { grid-auto-columns: calc((100% - 10px) / 2); }
  .ak8-digital-life__grid.ak8-life-count-3 { grid-auto-columns: calc((100% - 20px) / 3); }
  .ak8-digital-life__grid.ak8-life-count-4 { grid-auto-columns: calc((100% - 30px) / 4); }
  .ak8-digital-life__grid.ak8-life-count-5 { grid-auto-columns: calc((100% - 40px) / 5); }

  /* Learning shelf follows the Microsoft Store-style compact rail: keep the
     desktop card width at an eight-up rhythm regardless of current item count. */
  .ak8-app-rail.ak8-learning-rail,
  .ak8-app-rail.ak8-productivity-rail {
    grid-auto-columns: calc((100% - 70px) / 8);
  }
}

/* ---------- Footer ---------- */
.ak8-footer {
  margin-top: 8px;
  padding: 0;
  background: #f4f6f5;
  border-top: 1px solid #e2e8e5;
}

.ak8-footer__trustbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #e1e7e4;
}

.ak8-footer__trustbar > span {
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  padding: 18px 20px;
  border-inline-end: 1px solid #e1e7e4;
}

.ak8-footer__trustbar > span:last-child {
  border-inline-end: 0;
}

.ak8-footer__trustbar i {
  grid-row: 1 / 3;
  align-self: center;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f4ee;
  color: var(--ak8-green);
  font-size: 13px;
}

.ak8-footer__trustbar b {
  color: #18382d;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
}

.ak8-footer__trustbar small {
  margin-top: 2px;
  color: #7d9087;
  font-size: 8.5px;
  line-height: 1.55;
}

.ak8-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(130px, .75fr));
  gap: 42px;
  padding: 42px 3px 36px;
}

.ak8-footer__brand {
  min-width: 0;
}

.ak8-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 15px;
}

.ak8-footer__logo img {
  width: auto;
  max-width: 142px;
  max-height: 42px;
  display: block;
}

.ak8-footer__brand h2 {
  margin: 0 0 8px;
  color: #1a382d;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
}

.ak8-footer__brand > p {
  max-width: 430px;
  margin: 0;
  color: #667b72;
  font-size: 10px;
  line-height: 1.9;
}

.ak8-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.ak8-footer__contact a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #dfe7e3;
  border-radius: 9px;
  background: #fff;
  color: #29483c;
  font-size: 9px;
  font-weight: 700;
}

.ak8-footer__contact i {
  color: var(--ak8-green);
  font-size: 9px;
}

.ak8-footer__socials {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.ak8-footer__socials a,
.ak8-footer__socials > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe7e3;
  border-radius: 9px;
  background: #fff;
  color: #52685e;
  font-size: 13px;
}

.ak8-footer__socials a:hover {
  color: var(--ak8-green);
  border-color: #cfe0d7;
}

.ak8-footer__socials > span {
  opacity: .48;
}

.ak8-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ak8-footer__col h3 {
  margin: 0 0 5px;
  color: #1a382d;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 800;
}

.ak8-footer__col a {
  color: #6b7e75;
  font-size: 9.5px;
  line-height: 1.6;
  transition: color .18s ease;
}

.ak8-footer__col a:hover {
  color: var(--ak8-green);
}

.ak8-footer__bottom {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e1e7e4;
  color: #71847b;
  font-size: 8.8px;
}

.ak8-footer__bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 17px;
}

.ak8-footer__bottom-links a {
  color: #71847b;
}

.ak8-footer__bottom-links a:hover {
  color: var(--ak8-green);
}

.ak8-footer__enamad {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e7e3;
}

.ak8-footer__enamad img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

@media (max-width: 1120px) {
  .ak8-footer__grid {
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px, 1fr));
    gap: 30px 34px;
  }

  .ak8-footer__brand {
    grid-row: span 2;
  }

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

  .ak8-footer__trustbar > span:nth-child(2) {
    border-inline-end: 0;
  }

  .ak8-footer__trustbar > span:nth-child(-n+2) {
    border-bottom: 1px solid #e1e7e4;
  }
}

@media (max-width: 760px) {
  .ak8-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
    padding-top: 34px;
  }

  .ak8-footer__brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .ak8-footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding: 14px 0;
  }

  .ak8-footer__bottom-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .ak8-footer__trustbar {
    grid-template-columns: 1fr;
  }

  .ak8-footer__trustbar > span {
    min-height: 78px;
    border-inline-end: 0;
    border-bottom: 1px solid #e1e7e4;
    padding: 14px 4px;
  }

  .ak8-footer__trustbar > span:last-child {
    border-bottom: 0;
  }

  .ak8-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ak8-footer__brand {
    grid-column: auto;
  }

  .ak8-footer__bottom {
    grid-template-columns: 1fr auto;
    font-size: 8px;
  }
}

/* ---------- Mobile ---------- */
.ak8-mobile-toggle {
  display: none;
}

@media (max-width: 1180px) {
  .ak8-header__row {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .ak8-nav {
    display: none;
  }

  .ak8-hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr);
    min-height: 500px;
  }

  .ak8-hero-main {
    min-height: 500px;
  }

  .ak8-hero-main__copy {
    width: 68%;
    padding: 34px;
  }

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

  .ak8-mini {
    min-height: 130px;
  }
}

@media (max-width: 900px) {
  .ak8-trending__intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .ak8-trending__grid {
    grid-template-columns: 1fr;
  }

  .ak8-trend-panel {
    padding: 24px;
  }

  .admin-bar .ak8-header {
    top: 46px;
  }

  .ak8-shell {
    width: min(100% - 30px, 760px);
  }

  .ak8-header__row {
    min-height: 68px;
    grid-template-columns: auto 1fr auto;
  }

  .ak8-brand img {
    max-width: 116px;
    max-height: 38px;
  }

  .ak8-search {
    display: none;
  }

  .ak8-actions .ak8-action span:not(.ak8-cart-count) {
    display: none;
  }

  .ak8-action {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .ak8-mobile-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe8e2;
    border-radius: 999px;
    background: #fff;
    color: var(--ak8-green-dark);
  }

  .ak8-hero {
    padding-top: 18px;
  }

  .ak8-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ak8-hero-main {
    min-height: 465px;
  }

  .ak8-hero-main__copy {
    width: 82%;
    padding: 28px;
  }

  .ak8-hero-main h1 {
    font-size: 38px;
  }

  .ak8-side {
    grid-template-rows: auto auto;
  }

  .ak8-side-top {
    min-height: 270px;
  }

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

  .ak8-mini {
    min-height: 190px;
  }

  .ak8-strip__panel {
    grid-template-columns: 1fr auto;
  }

  .ak8-strip__products {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 620px) {
  .ak8-trending {
    padding-top: 4px;
    padding-bottom: 30px;
  }

  .ak8-trending__intro {
    margin-bottom: 12px;
    padding-inline: 2px;
  }

  .ak8-trending__intro h2 {
    font-size: 22px;
  }

  .ak8-trending__intro p {
    font-size: 11px;
  }

  .ak8-trend-panel {
    border-radius: 15px;
    padding: 19px 16px 20px;
  }

  .ak8-trend-panel__head {
    min-height: 55px;
    margin-bottom: 18px;
    padding-bottom: 13px;
  }

  .ak8-trend-panel__title-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .ak8-trend-panel__title strong {
    font-size: 16px;
  }

  .ak8-trend-panel__title small {
    display: none;
  }


  .ak8-trend-list {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .ak8-trend-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .ak8-trend-item__media {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .ak8-trend-item__media.is-logo {
    padding: 7px;
  }

  .ak8-trend-item__body strong {
    font-size: 12px;
  }

  .ak8-trend-item__body small {
    min-height: 0;
  }

  .ak8-preview-bar {
    font-size: 10px;
    padding-inline: 10px;
  }

  .ak8-shell {
    width: calc(100% - 20px);
  }

  .ak8-header__row {
    min-height: 62px;
    gap: 8px;
  }

  .ak8-actions {
    gap: 5px;
  }

  .ak8-action--account {
    display: none;
  }

  .ak8-hero {
    padding: 10px 0 18px;
  }

  .ak8-hero-grid {
    gap: 10px;
  }

  .ak8-card {
    border-radius: 17px;
  }

  .ak8-hero-main {
    min-height: 415px;
  }

  .ak8-hero-main .ak8-card__veil {
    background: linear-gradient(180deg, rgba(3,18,13,.14), rgba(3,18,13,.9) 64%);
  }

  .ak8-hero-main__copy {
    width: 100%;
    padding: 24px 20px 37px;
  }

  .ak8-hero-main h1 {
    font-size: 31px;
    letter-spacing: -.8px;
  }

  .ak8-hero-main__copy > p {
    font-size: 13px;
    line-height: 1.85;
  }

  .ak8-hero-main__meta {
    margin-bottom: 17px;
    gap: 8px 12px;
  }

  .ak8-hero-main__dots {
    inset-inline-start: 20px;
    bottom: 14px;
  }

  .ak8-side-top {
    min-height: 235px;
  }

  .ak8-side-top__copy {
    padding: 22px;
  }

  .ak8-side-bottom {
    gap: 10px;
  }

  .ak8-mini {
    min-height: 175px;
  }

  .ak8-mini__copy {
    padding: 15px;
  }

  .ak8-mini__copy h3 {
    font-size: 15px;
  }

  .ak8-strip {
    padding-bottom: 24px;
  }

  .ak8-strip__panel {
    padding: 13px;
  }

  .ak8-strip__products {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ak8-strip__products::-webkit-scrollbar {
    display: none;
  }

  .ak8-review-note {
    padding-bottom: 45px;
  }

  .ak8-review-note__box {
    min-height: 140px;
  }

  .ak8-review-note__box h2 {
    font-size: 19px;
  }
}
