/* Garrafa I Am Essential — styles scoped to this product landing only. */
#essential-mag-bottle {
    --mag-black: #141414;
    --mag-charcoal: #292929;
    --mag-white: #f9f9f9;
    --mag-copy: #ccc;
    --mag-line: #ccc;
    color: var(--mag-white);
    background: var(--mag-charcoal);
    font-family: var(--main-font-family, proxima-nova, Arial, sans-serif);
    overflow: hidden;
}
#essential-mag-bottle *, #essential-mag-bottle *::before, #essential-mag-bottle *::after { box-sizing: border-box; }
#essential-mag-bottle figure, #essential-mag-bottle h2, #essential-mag-bottle h3, #essential-mag-bottle p { margin: 0; }
#essential-mag-bottle .mag-bottle__shell { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }
#essential-mag-bottle h2, #essential-mag-bottle h3 { font-family: var(--main-font-family-condensed-extra, proxima-nova-condensed, sans-serif) !important; font-weight: 900; text-transform: uppercase; }
#essential-mag-bottle strong { color: var(--mag-white); }

/* Hero — "HYDRATE. MOVE. CREATE." */
#essential-mag-bottle .mag-bottle__hero { display: flex; align-items: flex-end; min-height: 768px; padding: 120px 0 72px; background: #8a8a8a url("https://essentialnutrition-upload-files.s3.us-east-1.amazonaws.com/site-nutrition/produtos/bottle-mag/section01-img-bege.png") center top / cover no-repeat; }
#essential-mag-bottle .mag-bottle__hero-copy { max-width: 440px; color: var(--mag-white); }
#essential-mag-bottle .mag-bottle__hero-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; font: 900 33px/1 var(--main-font-family-condensed-extra, proxima-nova-condensed, sans-serif); letter-spacing: -.3px; text-transform: uppercase; }
#essential-mag-bottle .mag-bottle__logo { display: block; flex: 0 0 auto; width: 33px; height: 33px; color: var(--mag-white); }
#essential-mag-bottle .mag-bottle__hero-title { margin-bottom: 22px; color: var(--mag-white); font-size: 127px; line-height: 95px; letter-spacing: -2px; }
#essential-mag-bottle .mag-bottle__hero-copy p { color: var(--mag-white); font-size: 16px; line-height: 1.42; }
#essential-mag-bottle .mag-bottle__hero-copy p + p { margin-top: 22px; }

/* Intro — "LIBERDADE PARA TREINAR E CRIAR" */
#essential-mag-bottle .mag-bottle__intro { position: relative; z-index: 1; background: var(--mag-black); padding: 36px 0 0; }
#essential-mag-bottle .mag-bottle__intro-grid { display: grid; grid-template-columns: 449px minmax(0, 1fr); gap: 110px; align-items: stretch; }
#essential-mag-bottle .mag-bottle__hero-image { width: 100%; height: 559px; margin-bottom: -37px; border-radius: 16px; background: #f7f7f7; overflow: hidden; }
#essential-mag-bottle .mag-bottle__hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
#essential-mag-bottle .mag-bottle__intro-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 3px 30px 37px 0; }
#essential-mag-bottle .mag-bottle__intro-labels { display: flex; justify-content: space-between; align-items: flex-start; color: var(--mag-white); font: 700 16px/1.12 "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: uppercase; }
#essential-mag-bottle .mag-bottle__brand { text-align: right; }
#essential-mag-bottle .mag-bottle__intro-copy h2 { margin-bottom: 30px; font-family: proxima-nova-extra-condensed, var(--main-font-family-condensed-extra), sans-serif !important; font-size: 60px; line-height: 46px; letter-spacing: -1px; }
#essential-mag-bottle .mag-bottle__intro-copy p { max-width: 422px; color: var(--mag-copy); font-size: 16px; line-height: 1.42; }
#essential-mag-bottle .mag-bottle__intro-copy p + p { margin-top: 14px; }

