/* ==========================================================================
   Direct Cheats — landing page overrides
   Layered on top of assets/kazo/css/landing.css (1:1 Kazo layout)
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

.landing-wrap {
  overflow-x: clip;
}

/* --- Nav ---------------------------------------------------------------- */
@media (max-width: 767px) {
  .dl-nav .btn-primary {
    display: none;
  }
}

.dl-nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border-muted);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dl-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 49;
  display: none;
  padding: 6px 20px 18px;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom: 1px solid var(--border-muted);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dl-mobile-menu.is-open {
  display: block;
}

.dl-mobile-menu a {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--border-muted);
  color: var(--text-light);
  font-size: 14px;
  text-decoration: none;
}

.dl-mobile-menu a:last-child {
  border-bottom: 0;
}

.dl-mobile-menu a:hover,
.dl-mobile-menu a.is-active {
  color: var(--text);
}

.dl-mobile-menu .btn-primary {
  margin-top: 14px;
  width: 100%;
}

/* --- Hero --------------------------------------------------------------- */
.introduction_artwork__T_jL0 .introduction_image__mq4cb {
  filter: saturate(.85) contrast(1.02);
}

/* --- "Loader" shot inside the CTA panel --------------------------------- */
@media (min-width: 1024px) {
  .landing_menuShot__hTn2F.dl-splash {
    top: 50%;
    left: 40px;
    width: min(752px, calc(100% - 80px));
    transform: translateY(-50%);
  }
}

/* The loader mock is self-contained: no bleed/fade clipping from the Kazo
   menu-screenshot frame. */
.dl-cta-shot:after {
  display: none;
}

.dl-splash {
  display: flex;
  flex-direction: column;
  aspect-ratio: 752 / 545;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(43, 131, 229, .16), transparent 58%),
    radial-gradient(90% 70% at 10% 100%, rgba(43, 131, 229, .07), transparent 60%),
    linear-gradient(160deg, #0d1014, #08090b 62%);
  overflow: hidden;
}

.dl-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 78%);
  pointer-events: none;
}

.dl-splash-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--menu-divider);
  background: rgba(8, 9, 11, .72);
}

.dl-splash-bar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.dl-splash-name {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.dl-splash-ver {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.dl-splash-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 24px 18px;
  text-align: center;
}

.dl-splash-mark {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 34px rgba(43, 131, 229, .45));
}

.dl-splash-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dl-splash-title {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.dl-splash-title span {
  color: var(--brand);
}

.dl-splash-sub {
  margin: 7px 0 0;
  color: var(--text-lighter);
  font-size: 13px;
}

.dl-splash-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  color: var(--text-light);
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
}

.dl-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 8px rgba(134, 239, 172, .7);
}

.dl-splash-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: var(--control-radius);
  background: var(--brand);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 500;
}

.dl-splash-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--menu-divider);
  color: var(--text-muted);
  font-size: 11px;
}

.dl-splash-foot b {
  color: var(--text-lighter);
  font-weight: 500;
}

/* --- Product card artwork ---------------------------------------------- */
.dl-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 20px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(120% 140% at 74% 8%, rgba(43, 131, 229, .22), transparent 56%),
    radial-gradient(90% 120% at 8% 100%, rgba(43, 131, 229, .08), transparent 55%),
    linear-gradient(150deg, #0a1118, #070809 68%);
}

.dl-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 13px 13px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 74%);
  pointer-events: none;
}

.dl-art::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -18%;
  width: 64%;
  height: 220%;
  background: linear-gradient(180deg, transparent, rgba(43, 131, 229, .12), transparent);
  transform: rotate(18deg);
  filter: blur(6px);
  pointer-events: none;
}

.dl-art-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dl-art-inner img {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(43, 131, 229, .55));
}

