/* Wholesale page: Gutenberg groups and editable tables, based on wholesale.html. */
.site-main.wholesale-page { width: min(1344px, calc(100% - 80px)); max-width: 1344px; padding: 0 0 76px; }
.wholesale-page > .wp-block-post-content, .wholesale-page > .wp-block-post-content > * { max-width: none; }
.wholesale-page .wp-block-group.is-layout-flow > * + * { margin-block-start: 0; }
.wholesale-page :is(h1,h2,h3,p,figure) { margin-top: 0; }
.wholesale-page :is(h1,h2) { text-wrap: balance; letter-spacing: -.035em; }
.wholesale-page h1 { font-size: clamp(2.5rem,4.45vw,4rem); font-weight: 600; line-height: 1.12; }
.wholesale-page h2 { font-size: clamp(2rem,3.33vw,3rem); font-weight: 600; line-height: 1.12; }
.wholesale-page h3 { font-size: 1.75rem; line-height: 1.2; }
.wholesale-page a { color: var(--brand); }
.wholesale-page .wp-block-button__link { color: #fff; }
.wholesale-breadcrumbs { display: flex; align-items: center; height: 76px; margin-bottom: 28px !important; color: var(--muted); font-size: .8125rem; }
.wholesale-breadcrumbs a { text-decoration: none; }
.wholesale-breadcrumbs span { padding-inline: 8px; }
.wholesale-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; min-height: 490px; overflow: hidden; border-radius: 26px; background: var(--lavender); }
.wholesale-hero__copy { align-self: center; padding: 42px; }
.wholesale-hero__copy h1 { max-width: 620px; }
.wholesale-hero__copy > p { max-width: 48ch; margin-top: 22px; color: var(--brand-dark); font-size: 1.25rem; }
.wholesale-hero__copy .wp-block-buttons { margin-top: 26px; }
.wholesale-hero__copy .wholesale-hero__secondary { margin-top: 16px; font-size: .875rem; }
.wholesale-hero__media { position: relative; height: 100%; margin: 0; }
.wholesale-hero__media img { display: block; width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.wholesale-hero__media figcaption { position: absolute; inset: auto 18px 18px; padding: 10px 14px; border-radius: 12px; color: var(--ink); background: var(--paper); font-size: .8125rem; }
.wholesale-previews { margin: 20px 0 0; font-size: .875rem; }
.wholesale-previews a + a { margin-left: 28px; }
.wholesale-assortment, .wholesale-provenance, .wholesale-terms, .wholesale-request { margin-top: 80px !important; }
.wholesale-assortment__heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.wholesale-assortment__heading p { max-width: 340px; color: var(--muted); }
.wholesale-assortment__note { max-width: 80ch; margin-bottom: 32px; color: var(--muted); font-size: .875rem; }
.wholesale-offer { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.wholesale-offer__intro p { max-width: 30ch; margin: 16px 0 24px; color: var(--muted); }
.wholesale-offer__intro p:last-child { margin: 0; font-size: .875rem; }
.wholesale-offer__table { min-width: 0; margin: 0; overflow-x: auto; }
.wholesale-offer__table table { width: 100%; border: 0; border-collapse: collapse; table-layout: fixed; font-size: .875rem; }
.wholesale-offer__table thead { border-bottom: 0; }
.wholesale-offer__table th, .wholesale-offer__table td { padding: 16px 12px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wholesale-offer__table thead th { padding-top: 0; color: var(--muted); font-weight: 400; }
.wholesale-offer__table :is(th,td):first-child { width: 46%; padding-left: 0; }
.wholesale-offer__table :is(th,td):nth-child(2) { width: 34%; }
.wholesale-offer__table tbody td:first-child { font-weight: 600; }
.wholesale-offer__table tbody td:last-child { white-space: nowrap; }
.wholesale-assortment__seedlings { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.wholesale-assortment__seedlings p { max-width: 55ch; margin: 0; color: var(--muted); }
.wholesale-provenance { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 64px; }
.wholesale-provenance figure { margin: 0; }
.wholesale-provenance img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 18px; }
.wholesale-provenance p { max-width: 55ch; margin-top: 18px; color: var(--muted); }
.wholesale-terms { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; }
.wholesale-terms > div p { margin-top: 20px; color: var(--muted); }
.wholesale-terms__table { margin: 0; }
.wholesale-terms__table table { display: block; width: 100%; border: 0; border-collapse: collapse; }
.wholesale-terms__table tbody { display: block; }
.wholesale-terms__table tr { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 20px; border-top: 1px solid var(--line); }
.wholesale-terms__table td { padding: 18px 0; border: 0; vertical-align: top; }
.wholesale-terms__table td:first-child { font-weight: 600; }
.wholesale-terms__table td:last-child { color: var(--muted); }
.wholesale-request { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; scroll-margin-top: 145px; }
.wholesale-request > div:first-child p { margin-top: 20px; color: var(--muted); }
.wholesale-request__contact { align-self: start; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 15px 35px rgb(53 32 79 / .08); }
.wholesale-request__contact p { margin: 0 0 20px; }
.wholesale-request__contact a { font-size: 1.25rem; font-weight: 600; }
.wholesale-request__contact .wholesale-request__note { margin: 26px 0 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 1000px) {
  .wholesale-offer { grid-template-columns: 1fr; gap: 24px; }
  .wholesale-offer__intro p { max-width: 60ch; }
}
@media (max-width: 900px) {
  .site-main.wholesale-page { width: calc(100% - 48px); }
  .wholesale-hero__copy { padding: 30px; }
  .wholesale-hero__copy p { font-size: 1rem; }
  .wholesale-provenance, .wholesale-terms, .wholesale-request { gap: 32px; }
}
@media (max-width: 600px) {
  .site-main.wholesale-page { width: calc(100% - 36px); padding-bottom: 48px; }
  .wholesale-page h1 { font-size: 2.375rem; }
  .wholesale-page h2 { font-size: 2rem; }
  .wholesale-page h3 { font-size: 1.5rem; }
  .wholesale-hero { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .wholesale-hero__copy { padding: 28px 24px; }
  .wholesale-hero__media img { height: 260px; min-height: 0; }
  .wholesale-previews a { display: inline-block; min-height: 44px; }
  .wholesale-previews a + a { margin-left: 18px; }
  .wholesale-assortment, .wholesale-provenance, .wholesale-terms, .wholesale-request { margin-top: 52px !important; }
  .wholesale-assortment__heading { display: block; }
  .wholesale-assortment__heading p { margin-top: 16px; }
  .wholesale-offer { padding: 24px 0; }
  .wholesale-offer__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .wholesale-offer__table table, .wholesale-offer__table tbody { display: block; }
  .wholesale-offer__table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .wholesale-offer__table td, .wholesale-offer__table td:first-child, .wholesale-offer__table td:nth-child(2) { width: auto; padding: 0; border: 0; }
  .wholesale-offer__table td:first-child { grid-column: 1 / -1; }
  .wholesale-offer__table td:nth-child(2)::before, .wholesale-offer__table td:nth-child(3)::before { display: block; color: var(--muted); font-size: .6875rem; }
  .wholesale-offer__table td:nth-child(2)::before { content: 'Тара'; }
  .wholesale-offer__table td:nth-child(3)::before { content: 'Расчёт'; }
  .wholesale-assortment__seedlings, .wholesale-provenance, .wholesale-terms, .wholesale-request { display: block; }
  .wholesale-assortment__seedlings p:last-child { margin-top: 16px; }
  .wholesale-provenance > div { margin-top: 24px; }
  .wholesale-terms__table { margin-top: 20px; }
  .wholesale-terms__table tr { grid-template-columns: 1fr; gap: 0; }
  .wholesale-terms__table td { padding: 6px 0; }
  .wholesale-request__contact { margin-top: 24px; padding: 24px; }
}
@media (max-width: 700px) {
  .wholesale-hero__copy > p:not(.wholesale-hero__secondary) { font-size: 20px; line-height: 1.6; margin: 20px 0 24px; }
}
