/* =========================================================
   7of9 JuiceIN — SITE-WIDE MOBILE + FULL-BOTTLE AUTHORITY v2.9.5
   Final authority layer loaded after the shared visual system.
   Goals:
   - preserve cap-to-base product visibility on every product surface
   - remove accidental crop/zoom behaviour from product photography
   - keep all 17 public pages aligned and usable on compact screens
   - retain Elementor ownership and page-specific desktop art direction
   ========================================================= */

/* ---------- Global containment / alignment safety ---------- */
body.juicein-v2,
body.juicein-v2 .jx-v2-main,
body.juicein-v2 .juicein-elementor-page-shell,
body.juicein-v2 .juicein-v2-page-code,
body.juicein-v2 :is(
  #j9-home-v365,#j9-drinks-v201,#j9-juices-v202,#j9-smoothies-v201,#j9-shots-v200,#j9-pairings-v200,#j9-bulk-v200,
  #juicein-services-v2,#juicein-catering-page-v51,#juicein-baking-page,#juicein-popup-page,#juicein-about-page-v4,
  #juicein-faq-page,#juicein-contact-page,#juicein-journal-v272,#juicein-privacy-page,#juicein-terms-page
){
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:clip;
}
body.juicein-v2 :is(
  #j9-home-v365,#j9-drinks-v201,#j9-juices-v202,#j9-smoothies-v201,#j9-shots-v200,#j9-pairings-v200,#j9-bulk-v200,
  #juicein-services-v2,#juicein-catering-page-v51,#juicein-baking-page,#juicein-popup-page,#juicein-about-page-v4,
  #juicein-faq-page,#juicein-contact-page,#juicein-journal-v272,#juicein-privacy-page,#juicein-terms-page
) *,
body.juicein-v2 .jx-v2-main *{
  min-width:0;
  box-sizing:border-box;
}
body.juicein-v2 :is(img,video,svg,canvas,iframe){max-width:100%;}
body.juicein-v2 :is(h1,h2,h3,h4,p,li,dd,dt,blockquote,figcaption,a,button,label){overflow-wrap:anywhere;}

/* ---------- Full-bottle product photography authority ----------
   Product media is never allowed to crop, zoom or anchor to an edge.
   This is deliberately stronger than page-local cover rules. */
body.juicein-v2 :is(
  .jx-v2-product-card__media img,
  .jx-v2-product-modal__panel>figure img,
  #j9-home-v365 [data-j9-fit-mode="product"] img,
  #j9-home-v365 [data-j9-product-image],
  #j9-drinks-v201 .j9d-product__media>img,
  #j9-juices-v202 .j9j-hero-bottle img,
  #j9-juices-v202 .j9j-pick__media img,
  #j9-juices-v202 .j9j-card__image-button img,
  #j9-juices-v202 .j9j-cane__media img,
  #j9-smoothies-v201 .j9s-hero-bottle img,
  #j9-smoothies-v201 .j9s-pick__media img,
  #j9-smoothies-v201 .j9s-card__image-button img,
  #j9-smoothies-v201 .j9s-signature__media img,
  #j9-shots-v200 .j9w-hero-bottle img,
  #j9-shots-v200 .j9w-pick__media img,
  #j9-shots-v200 .j9w-card__image-button img,
  #j9-shots-v200 .j9w-signature__media img,
  #j9-pairings-v200 .j9p-hero-bottle img,
  #j9-pairings-v200 .j9p-pick__media img,
  #j9-pairings-v200 .j9p-card__image-button img,
  #j9-pairings-v200 .j9p-signature__media img
){
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}

/* Product stages stay square wherever a single product is being sold. */
body.juicein-v2 :is(
  .jx-v2-product-card__media,
  #j9-drinks-v201 .j9d-product__media,
  #j9-juices-v202 .j9j-card__media,
  #j9-smoothies-v201 .j9s-card__media,
  #j9-shots-v200 .j9w-card__media,
  #j9-pairings-v200 .j9p-card__media
){
  aspect-ratio:1/1!important;
  min-height:0!important;
  overflow:hidden!important;
}

/* Do not recreate product photography as a blurred/duplicated backdrop. */
body.juicein-v2 #j9-home-v365 :is(
  [data-j9-fit-mode="product"],
  .j9h-feature__media,
  .j9h-mini__media,
  .j9h-cane__media,
  .j9h-cane-card__media
)::before{
  background-image:none!important;
}