.dl-art-word {
  color: #fff;
  font-size: clamp(20px, 3.4vw, 32px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.dl-art-word span {
  color: var(--brand);
}

.dl-art-tag {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 14px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Real product artwork replaces the generated wordmark tile. */
.dl-art--image {
  padding: 0;
  background: #06121b;
}

.dl-art--image::before,
.dl-art--image::after {
  display: none;
}

.dl-art--image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Products ----------------------------------------------------------- */
.products_cards__23ly9.dl-cards--single {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}

/* Product cards: keep the price and "View" line tight under the description. */
.storefront-card_card__synQH .storefront-card_price__naa_t {
  margin: 10px 0 0;
}

.storefront-card_card__synQH .storefront-card_actions__uIy2u {
  margin-top: 0;
  padding-top: 8px;
}

/* Products that are announced but not on sale yet. */
.dl-unavailable {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-surface);
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

.dl-unavailable strong {
  color: var(--text);
  font-size: 15px;
  font-weight: var(--font-weight-heading);
}

.dl-unavailable a {
  color: var(--brand);
  text-decoration: none;
}

.dl-unavailable a:hover {
  text-decoration: underline;
}

.storefront-card_card__synQH .dl-card-unavailable {
  color: var(--text-muted);
}

.dl-empty {
  padding: 24px 0 8px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

/* --- Product page ------------------------------------------------------- */
.product_checkout__JzSfy .button_button__QYj_F {
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: center;
}

.product_checkout__JzSfy .button_button__QYj_F svg:last-child {
  margin-left: auto;
}

/* --- FAQ ---------------------------------------------------------------- */
.dl-faq > div {
  border-bottom: 1px solid var(--border-muted);
}

.dl-faq > div:last-child {
  border-bottom: 0;
}

.dl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  list-style: none;
  color: var(--text);
  font-size: 15px;
  line-height: 1.375;
  cursor: pointer;
}

.dl-faq summary::-webkit-details-marker {
  display: none;
}

.dl-faq summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.dl-faq summary svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-lighter);
  transition: transform .2s ease;
}

.dl-faq details[open] summary svg {
  transform: rotate(180deg);
}

.dl-faq-body {
  padding: 0 32px 20px 0;
}

.dl-faq-body p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
}

.dl-faq-body a,
.dl-faq-body .dl-inline-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-link);
  font-size: 13px;
  text-decoration: none;
}

.dl-faq-body a:hover {
  color: var(--brand-hover);
}

/* --- Misc --------------------------------------------------------------- */
.dl-footer-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 20px;
}

.dl-footer-note a {
  color: var(--text-lighter);
  text-decoration: none;
}

.dl-footer-note a:hover {
  color: var(--text);
}

@media (max-width: 767px) {
  .dl-art-inner img {
    width: 42px;
    height: 42px;
  }

  .dl-splash {
    aspect-ratio: auto;
  }

  .dl-splash-mark {
    width: 70px;
    height: 70px;
    margin-bottom: 14px;
  }

  .dl-splash-title {
    font-size: 22px;
  }

  .dl-splash-chips {
    margin-top: 16px;
  }

  .dl-splash-cta {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dl-faq summary svg {
    transition: none;
  }
}

/* --- Cart page ---------------------------------------------------------- */
.dl-cart-page {
  min-height: 70vh;
  padding: 96px 0 88px;
}

.dl-cart-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.dl-cart-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-heading, 600);
  letter-spacing: -.02em;
}

.dl-cart-sub {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: 14px;
}

.dl-alert {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface-100);
  color: var(--text-light);
  font-size: 13px;
}

.dl-alert--ok {
  border-color: rgb(var(--brand-rgb) / 35%);
  background: rgb(var(--brand-rgb) / 8%);
  color: var(--text);
}

.dl-alert--err {
  border-color: rgb(248 113 113 / 35%);
  background: rgb(248 113 113 / 8%);
  color: #fca5a5;
}

.dl-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  margin-top: 28px;
}

.dl-cart-col {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.dl-cart-items {
  display: grid;
  gap: 12px;
}

.dl-cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface-100);
}

.dl-cart-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.dl-cart-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.dl-cart-plan {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.dl-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.dl-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s, background-color .15s;
}

.dl-qty-btn:hover {
  color: var(--text);
  background: rgb(255 255 255 / 5%);
}

.dl-qty-btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  background: transparent;
}

.dl-qty span {
  min-width: 30px;
  color: var(--text);
  font-size: 13px;
  text-align: center;
}

.dl-cart-line {
  min-width: 84px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.dl-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s, background-color .15s;
}

.dl-cart-remove:hover {
  color: #f87171;
  background: rgb(248 113 113 / 8%);
}

.dl-cart-remove svg {
  width: 15px;
  height: 15px;
}

.dl-cart-summary {
  position: sticky;
  top: 80px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface-100);
}

.dl-cart-summary h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: var(--font-weight-heading, 600);
}

.dl-cart-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--text-light);
  font-size: 13px;
}

