/* Page-specific styles: delivery-payment.html */
:root {
  --r: #e9332b;
  --rs: #fff0ed;
  --g: #88be21;
  --gd: #66980f;
  --gs: #eff8df;
  --o: #ffad24;
  --ink: #25211f;
  --mut: #6f6862;
  --line: #e8e1d9;
  --cream: #fffaf1;
  --shadow: 0 16px 44px #4b312316;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    16px/1.55 Manrope,
    Arial,
    sans-serif;
}
button,
input {
  font: inherit;
}

.top {
  height: 34px;
  background: #302d2b;
  color: #fff;
  font-size: 13px;
}
.top .wrap {
  height: 100%;
  display: flex;
  align-items: center;
}
.top b {
  color: #f3d471;
}
.top nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
.top a {
  color: #eee7e2;
  text-decoration: none;
}
.head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.head-main {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo img {
  width: 112px;
  height: 64px;
  object-fit: contain;
}
.catalog {
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--r);
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.search {
  height: 47px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
}
.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 13px;
}
.search button {
  width: 47px;
  border: 0;
  border-radius: 0 9px 9px 0;
  background: var(--g);
  color: #fff;
  font-size: 20px;
}
.cabinet {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.cart {
  height: 46px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  padding: 0 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}
.page {
  padding: 22px 0 60px;
  background:
    radial-gradient(circle at 85% 8%, #eff9dc, transparent 25%),
    linear-gradient(#fffdf8, #fff 650px);
}
.crumbs {
  display: flex;
  gap: 8px;
  color: var(--mut);
  font-size: 12px;
}
.crumbs a {
  color: var(--mut);
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 34px;
  align-items: center;
  padding: 45px 0 37px;
}
.hero .kicker {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 12px;
  background: var(--rs);
  color: var(--r);
  font-size: 10px;
  font-weight: 800;
}
.hero h1 {
  font-size: 43px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 14px 0 12px;
}
.hero p {
  max-width: 690px;
  color: var(--mut);
  font-size: 17px;
}
.hero-card {
  padding: 24px;
  border-radius: 17px;
  background: linear-gradient(145deg, #302d2b, #4b3d36);
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-card strong {
  display: block;
  font-size: 22px;
}
.hero-card p {
  font-size: 12px;
  color: #d5cbc5;
}
.manager {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #ffffff1d;
}
.manager i {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--gs);
  color: var(--gd);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
}
.manager b,
.manager a {
  display: block;
}
.manager b {
  font-size: 12px;
}
.manager a {
  color: #fff;
  font-size: 11px;
}
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-bottom: 38px;
}
.quick article {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.quick i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gs);
  color: var(--gd);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
}
.quick b {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}
.quick span {
  display: block;
  color: var(--mut);
  font-size: 10px;
}
.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}
.aside {
  position: sticky;
  top: 105px;
  align-self: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.aside a {
  display: block;
  padding: 11px;
  border-radius: 8px;
  color: var(--mut);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.aside a:hover {
  background: var(--rs);
  color: var(--r);
}
.content {
  min-width: 0;
}
.section {
  scroll-margin-top: 120px;
  margin-bottom: 45px;
}
.section h2 {
  font-size: 27px;
  letter-spacing: -0.03em;
  margin: 0 0 7px;
}
.lead {
  color: var(--mut);
  margin: 0 0 20px;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.step {
  padding: 19px;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border-right: 0;
}
.step i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--r);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.step b {
  display: block;
  margin: 11px 0 4px;
  font-size: 12px;
}
.step p {
  margin: 0;
  color: var(--mut);
  font-size: 10px;
}
.delivery-grid,
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.info {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.info.accent {
  background: linear-gradient(145deg, #f4fbe8, #fff);
}
.info h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.info p,
.info li {
  color: var(--mut);
  font-size: 11px;
}
.info ul {
  padding-left: 18px;
  margin-bottom: 0;
}
.notice {
  display: flex;
  gap: 12px;
  padding: 17px;
  border-left: 4px solid var(--o);
  border-radius: 0 11px 11px 0;
  background: #fff8e8;
  margin-top: 14px;
}
.notice b {
  font-size: 12px;
}
.notice p {
  margin: 3px 0 0;
  color: var(--mut);
  font-size: 10px;
}
.payment-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.payment-row i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: var(--gs);
  color: var(--gd);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
}
.payment-row h3 {
  margin: 0;
}
.docs {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}
.docs td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.docs tr:last-child td {
  border-bottom: 0;
}
.docs td:last-child {
  text-align: right;
  color: var(--gd);
  font-weight: 800;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0 2px;
}
.faq summary {
  padding: 17px 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  list-style: none;
}
.faq summary:after {
  content: "+";
  float: right;
  color: var(--r);
  font-size: 20px;
}
.faq details[open] summary:after {
  content: "−";
}
.faq p {
  color: var(--mut);
  font-size: 11px;
  margin: 0 0 17px;
}
.cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--r), #c8241e);
  color: #fff;
}
.cta h2 {
  margin: 0;
  font-size: 23px;
}
.cta p {
  margin: 3px 0 0;
  color: #ffe3df;
  font-size: 11px;
}
.cta a {
  margin-left: auto;
  height: 45px;
  border-radius: 9px;
  background: #fff;
  color: var(--r);
  padding: 0 16px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
}
.footer {
  padding: 28px 0;
  background: #302d2b;
  color: #d9d1cb;
}
.footer .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer img {
  width: 80px;
  filter: brightness(0) invert(1);
}
.footer p {
  font-size: 10px;
}
.footer nav {
  margin-left: auto;
  display: flex;
  gap: 17px;
}
.footer a {
  color: #d9d1cb;
  font-size: 10px;
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    grid-template-columns: 1fr 330px;
  }
  .quick {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout {
    grid-template-columns: 190px 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .cabinet {
    display: none;
  }
}
@media (max-width: 650px) {
  html,
  body {
    font-size: 15px;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .top {
    height: 30px;
    font-size: 10px;
  }
  .top .wrap {
    justify-content: center;
  }
  .top nav {
    display: none;
  }
  .head-main {
    height: auto;
    min-height: 122px;
    display: grid;
    grid-template-columns: 90px 1fr 46px;
    grid-template-rows: 64px 47px;
    gap: 6px;
  }
  .logo img {
    width: 90px;
  }
  .catalog {
    height: 43px;
    padding: 0 10px;
    font-size: 11px;
  }
  .cart {
    width: 46px;
    padding: 0;
    font-size: 0;
  }
  .cart:before {
    content: "🛒";
    font-size: 17px;
  }
  .search {
    grid-column: 1/-1;
    grid-row: 2;
    height: 47px;
  }
  .page {
    padding-top: 14px;
  }
  .crumbs {
    overflow: auto;
    white-space: nowrap;
  }
  .hero {
    display: block;
    padding: 27px 0 23px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-card {
    margin-top: 19px;
    padding: 19px;
  }
  .quick {
    gap: 8px;
    margin-bottom: 30px;
  }
  .quick article {
    padding: 13px;
  }
  .layout {
    display: block;
  }
  .aside {
    display: flex;
    position: sticky;
    top: 122px;
    z-index: 15;
    overflow-x: auto;
    margin: 0 -12px 27px;
    padding: 7px 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
  }
  .aside a {
    flex: 0 0 auto;
    padding: 9px 11px;
    border: 1px solid var(--line);
    margin-right: 6px;
    background: #fff;
  }
  .section {
    scroll-margin-top: 180px;
    margin-bottom: 34px;
  }
  .section h2 {
    font-size: 23px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }
  .step:last-child {
    border-bottom: 0 !important;
  }
  .delivery-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .docs td {
    display: block;
    padding: 9px 13px;
    border: 0;
  }
  .docs tr {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .docs td:last-child {
    text-align: left;
    padding-top: 0;
  }
  .cta {
    display: block;
  }
  .cta a {
    margin: 16px 0 0;
    width: max-content;
  }
  .footer .wrap {
    display: block;
  }
  .footer nav {
    margin: 14px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