/* Group bottle compositions also stay whole on ordering surfaces. */
body.juicein-v2 :is(
  #j9-home-v365 .j9h-hero__media>img,
  #j9-home-v365 .j9h-range-card__media img,
  #j9-bulk-v200 .j9b-hero__media img,
  #j9-bulk-v200 .j9b-range-card figure img,
  #juicein-about-page-v4 .ji-about-hero-media-v4 img,
  #juicein-about-page-v4 .ji-about-story-media-v48 img,
  #juicein-about-page-v4 .ji-about-expression-card-v49 img
){
  object-fit:contain!important;
  object-position:center center!important;
}

/* Modal media: full product visible before the customer confirms anything. */
body.juicein-v2 .jx-v2-product-modal__panel>figure{
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:#f7f5ed!important;
}
body.juicein-v2 .jx-v2-product-modal__panel>figure img{padding:clamp(10px,2vw,20px)!important;}

/* ---------- Tablet / compact laptop ---------- */
@media (max-width:980px){
  html,body{max-width:100%;overflow-x:clip;}

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-hero__grid,
    #j9-home-v365 .j9h-intro__grid,
    #j9-home-v365 .j9h-picks__grid,
    #j9-home-v365 .j9h-cane__grid,
    #j9-drinks-v201 .j9d-hero__grid,
    #j9-drinks-v201 .j9d-bigger__grid,
    #j9-juices-v202 .j9j-hero__grid,
    #j9-juices-v202 .j9j-pick__grid,
    #j9-juices-v202 .j9j-cane__grid,
    #j9-juices-v202 .j9j-bulk__grid,
    #j9-smoothies-v201 .j9s-hero__grid,
    #j9-smoothies-v201 .j9s-pick__grid,
    #j9-smoothies-v201 .j9s-signature__grid,
    #j9-smoothies-v201 .j9s-bulk__grid,
    #j9-shots-v200 .j9w-hero__grid,
    #j9-shots-v200 .j9w-pick__grid,
    #j9-shots-v200 .j9w-signature__grid,
    #j9-shots-v200 .j9w-bulk__grid,
    #j9-pairings-v200 .j9p-hero__grid,
    #j9-pairings-v200 .j9p-pick__grid,
    #j9-pairings-v200 .j9p-signature__grid,
    #j9-pairings-v200 .j9p-bulk__grid,
    #j9-bulk-v200 .j9b-hero__grid,
    #j9-bulk-v200 .j9b-plan__grid,
    #juicein-catering-page-v51 .ji-catering-hero-v51,
    #juicein-baking-page .ji-baking-hero,
    #juicein-popup-page .ji-popup-hero,
    #juicein-about-page-v4 .ji-about-hero-v4,
    #juicein-contact-page .ji-contact-hero,
    #juicein-journal-v272 .ji-journal-hero-v272
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-hero__media,
    #j9-drinks-v201 .j9d-hero__media,
    #j9-juices-v202 .j9j-hero__visual,
    #j9-smoothies-v201 .j9s-hero__visual,
    #j9-shots-v200 .j9w-hero__visual,
    #j9-pairings-v200 .j9p-hero__visual,
    #j9-bulk-v200 .j9b-hero__visual,
    #juicein-catering-page-v51 .ji-catering-hero-visual-v52,
    #juicein-baking-page .ji-baking-hero__visual,
    #juicein-popup-page .ji-popup-hero__gallery,
    #juicein-about-page-v4 .ji-about-hero-media-v4,
    #juicein-contact-page .ji-contact-hero__route-panel,
    #juicein-journal-v272 .ji-journal-hero-v272__media
  ){
    width:100%!important;
    max-width:680px!important;
    margin-inline:auto!important;
    justify-self:center!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-hero__copy,
    #j9-drinks-v201 .j9d-hero__copy,
    #j9-juices-v202 .j9j-hero__copy,
    #j9-smoothies-v201 .j9s-hero__copy,
    #j9-shots-v200 .j9w-hero__copy,
    #j9-pairings-v200 .j9p-hero__copy,
    #j9-bulk-v200 .j9b-hero__copy,
    #juicein-catering-page-v51 .ji-catering-hero-copy-v51,
    #juicein-baking-page .ji-baking-hero__copy,
    #juicein-popup-page .ji-popup-hero__copy,
    #juicein-about-page-v4 .ji-about-hero-copy-v4,
    #juicein-contact-page .ji-contact-hero__copy,
    #juicein-journal-v272 .ji-journal-hero-v272__copy
  ){
    max-width:760px!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-range__grid,
    #j9-drinks-v201 .j9d-ranges__grid,
    #j9-drinks-v201 .j9d-popular__grid,
    #j9-juices-v202 .j9j-grid,
    #j9-smoothies-v201 .j9s-grid,
    #j9-shots-v200 .j9w-grid,
    #j9-pairings-v200 .j9p-grid,
    #j9-bulk-v200 .j9b-offers__grid,
    #j9-bulk-v200 .j9b-range__grid,
    #juicein-services-v2 .ji-sv-v2__match-grid,
    #juicein-catering-page-v51 .ji-catering-selected-grid-v51,
    #juicein-baking-page .ji-baking-grid,
    #juicein-popup-page .ji-popup-experience-grid,
    #juicein-about-page-v4 .ji-about-standard-grid-v4,
    #juicein-about-page-v4 .ji-about-expression-grid-v49,
    #juicein-journal-v272 .ji-journal-story-grid-v272,
    #juicein-journal-v272 .ji-journal-wp-grid-v272
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(12px,2vw,18px)!important;
  }
}

