.defend-editorial,
.defend-home {
  background: #f6f4ee;
  color: #2b2b2b;
}

/* Final public overrides: keep the activity process readable on every viewport. */
body.defend-activity .process-list {
  display: block !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  border-top: 1px solid #bbc8bc !important;
}

body.defend-activity .process-item {
  display: grid !important;
  grid-template-columns: 112px minmax(220px, 0.45fr) minmax(420px, 1fr) !important;
  align-items: start !important;
  gap: 28px !important;
  width: 100% !important;
  padding: 28px 0 !important;
  border-bottom: 1px solid #d9dfd9 !important;
}

body.defend-activity .process-item span,
body.defend-activity .process-item h3,
body.defend-activity .process-item p {
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

body.defend-activity .process-item span {
  white-space: nowrap !important;
}

body.defend-activity .process-item p {
  grid-column: auto !important;
  line-height: 1.9 !important;
}

@media (max-width: 760px) {
  body.defend-activity .process-list {
    width: calc(100% - 32px) !important;
  }

  body.defend-activity .process-item {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* Keep the compact mobile navigation opaque and consistent on every page. */
@media (max-width: 640px) {
  body.defend-editorial .site-nav,
  body.defend-home .site-nav,
  body.defend-products-page .site-nav {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(86vw, 340px) !important;
    height: 100dvh !important;
    max-width: 340px !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 88px 24px 28px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    white-space: normal !important;
    background: #f4efe6 !important;
    border-left: 1px solid rgba(47, 93, 58, .18) !important;
    box-shadow: -24px 0 70px rgba(30, 42, 30, .24) !important;
    transform: translateX(105%) !important;
    transition: transform .24s ease !important;
    z-index: 10020 !important;
  }

  body.defend-editorial .site-nav.is-open,
  body.defend-home .site-nav.is-open,
  body.defend-products-page .site-nav.is-open {
    transform: translateX(0) !important;
  }

  body.defend-editorial .site-nav a,
  body.defend-home .site-nav a,
  body.defend-products-page .site-nav a {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(47, 93, 58, .15) !important;
    color: #2b2b2b !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  body.defend-editorial .site-nav a[aria-current="page"],
  body.defend-home .site-nav a[aria-current="page"],
  body.defend-products-page .site-nav a[aria-current="page"] {
    color: #2f5d3a !important;
  }

  body.defend-editorial .menu-toggle,
  body.defend-home .menu-toggle,
  body.defend-products-page .menu-toggle {
    position: relative !important;
    z-index: 10030 !important;
    flex: 0 0 44px !important;
    background: #ffffff !important;
  }

  body.is-menu-open {
    overflow: hidden !important;
  }
}

/* Product grid stays clean; full thumbnails remain available in the detail modal. */
.defend-products-page .product-card .defend-gallery-thumbs {
  display: none !important;
}

.defend-products-page .product-card .defend-gallery-hint {
  display: inline-flex !important;
}

@media (max-width: 640px) {
  .defend-products-page .defend-cart-fab {
    width: 58px;
    height: 58px;
    right: 12px;
    bottom: 12px;
    padding: 0;
    gap: 1px;
    flex-direction: column;
    justify-content: center;
    font-size: 0;
  }

  .defend-products-page .defend-cart-fab::before {
    content: "カゴ";
    font-size: 11px;
  }

  .defend-products-page .defend-cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .defend-products-page .products {
    padding-bottom: 100px !important;
  }
}

.defend-editorial .ambient-light,
.defend-editorial .leaf-field {
  display: none;
}

.defend-editorial .section,
.defend-home .mission,
.defend-home .nature,
.defend-home .roadkill,
.defend-home .activity,
.defend-home .contact {
  padding-top: 96px;
  padding-bottom: 96px;
}

.defend-editorial .detail-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #244c30 url("products/hero-forest-trees.jpg") center 34% / cover no-repeat;
}

.defend-editorial .detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 39, 26, .78), rgba(22, 39, 26, .22));
}

.defend-editorial .detail-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 0 72px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.defend-editorial .detail-hero__inner h1 {
  max-width: 980px;
  margin: 16px 0 24px;
  color: #fff;
  font-size: 64px;
  line-height: 1.28;
  letter-spacing: 0;
}

.defend-editorial .detail-hero__inner > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.9;
}

.defend-editorial .detail-hero .section-kicker {
  color: #fff;
}

.defend-nature .detail-hero {
  background-image: url("products/hero-forest-trees.jpg");
  background-position: center 34%;
}

.defend-activity .detail-hero {
  background-image: url("products/protecting-wildlife-polo-look-05.JPG");
  background-position: center 48%;
}

.defend-activity .detail-hero__inner h1 {
  max-width: 1120px;
  font-size: 58px;
  line-height: 1.24;
}

.defend-editorial .detail-section {
  background: #fff;
}

.defend-editorial .detail-grid,
.defend-editorial .nature-grid,
.defend-editorial .activity-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid #bbc8bc;
}

