/* Product-specific overrides for the shared Dotbuster-style Rakuten affiliate LP.
   For a new product page, keep layout changes in ../_shared/dotbuster-affiliate-lp.css
   and only adjust tokens or narrow product exceptions here. */
:root {
  --lp-product-accent: var(--yellow);
}

.adsense-policy {
  padding: 72px 24px;
  color: #1b1b1b;
  background: #f5f5f0;
  border-top: 1px solid rgba(5, 5, 5, .12);
  border-bottom: 1px solid rgba(5, 5, 5, .12);
}

.adsense-policy__inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.adsense-policy__eyebrow {
  margin: 0 0 12px;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.adsense-policy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.adsense-policy p {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
}

.adsense-policy p + p {
  margin-top: 12px;
}

.adsense-policy a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .adsense-policy {
    padding: 52px 16px;
  }
}
/* Mobile balance fixes for the LAMDASH product LP. */
@media (max-width: 640px) {
  .hero {
    display: grid;
    grid-template-areas:
      "copy"
      "product";
    row-gap: 18px;
    min-height: auto;
    padding-bottom: 28px;
    overflow: hidden;
  }

  .hero::before {
    height: 46%;
    opacity: .9;
  }

  .hero__content {
    grid-area: copy;
    width: calc(100% - 28px);
    margin: 0 auto;
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(24px, 8vw, 31px);
  }

  .hero__lead {
    max-width: 100%;
    font-size: 14px;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__product {
    position: relative;
    top: auto;
    right: auto;
    grid-area: product;
    width: min(86vw, 330px);
    margin: 0 auto;
  }

  .hero__badge {
    position: absolute;
    top: auto;
    right: 16px;
    bottom: 24px;
    width: 92px;
    height: 92px;
    font-size: 12px;
    z-index: 3;
  }

  .hero__marquee {
    bottom: 160px;
    left: -16px;
    font-size: clamp(54px, 17vw, 80px);
    opacity: .74;
  }

  .hero-copy {
    margin-top: 28px;
    padding-inline: 16px;
  }

  .highlight {
    font-size: clamp(22px, 7vw, 28px);
  }

  .brand-subline {
    margin-left: 0;
  }

  .about {
    margin-top: 52px;
  }

  .about__image-wrap {
    display: grid;
    gap: 12px;
  }

  .about .section-title {
    left: 0;
    margin: 0 0 0 16px;
  }

  .about__image-wrap > .affiliate-image-link {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .about__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-left: 0;
    object-fit: cover;
    object-position: center;
  }

  .about__circles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - 32px);
    margin: 38px auto 0;
  }

  .care-circle {
    width: 100%;
    height: auto;
    min-height: 112px;
    aspect-ratio: 1;
  }

  .about__text {
    padding: 0 18px;
  }

  .category-nav {
    gap: 12px;
    margin-top: 34px;
    padding-inline: 16px;
  }

  .category-nav li,
  .category-nav a {
    min-height: 54px;
  }

  .points {
    margin-top: 64px;
  }

  .points__title {
    margin-bottom: 24px;
  }

  .point-section {
    margin-top: 34px;
  }

  .point-section__header {
    display: grid;
    gap: 18px;
    min-height: auto;
    padding: 0 16px;
  }

  .point-section__header h3 {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    max-width: 100%;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.35;
  }

  .marquee {
    position: relative;
    top: auto;
    left: auto;
    order: -1;
    gap: 18px;
    overflow: hidden;
    font-size: clamp(44px, 16vw, 70px);
    opacity: .35;
    transform: none;
  }

  .point-section__visual {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .point-section__image-link {
    width: min(100%, 360px);
    height: auto;
    margin-inline: auto;
  }

  .point-section__visual .point-section__image-link img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .point-grid {
    width: calc(100% - 32px);
    margin-top: 34px;
    padding-inline: 0;
  }

  .point-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 12px;
  }

  .point-card__visual {
    width: 96px;
    height: 96px;
    aspect-ratio: 1;
  }

  .point-card h4 {
    min-height: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
  }

  .button-link {
    grid-column: 1 / -1;
  }

  .buy-strip {
    width: auto;
    margin: 28px 16px 0;
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .hero__product {
    width: min(88vw, 300px);
  }

  .hero__badge {
    width: 84px;
    height: 84px;
    font-size: 11px;
  }

  .care-circle {
    min-height: 104px;
  }
}
/* Readable mobile image cards for marketplace screenshots. */
@media (max-width: 640px) {
  .point-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .point-card__visual {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    background: #11161a;
  }

  .point-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .point-card h4 {
    font-size: 17px;
  }

  .point-section__visual {
    padding: 10px 0;
    background: #11161a;
  }

  .point-section__image-link {
    width: 100%;
    max-width: 390px;
  }

  .point-section__visual .point-section__image-link img {
    max-height: none;
  }

  .site-footer__layout {
    gap: 24px 16px;
    padding: 32px 20px 68px;
  }

  .site-footer__products div {
    margin-top: 14px;
  }
}


/* Compact mobile footer pass for the two-button product LP. */
@media (max-width: 640px) {
  .site-footer__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    min-height: 0;
    padding: 32px 20px 64px;
    font-size: 13px;
  }

  .site-footer__logo,
  .site-footer__products,
  .site-footer__about,
  .site-footer__note,
  .site-footer__copy {
    grid-column: 1 / -1;
  }

  .site-footer__products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }

  .site-footer__products > p {
    grid-column: 1 / -1;
  }

  .site-footer__products div {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.65;
  }

  .site-footer__products ul,
  .site-footer__store ul {
    margin-top: 10px;
    line-height: 1.7;
  }

  .site-footer__heading,
  .site-footer__store,
  .site-footer__about,
  .site-footer__sns {
    margin-top: 0;
  }

  .site-footer__about a {
    margin: 0 14px 10px 0;
  }
}