/* ---------- Phones / small tablets ---------- */
@media (max-width:760px){
  :root{--jx-gutter:16px;}

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-shell,#j9-drinks-v201 .j9d-shell,#j9-juices-v202 .j9j-shell,#j9-smoothies-v201 .j9s-shell,
    #j9-shots-v200 .j9w-shell,#j9-pairings-v200 .j9p-shell,#j9-bulk-v200 .j9b-shell,
    #juicein-services-v2 .ji-sv-v2__shell,#juicein-catering-page-v51 .ji-catering-shell-v51,#juicein-baking-page .ji-baking-shell,
    #juicein-popup-page .ji-popup-shell,#juicein-about-page-v4 .ji-about-shell-v4,#juicein-faq-page .ji-faq-shell,
    #juicein-contact-page .ji-contact-shell,#juicein-journal-v272 .ji-journal-shell-v272,#juicein-privacy-page .ji-privacy-shell,
    #juicein-terms-page .ji-terms-shell
  ){
    width:min(calc(100% - 32px),1320px)!important;
    max-width:calc(100% - 32px)!important;
    margin-inline:auto!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-section,#j9-drinks-v201 .j9d-section,#j9-juices-v202 .j9j-section,#j9-smoothies-v201 .j9s-section,
    #j9-shots-v200 .j9w-section,#j9-pairings-v200 .j9p-section,#j9-bulk-v200 .j9b-section,
    #juicein-services-v2 .ji-sv-v2__section,#juicein-catering-page-v51 .ji-catering-section-v51,#juicein-baking-page .ji-baking-section,
    #juicein-popup-page .ji-popup-section,#juicein-about-page-v4 .ji-about-section-v4,#juicein-faq-page .ji-faq-section,
    #juicein-contact-page .ji-contact-section,#juicein-journal-v272 .ji-journal-section-v272,#juicein-privacy-page .ji-privacy-section,
    #juicein-terms-page .ji-terms-section
  ){
    padding-block:clamp(34px,8vw,48px)!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 h1,#j9-drinks-v201 h1,#j9-juices-v202 h1,#j9-smoothies-v201 h1,#j9-shots-v200 h1,#j9-pairings-v200 h1,
    #j9-bulk-v200 h1,#juicein-services-v2 h1,#juicein-catering-page-v51 h1,#juicein-baking-page h1,#juicein-popup-page h1,
    #juicein-about-page-v4 h1,#juicein-faq-page h1,#juicein-contact-page h1,#juicein-journal-v272 h1,#juicein-privacy-page h1,#juicein-terms-page h1
  ){
    font-size:clamp(38px,11vw,54px)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    text-wrap:balance;
  }
  body.juicein-v2 :is(
    #j9-home-v365 h2,#j9-drinks-v201 h2,#j9-juices-v202 h2,#j9-smoothies-v201 h2,#j9-shots-v200 h2,#j9-pairings-v200 h2,
    #j9-bulk-v200 h2,#juicein-services-v2 h2,#juicein-catering-page-v51 h2,#juicein-baking-page h2,#juicein-popup-page h2,
    #juicein-about-page-v4 h2,#juicein-faq-page h2,#juicein-contact-page h2,#juicein-journal-v272 h2,#juicein-privacy-page h2,#juicein-terms-page h2
  ){
    font-size:clamp(30px,8.8vw,42px)!important;
    line-height:1.02!important;
    letter-spacing:-.04em!important;
  }
  body.juicein-v2 :is(
    #j9-home-v365 p,#j9-drinks-v201 p,#j9-juices-v202 p,#j9-smoothies-v201 p,#j9-shots-v200 p,#j9-pairings-v200 p,#j9-bulk-v200 p,
    #juicein-services-v2 p,#juicein-catering-page-v51 p,#juicein-baking-page p,#juicein-popup-page p,#juicein-about-page-v4 p,
    #juicein-faq-page p,#juicein-contact-page p,#juicein-journal-v272 p,#juicein-privacy-page p,#juicein-terms-page p
  ){
    line-height:1.62!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-range__grid,
    #j9-drinks-v201 .j9d-ranges__grid,
    #j9-drinks-v201 .j9d-popular__grid,
    #j9-drinks-v201 .j9d-mood__grid,
    #j9-juices-v202 .j9j-grid,
    #j9-smoothies-v201 .j9s-grid,
    #j9-shots-v200 .j9w-grid,
    #j9-pairings-v200 .j9p-grid,
    #j9-bulk-v200 .j9b-offers__grid,
    #j9-bulk-v200 .j9b-specials__grid,
    #j9-bulk-v200 .j9b-example__grid,
    #j9-bulk-v200 .j9b-range__grid,
    #j9-bulk-v200 .j9b-checklist__grid,
    #juicein-services-v2 .ji-sv-v2__match-grid,
    #juicein-catering-page-v51 .ji-catering-selected-grid-v51,
    #juicein-baking-page .ji-baking-grid,
    #juicein-popup-page .ji-popup-experience-grid,
    #juicein-about-page-v4 .ji-about-standard-grid-v4,
    #juicein-about-page-v4 .ji-about-expression-grid-v49,
    #juicein-journal-v272 .ji-journal-story-grid-v272,
    #juicein-journal-v272 .ji-journal-wp-grid-v272
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  /* Product cards: one clear vertical reading order on phones. */
  body.juicein-v2 :is(
    #j9-juices-v202 .j9j-card,
    #j9-smoothies-v201 .j9s-card,
    #j9-shots-v200 .j9w-card,
    #j9-pairings-v200 .j9p-card
  ){
    width:100%!important;
    max-width:520px!important;
    margin-inline:auto!important;
  }
  body.juicein-v2 :is(
    #j9-juices-v202 .j9j-card__media,
    #j9-smoothies-v201 .j9s-card__media,
    #j9-shots-v200 .j9w-card__media,
    #j9-pairings-v200 .j9p-card__media
  ){
    width:100%!important;
    aspect-ratio:1/1!important;
  }

  /* Full hero composition on mobile: do not crop the top or bottom. */
  body.juicein-v2 :is(
    #j9-home-v365 .j9h-hero__media,
    #j9-drinks-v201 .j9d-hero__media,
    #j9-bulk-v200 .j9b-hero__media--main
  ){
    aspect-ratio:auto!important;
    min-height:clamp(260px,72vw,420px)!important;
  }
  body.juicein-v2 :is(
    #j9-home-v365 .j9h-hero__media>img,
    #j9-drinks-v201 .j9d-hero__media>img,
    #j9-bulk-v200 .j9b-hero__media--main img
  ){
    object-fit:contain!important;
    object-position:center center!important;
  }

  /* Product detail / basket overlays must fit the viewport and remain scrollable. */
  body.juicein-v2 .jx-v2-product-modal__panel,
  body.juicein-v2 :is(
    #juicein-catering-page-v51 .ji-catering-modal-card-v51,
    #juicein-baking-page .ji-baking-modal__panel,
    #juicein-popup-page .ji-popup-modal__panel
  ){
    width:calc(100% - 18px)!important;
    max-width:620px!important;
    max-height:calc(100dvh - 18px)!important;
    overflow:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }

  body.juicein-v2 :is(input,select,textarea){font-size:16px!important;max-width:100%!important;}
  body.juicein-v2 textarea{min-height:110px;resize:vertical;}

  /* Keep every interactive control comfortably tappable. */
  body.juicein-v2 :is(
    button,input[type="button"],input[type="submit"],select,
    .jx-v2-btn,.jx-v2-cart-trigger,.jx-v2-nav-toggle,.jx-v2-submenu-toggle,
    #j9-home-v365 .j9h-btn,#j9-drinks-v201 .j9d-btn,#j9-drinks-v201 .j9d-add,
    #j9-juices-v202 .j9j-add,#j9-juices-v202 .j9j-card__share,#j9-smoothies-v201 .j9s-add,#j9-smoothies-v201 .j9s-card__share,
    #j9-shots-v200 .j9w-add,#j9-shots-v200 .j9w-card__share,#j9-pairings-v200 .j9p-add,#j9-pairings-v200 .j9p-card__share,
    #j9-bulk-v200 .j9b-btn,#juicein-services-v2 .ji-sv-v2__hero-actions a,#juicein-services-v2 .ji-sv-v2__service-actions a,
    #juicein-catering-page-v51 button,#juicein-baking-page button,#juicein-popup-page button,#juicein-contact-page button
  ){
    min-height:44px!important;
  }

  /* Scrollable chip/nav rows instead of squeezed labels. */
  body.juicein-v2 :is(
    #j9-drinks-v201 .j9d-quicknav,
    #j9-juices-v202 .j9j-category-nav__inner,
    #j9-smoothies-v201 .j9s-category-nav__inner,
    #j9-shots-v200 .j9w-category-nav__inner,
    #j9-pairings-v200 .j9p-category-nav__inner,
    #j9-bulk-v200 .j9b-category-nav__inner,
    #juicein-services-v2 .ji-sv-v2__nav,
    #juicein-catering-page-v51 .ji-catering-service-nav-v52,
    #juicein-baking-page .ji-baking-service-nav__inner,
    #juicein-popup-page .ji-popup-nav,
    #juicein-contact-page .ji-contact-nav__inner
  ){
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:16px;
  }
  body.juicein-v2 :is(
    #j9-drinks-v201 .j9d-quicknav,
    #j9-juices-v202 .j9j-category-nav__inner,
    #j9-smoothies-v201 .j9s-category-nav__inner,
    #j9-shots-v200 .j9w-category-nav__inner,
    #j9-pairings-v200 .j9p-category-nav__inner,
    #j9-bulk-v200 .j9b-category-nav__inner,
    #juicein-services-v2 .ji-sv-v2__nav,
    #juicein-catering-page-v51 .ji-catering-service-nav-v52,
    #juicein-baking-page .ji-baking-service-nav__inner,
    #juicein-popup-page .ji-popup-nav,
    #juicein-contact-page .ji-contact-nav__inner
  )::-webkit-scrollbar{display:none;}
}