/* Features panel (desktop: 1100x600 stage, connectors drawn by inline SVG) */
#essential-mag-bottle .mag-bottle__features-wrap { padding: 72px 0 16px; background: var(--mag-charcoal); }
#essential-mag-bottle .mag-bottle__features { position: relative; height: 600px; border-radius: 16px; background: var(--mag-black); overflow: hidden; }
/* Neutralize global product_view.css "svg {rotate(-90deg)}" / "svg circle {fill:none}" (progress widget) */
#essential-mag-bottle svg { transform: none; background: transparent; }
#essential-mag-bottle .mag-bottle__connectors polyline { fill: none; stroke: #ccc; }
#essential-mag-bottle .mag-bottle__connectors circle { fill: #ccc; stroke: none; transition: none; }
#essential-mag-bottle .mag-bottle__connectors { position: absolute; top: 0; left: 0; width: 1100px; height: 600px; pointer-events: none; z-index: 2; }
#essential-mag-bottle .mag-bottle__features-product { position: absolute; top: 82px; left: 475px; width: 149px; height: auto; z-index: 1; }
#essential-mag-bottle .mag-bottle__feature { position: absolute; width: 286px; }
#essential-mag-bottle .mag-bottle__feature h3 { position: absolute; bottom: 100%; left: 0; margin-bottom: 14px; font-size: 30px; line-height: .88; letter-spacing: -.5px; white-space: nowrap; }
#essential-mag-bottle .mag-bottle__feature p { color: var(--mag-copy); font-size: 16px; line-height: 20px; }
#essential-mag-bottle .mag-bottle__feature--support p { max-width: 272px; }
#essential-mag-bottle .mag-bottle__feature--thermal p { max-width: 237px; }
#essential-mag-bottle .mag-bottle__feature--compatible p { max-width: 286px; }
#essential-mag-bottle .mag-bottle__feature--steel p { max-width: 264px; }
#essential-mag-bottle .mag-bottle__line { display: block; width: 100%; height: 1px; margin: 0 0 14px; background: var(--mag-line); visibility: hidden; }
#essential-mag-bottle .mag-bottle__feature--support { top: 186px; left: 77px; }
#essential-mag-bottle .mag-bottle__feature--compatible { top: 186px; left: 727px; }
#essential-mag-bottle .mag-bottle__feature--thermal { top: 392px; left: 77px; }
#essential-mag-bottle .mag-bottle__feature--steel { top: 392px; left: 727px; }

#essential-mag-bottle .mag-bottle__gallery-wrap { padding: 0; background: var(--mag-charcoal); container-type: inline-size; }
#essential-mag-bottle .mag-bottle__gallery { --mag-gutter: max(24px, calc((100cqw - 1100px) / 2)); display: flex; gap: 16px; padding: 0 var(--mag-gutter); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 var(--mag-gutter); overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; cursor: grab; outline: none; }
#essential-mag-bottle .mag-bottle__gallery::-webkit-scrollbar { display: none; }
#essential-mag-bottle .mag-bottle__gallery:focus-visible { box-shadow: inset 0 0 0 2px var(--mag-white); }
#essential-mag-bottle .mag-bottle__gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
#essential-mag-bottle .mag-bottle__gallery-card { flex: 0 0 auto; width: min(1100px, calc(100vw - 48px)); width: min(1100px, calc(100cqw - 48px)); aspect-ratio: 1100 / 600; overflow: hidden; border-radius: 24px; background: #555; scroll-snap-align: start; }
#essential-mag-bottle .mag-bottle__gallery-card picture { display: block; width: 100%; height: 100%; }
#essential-mag-bottle .mag-bottle__gallery-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }

#essential-mag-bottle .mag-bottle__marquee { display: flex; align-items: center; height: 380px; color: var(--mag-black); white-space: nowrap; overflow: hidden; font: 900 150px/1 var(--main-font-family-condensed-extra, sans-serif); letter-spacing: -2px; }
#essential-mag-bottle .mag-bottle__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
#essential-mag-bottle .mag-bottle__marquee-track { display: flex; flex: 0 0 auto; width: max-content; animation: mag-bottle-marquee 40s linear infinite; will-change: transform; }
#essential-mag-bottle .mag-bottle__marquee-group { display: flex; flex: 0 0 auto; }
#essential-mag-bottle .mag-bottle__marquee-item { display: inline-flex; align-items: center; gap: .44em; padding-right: .62em; }
#essential-mag-bottle .mag-bottle__emblem { display: block; flex: 0 0 auto; width: .92em; height: .92em; }
@keyframes mag-bottle-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

