#packaging-guide .ph-drum-scene{position:relative;container-type:inline-size;aspect-ratio:1.82;overflow:hidden;border-radius:12px;background:#f3f7fd}
#packaging-guide .ph-drum-scene>img{position:absolute;left:0;top:0;width:auto!important;height:100%!important;max-width:none;border-radius:0!important}

#packaging-guide .ph-drum-scene .ph-mark{direction:ltr}
#packaging-guide .ph-drum-scene .ph-mark span{direction:inherit;text-align:start;min-width:0}
html[dir=rtl] #packaging-guide .ph-drum-scene .ph-mark span{direction:rtl}
#packaging-guide .ph-drum-scene .ph-mark:first-of-type>span{transform:translateY(-17%)}
#packaging-guide .ph-drum-scene .ph-mark:last-of-type>span{transform:translateY(18%)}
#round-drum-10kg{scroll-margin-block:145px 20px}

#bulk-drums{scroll-margin-top:110px}

#commercial-carton-5kg {scroll-margin-block:110px;}
#commercial-carton-5kg .carton-art {position:absolute;left:3%;top:7%;width:60%;aspect-ratio:4/3;}
#commercial-carton-5kg .carton-art img {position:absolute;display:block;height:auto;border-radius:0;}
#commercial-carton-5kg .carton-photo {inset:0;width:100%;}
#commercial-carton-5kg .carton-label {left:50%;top:76%;width:28%;transform:translate(-50%,-50%);}
#commercial-carton-5kg .carton-seal {left:80%;top:47.5%;width:27%;transform:translate(-50%,-50%) rotate(-90deg);}