.dl-cart-sum-row--total {
  margin-top: 4px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.dl-cart-checkout {
  width: 100%;
  margin-top: 16px;
}

.dl-cart-continue {
  display: block;
  margin-top: 12px;
  color: var(--text-lighter);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.dl-cart-continue:hover {
  color: var(--text);
}

.dl-cart-empty {
  margin-top: 28px;
  padding: 48px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface-100);
  color: var(--text-light);
  text-align: center;
}

.dl-cart-empty p {
  margin: 0 0 18px;
  font-size: 14px;
}

.dl-cart-upsell {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface-100);
}

.dl-cart-upsell-title {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dl-cart-upsell-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border-muted);
}

.dl-cart-upsell-name {
  flex: 1 1 auto;
  color: var(--text);
  font-size: 13px;
}

.dl-cart-upsell-name span {
  color: var(--text-muted);
}

.dl-cart-upsell-price {
  color: var(--text-light);
  font-size: 13px;
}

.dl-cart-upsell-add {
  padding: 6px 12px;
  border: 1px solid var(--border-secondary);
  border-radius: 6px;
  background: var(--bg-surface-200);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.dl-cart-upsell-add:hover {
  border-color: var(--brand);
  color: var(--brand);
}

@media (max-width: 860px) {
  .dl-cart-page {
    padding: 84px 0 64px;
  }

  .dl-cart-grid {
    grid-template-columns: 1fr;
  }

  .dl-cart-summary {
    position: static;
  }

  .dl-cart-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dl-cart-row-main {
    flex: 1 1 100%;
  }

  .dl-cart-line {
    margin-left: auto;
  }
}

/* The Kazo brand slot is a 20x20 box that clips its 32px logo. That works for
   the Kazo artwork because it has transparent padding, but the Direct mark
   fills its whole canvas — so it got cut off in the nav and footer. Scale the
   image down to the slot instead of cropping it. */
.brand_mark__hM9CN img {
  width: 20px;
  height: 20px;
}

/* --- Shared nav inside the marketing layout (checkout/order/legal) ---------
   app.css ships `.hidden { display: none !important; }`, which otherwise wins
   over the responsive `md:*` utilities and hides the nav links, the currency
   switcher and the Dashboard button on desktop. */
@media (min-width: 768px) {
  .dl-nav .hidden.md\:flex { display: flex !important; }
  .dl-nav .hidden.md\:block { display: block !important; }
  .dl-nav .hidden.md\:inline-flex { display: inline-flex !important; }
}
/* The marketing pages (checkout, order, legal) reuse the fixed landing nav,
   so their content needs a matching top offset. */
body.m-body .landing-wrap { padding-top: 56px; }

/* --- Checkout item row on narrow screens --------------------------------
   marketing.css switches the row to a 2-column grid below 560px but keeps
   placing `.ck-item-remove` on top of `.ck-item-info` (both row 1 / column 2).
   Grid then pushes the auto-placed info block into an implicit third row that
   is only as wide as the 36px thumb column, which truncated the product name
   and made the price sit on top of the quantity stepper. Give every cell an
   explicit slot in a 3-column row instead. */
@media (max-width: 560px) {
  body.m-body .ck-item-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 0.55rem 0.65rem;
    align-items: center;
  }

  body.m-body .ck-item-row .ck-item-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    width: 36px;
    height: 36px;
  }

  body.m-body .ck-item-row .ck-item-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  body.m-body .ck-item-row .ck-item-remove {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  body.m-body .ck-item-row .ck-item-qty {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  body.m-body .ck-item-row .ck-item-total {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
    min-width: 0;
  }
}
/* Product media gallery: stage wrapper and previous/next arrows. */
#product-media-frame {
  position: relative;
}

.dl-gallery-stage {
  width: 100%;
  height: 100%;
}

.dl-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.66);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dl-gallery-nav:hover {
  border-color: var(--brand);
  background: var(--brand);
}

.dl-gallery-nav:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.dl-gallery-nav svg {
  display: block;
  width: 18px;
  height: 18px;
}

.dl-gallery-prev {
  left: 14px;
}

.dl-gallery-next {
  right: 14px;
}

@media (max-width: 600px) {
  .dl-gallery-nav {
    width: 32px;
    height: 32px;
  }

  .dl-gallery-nav svg {
    width: 16px;
    height: 16px;
  }

  .dl-gallery-prev {
    left: 10px;
  }

  .dl-gallery-next {
    right: 10px;
  }
}