#essential-mag-bottle .mag-bottle__specs { padding: 88px 0; background: var(--mag-black); }
#essential-mag-bottle .mag-bottle__specs-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
#essential-mag-bottle .mag-bottle__specs h2 { justify-self: end; margin-right: 85px; font-size: 48px; line-height: .82; letter-spacing: -.9px; text-align: left; }
#essential-mag-bottle .mag-bottle__spec-list { max-width: 532px; color: var(--mag-copy); font-size: 13px; line-height: 1.25; }
#essential-mag-bottle .mag-bottle__spec-list > div { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid #494949; font-size: 16px;}
#essential-mag-bottle .mag-bottle__spec-list > div:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
#essential-mag-bottle .mag-bottle__spec-list strong { font-weight: 700; }
#essential-mag-bottle .mag-bottle__manual, #essential-mag-bottle .mag-bottle__manual:visited, #essential-mag-bottle .mag-bottle__manual:hover { color: var(--mag-white); font-weight: 700; text-decoration: underline; }

/* Top half (hero / intro / features) below the 1100px desktop stage */
@media (max-width: 1147px) {
    #essential-mag-bottle .mag-bottle__hero { min-height: 660px; }
    #essential-mag-bottle .mag-bottle__hero-title { font-size: 96px; }
    #essential-mag-bottle .mag-bottle__intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
    #essential-mag-bottle .mag-bottle__hero-image { height: auto; aspect-ratio: 449 / 559; }
    #essential-mag-bottle .mag-bottle__intro-copy { padding-right: 0; }
    #essential-mag-bottle .mag-bottle__features { display: grid; grid-template-columns: 1fr 1fr; height: auto; padding: 40px 32px; gap: 36px 28px; }
    #essential-mag-bottle .mag-bottle__connectors { display: none; }
    #essential-mag-bottle .mag-bottle__features-product { position: static; grid-column: 1 / -1; width: 149px; margin: 0 auto; }
    #essential-mag-bottle .mag-bottle__feature { position: static; width: auto; }
    /* Tablet grid keeps the desktop sides (support | compatible, thermal | steel), independent of DOM order */
    #essential-mag-bottle .mag-bottle__feature--support { order: 1; }
    #essential-mag-bottle .mag-bottle__feature--compatible { order: 2; }
    #essential-mag-bottle .mag-bottle__feature--thermal { order: 3; }
    #essential-mag-bottle .mag-bottle__feature--steel { order: 4; }
    #essential-mag-bottle .mag-bottle__feature h3 { position: static; margin: 0; white-space: normal; }
    #essential-mag-bottle .mag-bottle__feature p, #essential-mag-bottle .mag-bottle__feature--compatible p, #essential-mag-bottle .mag-bottle__feature--steel p { width: auto; max-width: none; }
    #essential-mag-bottle .mag-bottle__line { margin: 12px 0 14px; visibility: visible; }
}

#essential-mag-bottle .mag-bottle__br-mobile { display: none; }