/* ---------- Small phones ---------- */
@media (max-width:520px){
  .jx-v2-header-shell{width:min(calc(100% - 24px),1320px)!important;}

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-shell,#j9-drinks-v201 .j9d-shell,#j9-juices-v202 .j9j-shell,#j9-smoothies-v201 .j9s-shell,
    #j9-shots-v200 .j9w-shell,#j9-pairings-v200 .j9p-shell,#j9-bulk-v200 .j9b-shell,
    #juicein-services-v2 .ji-sv-v2__shell,#juicein-catering-page-v51 .ji-catering-shell-v51,#juicein-baking-page .ji-baking-shell,
    #juicein-popup-page .ji-popup-shell,#juicein-about-page-v4 .ji-about-shell-v4,#juicein-faq-page .ji-faq-shell,
    #juicein-contact-page .ji-contact-shell,#juicein-journal-v272 .ji-journal-shell-v272,#juicein-privacy-page .ji-privacy-shell,
    #juicein-terms-page .ji-terms-shell
  ){
    width:calc(100% - 24px)!important;
    max-width:calc(100% - 24px)!important;
  }

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-actions,#j9-drinks-v201 .j9d-actions,#j9-juices-v202 .j9j-actions,#j9-smoothies-v201 .j9s-actions,
    #j9-shots-v200 .j9w-actions,#j9-pairings-v200 .j9p-actions,#j9-bulk-v200 .j9b-actions,
    #juicein-services-v2 .ji-sv-v2__hero-actions,#juicein-services-v2 .ji-sv-v2__final-actions,
    #juicein-catering-page-v51 .ji-catering-actions-v51,#juicein-baking-page .ji-baking-actions,#juicein-baking-page .ji-baking-form__actions,
    #juicein-popup-page .ji-popup-actions,#juicein-popup-page .ji-popup-form__actions,
    #juicein-about-page-v4 .ji-about-actions-v4,#juicein-about-page-v4 .ji-about-final-actions-v4,
    #juicein-contact-page .ji-contact-actions,#juicein-journal-v272 .ji-journal-hero-v272__actions
  ){
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
  }
  body.juicein-v2 :is(
    #j9-home-v365 .j9h-actions,#j9-drinks-v201 .j9d-actions,#j9-juices-v202 .j9j-actions,#j9-smoothies-v201 .j9s-actions,
    #j9-shots-v200 .j9w-actions,#j9-pairings-v200 .j9p-actions,#j9-bulk-v200 .j9b-actions,
    #juicein-services-v2 .ji-sv-v2__hero-actions,#juicein-services-v2 .ji-sv-v2__final-actions,
    #juicein-catering-page-v51 .ji-catering-actions-v51,#juicein-baking-page .ji-baking-actions,#juicein-baking-page .ji-baking-form__actions,
    #juicein-popup-page .ji-popup-actions,#juicein-popup-page .ji-popup-form__actions,
    #juicein-about-page-v4 .ji-about-actions-v4,#juicein-about-page-v4 .ji-about-final-actions-v4,
    #juicein-contact-page .ji-contact-actions,#juicein-journal-v272 .ji-journal-hero-v272__actions
  )>:is(a,button){width:100%!important;max-width:100%!important;justify-content:center!important;}

  /* Product hero choices remain visible without becoming giant cards. */
  body.juicein-v2 :is(
    #j9-juices-v202 .j9j-hero-bottle,
    #j9-smoothies-v201 .j9s-hero-bottle,
    #j9-shots-v200 .j9w-hero-bottle,
    #j9-pairings-v200 .j9p-hero-bottle
  ){
    min-height:250px!important;
    padding:12px 8px 10px!important;
  }
  body.juicein-v2 :is(
    #j9-juices-v202 .j9j-hero-bottle img,
    #j9-smoothies-v201 .j9s-hero-bottle img,
    #j9-shots-v200 .j9w-hero-bottle img,
    #j9-pairings-v200 .j9p-hero-bottle img
  ){
    height:calc(100% - 48px)!important;
  }

  body.juicein-v2 .jx-v2-product-modal__panel>figure{
    height:clamp(220px,58vw,300px)!important;
    min-height:0!important;
  }
  body.juicein-v2 .jx-v2-product-modal__content{padding:22px 16px calc(24px + env(safe-area-inset-bottom))!important;}

  /* Forms become one clean column. */
  body.juicein-v2 :is(
    #juicein-catering-page-v51 .ji-catering-form-v51,
    #juicein-baking-page .ji-baking-form__grid,
    #juicein-popup-page .ji-popup-form__grid,
    #juicein-contact-page .ji-contact-form__grid
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  #juicein-privacy-page .ji-privacy-table-wrap,
  #juicein-terms-page .ji-terms-table-wrap{
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
}

