.products-modal-toggle,
.products-modal-close {
  display: none;
}

.products-card-body {
  display: contents;
}

.products-modal-open {
  cursor: pointer;
}

.products-modal-actions {
  display: none;
}

.products-tap-hint {
  display: none;
}

@media (min-width: 701px) {
  .products-page {
    width: min(100%, 1080px);
    min-height: 0;
    padding: 22px 34px 30px;
  }

  .products-page h1 { font-size: 30px; }
  .products-lead { margin: 5px 0 7px; font-size: 15px; }
  .products-line { margin-bottom: 8px; }
  .products-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .products-card { grid-template-rows: 28px 150px 66px 42px auto; gap: 5px; padding: 0; }
  .products-card h2,
  .sample-box h2 { margin: 0; font-size: 19px; }
  .products-card h2 small { margin-left: 4px; font-size: 8px; }
  .products-visual { height: 150px; }
  .products-visual img { max-height: 145px; }
  .products-visual-bottle img { max-width: 58px; max-height: 145px; }
  .products-visual-sample img { max-width: 48px; max-height: 140px; }
  .products-grid-four .products-price { font-size: 10px; line-height: 1.35; }
  .products-card h3 { margin: 0; padding: 0 0 6px; font-size: 13px; line-height: 1.25; }
  .products-card ul { font-size: 9px; line-height: 1.35; }
  .products-card li { margin: 2px 0; }
  .products-card li::before { margin-right: 5px; font-size: 6px; }
  .products-scenes { max-width: 820px; margin-top: 28px; }
  .products-scenes-title { gap: 20px; margin-bottom: 5px; }
  .products-scenes-title strong { font-size: 22px; }
  .products-scenes-title span { font-size: 10px; }
}

.products-order-guides {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 24px auto 0;
}

.products-order-guide {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 10px 24px;
  border: 2px solid #198451;
  border-radius: 20px;
  color: #222;
}

