/* Buyer information: native Gutenberg groups, columns and details. */
.site-main.customer-info-page { width: min(1344px,calc(100% - 80px)); max-width: none; margin-inline: auto; padding: 0 0 80px; }
.customer-info-page > *, .customer-info-page > .wp-block-post-content > * { max-width: none; margin-inline: 0; }
.customer-info-page .wp-block-group.is-layout-constrained > * { max-width: none; margin-inline: 0; }
.customer-info-page .wp-block-group.is-layout-flow > * + * { margin-block-start: 0; }
.customer-info-page :is(h1,h2,h3,p) { margin-top: 0; }
.customer-info-page p { line-height: 1.55; }
.customer-breadcrumbs { display: flex; align-items: center; min-height: 76px; margin-bottom: 20px !important; color: var(--muted); font-size: .8125rem; }
.customer-breadcrumbs a { color: var(--ink); text-decoration: none; }
.customer-breadcrumbs span { padding-inline: 8px; }
.customer-info-page > h1 { margin: 16px 0 15px; font-size: clamp(2.75rem,3.8vw,3.375rem); line-height: 1.1; letter-spacing: -.035em; }
.customer-info-page .customer-page__intro { max-width: 45ch !important; margin: 0 0 22px !important; color: var(--muted); font-size: 1.25rem; }
.customer-info-page .customer-layout { display: grid; grid-template-columns: 248px minmax(0,1fr); align-items: start; gap: 72px; margin: 0; }
.customer-info-page .customer-layout > .wp-block-column { min-width: 0; margin: 0; }
.customer-sidebar { position: sticky; top: 130px; }
.customer-nav { display: flex; flex-direction: column; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.customer-nav p { margin: 0 !important; }
.customer-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding-block: 8px; color: var(--ink); font-size: .9375rem; text-decoration: none; }
.customer-nav a::after { content: '→'; color: var(--muted); font-size: 1.25rem; }
.customer-nav a:hover { color: var(--brand); }
.customer-sidebar__help { max-width: 25ch; margin-top: 28px !important; color: var(--muted); font-size: .875rem; }
.customer-sidebar__help strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.customer-sidebar__help a { display: block; width: fit-content; min-height: 36px; color: var(--ink); font-size: 1rem; text-decoration: none; }
.customer-sidebar__help a:first-of-type { margin-top: 12px; }
.customer-sidebar__help a:hover { text-decoration: underline; }
.customer-content { min-width: 0; }
.customer-info-page .customer-section { margin-bottom: 38px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.customer-info-page .customer-section h2 { margin-bottom: 20px; font-size: clamp(2rem,2.5vw,2.25rem); line-height: 1.12; letter-spacing: -.03em; scroll-margin-top: 130px; }
.customer-section h3 { margin: 28px 0 12px; font-size: 1.25rem; font-weight: 600; }
.customer-section p { max-width: 68ch; margin-bottom: 16px; color: var(--muted); }
.customer-section p:last-child { margin-bottom: 0; }
.customer-info-page .delivery-overview { position: relative; margin-bottom: 12px; padding: 32px 36px; border-radius: 16px; background: var(--lavender); }
.delivery-overview::after { content: ''; position: absolute; top: 32px; right: 32px; width: 42px; height: 42px; background: url('../images/delivery-box.svg') center / contain no-repeat; }
.delivery-overview h2 { padding-right: 48px; }
.delivery-overview p { max-width: 52ch; color: var(--brand-dark); }
.delivery-overview .delivery-overview__free { display: inline-flex; width: fit-content; margin: 4px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--green-light); color: var(--green); font-size: .875rem; font-weight: 600; }
.customer-info-page .service-facts { display: block !important; margin: 0; }
.service-facts > .wp-block-column { display: grid; grid-template-columns: 140px minmax(0,1fr); align-items: start; gap: 22px; margin: 0; padding-block: 19px; }
.service-facts > .wp-block-column + .wp-block-column { border-top: 1px solid var(--line); }
.service-facts h3 { margin: 0; font-size: 1rem; }
.service-facts p { margin: 0; font-size: 1rem; }
.customer-invoice a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.customer-terms { overflow: hidden; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.customer-terms summary { min-height: 52px; padding: 15px 20px; cursor: pointer; font-weight: 600; }
.customer-terms > p { max-width: none; padding-inline: 20px; }
.customer-terms > p:last-child { padding-bottom: 20px; }
.document-links p { margin: 0 !important; padding: 20px 0; }
.document-links p + p { border-top: 1px solid var(--line); }
.document-links a { display: flex; justify-content: space-between; gap: 20px; color: var(--ink); font-weight: 600; text-decoration: none; }
.document-links a:hover { color: var(--brand); }
.document-links small { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.customer-section .faq-list { margin-top: 22px; }
.faq-list .wp-block-details { margin: 0 0 9px; }
.customer-close { justify-content: space-between; align-items: center; gap: 24px; margin: 0; }
.customer-close::before { content: 'Теперь можно вернуться\A к выбору любимого аромата.'; white-space: pre-line; color: var(--ink); font-size: clamp(1.5rem,2.4vw,2.25rem); font-weight: 600; line-height: 1.3; }
.customer-close .wp-block-button__link { min-width: 140px; border-radius: 100px; background: var(--brand); color: #fff; }
.customer-page__source { max-width: 75ch !important; margin-top: 32px !important; color: var(--muted); font-size: .8125rem; }
@media (max-width: 1000px) {
  .customer-info-page .customer-layout { grid-template-columns: 210px minmax(0,1fr); gap: 36px; }
}
@media (max-width: 800px) {
  .site-main.customer-info-page { width: calc(100% - 48px); }
  .customer-info-page .customer-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .customer-sidebar { position: static; }
  .customer-sidebar__help { display: none; }
  .customer-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 20px; }
}
@media (max-width: 600px) {
  .site-main.customer-info-page { width: calc(100% - 36px); padding-bottom: 48px; }
  .customer-info-page > h1 { margin-top: 15px; }
  .customer-page__intro { margin-bottom: 26px !important; font-size: 1rem; }
  .customer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
  .customer-nav a { font-size: .875rem; }
  .customer-nav a::after { display: none; }
  .customer-info-page .customer-section { margin-bottom: 30px; padding-bottom: 30px; }
  .customer-section h2 { font-size: 2rem; }
  .customer-info-page .delivery-overview { padding: 24px 20px; }
  .delivery-overview::after { top: 24px; right: 20px; width: 28px; height: 28px; }
  .delivery-overview h2 { padding-right: 28px; }
  .delivery-overview h2 br { display: none; }
  .service-facts > .wp-block-column { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .customer-close { align-items: flex-start; flex-direction: column; }
}
