/* GOJD responsive parity 2026-11-13
   The same public media manifest and layout are used by desktop, tablet
   and real Android/iOS viewports. Keep existing typography and brand tokens. */
@media(max-width:760px){
  :root{--gojd-sticky-top:109px}
  .site-header{position:sticky;top:0}
  .site-header .mobile-menu.open{
    position:absolute;top:100%;left:0;right:0;z-index:138;
    max-height:calc(100dvh - 120px);overflow-y:auto;
    overscroll-behavior:contain;background:var(--paper);
    box-shadow:0 18px 32px rgba(12,29,18,.16);
    border-bottom:1px solid var(--line);
  }
  .mobile-menu .container{padding-top:2px;padding-bottom:12px}
  .mobile-menu nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
  .mobile-menu .mobile-menu-title{grid-column:1/-1;margin:15px 0 5px;padding:0 0 8px;
    border-bottom:1px solid #d5ded5;font-size:.66rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#55695b}
  .mobile-menu a{display:flex;align-items:center;min-width:0;overflow-wrap:anywhere;
    font-size:.77rem;line-height:1.25;min-height:43px;padding:11px 1px;border-bottom:1px solid #e6ece4}
  .subnav{top:var(--gojd-sticky-top,109px)}
  .subnav-inner{gap:18px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;padding-right:20px}
  .subnav-inner a{scroll-snap-align:start;flex:0 0 auto;font-size:.68rem}
  .subnav-inner::-webkit-scrollbar{display:none}
  .product-layout{gap:19px;padding-bottom:37px}
  .product-gallery{gap:9px}
  .product-gallery .gallery-display{height:clamp(270px,84vw,370px);min-height:0!important}
  .product-gallery .gallery-display>img{display:block;width:100%;height:100%;max-width:100%;
    max-height:100%;object-fit:contain;padding:8px 8px 0}
  .product-gallery .gallery-thumbs{gap:7px}
  .product-gallery .gallery-thumb{width:64px;height:64px;min-height:64px}
  .product-detail h1{font-size:clamp(2rem,8.7vw,3rem);line-height:1.08}
  .product-detail .lead{line-height:1.55}
  /* Buy bar is visible only after the user has scrolled past the actual purchase box. */
  .sticky-buy{transform:translateY(calc(110% + env(safe-area-inset-bottom,0px)))!important;
    pointer-events:none!important;padding-bottom:env(safe-area-inset-bottom,0px)}
  .sticky-buy.gojd-show-sticky:not(.hide-when-buy-visible){transform:translateY(0)!important;pointer-events:auto!important}
  .hero-image-banner:not(.has-mobile-art) .hero-banner-link img{
    aspect-ratio:3/1!important;min-height:0!important;height:auto!important;object-fit:contain!important}
  .hero-image-banner.has-mobile-art .hero-banner-link img{
    aspect-ratio:5/6!important;min-height:0!important;height:auto!important;object-fit:contain!important}
  .gojd-commercial-banner picture,.gojd-commercial-banner img{
    display:block;width:100%;height:auto!important;max-height:none;object-fit:contain!important}
  .gojd-visual-frame.mobile{width:min(100%,358px)}
}
@media(max-width:370px){
  .site-header .gojd-custom-logo{max-width:129px!important}
  .header-actions{gap:1px}
  .header-actions .icon-btn{padding-left:3px;padding-right:3px}
  .mobile-menu nav{column-gap:9px}
  .product-gallery .gallery-display{height:clamp(262px,83vw,315px)}
}
.gojd-media-publish-row{display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:15px;background:#f4f8ee;border:1px solid #cfdcc7;
  padding:16px 18px;margin:15px 0 23px}
.gojd-media-publish-row>div{flex:1 1 230px;min-width:0}
.gojd-media-publish-row strong{font-size:.85rem;font-weight:750}
.gojd-media-publish-row p{margin:7px 0 0;max-width:760px;color:#506357;font-size:.77rem;line-height:1.45}
@media(max-width:600px){.gojd-media-publish-row{padding:13px}.gojd-media-publish-row button{width:100%}}

/* Editor preview runs inside a desktop window: its iframe width must not depend
   on a media query evaluated against the outer editor viewport. */
.gojd-visual-frame.mobile{width:min(100%,358px);border:0;outline:1px solid #ccd4c9}

/* Header parity: a single two-row mobile structure, without the auxiliary
   "Como funciona" link consuming the logo/controls row. The link remains
   available in the navigation menu and its target stays unchanged. */
@media(max-width:1150px){
 .site-header .gojd-header-how{display:none!important}
 .site-header .header-inner>.brand{flex:0 0 auto;min-width:0;justify-content:flex-start}
 .site-header .gojd-brand-header .gojd-custom-logo{
   display:block;width:clamp(155px,18vw,210px)!important;
   max-width:100%!important;max-height:56px!important;
   height:auto!important;object-fit:contain!important;
   object-position:left center!important}
 .site-header .header-inner>.search-host{min-width:0}
 .site-header .header-actions{flex:0 0 auto;gap:3px}
}
@media(max-width:760px){
 .site-header .header-inner{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto;
   grid-template-areas:"brand actions" "search search";
   align-items:center;column-gap:10px;row-gap:10px;
   min-height:0;padding-top:12px;padding-bottom:12px;
 }
 .site-header .header-inner>.brand{grid-area:brand;margin:0;align-self:center}
 .site-header .gojd-brand-header .gojd-custom-logo{
   width:clamp(128px,38vw,185px)!important;
   max-width:100%!important;max-height:51px!important}
 .site-header .header-inner>.search-host{
   grid-area:search;order:initial;min-width:0;max-width:none!important;
   width:100%!important;flex:none!important;margin:0!important}
 .site-header .header-inner>.search-host .header-search{
   height:44px;max-width:none;width:100%;min-width:0;margin:0}
 .site-header .header-actions{grid-area:actions;justify-self:end;
   display:flex;align-items:center;gap:2px;margin:0;min-width:0}
 .site-header .header-actions .icon-btn{flex:none}
 .site-header .header-actions .login-label{display:none}
 .subnav{top:var(--gojd-sticky-top,120px)}
}
@media(max-width:350px){
 .site-header .header-inner{column-gap:6px;row-gap:8px}
 .site-header .header-actions{gap:0}
 .site-header .header-actions .icon-btn{width:30px;min-width:30px}
}