@media (max-width: 767px) {
    #essential-mag-bottle .mag-bottle__br-mobile { display: inline; }
    #essential-mag-bottle .mag-bottle__shell { width: calc(100% - 50px); }

    /* Hero: square photo on top, copy below on black */
    #essential-mag-bottle .mag-bottle__hero { display: block; min-height: 0; padding: calc(100vw + 48px) 0 40px; background: var(--mag-black) url("https://essentialnutrition-upload-files.s3.us-east-1.amazonaws.com/site-nutrition/produtos/bottle-mag/section01-img-bege-mobile.png") center top / 100% auto no-repeat; }
    #essential-mag-bottle .mag-bottle__hero-copy { max-width: none; }
    #essential-mag-bottle .mag-bottle__hero-brand { gap: 16px; margin-bottom: 26px; font-size: 34px; }
    #essential-mag-bottle .mag-bottle__logo { width: 37px; height: 37px; }
    #essential-mag-bottle .mag-bottle__hero-title { margin-bottom: 26px; font-size: 60px; line-height: 58px; letter-spacing: -1.2px; }
    #essential-mag-bottle .mag-bottle__hero-copy p { max-width: 297px; font-size: 16px; line-height: 22px; }
    #essential-mag-bottle .mag-bottle__hero-copy p + p { margin-top: 22px; }

    /* Intro: card overlaps the black band (band ends ~half the card) */
    #essential-mag-bottle .mag-bottle__intro { padding: 0 0 36px; background: linear-gradient(to bottom, var(--mag-black) 0, var(--mag-black) calc(24px + (100vw - 50px) * .65), var(--mag-charcoal) calc(24px + (100vw - 50px) * .65)); }
    #essential-mag-bottle .mag-bottle__intro-grid { display: flex; flex-direction: column; gap: 53px; }
    #essential-mag-bottle .mag-bottle__hero-image { height: auto; aspect-ratio: 545 / 710; margin-bottom: 0; border-radius: 18px; }
    #essential-mag-bottle .mag-bottle__intro-copy { gap: 0; padding: 0; }
    #essential-mag-bottle .mag-bottle__intro-labels { display: none; }
    #essential-mag-bottle .mag-bottle__intro-copy h2 { max-width: 340px; margin-bottom: 26px; font-size: min(60px, calc((100vw - 50px) / 5.3)); line-height: .84; letter-spacing: 0; overflow-wrap: normal; word-break: normal; }
    #essential-mag-bottle .mag-bottle__intro-copy h2 br { display: none; }
    #essential-mag-bottle .mag-bottle__intro-copy p { max-width: none; font-size: 16px; line-height: 22px; }
    #essential-mag-bottle .mag-bottle__intro-copy p + p { margin-top: 22px; }

    /* Features: bottle + accordions */
    #essential-mag-bottle .mag-bottle__features-wrap { padding: 0 0 48px; }
    #essential-mag-bottle .mag-bottle__features { display: flex; flex-direction: column; gap: 16px; height: auto; padding: 38px 16px 16px; border-radius: 14px; }
    #essential-mag-bottle .mag-bottle__features-product { order: 0; width: 118px; margin: 0 auto 24px; }
    #essential-mag-bottle .mag-bottle__feature { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: auto; padding: 18px 18px 16px 50px; border-radius: 6px; background: var(--mag-charcoal); }
    #essential-mag-bottle .mag-bottle__feature--support { order: 1; }
    #essential-mag-bottle .mag-bottle__feature--thermal { order: 2; }
    #essential-mag-bottle .mag-bottle__feature--steel { order: 3; }
    #essential-mag-bottle .mag-bottle__feature--compatible { order: 4; }
    #essential-mag-bottle .mag-bottle__feature h3 { position: static; margin: 0; font-size: 20px; line-height: 18px; letter-spacing: -.3px; white-space: normal; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
    #essential-mag-bottle .mag-bottle__feature h3:focus-visible { text-decoration: underline; }
    #essential-mag-bottle .mag-bottle__feature h3::before { position: absolute; top: 17px; left: 13px; width: 25px; height: 25px; border-radius: 50%; background: var(--mag-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cpath d='M7.5 12.5h10' stroke='%23141414' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; content: ""; }
    #essential-mag-bottle .mag-bottle__feature.is-collapsed h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cpath d='M7.5 12.5h10M12.5 7.5v10' stroke='%23141414' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
    #essential-mag-bottle .mag-bottle__line { display: none; }
    #essential-mag-bottle .mag-bottle__feature p, #essential-mag-bottle .mag-bottle__feature--compatible p, #essential-mag-bottle .mag-bottle__feature--steel p { max-width: none; margin-top: 14px; font-size: 16px; line-height: 20px; }
    /* Per-item text widths (mobile-feature-text-0..3 = support, compatible, thermal, steel) */
    #essential-mag-bottle .mag-bottle__feature--support p { max-width: 205px; }
    #essential-mag-bottle .mag-bottle__feature--compatible p { max-width: 230px; }
    #essential-mag-bottle .mag-bottle__feature--thermal p { max-width: 193px; }
    #essential-mag-bottle .mag-bottle__feature--steel p { max-width: 216px; }
    #essential-mag-bottle .mag-bottle__feature.is-collapsed p { display: none; }

    /* Gallery + marquee */
    #essential-mag-bottle .mag-bottle__gallery { --mag-gutter: 22px; gap: 16px; }
    #essential-mag-bottle .mag-bottle__gallery-card { width: calc(100vw - 66px); width: calc(100cqw - 66px); aspect-ratio: 622 / 448; height: auto; border-radius: 12px; }
    #essential-mag-bottle .mag-bottle__marquee { height: 190px; font-size: 100px; letter-spacing: -1.5px; }

    #essential-mag-bottle .mag-bottle__specs { padding: 52px 0; }
    #essential-mag-bottle .mag-bottle__specs-grid { grid-template-columns: 1fr; gap: 36px; }
    #essential-mag-bottle .mag-bottle__specs h2 { justify-self: start; margin-right: 0; font-size: 48px; }
    #essential-mag-bottle .mag-bottle__spec-list { max-width: none; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    #essential-mag-bottle .mag-bottle__marquee-track { animation: none; }
    #essential-mag-bottle .mag-bottle__gallery { scroll-behavior: auto; }
}