.products-order-guide picture { display: grid; place-items: center; }
.products-order-guide img { width: auto; height: 82px; object-fit: contain; }
.products-order-guide-business img { width: 94px; height: 82px; }
.products-order-copy h2 {
  margin: 0 0 3px;
  color: var(--green);
  text-align: left;
  font-size: 20px;
  font-weight: 500;
}
.products-order-copy h2 small { margin-left: 14px; font-size: 12px; font-weight: 500; }
.products-order-copy p { margin: 0; font-size: 11px; line-height: 1.45; }
.products-order-actions { display: grid; gap: 7px; }
.products-order-actions a {
  display: block;
  padding: 5px 12px;
  border-radius: 4px;
  background: #08723f;
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 1.15;
}
.products-order-actions .products-buy-button { background: #e60012; }
.products-order-actions small { font-size: 9px; }
.products-contact-mobile { display: none; }

@media (max-width: 700px) {
  .products-page {
    min-height: 0;
    padding: 8px 14px 0;
  }

  .products-page h1 {
    font-size: 18px;
  }

  .products-lead {
    margin: 5px 0 2px;
    font-size: 11px;
  }

  .products-tap-hint {
    display: block;
    margin: 0 0 8px;
    color: #555;
    text-align: center;
    font-size: 9px;
  }

  .products-line {
    margin-bottom: 12px;
  }

  .products-scenes-title strong {
    font-size: 13px;
  }

  .products-scenes-title span {
    font-size: 10px;
  }

  .products-scenes {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .products-scenes img {
    display: block;
    margin-bottom: 0;
  }

  .products-scenes picture {
    display: block;
    margin-bottom: 0;
  }

  .products-scenes-title {
    margin-bottom: 4px;
  }

  .site-footer {
    margin-top: 0;
    padding: 0 12px 1px;
  }

  .site-footer p {
    font-size: 10px;
    line-height: 1;
  }

  .products-contact-block {
    gap: 5px;
    margin: 14px 0;
    padding: 10px 12px;
  }

  .products-contact-block p {
    font-size: 11px;
    line-height: 1.35;
  }

  .products-contact-block a {
    min-width: 92px;
    padding: 3px 12px;
    background: #dceee7;
    font-size: 11px;
  }

  .products-order-guides { display: none; }
  .products-contact-mobile { display: grid; }

  .products-grid,
  .products-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products-card {
    display: block;
    min-width: 0;
    padding: 0;
  }

  .products-card-body {
    display: grid;
    grid-template-rows: auto 118px;
    gap: 6px;
    height: 164px;
    min-height: 164px;
    padding: 9px 8px 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .products-card h2 {
    margin: 0;
    font-size: 13px;
    line-height: 1.18;
  }

  .products-card h2 small {
    display: block;
    margin: 2px 0 0;
    font-size: 8px;
  }

  .products-visual {
    height: 118px;
    min-height: 0;
  }

  .products-visual img {
    max-height: 112px;
  }

  .products-visual-bottle img {
    max-width: 60px;
    max-height: 112px;
  }

  .products-visual-sample img {
    max-width: 40px;
    max-height: 112px;
  }

  .products-card .products-price,
  .products-card h3,
  .products-card ul,
  .products-modal-close {
    display: none;
  }

  .products-modal-toggle:checked + .products-card-body {
    position: fixed;
    z-index: 80;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 9px;
    width: min(360px, calc(100vw - 20px));
    height: auto;
    min-height: 0;
    max-height: calc(100svh - 28px);
    padding: 20px 20px 18px;
    border: 1.5px solid var(--green);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0,0,0,.22);
    overflow: hidden;
    transform: translate(-50%, -50%);
  }

  .products-modal-toggle:checked + .products-card-body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: -100vmax;
    background: #fff;
  }

  .products-modal-toggle:checked + .products-card-body .products-visual {
    height: auto;
    min-height: 140px;
    pointer-events: none;
  }

  .products-modal-toggle:checked + .products-card-body .products-visual img {
    max-height: 178px;
  }

  .products-modal-toggle:checked + .products-card-body .products-visual-bottle img {
    max-width: 100px;
  }

  .products-modal-toggle:checked + .products-card-body .products-visual-sample img {
    max-width: 62px;
  }

  .products-modal-toggle:checked + .products-card-body .products-price,
  .products-modal-toggle:checked + .products-card-body h3,
  .products-modal-toggle:checked + .products-card-body ul,
  .products-modal-toggle:checked + .products-card-body .products-modal-actions,
  .products-modal-toggle:checked + .products-card-body .products-modal-close {
    display: block;
  }

  .products-modal-toggle:checked + .products-card-body .products-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .products-modal-toggle:checked + .products-card-body .products-modal-actions a:only-child {
    grid-column: 1 / -1;
  }

  .products-modal-actions a {
    display: grid;
    min-height: 38px;
    padding: 7px 8px;
    place-items: center;
    border-radius: 4px;
    background: #08723f;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
  }

  .products-modal-actions a small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 400;
  }

  .products-modal-actions .products-modal-buy {
    background: #e60012;
  }

  .products-modal-toggle:checked + .products-card-body h2 {
    padding-right: 28px;
    font-size: 20px;
  }

  .products-modal-toggle:checked + .products-card-body .products-price {
    font-size: 13px;
    line-height: 1.3;
  }

  .products-modal-toggle:checked + .products-card-body h3 {
    margin: 0;
    padding-bottom: 6px;
    font-size: 16px;
    line-height: 1.25;
  }

  .products-modal-toggle:checked + .products-card-body ul {
    margin: 0;
    padding-left: 0;
    font-size: 12px;
    line-height: 1.38;
    list-style: none;
  }

  .products-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    color: #1d2925;
    text-align: center;
    font-size: 26px;
    font-weight: 300;
    line-height: 28px;
    cursor: pointer;
  }
}
