/* /gotovye-furshetnye-boksy/ — header, cart and box cards come from css/styles.css (same as home). */
.wrap { width:auto; max-width:1100px; margin:0 auto; padding:0 16px; }
.boxes-list { padding-bottom:50px; }
.ready-box .ready-box-title { max-width:100%; margin:18px 0 19px; font-size:clamp(32px,3.8vw,52px); line-height:1.03; letter-spacing:-.065em; font-weight:800; }
.ready-box .ready-box-title span { background:linear-gradient(transparent 62%,var(--accent) 62%); box-decoration-break:clone; -webkit-box-decoration-break:clone; }
@media (max-width:680px) {
  .wrap { padding:0 22px; }
  .ready-box .ready-box-title { font-size:clamp(32px,8.3vw,42px); margin:13px 0 15px; }
}

/* First screen — same look as the home page hero */
.crumbs { padding-top:14px; padding-bottom:0; }
.boxes-hero { padding-bottom:32px; }
.boxes-hero-layout { display:grid; grid-template-columns:1fr 1fr; gap:5%; align-items:center; }
.boxes-hero-copy { padding:44px 0 58px; }
.boxes-hero-overline { margin-bottom:28px; font-size:10px; font-weight:750; letter-spacing:.015em; }
.boxes-hero h1 { font-weight:800; font-size:clamp(48px,5.2vw,82px); line-height:.99; margin:0 0 25px; letter-spacing:-.065em; }
.boxes-hero h1 span { background:linear-gradient(transparent 62%,var(--accent) 62%); }
.boxes-hero p { margin:0; color:var(--text-muted); font-size:16px; max-width:570px; line-height:1.55; }
.boxes-hero-actions { display:grid; grid-template-columns:1fr; gap:8px; margin-top:28px; }
.primary-link,.secondary-link { display:grid; grid-template-columns:28px 1fr 20px; align-items:center; gap:13px; min-height:56px; padding:14px 17px; font-size:15px; text-decoration:none; color:var(--text); }
.primary-link { background:var(--accent); }
.secondary-link { border:1px solid var(--text); }
.primary-link small,.secondary-link small { font-size:11px; font-weight:500; }
.primary-link strong,.secondary-link strong { font-weight:700; }
.primary-link span,.secondary-link span { font-size:19px; line-height:1; font-weight:400; }
.boxes-hero-visual { position:relative; height:580px; overflow:hidden; background:var(--accent); }
.boxes-hero-visual img { width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.boxes-list { scroll-margin-top:110px; }

@media (max-width:680px) {
  .boxes-hero-layout { display:block; }
  .boxes-hero { padding-bottom:30px; }
  .boxes-hero-copy { padding:22px 0 23px; }
  .boxes-hero-overline { margin-bottom:22px; font-size:9px; }
  .boxes-hero h1 { font-size:clamp(39px,10.6vw,54px); letter-spacing:-.067em; margin-bottom:18px; }
  .boxes-hero p { font-size:14px; line-height:1.48; }
  .boxes-hero-actions { margin-top:21px; }
  .primary-link,.secondary-link { min-height:54px; }
  .boxes-hero-visual { height:420px; margin-left:-22px; margin-right:-22px; }
  .boxes-list { scroll-margin-top:90px; }
}

/* Text-only first screen: full-width copy, single button */
.boxes-hero-layout { display:block; }
.boxes-hero-copy { padding:40px 0 48px; }
.boxes-hero p { max-width:none; }
.boxes-hero-actions { grid-template-columns:minmax(0,420px); }
.boxes-hero .primary-link { grid-template-columns:1fr 20px; }
@media (max-width:680px) {
  .boxes-hero-copy { padding:22px 0 28px; }
  .boxes-hero-actions { grid-template-columns:1fr; }
}

/* "10 guests" path and short order terms between the first screen and the catalog */
.boxes-hero:has(+ .boxes-guide) { padding-bottom:0; }
.boxes-guide { padding:0 0 40px; }
.boxes-guide-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px; }
.boxes-guide-offer { padding:22px 24px; background:#f7f5f0; }
.boxes-guide h2 { margin:0 0 8px; font-size:22px; line-height:1.2; letter-spacing:-.03em; font-weight:800; }
.boxes-guide-offer p { margin:0 0 16px; color:var(--text-muted); font-size:15px; line-height:1.5; }
.boxes-guide .secondary-link { grid-template-columns:1fr 20px; min-height:50px; background:var(--bg); }
.boxes-terms { align-self:center; margin:0; padding:0; list-style:none; font-size:14px; line-height:1.45; }
.boxes-terms li { padding:8px 0; border-bottom:1px dashed var(--border); }
.boxes-terms li.boxes-terms-more { border-bottom:0; }
.boxes-terms-more a { color:var(--text-muted); font-size:13px; }
.boxes-guide a:focus-visible { outline:2px solid var(--text); outline-offset:3px; }
.faq-page { scroll-margin-top:110px; }
@media (max-width:680px) {
  .boxes-hero:has(+ .boxes-guide) { padding-bottom:0; }
  .boxes-guide { padding-bottom:30px; }
  .boxes-guide-layout { grid-template-columns:1fr; gap:14px; }
  .boxes-guide-offer { padding:18px 18px 20px; margin:0 -6px; }
  .boxes-guide h2 { font-size:20px; }
  .boxes-guide-offer p { font-size:14px; }
  .boxes-terms { font-size:13px; }
  .boxes-terms li { padding:6px 0; }
  .faq-page { scroll-margin-top:90px; }
}

