/* Reuse the business edition's layout, with responsive rules scoped to this page. */
.assistant-page {
  --accent: #ed6a2c;
  color: #262626;
  line-height: 1.5;
}
.assistant-page .nav,
.assistant-page .landing_page {
  box-sizing: border-box;
  width: min(1264px, calc(100% - 48px));
}
.assistant-page .nav ul { flex-wrap: wrap; gap: 12px 32px; }
.assistant-page .nav a[aria-current="page"] { color: #c34c14; font-weight: 600; }
.assistant-page .landing_page { position: relative; }
.assistant-page .side { align-items: flex-start; }
.assistant-page .img_container { flex: 0 0 670px; min-width: 0; }
.assistant-page .big_img { flex: 0 0 556px; aspect-ratio: 1; }
.assistant-page .big_img img { height: auto; aspect-ratio: 1; object-fit: contain; }
.assistant-page .product_info { flex: 1; min-width: 0; }
.assistant-page h1 { font-size: 36px; line-height: 1.35; }
.assistant-page .description p { margin: 0 0 12px; }
.assistant-page .link { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.assistant-page .thumbnail_group li { width: 98px; }
.assistant-page .gallery-choice {
  display: block;
  width: 100%;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.assistant-page .gallery-choice.selected { border-color: var(--accent); }
.assistant-page .gallery-choice img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.assistant-page :focus-visible { outline: 3px solid #4f97f5; outline-offset: 4px; }
.assistant-page .choice_btn { cursor: default; }
.assistant-page .choice_btn:hover { border-color: transparent; }
.assistant-page .side .btn_group { width: 100%; }
.assistant-page .side .button { flex: 0 0 132px; }
.assistant-page .side .buy_now { flex: 1; width: auto; }
.assistant-page .main img { height: auto; }
.assistant-page .main img + img { margin-top: 24px; }
.assistant-page .main h2 { line-height: 1.4; margin: 0 0 20px; }
.assistant-page .main p { margin: 0 0 24px; }
.assistant-page .main h3 { margin-bottom: 16px; }
.assistant-page .main { scroll-margin-top: 24px; }
.assistant-page section { scroll-margin-top: 24px; }
.assistant-page table { width: 100%; border-collapse: collapse; }
.assistant-page .compare th,
.assistant-page .compare td { border: 1px solid #eceef1; padding: 16px; font-size: 20px; font-weight: 400; text-align: center; }
.assistant-page .compare th:first-child { text-align: left; }
.assistant-page .compare thead { background: #f5f6fa; }
.assistant-page .compare tbody tr:nth-child(even) { background: #f5f6fa; }
.assistant-page .specification th { font-weight: 400; text-align: left; white-space: nowrap; }
.assistant-page .specification th,
.assistant-page .specification td { padding: 16px 24px 16px 0; font-size: 20px; }
#assistant-buy {
  position: fixed;
  top: 80px;
  right: max(56px, calc((100vw - 1264px) / 2 + 32px));
  width: 464px;
  box-sizing: border-box;
  padding: 32px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}
#assistant-buy h2 { font-size: 22px; margin: 0 0 16px; }
#assistant-buy p { font-size: 16px; margin: 0 0 24px; }
#assistant-buy .sku,
#assistant-buy .pattern_of_payment { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
#assistant-buy .choice_btn { display: inline-block; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 6px; }
#assistant-buy .btn_group { display: flex; gap: 16px; margin-top: 24px; }
#assistant-buy .btn_group > div { flex: 1; }
#assistant-buy .btn_group a { display: block; border-radius: 8px; padding: 12px 0; text-align: center; background: #ebebeb; color: #000; }
#assistant-buy .buy_now a { background: var(--accent); color: #fff; }
.product-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 32px; padding: 16px 24px 48px; font-size: 14px; color: #666; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 12px; background: #fff; z-index: 20; }
.skip-link:focus { top: 8px; }
@media (max-width: 1250px) and (min-width: 1100px) {
  .assistant-page .img_container { flex-basis: 600px; }
  .assistant-page .big_img { flex-basis: 486px; width: 486px; }
  .assistant-page .main { width: 600px; }
  .assistant-page h1 { font-size: 30px; }
  #assistant-buy { left: auto; right: 56px; width: calc(100vw - 744px); padding: 24px; }
}
@media (max-width: 1099px) {
  .assistant-page .side { flex-direction: column; }
  .assistant-page .img_container { flex-basis: auto; width: 100%; }
  .assistant-page .big_img { flex: 1; width: auto; }
  .assistant-page .thumbnail_group { flex: 0 0 98px; }
  .assistant-page .product_info { width: 100%; }
  .assistant-page .main { width: 100%; }
  #assistant-buy { display: none; }
}
@media (max-width: 500px) {
  .assistant-page .nav,
  .assistant-page .landing_page { width: 100%; }
  .assistant-page .nav { padding: 16px; margin: 0; }
  .assistant-page .nav ul { gap: 10px 20px; font-size: 14px; }
  .assistant-page .landing_page { padding: 0; margin: 0; overflow: visible; }
  .assistant-page h1 { font-size: 24px; }
  .assistant-page .side { gap: 24px; }
  .assistant-page .img_container { gap: 12px; }
  .assistant-page .big_img { flex: auto; width: 100%; }
  .assistant-page .thumbnail_group { flex: auto; padding: 0 12px; }
  .assistant-page .thumbnail_group ul { gap: 6px; }
  .assistant-page .thumbnail_group li { flex: 1; width: auto; min-width: 0; }
  .assistant-page .gallery-choice { padding: 2px; border-width: 2px; border-radius: 6px; }
  .assistant-page .side .link { margin: 0; }
  .assistant-page .side .sku,
  .assistant-page .side .pattern_of_payment { gap: 16px; }
  .assistant-page .side .btn_group {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    left: 0;
    z-index: 10;
  }
  .assistant-page .side .button { flex-basis: 112px; }
  .assistant-page .main { padding-bottom: 16px; }
  .assistant-page .main h2 { font-size: 24px; margin-bottom: 16px; }
  .assistant-page .main p { font-size: 16px; margin-bottom: 16px; }
  .assistant-page .main h3 { font-size: 18px; }
  .assistant-page .compare th,
  .assistant-page .compare td { font-size: 14px; padding: 12px 8px; overflow-wrap: anywhere; }
  .assistant-page .specification th,
  .assistant-page .specification td { font-size: 16px; padding: 12px 8px 12px 0; }
  .product-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
