/* Cozy Hugs phone + tablet layer (mobile builder, 2026-10-04; loaded by inc/features/mobile-tablet.php after every other stylesheet).
   Every rule sits inside a @media (max-width:1180px) block: the owner-approved desktop header bar (1,181 px and wider) never changes.
   Product pages' "More good finds" row is the owner's locked ACANA standard and is never targeted here. */

/* ===== 1. Header, tablets (701-1180 px) ===== */
/* 701-899 px: the phone header -- logo and buttons on the first row, the full-width product search on its own row so the whole hint fits */
@media (min-width:701px) and (max-width:899px){
html body .ch-header .ch-header__room{grid-template-columns:minmax(0,1fr) auto!important;column-gap:13px!important;row-gap:13px!important;padding:10px 0 12px!important}
html body .ch-header .ch-header__room>.ch-brand{grid-column:1!important;grid-row:1!important;justify-content:flex-start!important;min-width:0!important}
html body .ch-header .ch-header__room>.ch-header__actions{grid-column:2!important;grid-row:1!important}
html body .ch-header .ch-header__room>.ch-product-search{grid-column:1/-1!important;grid-row:2!important}
html body .ch-header .ch-brand .ch-brand__art{width:150px!important;max-width:none!important}
html body .ch-header .ch-brand img.ch-brand__logo{width:150px!important;height:auto!important;max-width:none!important}
}
/* 900-1180 px: one row; the logo grows smoothly from 150 px to the desktop's 168 px (no jump at 960 px) */
@media (min-width:900px) and (max-width:1180px){
html body .ch-header .ch-brand .ch-brand__art{width:clamp(150px,calc(150px + (100vw - 900px) * .3),168px)!important;max-width:none!important}
html body .ch-header .ch-brand img.ch-brand__logo{width:100%!important;height:auto!important;max-width:none!important}
html body .ch-header .ch-brand{min-width:0!important}
}
/* up to 1,099 px the "Find a favorite" label gives its room to the search hint */
@media (min-width:701px) and (max-width:1099px){
html body .ch-header .ch-product-search .ch-product-search__cue{display:none!important}
html body .ch-header .ch-header__room>.ch-product-search{grid-template-columns:minmax(0,1fr)!important}
html body .ch-header .ch-product-search>#ch-product-search-field{grid-column:1/-1!important;width:100%!important}
}

