/* v1.0.222 — homepage carousel (owner 2026-12-01): the 9 featured cards
   become a 70-series carousel (one per category, 3 per row x 2 rows =
   6 per page, 12 pages, arrows + dots, autoplay 8s (v1.0.223)) with a centered
   "Browse more products" button below the grid. The carousel wrapper
   spans the full grid width (grid-column:1/-1) so the pages sit exactly
   where the 9 cards sat; every rule stays inside @media(min-width:701px)
   and below 701px the whole grid (carousel + nav + button) is hidden by
   the existing mobile rules, as before. */
/* 16:9 image area + tight card photos (previous release, owner 2026-12-01): the
   16:10 photos still left too much white space inside the image, so the
   photos are remade 16:9 with the device at 90% fill and the image area
   is 16/10 -> 16/9, so the cards get shorter still. */
/* v1.0.220 — 16:10 image area + smaller text (owner 2026-12-01): image area
   4/3 -> 16/10, body padding and all text sizes reduced, so each card is
   ~70px shorter. Card photos are the remade 16:10 images (see
   mwsell_static_home_card_image_url in functions.php). */
/* v1.0.218 — Homepage featured product cards (desktop only).
   Owner-approved 2026-12-01. Every rule in this file is inside
   @media(min-width:701px): below 701px the grid is hidden by the
   existing mobile rules (industrial-theme.css) and the brand cards
   show instead, exactly as in v1.0.217. Nothing in this file touches
   mobile. The tag pill sits ABOVE the title in the text area (not
   overlaid on the image) so long translations never cover the photo.
   RTL: flexbox rows flip automatically; the .arr arrow flips via the
   existing [dir=rtl] .arr rule in industrial-theme.css. */
@media(min-width:701px){
	.home-directory-grid{gap:14px}
	.home-feat-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e8e7e3;border-radius:10px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
	.home-feat-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(35,56,69,.14)}
	/* v1.0.225 — carousel image slot can never crop: the media box is
	   position:relative and the img is absolutely positioned inset:0 with
	   object-fit:contain, so even a non-16:9 image served by mistake is
	   letterboxed whole inside the 16:9 slot instead of being cut. The
	   16:9 remade files are the primary fix; this is only a safety net. */
	.home-feat-media{display:block;position:relative;background:#fff;aspect-ratio:16/9;overflow:hidden}
	.home-feat-media img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
	.home-feat-media .mwsell-thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#8a97a0;font-size:15px;text-align:center;padding:12px}
	.home-feat-body{display:flex;flex-direction:column;flex:1;padding:14px 16px 12px}
	.home-feat-tag{align-self:flex-start;background:var(--ind-steel);color:#fff;font-size:11px;font-weight:700;line-height:1;padding:6px 9px;border-radius:20px;margin-bottom:8px}
	.home-feat-eyebrow{margin:0 0 5px;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#8a6d3b}
	.home-feat-title{margin:0 0 6px;font-size:18px;line-height:1.3}
	.home-feat-title a{color:var(--ind-steel);text-decoration:none}
	.home-feat-title a:hover{color:var(--ind-orange)}
	.home-feat-intro{margin:0 0 10px;font-size:13px;line-height:1.6;color:#5a6b72;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
	.home-feat-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px;padding:0;list-style:none}
	.home-feat-chips li{background:#f4f5f6;border-radius:4px;padding:4px 8px;font-size:11px;color:#5a6b72;white-space:nowrap}
	.home-feat-foot{margin-top:auto;padding-top:10px;border-top:1px solid #eef0f0;display:flex;align-items:center;justify-content:space-between;gap:10px}
	.home-feat-view{color:var(--ind-orange);font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}
	.home-feat-view:hover{color:var(--ind-orange-dark)}
	.home-feat-card .add{flex:none;padding:8px 11px;font-size:12px;border-radius:6px}
	/* v1.0.222 carousel: the wrapper is the grid's only child and spans
	   all 3 columns; each page is its own 3-column grid of cards. */
	.home-feat-carousel{grid-column:1/-1;min-width:0}
	.home-feat-page{display:none}
	.home-feat-page.is-active{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
	.home-feat-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:20px}
	.home-feat-arrow{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid #dbe2ea;box-shadow:0 2px 10px rgba(16,24,40,.15);font-size:24px;line-height:1;color:#344054;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
	.home-feat-arrow:hover{border-color:var(--ind-orange);color:var(--ind-orange)}
	.home-feat-dots{display:flex;gap:8px;align-items:center}
	.home-feat-dot{width:10px;height:10px;border-radius:50%;border:1px solid #c8cfd3;background:#fff;cursor:pointer;padding:0}
	.home-feat-dot.is-current{background:var(--ind-orange);border-color:var(--ind-orange)}
	.home-feat-more{margin-top:22px;text-align:center}
}