.defend-editorial .detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.defend-editorial .nature-grid,
.defend-editorial .activity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.defend-editorial .detail-card,
.defend-editorial .nature-card,
.defend-editorial .activity-card {
  min-width: 0;
  padding: 30px 30px 10px 0;
  border: 0;
  border-right: 1px solid #d9dfd9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defend-editorial .detail-card:last-child,
.defend-editorial .nature-card:last-child,
.defend-editorial .activity-card:last-child {
  border-right: 0;
}

.defend-editorial .detail-card h2,
.defend-editorial .nature-card h3,
.defend-editorial .activity-card h3 {
  margin: 22px 0 12px;
  color: #2f5d3a;
  font-size: 22px;
  letter-spacing: 0;
}

.defend-editorial .detail-card p,
.defend-editorial .nature-card p,
.defend-editorial .activity-card p {
  max-width: 280px;
  color: #66645f;
  line-height: 1.9;
}

.defend-editorial .nature-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 0;
  box-shadow: none;
}

.defend-editorial .roadkill {
  background: #eef1eb;
}

.defend-editorial .roadkill__grid {
  align-items: stretch;
  gap: 64px;
}

.defend-editorial .roadkill__visual {
  min-height: 430px;
  border: 0;
  border-radius: 0;
  background: url("products/roadkill-message-group.jpeg") center 52% / cover no-repeat;
  box-shadow: none;
}

.defend-editorial .roadkill__visual > * {
  display: none;
}

.defend-editorial .roadkill__text {
  align-self: center;
}

.defend-editorial .process-list {
  display: block !important;
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid #bbc8bc;
}

.defend-editorial .process-item {
  display: grid !important;
  grid-template-columns: 112px minmax(240px, .55fr) minmax(360px, 1fr) !important;
  align-items: start;
  gap: 28px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid #d9dfd9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defend-editorial .process-item h3,
.defend-editorial .process-item p {
  margin: 0;
  max-width: none !important;
  writing-mode: horizontal-tb !important;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
}

.defend-editorial .process-item span {
  white-space: nowrap;
}

.defend-editorial .process-item h3 {
  min-width: 0;
  line-height: 1.55;
}

.defend-editorial .process-item p {
  min-width: 0;
  line-height: 1.9;
}

.defend-editorial .page-cta {
  background: #2f5d3a;
  color: #fff;
}

.defend-editorial .page-cta__inner {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defend-editorial .page-cta h2,
.defend-editorial .page-cta p,
.defend-editorial .page-cta .section-kicker {
  color: #fff;
}

.defend-editorial .page-cta .button--ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.defend-home .hero {
  position: relative;
  background: #244c30 url("products/hero-forest-trees.jpg") center 34% / cover no-repeat;
  color: #fff;
}

.defend-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 36, 24, .58);
}

.defend-home .hero__inner {
  position: relative;
  z-index: 1;
}

.defend-home .hero h1,
.defend-home .hero h2,
.defend-home .hero p,
.defend-home .hero li,
.defend-home .hero .section-kicker {
  color: #fff;
}

.defend-home .hero-panel {
  padding: 36px 0 36px 48px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .45);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defend-home .mission__grid {
  padding-top: 30px;
  border-top: 1px solid #bbc8bc;
}

.defend-home .nature-grid,
.defend-home .activity-grid {
  gap: 0;
  border-top: 1px solid #bbc8bc;
}

