/* One editorial card system for go₂ protocols and athlete selections.
   Photography frames the existing sachet artwork and site typography. */
#products-page { font-family: var(--font-body); color: var(--text); padding-top: calc(var(--navbar-h, 77px) + clamp(1.5rem, 4vh, 3rem)); padding-bottom: 4rem; }
#products-page [hidden] { display: none !important; }
.products-shell { width: min(1280px, calc(100% - clamp(2rem, 6vw, 6rem))); max-width: none; padding-top: 0; }
.products-hero { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.75rem; }
.products-hero h1 { font: 600 clamp(2.25rem, 3.4vw, 3.25rem)/1.1 var(--font-display); letter-spacing: -.035em; max-width: none; text-wrap: balance; }
.products-hero p { max-width: 560px; margin-top: .6rem; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.products-toolbar { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; flex-shrink: 0; }
.products-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.products-filter { border: 1px solid transparent; border-radius: 999px; padding: .65rem 1rem; background: color-mix(in srgb, var(--text) 5%, var(--surface)); color: var(--text); font: 700 .8125rem/1.4 var(--font-body); min-height: 44px; cursor: pointer; transition: background .2s; }
.products-filter[aria-pressed="true"] { background: var(--lime); color: var(--navy); }
.products-filter-count { margin-left: .4rem; opacity: .6; font-size: .6875rem; }
.products-result-count { color: var(--text-muted); font-size: .75rem; white-space: nowrap; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; }
.products-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.products-card:hover { border-color: color-mix(in srgb, var(--text) 24%, var(--border)); box-shadow: 0 3px 12px #111b3208; }
.products-card:focus-within { border-color: var(--text-muted); }
.products-athlete-link { cursor: pointer; }
.products-athlete-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.products-media { position: relative; aspect-ratio: 16 / 9; margin: 12px 12px 0; border-radius: 12px; min-width: 0; overflow: hidden; background: var(--border); }
.products-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.products-partner .products-scene { left: -20%; width: 120%; max-width: none; object-position: center 17%; }
.products-partner[data-product-id="henrique-nogueira"] .products-scene { left: -26%; width: 132%; object-position: center 12%; }
.products-partner[data-product-id="denis-kipkosgei"] .products-scene { left: -40%; width: 140%; object-position: center 17%; }
.products-partner[data-product-id="mafe-ganem"] .products-scene { left: 0; width: 100%; object-position: center 38%; }
.products-partner[data-product-id="diego-arantes"] .products-scene { left: 0; width: 100%; object-position: center 17%; }

/* Transparent exports from Sachet Studio, staggered to reveal each name. */
.products-sachet-lineup { position: absolute; width: 64%; height: 78%; bottom: 9%; left: 50%; transform: translateX(-50%); container-type: inline-size; }
.products-sachet-lineup > div { position: absolute; filter: drop-shadow(0 7px 5px #17264740); }
.products-sachet-lineup[data-count="3"] > div { width: 38%; bottom: 12%; }
.products-sachet-lineup[data-count="3"] > div:nth-child(1) { left: 0; transform: rotate(-4deg); }
.products-sachet-lineup[data-count="3"] > div:nth-child(2) { left: 30%; width: 40%; bottom: 0; z-index: 1; }
.products-sachet-lineup[data-count="3"] > div:nth-child(3) { right: 0; transform: rotate(4deg); }
.products-sachet-lineup[data-count="4"] { width: 74%; }
.products-sachet-lineup[data-count="4"] > div { width: 33%; bottom: 28%; }
.products-sachet-lineup[data-count="4"] > div:nth-child(1) { left: 10%; transform: rotate(-3deg); }
.products-sachet-lineup[data-count="4"] > div:nth-child(2) { right: 10%; transform: rotate(3deg); }
.products-sachet-lineup[data-count="4"] > div:nth-child(n+3) { bottom: 0; z-index: 1; }
.products-sachet-lineup[data-count="4"] > div:nth-child(3) { left: 0; transform: rotate(-2deg); }
.products-sachet-lineup[data-count="4"] > div:nth-child(4) { right: 0; transform: rotate(2deg); }
.products-sachet-lineup[data-count="5"] { width: 74%; }
.products-sachet-lineup[data-count="5"] > div { width: 29%; bottom: 28%; }
.products-sachet-lineup[data-count="5"] > div:nth-child(1) { left: 3%; transform: rotate(-3deg); }
.products-sachet-lineup[data-count="5"] > div:nth-child(2) { left: 35.5%; bottom: 30%; }
.products-sachet-lineup[data-count="5"] > div:nth-child(3) { right: 3%; transform: rotate(3deg); }
.products-sachet-lineup[data-count="5"] > div:nth-child(n+4) { width: 33%; bottom: 0; z-index: 1; }
.products-sachet-lineup[data-count="5"] > div:nth-child(4) { left: 16%; transform: rotate(-2deg); }
.products-sachet-lineup[data-count="5"] > div:nth-child(5) { right: 16%; transform: rotate(2deg); }
.products-sachet-lineup[data-count="2"] > div { width: 46%; bottom: 0; }
.products-sachet-lineup[data-count="2"] > div:nth-child(1) { left: 3%; transform: rotate(-4deg); }
.products-sachet-lineup[data-count="2"] > div:nth-child(2) { right: 3%; transform: rotate(4deg); }
.products-partner .products-sachet-lineup { left: auto; right: 3%; bottom: 5%; width: 39%; height: 42%; transform: none; }
.products-partner .products-sachet-lineup[data-count="2"] { width: 33%; }
/* These cards feature their first sachet in the center of the photograph.
   Formula order, the names below the photo, and cart contents stay independent. */
.products-card:is([data-product-id="sport"], [data-product-id="denis-kipkosgei"], [data-product-id="mafe-ganem"], [data-product-id="diego-arantes"]) .products-sachet-lineup[data-count="3"] > div:first-child { left: 30%; width: 40%; bottom: 0; transform: none; z-index: 1; }
.products-card:is([data-product-id="sport"], [data-product-id="denis-kipkosgei"], [data-product-id="mafe-ganem"], [data-product-id="diego-arantes"]) .products-sachet-lineup[data-count="3"] > div:nth-child(2) { left: 0; width: 38%; bottom: 12%; transform: rotate(-4deg); z-index: auto; }
/* Match the photographed support surfaces: the board top and gym towel. */
.products-card[data-product-id="essentials"] .products-sachet-lineup { bottom: 20%; }
.products-card[data-product-id="essentials"] .products-sachet-lineup > div:not(:nth-child(2)) { bottom: 6%; }
.products-card[data-product-id="pro"] .products-sachet-lineup { bottom: 16%; }
.products-card[data-product-id="pro"] .products-sachet-lineup[data-count="5"] > div:nth-child(-n+3) { bottom: 24%; }
.products-card[data-product-id="pro"] .products-sachet-lineup[data-count="5"] > div:nth-child(2) { bottom: 26%; }
.products-card:is([data-product-id="essentials"], [data-product-id="pro"]) .products-sachet-lineup > div { filter: drop-shadow(1px 2px 2px #211a1640); }
.products-card:is([data-product-id="essentials"], [data-product-id="pro"]) .products-sachet-lineup > div::before { content: ""; position: absolute; left: 5%; right: 5%; bottom: 1.5%; height: 3%; border-radius: 50%; background: #211a1666; filter: blur(1.5px); z-index: -1; }
/* Frame the pouch inside the original 1200 × 1400 transparent export.
   Keep the source artwork intact; the surrounding canvas is clipped in CSS. */
.products-sachet-art { position: relative; display: block; width: 100%; aspect-ratio: 700 / 980; overflow: hidden; }
.products-sachet-art > img { position: absolute; width: 171.428571%; max-width: none; height: auto; left: -35.714286%; top: -16.530612%; }

.products-card-body { padding: 22px 22px 14px; display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.products-origin { color: var(--text-muted); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.products-card-body > h3 { font: 600 2rem/1.15 var(--font-display); margin: 0; letter-spacing: -.025em; }
.products-card-body > .products-contents { display: flex; flex-wrap: wrap; gap: 7px; font-size: .8125rem; line-height: 1.4; color: var(--text); margin: 10px 0 18px; }
.products-sachet-name { --sachet-gradient: var(--stack-custom-gradient); display: inline-flex; align-items: baseline; gap: .04em; white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: linear-gradient(#ffffffcf, #ffffffcf), var(--sachet-gradient); color: #000; font: 700 .875rem/1.2 var(--font-body); letter-spacing: -.02em; }
.products-sachet-name[data-stack="morning"] { --sachet-gradient: var(--stack-morning-gradient); }
.products-sachet-name[data-stack="night"] { --sachet-gradient: var(--stack-night-gradient); }
.products-sachet-name[data-stack="gut"] { --sachet-gradient: var(--stack-gut-gradient); }
.products-sachet-name[data-stack="electrolyte"] { --sachet-gradient: var(--stack-electrolyte-gradient); }
.products-sachet-name[data-stack="preworkout"] { --sachet-gradient: var(--stack-preworkout-gradient); }
.products-sachet-name[data-stack="muscle"] { --sachet-gradient: var(--stack-muscle-gradient); }
.products-sachet-name[data-stack="focus"] { --sachet-gradient: var(--stack-focus-gradient); }
.products-sachet-name[data-stack="daily"] { --sachet-gradient: var(--stack-daily-gradient); }
.products-sachet-name > .go2-mark-text { font-family: "go2-mark", var(--font-body); font-weight: 700; font-size: 1em; color: inherit; }
.products-sachet-name > .pb-sachet-brand-suffix { font-family: var(--font-body); color: inherit; }

.products-card-action { display: inline-flex; align-items: center; gap: .75rem; border: 0; color: var(--text); font: 800 .8125rem/1.3 var(--font-body); text-decoration: none; background: transparent; cursor: pointer; min-height: 44px; text-align: left; }
.products-card-action:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.products-filter:focus-visible, .products-card-action:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 1100px) {
  .products-hero { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .products-toolbar { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 1000px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .products-hero { margin-bottom: 1.25rem; }
  .products-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .products-hero p { font-size: .9375rem; }
  .products-filters { gap: .375rem; }
  .products-filter { padding-inline: .75rem; font-size: .75rem; }
  .products-result-count { display: none; }
  .products-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .products-card-body { padding: 20px 18px 12px; }
}
@media (prefers-reduced-motion: reduce) { .products-card, .products-filter { transition: none; } }

/* Ready-made drafts use the same sachet art and card structure as Meu Protocolo. */
body.store-dialog-open { overflow: hidden; }
.store-dialog { color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 0; margin: auto; width: min(1060px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 32px); overflow: hidden; box-shadow: 0 30px 90px #0005; font-family: var(--font-body); }
.store-dialog::backdrop { background: #10192c80; backdrop-filter: blur(8px); }
.store-dialog-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 34px); overflow-y: auto; }
.store-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 28px 16px; flex-shrink: 0; }
.store-dialog-header > div { display: grid; gap: 8px; }
.store-dialog-eyebrow { font-size: .625rem; font-weight: 750; letter-spacing: .09em; margin: 0; color: var(--text-muted); }
.store-dialog-header h2 { font: 800 2rem/1.1 var(--font-body); letter-spacing: -.035em; margin: 0; color: inherit; }
.store-dialog-description { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--text-muted); }
.store-athlete-profile-link { justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 2px; border: 0; background: transparent; color: var(--go-green, var(--text)); font-size: .8125rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.store-athlete-profile-link svg { width: 17px; height: 17px; }
.store-dialog button, .store-dialog select { font-family: inherit; cursor: pointer; }
.store-dialog button:disabled, .store-dialog select:disabled { opacity: .4; cursor: default; }
.store-dialog button:focus-visible, .store-dialog input:focus-visible, .store-dialog select:focus-visible, .store-sachet-track:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.store-dialog svg { width: 18px; height: 18px; flex: 0 0 18px; }
.store-close, .store-picker-close, .store-pencil, .store-remove-sachet { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; color: inherit; background: var(--surface); flex: 0 0 auto; }
.store-dialog-summary { margin: 0 28px; padding: 10px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: .8125rem; font-weight: 650; gap: 12px; flex-shrink: 0; }
.store-summary-actions { display: flex; align-items: center; gap: 12px; }
.store-new-sachet { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 9px; padding: 7px 12px; font-size: .75rem; font-weight: 650; }
.store-workspace { display: flex; align-items: flex-start; position: relative; flex: none; min-width: 0; }
.store-sachet-track { display: grid; gap: 14px; min-width: 0; padding: 8px 28px 24px; flex: 1; }
.store-dialog .store-sachet { grid-template-columns: 156px minmax(170px, .9fr) minmax(240px, 1.2fr); grid-template-rows: auto; min-height: 218px; border-radius: 12px; }
.store-dialog .store-sachet.is-editing { border-color: var(--text); }
.store-dialog .store-sachet .mp-stack-img-wrap { display: grid; place-items: center; height: auto; min-height: 218px; padding: 16px 12px; background: transparent; }
.store-dialog .store-sachet .mp-stack-img-wrap::after { display: none; }
.store-dialog .store-sachet .protocol-finalization-sachet-art { --pb-sachet-render-width: 125px; transform: rotate(-5deg); }
.store-dialog .store-sachet .mp-stack-body { padding: 18px 16px 18px 4px; height: auto; justify-content: center; }
.store-dialog .store-sachet .mp-stack-name { font-size: 1.5rem; margin: 0; }
.store-dialog .store-sachet .mp-stack-subtitle { font-size: .75rem; color: var(--text-muted); }
.store-sachet-options { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.store-sachet-options label { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--text); }
.store-sachet-options label > span { font-size: .625rem; font-weight: 700; color: var(--text-muted); }
.store-sachet-options select { min-width: 0; width: 100%; min-height: 38px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--surface); padding: 6px 8px; font-size: .8125rem; }
.store-dialog .store-sachet .mp-stack-ingredients-panel { display: flex; flex-direction: column; height: auto; max-height: none; padding: 18px 52px 18px 18px; border-left: 1px solid var(--border); background: transparent; min-width: 0; overflow: visible; }
.store-ingredients-heading { font: 800 .75rem/1.4 var(--font-body); margin: 0 0 10px; }
.store-ingredients-heading > span { display: block; font-size: .625rem; font-weight: 500; color: var(--text-muted); margin-top: 3px; }
.store-dialog .store-ingredients { display: flex; flex: none; flex-direction: column; list-style: none; padding: 0; margin: 0; gap: 0; width: 100%; height: auto; max-height: none; min-height: 0; overflow: visible; }
.store-dialog .store-ingredients li { display: flex; flex-direction: row; flex: none; height: auto; max-height: none; min-height: 34px; line-height: 1.4; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .75rem; }
.store-dialog .store-ingredients li::before { display: none; }
.store-dialog .store-ingredients li:last-child { border: 0; }
.store-dialog .store-ingredients .mp-ing-name { flex: 1; min-width: 0; font-size: .75rem; font-weight: 650; overflow-wrap: anywhere; }
.store-dialog .store-ingredients .mp-ing-qty { font-size: .75rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.store-ingredients button { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.store-dialog .store-dose { display: flex; align-items: center; gap: 5px; margin: 0; }
.store-dialog .store-dose input { width: 66px; min-height: 38px; padding: 5px; font-size: .875rem; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--surface); }
.store-dose small { color: var(--text-muted); font-size: .6875rem; }
.store-dialog .store-sachet-actions { position: absolute; top: 12px; right: 10px; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.store-pencil[aria-pressed="true"] { background: var(--lime); color: var(--navy); }
.store-add-ingredient { display: flex; gap: 6px; align-items: center; justify-content: center; border: 1px dashed var(--border); border-radius: 8px; background: transparent; color: inherit; min-height: 40px; width: 100%; padding: 6px; margin-top: 10px; font-size: .75rem; font-weight: 750; }
.store-sachet-empty { font-size: .8125rem; color: var(--text-muted); padding: 8px 0; }
.store-workspace.has-picker { flex-direction: column; }
.store-workspace.has-picker .store-sachet-track { width: 100%; }
.store-picker { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; width: calc(100% - 56px); margin: 0 28px 20px; display: flex; flex-direction: column; padding: 14px; min-height: 0; max-height: 300px; }
.store-picker header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.store-picker h3 { font: 800 .9375rem/1.25 var(--font-body); }
.store-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.store-search input { width: 100%; min-width: 0; color: var(--text); background: transparent; border: 0; font: 400 1rem/1.4 var(--font-body); }
.store-picker-results { display: flex; flex-direction: column; overflow: auto; min-height: 0; padding-top: 6px; }
.store-picker-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: transparent; border: 0; border-bottom: 1px solid var(--border); padding: 10px 3px; min-height: 44px; flex-shrink: 0; text-align: left; color: var(--text); }
.store-picker-item > span:not(.store-color-dot) { flex: 1; }
.store-picker-item strong { font-size: .8125rem; display: block; }
.store-picker-item small { display: block; color: var(--text-muted); font-size: .6875rem; }
.store-picker-item:not(:disabled):hover { background: var(--bg); }
.store-color-dot { width: 14px; height: 14px; flex: 0 0 14px; border-radius: 50%; background: var(--lime); }
.store-color-dot[data-stack="morning"] { background: var(--stack-morning-color); }
.store-color-dot[data-stack="night"] { background: var(--stack-night-color); }
.store-color-dot[data-stack="gut"] { background: var(--stack-gut-color); }
.store-color-dot[data-stack="electrolyte"] { background: var(--stack-electrolyte-color); }
.store-color-dot[data-stack="preworkout"] { background: var(--stack-preworkout-color); }
.store-color-dot[data-stack="muscle"] { background: var(--stack-muscle-color); }
.store-picker-empty { padding: 12px 3px; font-size: .8125rem; }
.store-detail-error { margin: 0; padding: 0 28px; font-size: .8125rem; color: #b0443d; flex-shrink: 0; }
.store-detail-error:not(:empty) { padding-bottom: 12px; }
.store-dialog-footer { position: sticky; bottom: 0; z-index: 3; border-top: 1px solid var(--border); padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-shrink: 0; background: var(--surface); }
.store-footer-copy { display: flex; flex-direction: column; gap: 6px; }
.store-footer-copy strong { font-size: .875rem; }
.store-footer-copy span { font-size: .75rem; color: var(--text-muted); }
.store-footer-actions { display: flex; align-items: center; gap: 16px; }
.store-primary { border: 0; border-radius: 10px; background: var(--lime); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; min-height: 48px; font-size: .875rem; font-weight: 800; white-space: nowrap; }
.store-cancel-edit { font-size: .8125rem; border: 0; color: var(--text-muted); background: none; padding: 8px 0; }
.store-cancel-edit:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .store-dialog .store-sachet { grid-template-columns: 130px minmax(0, 1fr); }
  .store-dialog .store-sachet .mp-stack-body { padding-right: 50px; }
  .store-dialog .store-sachet .mp-stack-ingredients-panel { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); padding: 16px; }
  .store-dialog .store-sachet .mp-stack-img-wrap { padding: 12px; }
  .store-dialog .store-sachet .protocol-finalization-sachet-art { --pb-sachet-render-width: 105px; }
  .store-footer-copy { display: none; }
  .store-footer-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 600px) {
  .store-dialog { width: 100%; max-height: 96dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .store-dialog-shell { max-height: 96dvh; }
  .store-dialog-header { padding: 20px 16px 14px; gap: 12px; }
  .store-dialog-header h2 { font-size: 1.65rem; }
  .store-dialog-description { font-size: .75rem; }
  .store-dialog-summary { margin-inline: 16px; }
  .store-sachet-track { padding: 6px 16px 20px; }
  .store-dialog .store-sachet { grid-template-columns: 110px minmax(0, 1fr); }
  .store-dialog .store-sachet .mp-stack-name { font-size: 1.35rem; }
  .store-dialog .store-sachet .mp-stack-body { padding: 14px 40px 14px 4px; gap: 6px; }
  .store-dialog .store-sachet .protocol-finalization-sachet-art { --pb-sachet-render-width: 87px; }
  .store-dialog .store-sachet-actions { right: 6px; top: 10px; }
  .store-pencil, .store-remove-sachet { width: 32px; height: 32px; }
  .store-sachet-options select, .store-dialog .store-dose input { font-size: 1rem; }
  .store-picker { width: calc(100% - 32px); margin-inline: 16px; }
  .store-dialog-footer { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .store-footer-actions { gap: 12px; }
  .store-primary { flex: 1; padding-inline: 10px; font-size: .8125rem; }
  .store-cancel-edit { font-size: .75rem; max-width: 105px; text-align: left; }
  .store-detail-error { padding-inline: 16px; }
}

/* Browsing and purchasing are independent actions on every product card. */
.products-card-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 0; padding-top: 18px; }
.products-card-actions .products-card-action { border: 0; padding: 0; margin: 0; width: 100%; justify-content: center; min-width: 0; font-size: .8125rem; }
.products-card-cart { display: inline-flex; flex: 0 0 auto; width: 100%; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; min-width: 38px; min-height: 38px; padding: 8px; background: var(--lime); color: var(--navy); font: 800 .8125rem/1.2 var(--font-body); cursor: pointer; transition: background .2s, transform .2s; }
.products-card-cart svg { width: 19px; height: 19px; flex-shrink: 0; }
.products-card-cart.is-added { background: color-mix(in srgb, var(--lime) 25%, var(--surface)); color: var(--text); padding-inline: 10px; }
.products-card-cart:hover { background: color-mix(in srgb, var(--lime) 88%, var(--navy)); color: var(--navy); transform: translateY(-1px); }
.products-card-cart:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.products-card-cart:disabled { cursor: wait; opacity: .6; }
.products-card-cart.is-just-added svg { animation: store-cart-pop .55s ease-out; }
@keyframes store-cart-pop { 0% { transform: scale(.5) rotate(-14deg); } 55% { transform: scale(1.25) rotate(7deg); } 100% { transform: scale(1) rotate(0); } }
.store-cart-status { position: fixed; z-index: 5000; bottom: 24px; left: 50%; transform: translate(-50%, 12px); padding: 12px 18px; border-radius: 100px; background: #111b32; color: #fff; box-shadow: 0 8px 30px #111b3225; font: 650 .875rem/1.4 var(--font-body); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.store-cart-status.is-visible { opacity: 1; transform: translate(-50%, 0); }
.commerce-cart-group { padding: 16px 0; border-bottom: 1px solid #111b3218; }
.commerce-cart-group:first-child { padding-top: 0; }
.commerce-cart-group:last-child { border-bottom: 0; padding-bottom: 0; }
.commerce-cart-group > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.commerce-cart-group h3 { font: 850 1rem/1.3 var(--font-body); color: #111b32; margin: 3px 0 0; }
.commerce-cart-group header small { font: 650 .625rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .07em; opacity: .6; }
.commerce-cart-group header > span { font-size: .6875rem; white-space: nowrap; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .products-card-cart, .store-cart-status { transition: none; } .products-card-cart.is-just-added svg { animation: none; } }

.commerce-group-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; font: 600 .6875rem/1.3 var(--font-body); }
.commerce-group-actions > span { opacity: .6; }
.commerce-group-actions button { border: 0; background: transparent; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0 4px 8px; font: inherit; cursor: pointer; }
.commerce-group-actions button:hover { color: #8b3441; }
.manipulation-commerce-summary:has(.commerce-cart-group), .manipulation-commerce-sachets:has(.commerce-cart-group) { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.commerce-cart-group { min-width: 0; max-width: 100%; }
.commerce-cart-group > header > div:first-child { min-width: 0; }
.commerce-cart-group .manipulation-commerce-sachet-strip { width: 100%; box-sizing: border-box; }

@media (max-width: 700px) {
  .products-card-cart.is-added span { min-width: 0; }
}

.store-dose { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; }
.store-dose input { width: 6rem; min-height: 40px; padding: .4rem; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--surface); }
.commerce-group-actions { flex-wrap: wrap; }
.hero-video-actions { flex-wrap: wrap; gap: .75rem; }
.hero-video-actions .hero-ready-protocols { background: transparent; color: #fff; border: 1px solid #ffffff99; }
@media (max-width: 600px) { .hero-video-actions { gap: .5rem; } .hero-video-actions .hero-video-cta { font-size: .8rem; padding-inline: 1rem; } }

.products-card-cart { min-height: 52px; padding: 12px; font-size: .9375rem; }

/* The bundle overview uses the same finished-protocol cards as the builder. */
.store-dialog.store-protocol-preview { --go-green: #2c4b31; --go-muted: #64715f; --go-line: #dce1d4; --go-panel: #fffefa; --go-soft: #edf1e5; --go-lime: #dff52a; width: min(1248px, calc(100vw - 40px)); background: #f8f7f2; color: #111b32; }
.store-protocol-preview .store-dialog-header { position: relative; justify-content: center; padding: 28px 64px 12px; text-align: center; }
.store-protocol-preview .store-dialog-header .store-close { position: absolute; top: 20px; right: 20px; }
.store-protocol-preview .store-dialog-header h2 { font-size: 2rem; }
.store-protocol-preview .store-dialog-summary { border: 0; margin-inline: 28px; }
.store-protocol-preview .store-sachet-track.go-local-protocol-grid { width: 100%; padding: 0 24px 24px; }
.store-protocol-preview .store-sachet.is-editing { flex: 0 0 100%; width: 100%; }
.store-protocol-preview .store-dialog-footer { position: static; display: flex; flex-direction: column; border: 0; padding-top: 0; background: transparent; }
.store-protocol-preview .store-footer-copy { display: none; }
.store-protocol-preview .store-footer-actions { width: 100%; flex-wrap: wrap; justify-content: center; gap: 10px; }
.store-protocol-preview .store-primary { flex: 1 0 100%; width: 100%; min-height: 64px; background: var(--go-lime); border-radius: 15px; font-size: 15px; }
.store-protocol-preview .store-cancel-edit { order: 1; }
.store-protocol-preview [data-store-action="personalize-protocol"] { width: 100%; min-height: 50px; padding: 12px 20px; border: 1px solid var(--go-line); border-radius: 15px; color: var(--go-green); background: var(--go-panel); font-size: 14px; font-weight: 600; text-align: center; }
.store-protocol-preview [data-store-action="personalize-protocol"]:hover { background: var(--go-soft); text-decoration: none; }
.store-catalog-state { display: grid; justify-items: center; gap: 20px; padding: 48px 28px; text-align: center; }
.store-protocol-preview .go-local-select-field.is-form.is-disabled { color: #111b32; cursor: default; }
.store-protocol-preview .go-local-select-field.is-form .go-local-select-value { color: #111b32; }
@media (max-width: 600px) {
  .store-dialog.store-protocol-preview { width: 100%; }
  .store-protocol-preview .store-dialog-header { padding: 28px 48px 12px; }
  .store-protocol-preview .store-dialog-header .store-close { top: 14px; right: 12px; }
  .store-protocol-preview .store-sachet-track.go-local-protocol-grid { padding-inline: 12px; }
  .store-protocol-preview .store-cancel-edit { max-width: none; }
}

.store-protocol-preview *, .store-protocol-preview *::before, .store-protocol-preview *::after { box-sizing: border-box; }
.store-protocol-preview .store-dialog-shell { overflow-x: hidden; }

/* Empty cart keeps both ways of choosing the next protocol visible. */
.cart-empty-state { max-width: 720px; min-height: 55vh; margin: 0 auto; padding: clamp(48px, 9vw, 100px) 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; color: var(--text); }
.cart-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); }
.cart-empty-icon svg { width: 28px; height: 28px; }
.cart-empty-state h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; }
.cart-empty-state p { margin: 0; max-width: 440px; color: var(--text-muted); line-height: 1.6; }
.cart-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.cart-empty-actions button { min-height: 48px; padding: 14px 24px; }
@media (max-width: 540px) { .cart-empty-actions { width: 100%; flex-direction: column; } .cart-empty-actions button { width: 100%; } }

.store-product-price { display: flex; flex-direction: column; gap: 3px; margin-block: 6px; }
.store-product-price > strong { color: var(--text); font: 800 1.25rem/1.3 var(--font-body); }
.store-product-price > span { color: var(--text-muted); font-size: .75rem; line-height: 1.5; }
.store-dialog-footer > .store-product-price { text-align: center; }

/* Athlete profiles use the exact finished-protocol renderer from “Ver protocolo”. */
.athlete-storefront-protocol { --go-green: #2c4b31; --go-muted: #64715f; --go-line: #dce1d4; --go-panel: #fffefa; --go-soft: #edf1e5; --go-lime: #dff52a; box-sizing: border-box; width: min(1248px, calc(100% - 32px)); max-width: 1248px; margin: clamp(2rem, 5vw, 4.5rem) auto; padding: clamp(24px, 4vw, 42px) 0; border-radius: 0; background: transparent; color: #111b32; }
.athlete-storefront-protocol *, .athlete-storefront-protocol *::before, .athlete-storefront-protocol *::after { box-sizing: border-box; }
.athlete-storefront-protocol-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.athlete-storefront-protocol-head > div { max-width: 760px; }
.athlete-storefront-protocol-head > span { flex: 0 0 auto; color: var(--go-muted); font-size: .8125rem; font-weight: 700; }
.athlete-storefront-protocol .store-sachet-track.go-local-protocol-grid { width: 100%; padding: 0; }
.athlete-storefront-protocol .go-local-select-field.is-disabled { opacity: 1; cursor: default; }
.athlete-storefront-commerce { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--go-line); }
.athlete-storefront-commerce > .store-product-price { margin: 0; }
.athlete-storefront-actions { display: flex; align-items: center; gap: 12px; min-width: min(100%, 420px); }
.athlete-storefront-actions .products-card-cart { width: auto; flex: 1; padding-inline: 22px; white-space: nowrap; }
.athlete-storefront-actions .products-card-cart span { white-space: nowrap; }
.athlete-storefront-actions .products-card-action { justify-content: center; flex: 1; min-height: 52px; padding: 10px 18px; border: 1px solid var(--go-line); border-radius: 12px; }
#athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol { width: var(--athlete-feature-shell); padding: clamp(24px, 4vw, 42px) 0; gap: clamp(1.25rem, 2.6vw, 2rem); }
#athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol-head { align-items: end; text-align: left; }
#athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol-head h2 { display: block; }
#athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol-head h2::after { display: none; }
#athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol-head p { display: block; }
@media (max-width: 700px) {
  .athlete-storefront-protocol { width: min(100% - 20px, 1248px); padding: 24px 2px; }
  #athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol { width: var(--athlete-feature-shell); padding: 24px 2px; }
  #athlete-page .athlete-page-body[data-athlete-layout="feature"] .athlete-storefront-protocol-head { align-items: flex-start; }
  .athlete-storefront-protocol-head { align-items: flex-start; flex-direction: column; gap: 10px; padding-inline: 4px; }
  .athlete-storefront-commerce { align-items: stretch; flex-direction: column; padding-inline: 4px; }
  .athlete-storefront-commerce > .store-product-price { text-align: center; }
  .athlete-storefront-actions { width: 100%; min-width: 0; flex-direction: column; }
  .athlete-storefront-actions .products-card-cart, .athlete-storefront-actions .products-card-action { width: 100%; }
}

/* Bundle pages use the ambassador hero and related-card composition. */
#bundle-page { padding: 0 0 clamp(64px, 9vw, 120px); background: #f7f4ed; color: #111b32; font-family: var(--font-body); }
.bundle-page-body { min-height: 100vh; overflow: hidden; }
.bundle-hero.athlete-hero { min-height: clamp(500px, 42vw, 600px); background: #071426; }
.bundle-hero-media.athlete-hero-media { overflow: hidden; }
.bundle-hero-media img { object-position: center 55%; filter: saturate(1.05) contrast(1.05); }
.bundle-hero-media::after { background: linear-gradient(90deg, rgba(3,14,31,.94) 0%, rgba(3,14,31,.78) 31%, rgba(3,14,31,.14) 67%, rgba(3,14,31,.08) 100%), linear-gradient(180deg, rgba(3,14,31,.22) 0%, transparent 52%, rgba(3,14,31,.55) 100%); }
.bundle-hero-lineup.products-sachet-lineup { z-index: 1; left: auto; right: max(8%, calc((100vw - 1250px) / 2)); bottom: 12%; width: min(40vw, 510px); height: 70%; transform: none; }
.bundle-hero[data-bundle-slug="essentials"] .bundle-hero-lineup { bottom: 15%; }
.bundle-hero[data-bundle-slug="pro"] .bundle-hero-lineup { width: min(47vw, 590px); bottom: 10%; }
.bundle-hero-copy.athlete-hero-inner { width: min(1120px, calc(100% - 48px)); padding: clamp(8rem, 11vw, 9rem) 0 3rem; justify-content: flex-start; align-items: flex-start; }
.bundle-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(30px, 5vw, 58px); color: #fff; font-size: .8125rem; font-weight: 750; text-decoration: none; opacity: .85; }
.bundle-back-link:hover { opacity: 1; }
.bundle-back-link svg, .bundle-hero-cta svg { width: 18px; height: 18px; }
.bundle-hero h1.athlete-hero-name { max-width: 8ch; margin: 0; font: 900 clamp(4rem, 7vw, 6rem)/.9 "Nunito Sans", sans-serif; letter-spacing: -.045em; text-indent: 0; }
.bundle-hero-title { max-width: 510px; margin: 30px 0 0; color: #fff; font: 800 clamp(1.25rem, 2vw, 1.85rem)/1.15 "Nunito Sans", sans-serif; text-shadow: 0 2px 14px #071426aa; text-wrap: balance; }
.bundle-hero-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; min-height: 48px; padding-inline: 20px; }
#bundle-page .bundle-storefront-protocol { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: clamp(70px, 7vw, 96px) 0 clamp(45px, 6vw, 76px); }
#bundle-page .bundle-storefront-protocol .bundle-section-kicker { display: none; }
#bundle-page .bundle-storefront-protocol h2 { font-family: "Nunito Sans", sans-serif; font-weight: 800; }
.bundle-more.athlete-more { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.bundle-more-grid.athlete-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bundle-more-card.athlete-more-card > a > img { object-position: center 60%; }
.bundle-more-card.athlete-more-card:hover > a > img { transform: none; }
.bundle-more-lineup.products-sachet-lineup { z-index: 2; width: 76%; height: 56%; bottom: 22%; pointer-events: none; }
.bundle-more-lineup.products-sachet-lineup > div { transition: translate .35s ease, scale .35s ease, filter .35s ease; }
.bundle-more-lineup .products-sachet-art > img { inset: auto; left: -35.714286%; top: -16.530612%; width: 171.428571%; height: auto; max-width: none; border-radius: 0; object-fit: contain; }
.bundle-more-card.athlete-more-card:hover .bundle-more-lineup img { transform: none; }
.bundle-more-card.athlete-more-card:is(:hover, :focus-within) .bundle-more-lineup > div { translate: 0 -10px; scale: 1.06; filter: drop-shadow(0 16px 12px rgba(17,27,50,.35)); }

@media (max-width: 900px) {
  .bundle-more-lineup.products-sachet-lineup { width: 84%; height: 54%; }
}
@media (max-width: 600px) {
  .bundle-hero.athlete-hero { min-height: 660px; }
  .bundle-hero-media img { object-position: 57% center; }
  .bundle-hero-media::after { background: linear-gradient(180deg, rgba(3,14,31,.7) 0%, rgba(3,14,31,.18) 45%, rgba(3,14,31,.92) 100%); }
  .bundle-hero-lineup.products-sachet-lineup { right: 4%; bottom: 34%; width: 72%; height: 39%; }
  .bundle-hero[data-bundle-slug="essentials"] .bundle-hero-lineup { bottom: 36%; }
  .bundle-hero[data-bundle-slug="pro"] .bundle-hero-lineup { width: 90%; right: 0; bottom: 36%; }
  .bundle-hero-copy.athlete-hero-inner { width: calc(100% - 24px); justify-content: flex-end; padding: calc(var(--navbar-h, 72px) + 14px) 0 6rem; }
  .bundle-back-link { position: absolute; top: calc(var(--navbar-h, 72px) + 14px); left: 0; margin: 0; }
  .bundle-hero h1.athlete-hero-name { font-size: clamp(3.6rem, 15vw, 4.6rem); }
  .bundle-hero-title { margin-top: 13px; font-size: 1.22rem; }
  .bundle-hero-cta { margin-top: 18px; }
  #bundle-page .bundle-storefront-protocol, .bundle-more.athlete-more { width: calc(100% - 20px); }
  .bundle-more-grid.athlete-more-grid { grid-template-columns: minmax(0, 320px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bundle-more-lineup.products-sachet-lineup > div { transition: none; }
}

/* Keep purchase information together and align actions across each grid row. */
.products-card .store-product-price { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--border); min-height: 70px; }
.products-card .store-product-price--card { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 12px; text-align: left; }
.products-price-main { display: flex; flex: 0 0 auto; flex-direction: column; gap: 3px; }
.products-price-main > span { color: var(--text-muted); font-size: .75rem; line-height: 1.5; }
.products-price-main > strong { white-space: nowrap; color: var(--text); font: 800 1.75rem/1.2 var(--font-body); letter-spacing: -.035em; }
.products-card .products-shipping { display: flex; align-items: center; gap: 8px; max-width: 150px; padding-bottom: 3px; color: var(--text); font-size: .75rem; line-height: 1.4; }
.products-shipping svg { width: 23px; height: 23px; flex: 0 0 23px; }
.products-card-action svg { width: 18px; height: 18px; }

/* Checkout protocol titles with compact actions and horizontal sachets. */
.manipulation-commerce-summary .checkout-summary-protocol > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  margin-bottom: 16px;
}
.manipulation-commerce-summary .checkout-summary-protocol h3 {
  margin: 0;
  font-size: 1.04rem;
  overflow-wrap: anywhere;
  color: var(--text-primary, #111b32);
}
.checkout-summary-protocol header p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--text-muted, #586174);
  font: 600 .78rem/1.5 var(--font-body);
}
.checkout-summary-protocol-actions {
  display: flex;
  align-items: center;
  grid-column: 2;
  grid-row: 1;
  gap: 6px;
}
.checkout-summary-protocol-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid var(--border, #d4dbe3);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted, #586174);
  font: 750 .8rem/1.25 var(--font-body);
  cursor: pointer;
}
.checkout-summary-protocol-actions .checkout-summary-protocol-edit {
  border-color: var(--border, #d4dbe3);
  color: var(--text-primary, #111b32);
}
.checkout-summary-protocol-actions svg { width: 16px; height: 16px; flex: 0 0 auto; }
.checkout-summary-protocol-actions button:hover { background: var(--bg-secondary, #f3f5f5); }
.checkout-summary-protocol-actions button:focus-visible { outline: 2px solid var(--primary, #10847e); outline-offset: 3px; }
.checkout-summary-protocol-actions .checkout-summary-protocol-remove:hover { color: #a53643; }
.manipulation-commerce-summary-head .checkout-summary-eyebrow { color: var(--text-muted, #586174); font-size: .65rem; }
.manipulation-commerce-summary-head h2 { overflow-wrap: anywhere; }
.manipulation-commerce-summary-head > div { gap: 7px; }