/* Spilanthol buyer layout */
#material-product-page.spilanthol-buyer {--sp-ink:#112d40;--sp-rule:#21847f;--sp-muted:#f3f7fd;--sp-blue:#cbe5ec}
#material-product-page.spilanthol-buyer > section[id] {scroll-margin-top:110px}
#material-product-page.spilanthol-buyer > .detail-section {padding-block:clamp(32px,4.3vw,62px)}
#material-product-page.spilanthol-buyer > :is(#overview,#quality-documents,#formulation-reference,#commercial-supply,#faq) {background:#fff!important}
#material-product-page.spilanthol-buyer > :is(#specifications,#applications,#related-articles) {background:var(--sp-muted)!important}
#material-product-page.spilanthol-buyer > :is(#packaging-storage,#quote) {background:var(--sp-blue)!important}
#material-product-page.spilanthol-buyer > #related-products {background:transparent!important}
#material-product-page.spilanthol-buyer .kv-nav {position:static}
#material-product-page.spilanthol-buyer .kv-nav>.kv-wrap {display:flex;flex-wrap:wrap;gap:0 clamp(12px,2.4vw,32px);justify-content:space-between;overflow:visible}
#material-product-page.spilanthol-buyer .kv-nav a {min-height:44px;font-size:.85rem}
#material-product-page.spilanthol-buyer :is(.detail-section-heading,.dc-product-documents-heading) {margin:0 0 1.25rem}
#material-product-page.spilanthol-buyer .dc-product-documents-heading {display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;border-bottom:2px solid var(--sp-rule);padding-bottom:.65rem}
#material-product-page.spilanthol-buyer .dc-product-documents-heading h2 {border:0;margin:0;padding:0}
#material-product-page.spilanthol-buyer .dc-product-documents-heading a {white-space:nowrap}
#material-product-page.spilanthol-buyer #overview .detail-two-column,#material-product-page.spilanthol-buyer #formulation-reference .detail-two-column {display:block}
#material-product-page.spilanthol-buyer .sp-reference {margin-top:1rem;border:1px solid #b9cdd1;border-radius:.7rem;background:#fff}
#material-product-page.spilanthol-buyer .sp-reference summary {display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:48px;cursor:pointer;padding:.7rem 1rem;font-weight:650;color:#0a5861;list-style:none}
.sp-reference summary::-webkit-details-marker {display:none}
.sp-reference summary::after {content:"+"}.sp-reference[open] summary::after {content:"−"}
#material-product-page .sp-reference .ph-nmr-spectrum {margin:0;border:0}
#material-product-page.spilanthol-buyer .sp-pack-lead {font-size:1.1rem;line-height:1.55;margin:.4rem 0}
#material-product-page.spilanthol-buyer #packaging-guide {margin-top:1.25rem;padding-top:0}
#packaging-guide .ph-section {border:0;padding-top:1.1rem}
#packaging-guide .ph-scene,#packaging-guide .ph-drum-scene {background:white}
#packaging-guide .pack-track {grid-auto-columns:calc((100% - 2 * clamp(12px,1.5vw,22px)) / 3);scroll-snap-type:x mandatory}
#packaging-guide .ph-card figcaption {text-align:left}
#material-product-page.spilanthol-buyer .sp-storage {margin:1.25rem 0 0;line-height:1.6;max-width:85ch}
#material-product-page.spilanthol-buyer .sp-supply-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
#material-product-page.spilanthol-buyer .sp-supply-grid article {background:white;border:1px solid #bdd2d6;border-radius:.75rem;padding:clamp(14px,2vw,24px)}
#material-product-page.spilanthol-buyer .sp-supply-grid h3 {margin:0 0 .55rem;font-size:1.16rem}
#material-product-page.spilanthol-buyer .sp-supply-grid p {margin:.45rem 0;line-height:1.55}
#material-product-page.spilanthol-buyer #quote {padding:clamp(28px,3.8vw,48px) 0;color:var(--sp-ink)}
#material-product-page.spilanthol-buyer #quote>.shell {display:block}
#material-product-page.spilanthol-buyer #quote :is(h2,p){color:var(--sp-ink);max-width:74ch}
#material-product-page.spilanthol-buyer #quote h2 {margin:.45rem 0}
#material-product-page.spilanthol-buyer #quote .detail-actions {display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
#material-product-page.spilanthol-buyer #quote .button {background:#007c7f;color:white;border:0}
#material-product-page.spilanthol-buyer #quote .button-outline {background:#f5cfe1;color:#112d40}
@media(min-width:761px) and (max-width:1200px) {#material-product-page.spilanthol-buyer :is(#packaging-storage,#quality-documents,#commercial-supply)>.shell {padding-right:90px;box-sizing:border-box}#packaging-guide .pack-track{grid-auto-columns:calc((100% - clamp(12px,1.5vw,22px)) / 2)}}
@media(max-width:760px){
 #material-product-page.spilanthol-buyer .kv-nav>.kv-wrap {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .5rem}
 #material-product-page.spilanthol-buyer .kv-nav a {font-size:.82rem;white-space:normal}
 #material-product-page.spilanthol-buyer .sp-supply-grid {grid-template-columns:1fr}
 #packaging-guide .pack-track {grid-auto-columns:100%}
 #material-product-page.spilanthol-buyer .ph-hero-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
 #material-product-page.spilanthol-buyer .ph-hero-actions .button {min-width:0;padding-inline:.45rem;text-align:center}
 #material-product-page.spilanthol-buyer .ph-hero-utility {grid-column:1/-1}
 #material-product-page.spilanthol-buyer #quote .detail-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Keep each section title and its optional utility link above a single rule. */
#material-product-page.spilanthol-buyer > .detail-section > .shell > :is(.detail-section-heading,.dc-product-documents-heading),
#material-product-page.spilanthol-buyer #packaging-guide .pack-row-heading {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  padding-bottom:.7rem;
  border-bottom:2px solid var(--sp-rule);
  margin:0 0 1.15rem;
}
#material-product-page.spilanthol-buyer > .detail-section > .shell > :is(.detail-section-heading,.dc-product-documents-heading) h2 {
  padding-bottom:0;
  margin-block:0;
  border-bottom:0;
}
#material-product-page.spilanthol-buyer .detail-hero h1,
#material-product-page.spilanthol-buyer #quote h2 {
  padding-bottom:.7rem;
  border-bottom:2px solid var(--sp-rule);
  margin-bottom:1.15rem;
}
#material-product-page.spilanthol-buyer #packaging-guide {border-top:0}