.defend-home .nature-card,
.defend-home .activity-card {
  padding: 28px 24px 8px 0;
  border: 0;
  border-right: 1px solid #d9dfd9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defend-home .nature-card:last-child,
.defend-home .activity-card:last-child {
  border-right: 0;
}

.defend-home .roadkill__visual {
  min-height: 420px;
  border: 0;
  border-radius: 0;
  background: url("products/roadkill-message-group.jpeg") center 52% / cover no-repeat;
  box-shadow: none;
}

.defend-home .roadkill__visual > * {
  display: none;
}

.defend-home .contact {
  background: #2f5d3a;
}

.defend-home .contact__inner {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defend-home .contact h2,
.defend-home .contact p,
.defend-home .contact .section-kicker,
.defend-home .contact__mail {
  color: #fff;
}

@media (max-width: 900px) {
  .defend-editorial .detail-hero {
    min-height: 470px;
  }

  .defend-editorial .detail-hero__inner {
    width: calc(100% - 40px);
    padding: 130px 0 58px;
  }

  .defend-editorial .detail-hero__inner h1 {
    font-size: 46px;
  }

  .defend-editorial .detail-grid,
  .defend-editorial .nature-grid,
  .defend-editorial .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .defend-editorial .detail-card,
  .defend-editorial .nature-card,
  .defend-editorial .activity-card {
    border-bottom: 1px solid #d9dfd9;
  }

  .defend-editorial .process-item {
    grid-template-columns: 90px 1fr;
  }

  .defend-editorial .process-item p {
    grid-column: 2;
  }
}

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

  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header__inner {
    width: 100%;
    min-height: 68px;
    padding: 12px 14px;
    gap: 14px;
    box-sizing: border-box;
  }

  .brand-mark {
    min-width: 112px;
  }

  .brand-mark__name {
    font-size: 20px;
    line-height: 1;
  }

  .brand-mark__sub {
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: .08em;
  }

  .site-nav {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1;
  }

  .container,
  .products > .container,
  .detail-hero__inner {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }

  .section-heading {
    display: block !important;
  }

  .section-heading h2,
  .detail-hero__inner h1,
  .defend-products-page .detail-hero__inner h1 {
    max-width: 100%;
    font-size: clamp(31px, 12vw, 42px) !important;
    line-height: 1.18 !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .section-heading p,
  .detail-hero__inner > p:last-child {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .defend-editorial .section,
  .defend-home .mission,
  .defend-home .nature,
  .defend-home .roadkill,
  .defend-home .activity,
  .defend-home .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .defend-editorial .detail-hero {
    min-height: 410px;
  }

  .defend-editorial .detail-hero__inner {
    width: calc(100% - 32px);
    padding: 110px 0 44px;
  }

  .defend-editorial .detail-hero__inner h1 {
    font-size: 34px;
  }

  .defend-editorial .detail-grid,
  .defend-editorial .nature-grid,
  .defend-editorial .activity-grid {
    grid-template-columns: 1fr;
  }

  .defend-editorial .detail-card,
  .defend-editorial .nature-card,
  .defend-editorial .activity-card {
    padding-right: 0;
    border-right: 0;
  }

  .defend-editorial .roadkill__grid {
    gap: 36px;
  }

  .defend-editorial .roadkill__visual {
    min-height: 280px;
  }

  .defend-editorial .process-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .defend-editorial .process-item p {
    grid-column: auto;
  }

  .defend-home .hero-panel {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .45);
  }

  .defend-home .products,
  .defend-products-page .products {
    padding-top: 44px !important;
    padding-bottom: 72px !important;
  }

  .defend-home .product-grid,
  .defend-products-page .product-grid.product-grid--featured {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 46px !important;
  }

  .defend-home .product-card,
  .defend-products-page .product-card {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .defend-home .product-card__image.defend-gallery-image,
  .defend-products-page .product-card__image.defend-gallery-image {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 5.35 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  .defend-home .defend-gallery-track,
  .defend-products-page .defend-gallery-track {
    width: 100% !important;
    height: 100% !important;
  }

  .defend-home .defend-gallery-slide,
  .defend-products-page .defend-gallery-slide {
    width: 100% !important;
    height: 100% !important;
    place-items: center !important;
  }

  .defend-home .defend-gallery-slide figure,
  .defend-products-page .defend-gallery-slide figure {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
  }

  .defend-home .defend-gallery-slide img,
  .defend-home .defend-gallery-slide img.defend-wear-photo,
  .defend-products-page .defend-gallery-slide img,
  .defend-products-page .defend-gallery-slide img.defend-wear-photo {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .defend-home .defend-gallery-thumbs,
  .defend-products-page .defend-gallery-thumbs {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(34px, 1fr);
    gap: 7px !important;
  }

  .defend-home .defend-gallery-thumb,
  .defend-products-page .defend-gallery-thumb {
    width: 100% !important;
    height: 30px !important;
    min-width: 0 !important;
  }

  .defend-home .product-card__body,
  .defend-products-page .product-card__body {
    padding-top: 18px !important;
  }

  .defend-home .product-card__body h3,
  .defend-products-page .product-card__body h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .defend-home .product-card__summary,
  .defend-products-page .product-card__summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .defend-home .product-card__price,
  .defend-products-page .product-card__price {
    font-size: 22px !important;
  }

  .defend-home .item-link.defend-cart-add,
  .defend-products-page .item-link.defend-cart-add {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .defend-product-modal__panel {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    padding: 16px !important;
    box-sizing: border-box;
  }

  .defend-product-modal__stage {
    min-height: 0 !important;
    height: min(64vh, 520px) !important;
  }

  .defend-product-modal__stage img {
    object-fit: contain !important;
  }

  .defend-product-modal__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.defend-cart__shipping {
  margin: -8px 0 18px;
  color: #2f5d3a;
  font-weight: 900;
  line-height: 1.7;
}

/* Final public overrides: keep the activity process readable on every viewport. */
body.defend-activity .process-list {
  display: block !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  border-top: 1px solid #bbc8bc !important;
}

body.defend-activity .process-item {
  display: grid !important;
  grid-template-columns: 112px minmax(220px, 0.45fr) minmax(420px, 1fr) !important;
  align-items: start !important;
  gap: 28px !important;
  width: 100% !important;
  padding: 28px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #d9dfd9 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.defend-activity .process-item span,
body.defend-activity .process-item h3,
body.defend-activity .process-item p {
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

body.defend-activity .process-item span {
  white-space: nowrap !important;
}

body.defend-activity .process-item p {
  grid-column: auto !important;
  line-height: 1.9 !important;
}

@media (max-width: 760px) {
  body.defend-activity .process-list {
    width: calc(100% - 32px) !important;
  }

  body.defend-activity .process-item {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}