@media (max-width:360px){
  body.juicein-v2 :is(
    #j9-home-v365 h1,#j9-drinks-v201 h1,#j9-juices-v202 h1,#j9-smoothies-v201 h1,#j9-shots-v200 h1,#j9-pairings-v200 h1,
    #j9-bulk-v200 h1,#juicein-services-v2 h1,#juicein-catering-page-v51 h1,#juicein-baking-page h1,#juicein-popup-page h1,
    #juicein-about-page-v4 h1,#juicein-faq-page h1,#juicein-contact-page h1,#juicein-journal-v272 h1,#juicein-privacy-page h1,#juicein-terms-page h1
  ){font-size:clamp(34px,10.8vw,42px)!important;}

  body.juicein-v2 :is(
    #j9-home-v365 .j9h-shell,#j9-drinks-v201 .j9d-shell,#j9-juices-v202 .j9j-shell,#j9-smoothies-v201 .j9s-shell,
    #j9-shots-v200 .j9w-shell,#j9-pairings-v200 .j9p-shell,#j9-bulk-v200 .j9b-shell,
    #juicein-services-v2 .ji-sv-v2__shell,#juicein-catering-page-v51 .ji-catering-shell-v51,#juicein-baking-page .ji-baking-shell,
    #juicein-popup-page .ji-popup-shell,#juicein-about-page-v4 .ji-about-shell-v4,#juicein-faq-page .ji-faq-shell,
    #juicein-contact-page .ji-contact-shell,#juicein-journal-v272 .ji-journal-shell-v272,#juicein-privacy-page .ji-privacy-shell,
    #juicein-terms-page .ji-terms-shell
  ){
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
}

/* =========================================================
   v2.9.5 FINAL CASCADE CORRECTIONS
   Copy-first mobile range order + every bottle composition contained.
   ========================================================= */
body.juicein-v2 #j9-home-v365 .j9h-range-card__copy{order:1!important;}
body.juicein-v2 #j9-home-v365 .j9h-range-card__media{order:2!important;}

body.juicein-v2 :is(
  #j9-drinks-v201 .j9d-hero__media img,
  #j9-drinks-v201 .j9d-range__media img,
  #j9-drinks-v201 .j9d-bigger__media img,
  #j9-bulk-v200 .j9b-hero__media img,
  #j9-bulk-v200 .j9b-range-card__media img,
  #juicein-about-page-v4 img[src*="hero-bottles"],
  #juicein-about-page-v4 img[src*="7of9-JuiceIN-Juices"],
  #juicein-journal-v272 img[src*="7of9-JuiceIN-Juices"],
  #juicein-journal-v272 img[src*="smoothies"],
  #juicein-journal-v272 img[src*="Wellness-shots"]
){
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}

@media (max-width:760px){
  body.juicein-v2 #j9-home-v365 .j9h-range-card{
    grid-template-columns:minmax(0,1fr)!important;
    height:auto!important;
    min-height:0!important;
  }
  body.juicein-v2 #j9-home-v365 .j9h-range-card__copy{
    order:1!important;
    min-height:170px!important;
  }
  body.juicein-v2 #j9-home-v365 .j9h-range-card__media{
    order:2!important;
    width:100%!important;
    height:clamp(220px,74vw,310px)!important;
    min-height:0!important;
    border-left:0!important;
    border-top:1px solid rgba(16,37,30,.06)!important;
  }
}