#material-product-page.spilanthol-buyer #specifications .detail-facts {
  gap:0 1.5rem;
  background:white;
  border:1px solid #c4d5dc;
  border-radius:12px;
  padding:0 clamp(12px,2vw,24px);
}
#material-product-page.spilanthol-buyer #specifications .detail-facts>div {
  grid-template-columns:minmax(7rem,.7fr) minmax(0,1.3fr);
  align-items:baseline;
  gap:.5rem 1rem;
  padding:1rem 0;
  border:0;
  border-bottom:1px solid #d6e1e3;
}
#material-product-page.spilanthol-buyer #specifications .detail-facts>div:last-child {
  grid-column:1/-1;
  border-bottom:0;
}
#material-product-page.spilanthol-buyer #specifications .detail-facts :is(dt,dd) {
  height:auto;
  max-height:none;
  white-space:normal;
  overflow:visible;
  line-height:1.55;
  margin:0;
}
@media(max-width:1100px) {
  #material-product-page.spilanthol-buyer #specifications .detail-facts {grid-template-columns:minmax(0,1fr)}
  #material-product-page.spilanthol-buyer #specifications .detail-facts>div {grid-template-columns:minmax(8rem,26%) minmax(0,1fr)}
}
@media(min-width:761px) and (max-width:1250px) {
  #material-product-page.spilanthol-buyer #specifications>.shell {box-sizing:border-box;padding-right:96px}
}
@media(max-width:550px) {
  #material-product-page.spilanthol-buyer #specifications .detail-facts>div {grid-template-columns:minmax(0,1fr);gap:.15rem;padding:.75rem 0}
}

#material-product-page.spilanthol-buyer :is(#overview,#formulation-reference,#commercial-supply) .detail-section-heading {margin-bottom:1.15rem}

#packaging-guide .qp-liquid .qp-image img {
 position: absolute;
 left: 29%;
 top: 50%;
 width: var(--subject-width);
 height: auto;
 transform: translate(-50%,-50%);
}
#packaging-guide .qp-liquid .qp-callout {
 position: absolute;
 left: var(--pin-x);
 right: 2%;
 top: var(--pin-y);
 display: flex;
 gap: 5px;
 align-items: center;
 transform: translateY(-50%);
 color: #006e70;
 font-size: clamp(11px,3.1cqw,16px);
 font-weight: 650;
 line-height: 1.12;
}
#packaging-guide .qp-callout i {
 position: relative;
 flex: 1;
 height: 1.4px;
 background: currentColor;
}
#packaging-guide .qp-callout i::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 0;
 width: 6px;
 height: 6px;
 background: currentColor;
 border: 1px solid white;
 border-radius: 50%;
 transform: translate(-50%,-50%);
}
#packaging-guide .qp-callout span { width: 36cqw; }
#packaging-guide .liquid-samples > p {margin-bottom:1rem}

#packaging-guide .liquid-samples {margin-top:1rem;scroll-margin-top:110px}

#packaging-guide .pack-guide-entry a,
#packaging-guide .pack-guide-entry a .pack-guide-label {text-decoration:none; background-image:none;}
#packaging-guide .pack-guide-entry a .pack-guide-label {border-bottom:0;box-shadow:none;}
#packaging-guide .pack-guide-entry a:focus-visible {outline:2px solid currentColor;outline-offset:3px;}