/* ===== 2. Menu drawer panels, tablets (701-1180 px) ===== */
@media (min-width:701px) and (max-width:1180px){
/* pet panels (Dog, Cat, Bird, Fish): short intro row, the four starting points on one line, then 2 columns of tiles (3 from 760 px) */
html body .ch-nav .ch-pet-discovery__body{gap:12px!important;padding:12px 14px!important}
html body .ch-nav .ch-pet-discovery__intro{grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;column-gap:14px!important;padding:8px 14px!important}
html body .ch-nav .ch-pet-discovery__surprise{margin-top:8px!important}
html body .ch-nav .ch-pet-more{margin-top:10px!important;padding-top:10px!important}
html body .ch-nav .ch-pet-more p{margin-bottom:6px!important}
html body .ch-nav .ch-pet-discovery__art{grid-row:auto!important;width:48px!important;height:48px!important}
html body .ch-nav .ch-pet-discovery__art img{width:100%!important;height:100%!important;object-fit:contain!important}
html body .ch-nav .ch-pet-discovery__intro h2{align-self:center!important;margin:0!important;font-size:18px!important;line-height:1.2!important}
html body .ch-nav .ch-pet-discovery__all{grid-column:auto!important;margin:0!important;white-space:nowrap}
html body .ch-nav .ch-pet-discovery__filters{grid-auto-flow:column!important;grid-template-columns:none!important;grid-auto-columns:minmax(0,1fr)!important;margin:0 0 8px!important}
html body .ch-nav .ch-pet-discovery__filters button{min-height:38px!important;padding:0 6px!important;font-size:13px!important}
html body .ch-nav .ch-pet-discovery__categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body .ch-nav .ch-pet-category{grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;gap:10px!important;min-height:60px!important;padding:8px 12px!important}
html body .ch-nav .ch-pet-category .ch-pet-mini-art{grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;border-radius:12px!important}
html body .ch-nav .ch-pet-category .ch-pet-mini-art svg{width:34px!important;height:34px!important}
html body .ch-nav .ch-pet-category>.ch-pet-category__copy{grid-column:2!important;grid-row:1!important;gap:2px!important}
html body .ch-nav .ch-pet-category .ch-pet-category__copy strong{font-size:14px!important;line-height:1.25!important}
html body .ch-nav .ch-pet-category .ch-pet-category__copy small{display:block!important;font-size:12px!important;line-height:1.35!important}
html body .ch-nav .ch-pet-category>span:last-child{display:none!important}
html body .ch-nav .ch-pet-discovery__panel>.ch-mega-menu__foot{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;padding:10px 14px!important}
/* More Pets: the three pet cards side by side, then Farm & Equine */
html body .ch-nav .ch-more-discovery__pets{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html body .ch-nav .ch-more-card{flex-direction:column!important}
html body .ch-nav .ch-more-card>.ch-pet-mini-art{flex:0 0 auto!important;width:100%!important;height:84px!important;min-height:0!important}
html body .ch-nav .ch-more-card>.ch-pet-mini-art svg{width:60px!important;height:60px!important}
html body .ch-nav .ch-more-card__copy{gap:6px!important;padding:12px!important}
html body .ch-nav .ch-more-card__copy strong{font-size:17px!important}
html body .ch-nav .ch-more-card__tagline{font-size:13px!important;line-height:1.35!important}
html body .ch-nav .ch-more-card__action{min-height:42px!important;padding:0 12px!important;font-size:13px!important}
html body .ch-nav .ch-more-discovery__beyond>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body .ch-nav .ch-more-discovery__panel>.ch-mega-menu__foot{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;padding:10px 14px!important}
/* All Categories: department cards side by side where two fit */
html body .ch-nav .ch-department-menu .chd-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:12px!important}
html body .ch-nav .ch-department-menu .chd-card{gap:12px!important;padding:16px!important}
html body .ch-nav .ch-department-menu .chd-card__top{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
html body .ch-nav .ch-department-menu .chd-tiles--pets a.chd-tile{padding:10px 4px 8px!important;font-size:13px!important}
html body .ch-nav .ch-department-menu .chd-tiles--pets a.chd-tile img{width:46px!important;height:46px!important}
html body .ch-nav .ch-department-menu .chd-foot{flex-direction:row!important;align-items:center!important;flex-wrap:wrap}
}
@media (min-width:760px) and (max-width:1180px){
html body .ch-nav .ch-pet-discovery__categories{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* "More for dogs/cats" chip row: chips start at the left like the label above them; a little tighter on phones */
@media (max-width:1180px){
html body .ch-nav .ch-pet-more ul{justify-content:flex-start!important}
}
/* ===== 2b. Phone menu panels (up to 700 px): shorter pet and All Categories panels, everything still tappable (>= 40 px) ===== */
@media (max-width:700px){
/* pet panels: one-line eyebrow, compact intro, smaller tiles */
html body .ch-nav .ch-pet-discovery__head p{letter-spacing:.1em!important}
html body .ch-nav .ch-pet-discovery__body{gap:12px!important;padding:12px!important}
html body .ch-nav .ch-pet-discovery__intro{grid-template-columns:44px minmax(0,1fr)!important;column-gap:12px!important;row-gap:10px!important;padding:12px!important}
html body .ch-nav .ch-pet-discovery__art{grid-row:auto!important;width:44px!important;height:44px!important}
html body .ch-nav .ch-pet-discovery__art img{width:100%!important;height:100%!important;object-fit:contain!important}
html body .ch-nav .ch-pet-discovery__intro h2{align-self:center!important;margin:0!important;font-size:17px!important;line-height:1.2!important}
html body .ch-nav .ch-pet-discovery__all{grid-column:1/-1!important;margin:0!important}
html body .ch-nav .ch-pet-discovery__filters{margin:0 0 10px!important}
html body .ch-nav .ch-pet-discovery__filters button{min-height:40px!important}
html body .ch-nav .ch-pet-category{min-height:56px!important;padding:8px!important}
html body .ch-nav .ch-pet-discovery__categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* "More for dogs/cats": one row of chips that scrolls sideways */
html body .ch-nav .ch-pet-more{margin-top:10px!important;padding-top:10px!important}
html body .ch-nav .ch-pet-more p{margin:0 0 6px!important}
html body .ch-nav .ch-pet-more ul{flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:2px!important}
html body .ch-nav .ch-pet-more ul::-webkit-scrollbar{display:none}
html body .ch-nav .ch-pet-more li{flex:0 0 auto!important;scroll-snap-align:start}
html body .ch-nav .ch-pet-more a{gap:5px!important;min-height:40px!important;padding:5px 10px!important;font-size:12.5px!important;white-space:nowrap!important}
html body .ch-nav .ch-pet-more a small{font-size:11.5px!important}
html body .ch-nav .ch-pet-discovery__surprise{margin-top:10px!important}
/* footer: the sentence, then its two links side by side */
html body .ch-nav .ch-pet-discovery__panel>.ch-mega-menu__foot{flex-direction:row!important;flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;padding:12px!important}
html body .ch-nav .ch-pet-discovery__panel>.ch-mega-menu__foot p{flex:1 1 100%!important}
html body .ch-nav .ch-pet-discovery__panel>.ch-mega-menu__foot a{flex:1 1 0!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:0 8px!important;justify-content:center!important;font-size:13px!important;white-space:nowrap!important}
/* All Categories: small badge beside each heading, description below, tighter cards */
html body .ch-nav .ch-department-menu .chd-panel{padding:14px 12px!important}
html body .ch-nav .ch-department-menu .chd-head h2{font-size:19px!important;line-height:1.2!important}
html body .ch-nav .ch-department-menu .chd-head p{letter-spacing:.1em!important}
html body .ch-nav .ch-department-menu .chd-grid{gap:10px!important;margin-top:12px!important}
html body .ch-nav .ch-department-menu .chd-card{gap:9px!important;padding:12px!important}
html body .ch-nav .ch-department-menu .chd-foot{gap:8px!important;margin-top:10px!important;padding-top:10px!important}
html body .ch-nav .ch-department-menu .chd-card__top{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;column-gap:10px!important;row-gap:4px!important}
html body .ch-nav .ch-department-menu .chd-card__top>div{display:contents!important}
html body .ch-nav .ch-department-menu .chd-card__top h3{margin:0!important;font-size:18px!important}
html body .ch-nav .ch-department-menu .chd-card__top p{grid-column:1/-1!important;font-size:13px!important;line-height:1.4!important}
html body .ch-nav .ch-department-menu .chd-badge{flex:none!important;width:36px!important;height:36px!important;border-radius:11px!important}
html body .ch-nav .ch-department-menu .chd-badge svg{width:20px!important;height:20px!important}
html body .ch-nav .ch-department-menu .chd-faces img{width:32px!important;height:32px!important;margin-left:-9px!important;border-width:2px!important}
html body .ch-nav .ch-department-menu .chd-faces img:first-child{margin-left:0!important}
html body .ch-nav .ch-department-menu .chd-tiles--pets a.chd-tile{gap:5px!important;padding:8px 4px 6px!important;font-size:12.5px!important}
html body .ch-nav .ch-department-menu .chd-tiles--pets a.chd-tile img{width:40px!important;height:40px!important}
html body .ch-nav .ch-department-menu a.chd-all{padding:11px 14px!important}
/* aisle tiles (Shop by need, Farm & Equine): words get the full width -- no letters split across lines */
html body .ch-nav .ch-department-menu .chd-tiles:not(.chd-tiles--pets) a.chd-tile{gap:0!important;min-height:48px!important;padding:7px 10px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:manual!important}
html body .ch-nav .ch-department-menu .chd-tiles:not(.chd-tiles--pets) a.chd-tile>i{display:none!important}
html body .ch-nav .ch-department-menu .chd-tiles:not(.chd-tiles--pets) a.chd-tile span{overflow-wrap:normal!important;word-break:normal!important}
/* Shop by need: two rows that scroll sideways */
html body .ch-nav .ch-department-menu .chd-card--needs .chd-tiles{display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;grid-template-rows:repeat(2,auto)!important;grid-auto-columns:minmax(150px,max-content)!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:2px!important}
html body .ch-nav .ch-department-menu .chd-card--needs .chd-tiles::-webkit-scrollbar{display:none}
html body .ch-nav .ch-department-menu .chd-card--needs a.chd-tile{scroll-snap-align:start;white-space:nowrap!important;font-size:13.5px!important}
}

/* ===== 3. Pet Essentials catalog, tablets (601-1180 px) ===== */
/* products come first: the phone's short intro, and the filters live behind the "Filter products" button (pop-up, see mobile-tablet.php) */
@media (min-width:601px) and (max-width:1180px){
html body .chrp-catalog__intro .chrp-catalog-hero__metrics,html body .chrp-catalog__intro .chrp-catalog-hero__lede,html body .chrp-catalog__intro .chrp-catalog-hero__orbit{display:none!important}
html body .chrp-catalog__intro h1{font-size:32px!important;line-height:1.15!important;margin:4px 0 12px!important}
html body .chrp-catalog__intro{padding-top:22px!important;padding-bottom:20px!important;min-height:0!important}
}
/* "Popular aisles" (pet catalog pages): one slim row that scrolls sideways, as on phones */
@media (min-width:601px) and (max-width:1180px){
html body .ch-subcats{flex-wrap:nowrap!important;gap:12px!important;margin-bottom:14px!important;padding:10px 14px!important}
html body .ch-subcats .ch-subcats__title{flex:0 0 auto!important;white-space:nowrap!important}
html body .ch-subcats .ch-subcats__list{flex:1 1 auto!important;min-width:0!important;flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 2px 6px!important}
html body .ch-subcats .ch-subcats__chip{flex:0 0 auto!important;min-height:40px!important;white-space:nowrap!important}
}
@media (max-width:1180px){
html body .chrp-catalog .chrp-filter-form.chrp-filter-form--mobile{display:none!important}
html body .chrp-catalog .chrp-filter-open{margin:18px 0 8px!important}
}
/* the display switcher: hidden where cards are always two compact columns (as on phones); one short row from 900 px */
@media (min-width:601px) and (max-width:899px){
html body .chrp-catalog .chrp-catalog-display{display:none!important}
}
@media (min-width:900px) and (max-width:1180px){
html body .chrp-catalog .chrp-catalog-display{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px 16px!important;padding:12px 16px!important;min-height:0!important}
html body .chrp-catalog .chrp-catalog-display .chrp-catalog-display__intro{display:none!important}
html body .chrp-catalog .chrp-catalog-display .chrp-catalog-display__views{flex:1 1 380px!important;min-width:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:0!important}
html body .chrp-catalog .chrp-catalog-display .chrp-catalog-display__per-page{flex:0 1 250px!important;min-width:0!important;grid-column:auto!important;margin:0!important}
html body .chrp-catalog .chrp-catalog-display .chrp-catalog-display__per-page .ch-per-page-filter{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
html body .chrp-catalog .chrp-catalog-display .chrp-catalog-display__per-page .ch-fancy-select__label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
}

/* ===== 4. Compact product cards in the catalog grid up to 899 px: two per row, everything readable ===== */
@media (max-width:899px){
html body.ch-site .chrp-catalog .chrp-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card{padding:8px!important;min-height:0!important;height:auto!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__badges{top:14px!important;left:14px!important;right:14px!important;min-height:0!important;gap:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__badges>span:not(:first-child){display:none!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__badges>span:first-child{display:block!important;max-width:100%!important;height:auto!important;padding:5px 8px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;font-size:10.5px!important;line-height:1.3!important;letter-spacing:.03em!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__image{height:clamp(132px,30vw,210px)!important;min-height:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__image img{max-height:calc(100% - 8px)!important;object-fit:contain!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__summary,html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__facts{display:none!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__body{gap:6px!important;padding:6px 2px 2px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__body>h3{font-size:13px!important;line-height:1.3!important;min-height:0!important;height:auto!important;margin:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__body>h3>a{display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden!important;font-size:13px!important;line-height:1.3!important;min-height:0!important;height:auto!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__state{min-height:0!important;margin:0!important;padding:4px 6px!important;font-size:12px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__state .chrp-reference-price__label{font-size:10.5px!important;letter-spacing:.06em!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__state .woocommerce-Price-amount{font-size:19px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__state .chrp-confirmation-state{min-height:0!important;font-size:10.5px!important;letter-spacing:.08em!important}
/* rating on one line: stars, score and count */
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:2px 5px!important;min-height:0!important;height:auto!important;margin:0!important;padding:2px 0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:11px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__source{display:none!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__score{display:flex!important;align-items:center!important;gap:3px!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__stars{height:auto!important;margin:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__star{font-size:11px!important;line-height:1!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating strong{font-size:11.5px!important;line-height:1.2!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__meta{width:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__count{width:auto!important;height:auto!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:10.5px!important;line-height:1.2!important;font-weight:600!important;color:#4f625e!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating--unavailable .charr-rating__meta{display:none!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .charr-rating .charr-rating__status{display:inline!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:10.5px!important;line-height:1.2!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__button{min-height:40px!important;padding:8px!important;font-size:12px!important}
/* Compare and Save side by side; Save shows its short name (screen readers still hear "Save to Cozy List") */
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chcl-product-actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;min-height:0!important;margin:0!important;padding:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chcl-product-actions>.chcl-tool-button{display:flex!important;flex:1 1 auto!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:36px!important;padding:4px 3px!important;font-size:11px!important;white-space:nowrap!important;margin:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chcl-product-actions>.chcl-tool-button>span[aria-hidden]{flex:0 0 18px!important;width:18px!important;height:18px!important;font-size:12px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chcl-product-actions>.chcl-tool-button:not([data-chcl-compare]){font-size:0!important;gap:0!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chcl-product-actions>.chcl-tool-button:not([data-chcl-compare])>span[aria-hidden]{font-size:12px!important;margin-right:3px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chcl-product-actions>.chcl-tool-button:not([data-chcl-compare])::after{content:"Save";content:"Save"/"";font-size:11px;line-height:1.2}
}
/* small tablets 601-899 px: the wider compact cards get a slightly larger title */
@media (min-width:601px) and (max-width:899px){
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__body>h3,html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__body>h3>a{font-size:14px!important}
}
/* tablets 900-1180 px: badges and fact labels readable too (no text under 10.5 px) */
@media (min-width:900px) and (max-width:1180px){
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__badges>span{display:block!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;font-size:10.5px!important;line-height:1.3!important;height:auto!important;padding-top:5px!important;padding-bottom:5px!important}
html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__facts dt,html body.ch-site .chrp-catalog .chrp-catalog-grid .chrp-catalog-card .chrp-catalog-card__facts dd{font-size:10.5px!important}
}

/* ===== 5. Homepage product row and shop/category/search grids on phones and small tablets (up to 899 px): two compact cards per row =====
   Product pages are excluded on purpose: their "More good finds" row belongs to the owner-locked ACANA standard. */
@media (max-width:899px){
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product{width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:8px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product>a.woocommerce-LoopProduct-link{gap:0!important;min-height:0!important;height:auto!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .ch-product-source{display:none!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .ch-product-badge{display:block!important;top:14px!important;left:14px!important;right:auto!important;max-width:calc(100% - 28px)!important;height:auto!important;padding:5px 8px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;font-size:10.5px!important;line-height:1.3!important;letter-spacing:.03em!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .ch-product-card__media{height:clamp(132px,34vw,190px)!important;min-height:0!important;aspect-ratio:auto!important;margin:0 0 6px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .ch-product-card__media img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .woocommerce-loop-product__title{display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden!important;min-height:0!important;height:auto!important;margin:0 0 6px!important;padding:0 2px!important;font-size:13px!important;line-height:1.3!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product :is(.ch-product-card__description,.chrp-loop-facts,.chbc-card-facts,.ch-rewards-loop){display:none!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product span.price{min-height:0!important;margin:0!important;padding:4px 6px!important;font-size:12px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product span.price .chrp-reference-price__label{font-size:10.5px!important;letter-spacing:.06em!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product span.price .woocommerce-Price-amount{font-size:19px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:2px 5px!important;min-height:0!important;height:auto!important;margin:6px 0 0!important;padding:2px!important;border:0!important;background:none!important;box-shadow:none!important;font-size:11px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__source{display:none!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__score{display:flex!important;align-items:center!important;gap:3px!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__stars{height:auto!important;margin:0!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__star{font-size:11px!important;line-height:1!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating strong{font-size:11.5px!important;line-height:1.2!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__meta{width:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__count{width:auto!important;height:auto!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:10.5px!important;line-height:1.2!important;font-weight:600!important;color:#4f625e!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating--unavailable .charr-rating__meta{display:none!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .charr-rating .charr-rating__status{display:inline!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:10.5px!important;line-height:1.2!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product>a.button{width:100%!important;max-width:none!important;min-height:40px!important;margin:6px 0 0!important;padding:8px!important;font-size:12px!important;white-space:nowrap!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .chcl-product-actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;min-height:0!important;margin:6px 0 0!important;padding:0!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .chcl-product-actions>.chcl-tool-button{display:flex!important;flex:1 1 auto!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:36px!important;padding:4px 3px!important;font-size:11px!important;white-space:nowrap!important;margin:0!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .chcl-product-actions>.chcl-tool-button>span[aria-hidden]{flex:0 0 18px!important;width:18px!important;height:18px!important;font-size:12px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .chcl-product-actions>.chcl-tool-button:not([data-chcl-compare]){font-size:0!important;gap:0!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .chcl-product-actions>.chcl-tool-button:not([data-chcl-compare])>span[aria-hidden]{font-size:12px!important;margin-right:3px!important}
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .chcl-product-actions>.chcl-tool-button:not([data-chcl-compare])::after{content:"Save";content:"Save"/"";font-size:11px;line-height:1.2}
}
/* small tablets 601-899 px: the wider compact cards get a slightly larger title */
@media (min-width:601px) and (max-width:899px){
:is(html body.ch-site .ch-home-showcase,html body.ch-site.woocommerce:not(.single-product) .site-main) ul.products>li.product .woocommerce-loop-product__title{font-size:14px!important}
}