/* Highest-specificity crop guard.
   Deliberately outranks legacy page locks that used repeated root IDs. */
body.juicein-v2 #j9-home-v365#j9-home-v365#j9-home-v365 img[data-j9-product-image],
body.juicein-v2 #j9-juices-v202#j9-juices-v202#j9-juices-v202 .j9j-card__image-button img,
body.juicein-v2 #j9-smoothies-v201#j9-smoothies-v201#j9-smoothies-v201 .j9s-card__image-button img,
body.juicein-v2 #j9-shots-v200#j9-shots-v200#j9-shots-v200 .j9w-card__image-button img,
body.juicein-v2 #j9-pairings-v200#j9-pairings-v200#j9-pairings-v200 .j9p-card__image-button img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
}


/* =========================================================
   v2.9.7 PAGE-OWNED MEDIA CONTRACT GUARD — PAGE 03 JUICES
   Keeps the Elementor Page 03 media authority stable regardless of theme CSS load order.
   ========================================================= */
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-hero-bottle{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4 / 5!important;
}
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-hero-bottle img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-position:center!important;
  transform:none!important;
}
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-hero-bottle[data-j9-resolved-fit="hero-cover"] img{object-fit:cover!important;}
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-hero-bottle[data-j9-resolved-fit="hero-contain"] img{object-fit:contain!important;}
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-pick__media{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1 / 1!important;
}
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-card__media{
  aspect-ratio:1 / 1!important;
  min-height:0!important;
}
body.juicein-v2 #j9-juices-v202[data-j9-media-contract="page-owned-v1"] .j9j-card__image-button img{
  object-fit:contain!important;
  object-position:center!important;
}