#applications .sp-application-photo {display:block;width:clamp(96px,15vw,180px);height:auto;aspect-ratio:4/3;object-fit:cover;flex:none;border-radius:8px;}
@media(max-width:540px){#applications .sp-application-photo{width:88px;}}

#grade-comparison {margin-block:1.75rem 1rem;scroll-margin-top:8rem;color:#10283f}
#grade-comparison h3 {margin:0;padding-bottom:.65rem;border-bottom:2px solid #16847f}
#grade-comparison p {margin:.75rem 0 1rem}
#grade-comparison table {width:100%;border-collapse:collapse;line-height:1.5}
#grade-comparison th,#grade-comparison td {padding:.8rem;text-align:left;vertical-align:top;border-bottom:1px solid #cadade}
#grade-comparison thead {background:#eff5f7}
#grade-comparison td:nth-child(2) {white-space:nowrap}
#grade-comparison .sp-field-label {display:none}
@media(min-width:761px) and (max-width:1200px){#grade-comparison{margin-right:80px}}
@media(max-width:760px){
 #grade-comparison table,#grade-comparison tbody,#grade-comparison tr {display:block}
 #grade-comparison thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #grade-comparison tbody tr {padding:.6rem 0;border-bottom:1px solid #c2d6dc}
 #grade-comparison th[scope="row"] {display:block;background:#eff5f7;border:0}
 #grade-comparison td {display:grid;grid-template-columns:minmax(5.4rem,32%) 1fr;gap:.6rem;padding:.35rem .8rem;border:0}
 #grade-comparison .sp-field-label {display:block;color:#476271;font-size:.88em}
}

#material-product-page #grade-comparison :is(td,th):nth-child(2) {width:auto;max-width:none}
@media(max-width:760px){#material-product-page #grade-comparison tbody td:nth-child(2){width:100%;box-sizing:border-box}}

#reference-formula {margin:1rem 0 1.5rem;scroll-margin-top:8rem}
#reference-formula summary {cursor:pointer;font-weight:650;color:#005e65;padding:.65rem 0}
#reference-formula table {width:100%;border-collapse:collapse;line-height:1.45}
#material-product-page #reference-formula :is(th,td) {width:auto;white-space:normal;padding:.4rem .6rem;text-align:left;border-bottom:1px solid #d4e2e5;vertical-align:top}
#reference-formula tbody:nth-of-type(even),#reference-formula thead {background:#f2f7f9}
#material-product-page #reference-formula td:last-child {text-align:right;font-variant-numeric:tabular-nums}

#material-product-page #overview .material-overview-body > .material-copy {max-width:none}
@media(min-width:1100px){
 #material-product-page #overview .material-overview-body > .material-copy {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(1.5rem,3vw,3rem);align-items:start}
 #material-product-page #overview .material-copy > p {margin-block:0}
}
@media(min-width:761px) and (max-width:1200px){
 #material-product-page #overview .material-overview-body {padding-right:80px}
 #material-product-page #overview #grade-comparison {margin-right:0}
}

#shipping-seal > figure {width:100%;max-width:22rem;min-width:0}
#shipping-seal .ph-mark span {font-size:.875rem;line-height:1.2}
#shipping-seal .ph-mark i {flex-basis:39%}
@media(min-width:821px){
 #packaging-guide #shipping-seal {grid-template-columns:minmax(0,1fr) minmax(0,min(43%,22rem));align-items:start;column-gap:clamp(1.25rem,3vw,2.5rem)}
}

#grade-comparison .sp-use-case strong {display:block;margin-bottom:.25rem}
@media(max-width:620px){
 /* The last strip belongs to the document, so contact controls scroll with the footer. */
 body#spilanthol-product {position:relative;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px)) !important}
 #spilanthol-product #phinq .ph-contact-ai,
 #spilanthol-product a.whatsapp-float.ph-contact:is(.ph-contact-email,.ph-contact-whatsapp),
 #spilanthol-product .cookie-settings-button {
   position:absolute !important;top:auto !important;bottom:0 !important;right:auto !important;
   width:25% !important;min-width:0 !important;height:calc(64px + env(safe-area-inset-bottom,0px)) !important;
   margin:0 !important;padding:5px 3px calc(5px + env(safe-area-inset-bottom,0px)) !important;
   box-sizing:border-box;transform:none !important;transition:none !important;
 }
 #spilanthol-product #phinq .ph-contact-ai {left:0 !important}
 #spilanthol-product a.whatsapp-float.ph-contact.ph-contact-email {left:25% !important}
 #spilanthol-product a.whatsapp-float.ph-contact.ph-contact-whatsapp {left:50% !important}
 #spilanthol-product .cookie-settings-button {left:75% !important;border:0;border-top:1px solid #dce6ee;border-radius:0;background:#f3f7fd;color:#12334b;font-size:.8rem;line-height:1.15;white-space:normal}
}
