@import url("assets/export/pack-outlines.css");
@import url("assets/export/north-america-source/pack-front-outlines.css");

/* Match the completed category pages and override inherited legacy font tokens. */
.page-export { --f: var(--body); --font-body: var(--body); --font-display-en: var(--body); }
.remaining-page.remaining-export,
.page-export .remaining-export h1,
.page-export .remaining-export h2 { font-family: var(--body); }

/* Frame the globe and the panicle as one photograph. Keep the headline on the shared category grid. */
.export-world-hero { background: #102a1d; }
.export-world-hero .remaining-hero-image { overflow: hidden; }
.export-world-hero .remaining-hero-image img {
  object-position: 82% center;
  transform: scale(1.60);
  transform-origin: 86% 28%;
}
.export-world-hero::after {
  pointer-events: none;
  background: linear-gradient(90deg,#0a2119d4 0%,#0a21199c 37%,transparent 66%);
}
.remaining-page .export-world-hero > .category-hero-inner {
  width: min(1280px,calc(100% - 96px));
}
.export-world-hero .remaining-lead { max-width: 32em; text-wrap: pretty; }
.export-world-hero .actions { display: flex; }
.export-world-hero .eyebrow { margin: 0 0 14px; color: #e5cd98; letter-spacing: .14em; font-weight: 700; }
@media (min-width:761px) and (max-width:1100px) {
  .remaining-page .export-world-hero .category-hero-copy { width: 52%; }
}
@media (max-width:760px) {
  .remaining-page .export-world-hero .remaining-hero-image {
    position: absolute; inset: auto 0 0; height: var(--category-hero-mobile-photo); width: 100%; z-index: -1;
    mask-image: linear-gradient(to bottom,transparent,#000 24%);
  }
  .export-world-hero .remaining-hero-image img {
    object-position: 89% center; transform-origin: 81% 42%;
  }
  .remaining-page .export-world-hero > .category-hero-inner {
    width: calc(100% - 40px); min-height: var(--category-hero-height);
    padding-block: 30px var(--category-hero-mobile-photo); align-items: flex-start;
  }
  .export-world-hero .remaining-breadcrumb { margin-bottom: 20px; }
}
.buyer-section { padding-block: clamp(64px, 6vw, 98px); scroll-margin-top: 115px; }
.buyer-sand { background: #f7f6f1; }
@media (min-width:1101px) {
  .remaining-export .buyer-section > .container { width: min(1280px, calc(100% - 280px)); }
}
.buyer-split { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); gap: clamp(40px,7vw,112px); }
.buyer-heading { max-width: 770px; margin-bottom: 36px; }
.buyer-split .buyer-heading { margin: 0; }
.remaining-export .buyer-heading h2 { color: #153a2a; font-size: clamp(30px, 2.7vw, 43px); font-weight: 750; line-height: 1.23; text-wrap: balance; word-break: keep-all; margin: 0; }
.buyer-heading p,.buyer-facts dd,.buyer-steps p,.buyer-details > p { margin: 14px 0 0; font-size: 16px; line-height: 1.8; color: #47574e; }
.buyer-facts { margin: 0; padding: 0; border-top: 2px solid #294b3a; }
.buyer-facts > div { border-bottom: 1px solid #d6ddd4; padding: 17px 0 19px; }
.buyer-facts dt { font-size: 19px; font-weight: 700; color: #143a2b; }
.buyer-facts dd,.buyer-steps p { margin: 5px 0 0; }
.remaining-export .buyer-link { display: inline-block; color: #214e35; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.buyer-facts + .buyer-link { margin-top: 16px; }
.buyer-footnote,.buyer-case figcaption { margin: 12px 0 0; color: #59655c; font-size: 14px; line-height: 1.65; }
.buyer-north-america { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(28px,4vw,64px); align-items: center; margin-top: clamp(36px,6vw,76px); padding-top: clamp(24px,4vw,42px); border-top: 1px solid #cfd6cc; }
.buyer-north-america-copy { max-width: 800px; }
.buyer-north-america-copy p { margin: 10px 0 0; color: #47574e; font-size: 15px; line-height: 1.7; }
.buyer-north-america-copy .buyer-kicker { margin: 0 0 8px; color: #5c6b54; font-size: 13px; font-weight: 700; }
.remaining-export .buyer-north-america h3 { margin: 0; color: #153a2a; font-size: clamp(22px,2.3vw,32px); line-height: 1.25; word-break: keep-all; }
.buyer-north-america-copy .buyer-carton { color: #214e35; font-weight: 650; }
.buyer-north-pack-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(8px,1.2vw,18px); margin-top: 0; padding: clamp(12px,1.5vw,20px); background: #f7f6f1; }
.buyer-north-pack { min-width: 0; margin: 0; text-align: center; }
.buyer-north-pack-art { position: relative; overflow: hidden; max-width: 245px; aspect-ratio: 1; margin-inline: auto; }
.buyer-north-pack-art img { position: absolute; inset: var(--north-pack-top,0) auto auto var(--north-pack-left,0); width: var(--north-pack-width,100%); max-width: none; height: auto; clip-path: var(--north-pack-outline,none); }
.buyer-north-pack figcaption { margin-top: 5px; color: #153a2a; font-size: clamp(12px,1.2vw,16px); font-weight: 650; line-height: 1.4; }
.buyer-pack-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(28px,4vw,70px); }
.buyer-case { display: none; grid-area: 1 / 1 / span 7 / 2; grid-template-rows: subgrid; margin: 0; min-width: 0; }
.buyer-spec-option:has(input:checked) + .buyer-case { display: grid; }
.buyer-photo-zoom { grid-row: 1 / span 6; position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; align-items: center; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.buyer-photo-zoom:focus-visible { outline: 3px solid #28513b; outline-offset: 2px; }
.buyer-zoom-label { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 3px; background: #173b2c; color: white; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.6; }
.buyer-case figcaption { grid-row: 7; align-self: start; }
.buyer-case img { width: 100%; height: auto; display: block; object-fit: contain; }
.buyer-case img,.pack-zoom-images img { clip-path: var(--pack-outline, none); }
.buyer-case figcaption span { display: block; }
.buyer-spec-option { grid-column: 2; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 8px 12px; min-height: 44px; border-bottom: 1px solid #cfd6cc; color: #15392a; font-size: 16px; font-weight: 650; cursor: pointer; }
.buyer-spec-option:first-child { border-top: 2px solid #294b3a; }
.buyer-spec-option small { color: #57645a; font-size: 13px; font-weight: 500; }
.buyer-pack-layout .buyer-spec-option input[type="radio"] { order: 1; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; outline: 0; accent-color: #25533c; cursor: pointer; }
.buyer-spec-option:has(input:checked) { background: #e7ede3; }
.buyer-spec-option:has(input:focus-visible) { outline: 2px solid #28513b; outline-offset: -2px; }
.buyer-spec-option:hover span,.buyer-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.buyer-pack-layout > .buyer-details { grid-column: 2; }
.pack-zoom-dialog { position: fixed; inset: 0; box-sizing: border-box; width: min(1180px,calc(100% - 32px)); max-width: none; max-height: 92dvh; margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 0; background: #f7f6f1; color: #173b2c; }
.pack-zoom-dialog::backdrop { background: rgb(10 25 18 / 78%); }
html:has(.pack-zoom-dialog[open]) { overflow: hidden; }
.pack-zoom-dialog > header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; background: #173b2c; color: white; }
.remaining-export .pack-zoom-dialog h3 { margin: 0; color: inherit; font-size: 17px; }
.pack-zoom-dialog form { margin: 0; }
.pack-zoom-dialog button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border: 1px solid #adbbaf; background: transparent; color: white; font: inherit; white-space: nowrap; cursor: pointer; }
.pack-zoom-dialog button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.pack-zoom-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 12px; }
.pack-zoom-images figure { margin: 0; }
.pack-zoom-images img { display: block; width: 100%; height: auto; object-fit: contain; }
.pack-zoom-images figcaption { margin-top: 6px; text-align: center; }
.buyer-details { margin: 18px 0 0; }
.buyer-details summary { cursor: pointer; font-size: 15px; color: #304e3c; font-weight: 650; padding: 10px 0; }
.buyer-details summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; list-style: none; }
.buyer-details summary::-webkit-details-marker { display: none; }
.buyer-details summary::after { content: '+'; flex: none; }
.buyer-details[open] > summary::after { content: '−'; }
.buyer-details .label-portfolio { margin: 10px 0 0; padding: 0; border: 0; }
.buyer-details .label-portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.buyer-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.buyer-steps li { counter-increment: step; border-top: 1px solid #adbbae; padding-top: 16px; }
.buyer-steps li::before { content: counter(step,decimal-leading-zero); color: #516c5b; font-size: 14px; font-weight: 650; }
.remaining-export .buyer-steps h3 { margin: 7px 0 0; font-size: 20px; }
#export-faq { margin-top: clamp(48px,5vw,72px); border-top: 1px solid #d4dcd1; }
.remaining-export #export-faq > h3 { margin: 28px 0 20px; color: #153a2a; font-size: clamp(28px,2.25vw,36px); font-weight: 750; line-height: 1.3; }
#export-faq .buyer-details { margin: 0; padding-block: 3px; border-bottom: 1px solid #d4dcd1; }
#export-faq .buyer-details p { margin: 4px 0 16px; max-width: 860px; }
#export-faq summary { min-height: 56px; padding-block: 18px; gap: 16px; font-size: 17px; font-weight: 650; color: #153a2a; }
.buyer-platforms { margin-top: clamp(36px,4vw,56px); padding-top: clamp(24px,2.5vw,32px); border-top: 1px solid #d4dcd1; }
.remaining-export .buyer-platforms h3 { margin: 0 0 14px; color: #153a2a; font-size: 18px; }
.buyer-platforms ul { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.buyer-platforms .buyer-link { display: flex; align-items: center; gap: 4px; min-height: 44px; }
@media (max-width: 900px) {
  .buyer-north-america { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .buyer-split { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .buyer-pack-layout { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 8px; }
  .buyer-case { grid-area: 1 / 1 / 2 / -1; grid-template-rows: auto auto; width: 100%; margin-bottom: 16px; }
  .buyer-photo-zoom,.buyer-case figcaption { grid-row: auto; }
  .buyer-spec-option { grid-column: auto; grid-template-columns: minmax(0,1fr) auto; align-content: center; gap: 2px 6px; padding: 8px; }
  .buyer-spec-option:first-child { border-top: 0; }
  .buyer-spec-option input { grid-column: 2; grid-row: 1 / span 2; }
  .buyer-spec-option small { grid-column: 1; }
  .buyer-pack-layout > .buyer-details { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .pack-zoom-images { grid-template-columns: minmax(0,1fr); }
  .buyer-section { padding-block: 50px; scroll-margin-top: 100px; }
  .buyer-heading { margin-bottom: 24px; }
  .remaining-export .buyer-heading h2 { font-size: 29px; }
  .buyer-heading p,.buyer-facts dd,.buyer-steps p { font-size: 15px; }
  .buyer-spec-option { font-size: 15px; }
  .buyer-steps { grid-template-columns: minmax(0,1fr); gap: 20px; }
}
