.apc-wrap{
  margin:30px 0;
  font-family:Arial,sans-serif;
}
.apc-box{
  max-width:1100px;
  margin:0 auto;
  padding:24px;
  background:#fff;
  border:1px solid #dbe4ef;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(13,43,84,.08);
  color:#1b2f4b;
}
.apc-head__title{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.15;
  color:#0f2c68;
}
.apc-head__note{
  margin:0;
  padding:12px 16px;
  background:#f3f8fd;
  border:1px solid #cfe0f1;
  border-radius:12px;
  font-size:15px;
  color:#4c617f;
}
.apc-section{
  margin-top:26px;
}
.apc-section__title{
  font-size:28px;
  font-weight:700;
  color:#12306b;
  margin-bottom:14px;
}
.apc-table{
  border:2px solid #9fc0e6;
  border-radius:18px;
  overflow:hidden;
  background:#f9fcff;
}
.apc-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 90px 120px;
  align-items:center;
  gap:16px;
  padding:15px 18px;
  border-top:1px solid #9fc0e6;
  background:#eef4fa;
}
.apc-row:first-child{
  border-top:none;
}
.apc-row--head{
  background:#dbe9f7;
  font-weight:700;
  color:#12306b;
}
.apc-row--base{
  background:#f2f6fb;
}
.apc-name{
  font-size:16px;
  line-height:1.45;
  overflow-wrap:break-word;
}
.apc-check,.apc-price{
  text-align:center;
}
.apc-price{
  font-size:20px;
  font-weight:700;
  color:#0f2c68;
  white-space:nowrap;
}
.apc-wrap input[type="checkbox"]{
  width:22px;
  height:22px;
  accent-color:#1e5aa8;
  margin:0;
}
.apc-summary{
  margin-top:28px;
  padding:20px 22px;
  background:linear-gradient(180deg,#f7fbff 0%,#eaf3fb 100%);
  border:1px solid #cfe0f1;
  border-radius:18px;
}
.apc-summary__row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  font-size:18px;
  border-bottom:1px solid #d6e3f0;
}
.apc-summary__row:last-of-type{
  border-bottom:none;
}
.apc-summary__row strong{
  color:#0f2c68;
  font-size:22px;
  white-space:nowrap;
}
.apc-summary__row--grand{
  margin-top:8px;
  padding-top:16px;
  font-size:24px;
  font-weight:700;
}
.apc-summary__row--grand strong{
  font-size:34px;
  color:#0a2352;
}
.apc-footer{
  margin-top:18px;
  text-align:center;
  font-size:15px;
  line-height:1.55;
  color:#4b5568;
}
.apc-footer p{
  margin:6px 0;
}
.apc-cta{
  text-align:center;
}
.apc-cta--top{
  margin:18px 0 8px;
}
.apc-cta--bottom{
  margin:24px 0 0;
}
.apc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:340px;
  padding:14px 22px;
  border:1px solid #2E9CCA;
  border-radius:14px;
  background:linear-gradient(135deg,#2E9CCA 0%,#247fa5 100%);
  color:#fff;
  font-size:14px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(46,156,202,.22);
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.apc-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(46,156,202,.28);
}
.apc-related{
  max-width:1100px;
  margin:24px auto 0;
  padding:24px;
  background:#f8fbfe;
  border:1px solid #dbe4ef;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(13,43,84,.05);
}
.apc-related__title{
  margin:0 0 18px;
  font-size:28px;
  font-weight:700;
  color:#12306b;
}
.apc-related__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.apc-related__item{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:120px;
  padding:18px;
  border:1px solid #cfe0ef;
  border-radius:18px;
  background:#fff;
  text-decoration:none !important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.apc-related__item:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(18,48,107,.08);
  border-color:#9fc0e6;
}
.apc-related__image-wrap{
  display:block;
  margin-bottom:12px;
  text-align:center;
}
.apc-related__image{
  display:block;
  width:100%;
  max-width:220px;
  height:auto;
  margin:0 auto;
}
.apc-related__name{
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  color:#12306b;
}
.apc-related__more{
  margin-top:14px;
  font-size:14px;
  font-weight:700;
  color:#2E9CCA;
}
.apc-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
}
.apc-modal.is-open{
  display:block;
}
.apc-modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.45);
  backdrop-filter:blur(2px);
}
.apc-modal__dialog{
  position:relative;
  z-index:2;
  width:min(92vw,460px);
  margin:60px auto;
  background:#fff;
  border-radius:20px;
  padding:22px;
  box-shadow:0 24px 60px rgba(0,0,0,.18);
}
.apc-modal__close{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border:0;
  border-radius:10px;
  background:#f1f5f9;
  font-size:24px;
  cursor:pointer;
}
.apc-modal__title{
  font-size:22px;
  font-weight:900;
  margin-bottom:8px;
}
.apc-modal__text{
  font-size:14px;
  color:rgba(0,0,0,.65);
  margin-bottom:14px;
}
.apc-form{
  display:grid;
  gap:12px;
}
.apc-field span{
  display:block;
  font-size:12px;
  color:rgba(0,0,0,.72);
  margin-bottom:6px;
}
.apc-field input,
.apc-field textarea{
  width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  font:inherit;
  outline:none;
}
.apc-field textarea{
  resize:vertical;
  min-height:96px;
}
.apc-submit{
  width:100%;
  border:1px solid #2E9CCA;
  border-radius:14px;
  background:linear-gradient(135deg,#2E9CCA 0%,#247fa5 100%);
  color:#fff;
  padding:14px 16px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.apc-submit[disabled]{
  opacity:.7;
  cursor:default;
}
.apc-toast{
  margin-bottom:10px;
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
}
.apc-toast--ok{
  border:1px solid rgba(34,197,94,.22);
  background:rgba(34,197,94,.10);
}
.apc-toast--err{
  border:1px solid rgba(239,68,68,.22);
  background:rgba(239,68,68,.10);
}
body.apc-lock{
  overflow:hidden;
}

@media (max-width:900px){
  .apc-related__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:768px){
  .apc-box{
    padding:14px;
    border-radius:16px;
  }
  .apc-head__title{
    font-size:24px;
  }
  .apc-head__note{
    font-size:14px;
    line-height:1.45;
    padding:10px 12px;
  }
  .apc-section__title,
  .apc-related__title{
    font-size:22px;
    margin-bottom:12px;
  }
  .apc-row--head{
    display:none;
  }
  .apc-row{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "name name"
      "check price";
    gap:10px 12px;
    padding:14px 12px;
    align-items:center;
  }
  .apc-name{
    grid-area:name;
    font-size:16px;
  }
  .apc-check{
    grid-area:check;
    text-align:left;
  }
  .apc-price{
    grid-area:price;
    text-align:right;
    font-size:24px;
  }
  .apc-summary{
    margin-top:20px;
    padding:16px 14px;
    border-radius:16px;
  }
  .apc-summary__row{
    font-size:16px;
    align-items:flex-start;
  }
  .apc-summary__row strong{
    font-size:20px;
  }
  .apc-summary__row--grand strong{
    font-size:28px;
  }
  .apc-footer{
    font-size:14px;
    line-height:1.5;
    margin-top:14px;
    padding:0 4px;
  }
  .apc-btn{
    max-width:none;
  }
  .apc-modal__dialog{
    margin:20px auto;
    padding:18px;
  }
  .apc-related{
    padding:14px;
    border-radius:16px;
  }
}
@media (max-width:560px){
  .apc-related__grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:420px){
  .apc-name{
    font-size:15px;
  }
  .apc-price{
    font-size:22px;
  }
  .apc-summary__row{
    font-size:15px;
  }
  .apc-summary__row strong{
    font-size:18px;
  }
  .apc-summary__row--grand strong{
    font-size:26px;
  }
}