/* 2026071208 mobile readability and link-target repair */
[id="point-ai"],
[id="point-usb"] {
  scroll-margin-top: 96px;
}

@media (max-width: 640px) {
  .site-header {
    min-height: 74px;
  }

  .menu-toggle {
    top: 18px;
    right: 18px;
  }

  .hero {
    padding-top: 78px;
  }

  .hero__product,
  .about__image-wrap > .affiliate-image-link,
  .point-section__image-link,
  .point-card,
  .news-card {
    overflow: visible;
  }

  .hero__product img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about__image-wrap > .affiliate-image-link {
    display: block;
    width: calc(100% - 32px);
    max-width: 460px;
    margin: 0 auto;
    background: #11161a;
  }

  .about__image {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
  }

  .about__circles {
    align-items: center;
    margin-top: 30px;
  }

  .about__cross {
    display: none;
  }

  .care-circle {
    min-height: 0;
    padding: 16px 10px 12px;
  }

  .care-circle p:first-child {
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.05;
  }

  .care-circle p:last-child {
    font-size: 12px;
    line-height: 1.35;
  }

  .care-circle span {
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .about__text {
    font-size: 16px;
    line-height: 2;
  }

  .category-nav__visual {
    display: none;
  }

  .category-nav li,
  .category-nav a {
    min-height: 60px;
  }

  .category-nav a {
    padding: 0 18px;
    font-size: 18px;
  }

  .point-section__header {
    padding-inline: 16px;
    overflow: visible;
  }

  .point-section__header h3 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .point-section__visual {
    width: 100%;
    padding: 12px 0;
    background: #fff;
    overflow: visible;
  }

  .point-section__image-link {
    display: block;
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
    background: #fff;
  }

  .point-section__visual .point-section__image-link img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .point-grid {
    gap: 20px;
  }

  .point-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    background: #fff;
  }

  .point-card__visual {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    background: #fff;
  }

  .point-card__visual img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .point-card h4 {
    font-size: 22px;
    line-height: 1.45;
  }

  .button-link {
    min-height: 58px;
    padding-inline: 18px;
    font-size: 18px;
  }

  .news__heading a {
    min-height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }

  .news-card__image {
    aspect-ratio: auto;
    background: #fff;
  }

  .news-card__image img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
  }
}
/* 2026071215 contain hidden mobile menu surfaces so they do not create horizontal scroll. */
.page-cover {
  display: none;
}

.site-menu,
.site-menu__inner,
.menu-button {
  box-sizing: border-box;
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(.is-menu-open) .site-menu {
    inset: 0 0 auto auto;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  body:not(.is-menu-open) .site-menu__inner {
    display: none;
  }

  .is-menu-open .site-menu {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .is-menu-open .site-menu__inner {
    display: grid;
    width: 100%;
    max-width: 100%;
    padding-inline: 32px;
  }

  .menu-button,
  .site-header.is-compact .menu-button {
    right: 16px;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
    align-self: start;
  }
}

/* 2026071208 follow-up collapse repair */
@media (max-width: 640px) {
  .hero__marquee,
  .point-section .marquee {
    display: none;
  }

  .points,
  .point-section,
  .point-section__header {
    overflow: hidden;
  }

  .point-section__image-link {
    aspect-ratio: 1 / 1;
  }

  .point-section__visual .point-section__image-link img {
    height: 100% !important;
  }

  .news__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
  }

  .news-card {
    min-width: 0;
  }

  .news-card__image {
    aspect-ratio: 1 / 1;
  }

  .news-card__image img {
    height: 100% !important;
  }
}
/* 2026071209 mobile footer overlap repair */
@media (max-width: 640px) {
  .site-footer {
    overflow: hidden;
  }

  .site-footer__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
    min-height: 0;
    padding: 36px 20px 76px;
    font-size: 14px;
    line-height: 1.75;
  }

  .site-footer__layout > *,
  .site-footer__products,
  .site-footer__store,
  .site-footer__about,
  .site-footer__note,
  .site-footer__copy {
    grid-column: 1 / -1 !important;
    min-width: 0;
    max-width: 100%;
  }

  .site-footer__products {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
  }

  .site-footer__products > p,
  .site-footer__products div,
  .site-footer__store,
  .site-footer__about {
    margin: 0;
  }

  .site-footer__logo,
  .site-footer__heading,
  .site-footer__products > p,
  .site-footer__store > p {
    display: block;
    width: 100%;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.15;
  }

  .site-footer__logo {
    min-height: 0;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.15;
  }

  .site-footer__heading {
    font-size: clamp(24px, 8vw, 32px);
  }

  .site-footer ul {
    padding: 0;
    margin: 10px 0 0;
  }

  .site-footer li + li {
    margin-top: 8px;
  }

  .site-footer a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-footer__about a {
    display: inline-block;
    margin: 0 12px 10px 0;
  }

  .site-footer__about p,
  .site-footer__note,
  .site-footer__copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.85;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
/* 2026071209 footer hard layout reset */
@media (max-width: 640px) {
  footer.site-footer .site-footer__layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  footer.site-footer .site-footer__layout > * {
    position: static !important;
    inset: auto !important;
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    order: initial !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  footer.site-footer .site-footer__logo {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 28px !important;
    line-height: 1.08 !important;
  }

  footer.site-footer .site-footer__products {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  footer.site-footer .site-footer__heading {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  footer.site-footer .site-footer__store,
  footer.site-footer .site-footer__about,
  footer.site-footer .site-footer__note,
  footer.site-footer .site-footer__copy {
    font-size: 12px !important;
    line-height: 1.85 !important;
  }
}
