/* Annie's Picks v3 responsive layer. Loaded only on WooCommerce views. */
.annie-shop-mobile-filter-toggle,
.annie-shop-mobile-filter-label,
.annie-shop-mobile-filter-actions,
.annie-product-gallery__position{display:none}

@media(max-width:760px){

  .annie-shop-page .annie-shop-hero{display:flex;flex-direction:column}
  .annie-shop-page .annie-shop-hero__content{padding:34px 23px 29px}
  .annie-shop-page .annie-shop-hero h1{font-size:clamp(75px,17vw,106px);white-space:normal;line-height:.78;margin-bottom:19px}
  .annie-shop-page .annie-shop-hero__script{font-size:clamp(30px,7vw,42px)}
  .annie-shop-page .annie-shop-hero__script br{display:none}
  .annie-shop-page .annie-shop-hero__visual{min-height:0;height:clamp(260px,63vw,390px);background-position:center 52%}
  .annie-shop-page .annie-shop-collection{padding-top:22px}
  .annie-shop-page .annie-shop-collection-heading{display:block;margin-bottom:17px}
  .annie-shop-page .annie-shop-collection-heading h1{font-size:clamp(42px,11.5vw,52px);line-height:.92;white-space:normal;margin-top:6px}
  .annie-shop-page .annie-shop-result-count{display:block;margin:11px 0 0;font-size:11px;line-height:1.4}
  .annie-shop-page .annie-shop-toolbar{display:block;margin-bottom:18px}
  .annie-shop-page .annie-shop-tools{display:grid;grid-template-columns:1fr;gap:10px;align-items:start;margin-left:0;padding:8px 0 13px}
  .annie-shop-page .annie-shop-search{height:48px;width:100%;background:#fffaf2;padding:0 12px}
  .annie-shop-page .annie-shop-mobile-filter-toggle{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:700 10px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
  .annie-shop-page .annie-shop-mobile-filter-toggle svg{width:18px;height:18px;flex-shrink:0}
  .annie-shop-page .annie-shop-filter-chevron{display:grid;place-items:center;width:20px;height:20px;margin-left:auto;line-height:0;transition:transform 220ms ease}
  .annie-shop-page .annie-shop-filter-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
  .annie-shop-page .annie-shop-mobile-filter-toggle[aria-expanded=true] .annie-shop-filter-chevron{transform:rotate(180deg)}
  .annie-shop-page .annie-shop-selectors{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;padding:0;transition:max-height 230ms ease,opacity 180ms ease,padding 230ms ease,visibility 0s linear 230ms}
  .annie-shop-page .annie-shop-selectors.is-open{max-height:360px;opacity:1;visibility:visible;pointer-events:auto;padding:13px 0 0;transition:max-height 230ms ease,opacity 180ms ease,padding 230ms ease,visibility 0s linear 0s}
  .annie-shop-page .annie-shop-mobile-filter-label{display:block;margin-bottom:7px;color:#687176;font:700 9px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase}
  .annie-shop-page .annie-shop-select select{height:46px;width:100%;border:1px solid var(--line);padding:0 28px 0 12px;background:#fffaf2;font-size:12px}
  .annie-shop-page .annie-shop-mobile-filter-actions{display:flex;grid-column:1/-1;gap:10px}
  .annie-shop-page .annie-shop-mobile-filter-actions .annie-shop-button{flex:1;justify-content:center;min-height:45px;padding:12px 10px}
  .annie-shop-page .annie-shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px}
  .annie-shop-page .annie-shop-product-card{display:flex;flex-direction:column;min-height:0;border:0;background:none;box-shadow:none!important;transform:none!important}
  .annie-shop-page .annie-shop-product-card__image{min-height:0;aspect-ratio:1.02}
  .annie-shop-page .annie-shop-product-card__image img{object-fit:contain}
  .annie-shop-page .annie-shop-product-card__body{padding:11px 0 0;min-height:0}
  .annie-shop-page .annie-shop-product-card h3{font-size:clamp(24px,5.5vw,32px);line-height:1.02}
  .annie-shop-page .annie-shop-product-card__body>p:not(.annie-shop-eyebrow){font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

  .annie-product-page .annie-product-breadcrumbs{font-size:9px;padding:18px 0;gap:7px}
  .annie-product-page .annie-product-container{padding:0 18px}
  .annie-product-page .annie-product-layout{grid-template-columns:1fr;gap:26px}
  .annie-product-page .annie-product-gallery__main{aspect-ratio:1.13;touch-action:pan-y}
  .annie-product-page .annie-product-gallery__arrow{width:44px;height:44px}
  .annie-product-page .annie-product-gallery__arrow--previous{left:9px}
  .annie-product-page .annie-product-gallery__arrow--next{right:9px}
  .annie-product-page .annie-product-gallery__position{display:block;margin:8px 0 0;text-align:center;color:#687176;font-size:10px;letter-spacing:.08em}
  .annie-product-page .annie-product-zoom{min-height:44px}
  .annie-product-page .annie-product-gallery__thumbs{margin-top:8px;gap:7px}
  .annie-product-page .annie-product-thumb{min-height:61px}
  .annie-product-page .annie-product-info h1{font-size:clamp(51px,11.9vw,73px)}
  .annie-product-page .annie-product-summary{font-size:clamp(28px,7vw,36px)}
  .annie-product-page .annie-product-marketplace .annie-shop-button{width:100%;max-width:none;justify-content:center;min-height:53px}
  .annie-product-page .annie-product-options{grid-template-columns:1fr 1fr;gap:13px}
  .annie-product-page .annie-product-option-field{display:flex;flex-direction:column;align-items:stretch;gap:7px}
  .annie-product-page .annie-product-option-field select{min-height:48px;font-size:13px}
  .annie-product-page .annie-product-details-and-note{grid-template-columns:1fr;gap:28px;margin-top:31px;padding-top:24px}
  .annie-product-page .annie-product-accordions summary{min-height:48px;display:flex;align-items:center;font-size:25px;padding:12px 40px 12px 9px}
  .annie-product-page .annie-product-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .annie-product-page .annie-product-related-card{display:flex;flex-direction:column;min-height:0}
  .annie-product-page .annie-product-related-card:nth-child(3){display:none}
  .annie-product-page .annie-product-related-card__image{aspect-ratio:1.02;height:auto}
  .annie-product-page .annie-product-related-card__content{padding:11px 9px 12px;min-height:130px}
  .annie-product-page .annie-product-related-card__description{display:none}
  .annie-product-page .annie-product-related-card__link{margin-top:auto}
}

@media(max-width:640px){
  .annie-shop-page .annie-shop-product-grid{grid-template-columns:1fr;gap:21px}
  .annie-shop-page .annie-shop-product-card__title{-webkit-line-clamp:3;line-clamp:3}
  .annie-shop-page .annie-shop-product-card__description{-webkit-line-clamp:3;line-clamp:3}
  .annie-shop-page .annie-shop-collection{padding-bottom:44px}
  .annie-shop-page .annie-shop-disclaimer{overflow-wrap:anywhere}
}

@media(max-width:380px){
  .annie-shop-page .annie-shop-product-card h3{font-size:24px}
  .annie-product-page .annie-product-options{gap:8px}
  .annie-product-page .annie-product-related-card__content{padding-inline:8px}
  .annie-product-page .annie-product-related-card strong{font-size:23px}
}

@media(max-width:340px){
  .annie-shop-page .annie-shop-product-grid{grid-template-columns:1fr}
  .annie-shop-page .annie-shop-selectors{grid-template-columns:1fr}
  .annie-shop-page .annie-shop-mobile-filter-actions{flex-direction:column}
  .annie-product-page .annie-product-related-grid{grid-template-columns:1fr}
  .annie-product-page .annie-product-related-card:nth-child(3){display:flex}
}

@media(max-width:760px) and (prefers-reduced-motion:no-preference){
  .annie-shop-page .annie-shop-selectors.is-open{animation:annie-mobile-filters-in 230ms ease both}
  .annie-product-page .annie-product-gallery__arrow{transition:background 180ms ease,transform 180ms ease}
  .annie-product-page .annie-product-gallery__arrow:active{background:var(--paper-dark);transform:translateY(-50%) scale(.96)}
}

@keyframes annie-mobile-filters-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

@media(prefers-reduced-motion:reduce){
  .annie-shop-page .annie-shop-selectors,.annie-shop-page .annie-shop-selectors.is-open,.annie-shop-page .annie-product-gallery__arrow{animation:none!important;transition:none!important}
}
