/* MASTER Catalog Enhancer 2.2.1 — photo-first category art direction.
   Scoped to featured category grid; keeps the rest of Bold Motion intact. */
.mce.mce-v2 .mce-v2-category-grid.mce-v221-image-first {
  --mce-v221-image-scale:1.2;
  perspective: none;
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-category {
  min-height: 356px;
  border-radius: 19px;
  box-shadow: 0 14px 26px rgba(5,43,31,.065);
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-category:nth-child(-n+3){min-height:430px}
/* A soft gradient ensures photography can be large while the title remains legible. */
.mce.mce-v2 .mce-v221-image-first .mce-v2-category::after {
  content:"";position:absolute;z-index:4;bottom:0;left:0;right:0;height:165px;
  background:linear-gradient(to top,var(--v2-card) 20%,var(--v2-card) 33%,transparent 100%);
  pointer-events:none;
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-card-shape {
  top:12%;left:15%;height:68%;width:72%;border-radius:44%;
  background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.24);
  filter:blur(.4px);z-index:0;
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-cat-product {
  display:block;position:absolute;z-index:3;
  top:15px;left:16px;right:auto;bottom:auto;
  width:calc(100% - 32px);height:calc(100% - 138px);max-height:none;
  object-fit:contain;object-position:center center;
  filter:drop-shadow(0 18px 15px rgba(7,41,29,.17));
  transform:translate3d(0,0,0) scale(var(--mce-v221-image-scale,1.2));
  transition:transform .65s cubic-bezier(.16,.92,.25,1), filter .65s ease;
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-category:hover .mce-v2-cat-product {
  transform:translate3d(0,-10px,0) scale(calc(var(--mce-v221-image-scale,1.2) + .05));
  filter:drop-shadow(0 23px 21px rgba(7,41,29,.2));
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom {
  bottom:21px;left:25px;right:22px;z-index:5;
}
.mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom>span:first-child{max-width:calc(100% - 52px);gap:7px}
.mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom strong{font-size:clamp(21px,2vw,29px)}
.mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom small{font-size:11px;max-width:260px}
.mce.mce-v2 .mce-v221-image-first .mce-v2-card-counter{z-index:6}
/* Icons become subtle brand micro-details instead of dominant artwork. */
.mce.mce-v2 .mce-v221-icons-minimal .mce-v2-cat-icon {
  width:47px!important;height:47px!important;
  top:18px;right:20px;left:auto;z-index:5;
  opacity:.14;filter:none;
  transform:rotate(-10deg);transition:transform .35s ease,opacity .35s ease;
}
.mce.mce-v2 .mce-v221-icons-minimal .mce-v2-cat-icon .mce-icon{stroke-width:1.7}
.mce.mce-v2 .mce-v221-icons-minimal .mce-v2-category:hover .mce-v2-cat-icon{transform:rotate(0deg) scale(1.08);opacity:.28}
.mce.mce-v2.mce-v2-ready .mce-v221-icons-minimal .mce-v2-cat-icon,
.mce.mce-v2.mce-v2-ready .mce-v221-icons-minimal .mce-v2-category.mce-v2-visible .mce-v2-cat-icon{scale:1;rotate:0}
.mce.mce-v2 .mce-v221-icons-hidden .mce-v2-cat-icon{display:none!important}
/* The optional original icon presentation remains available in Design Studio. */
.mce.mce-v2 .mce-v221-icons-large .mce-v2-cat-icon{z-index:3}
@media (max-width:950px) {
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category:nth-child(-n+3){min-height:360px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category{min-height:330px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-cat-product{height:calc(100% - 131px)}
}
@media (max-width:680px) {
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category,
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category:nth-child(-n+3){min-height:310px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category:first-child{min-height:385px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category::after{height:135px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-cat-product{top:13px;left:6px;width:calc(100% - 12px);height:calc(100% - 112px)}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category:first-child .mce-v2-cat-product{top:12px;left:16px;right:auto;bottom:auto;width:calc(100% - 32px);height:calc(100% - 116px);max-height:none}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom{left:16px;right:13px;bottom:18px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom strong{font-size:clamp(18px,4.2vw,25px)}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-card-bottom small{font-size:10px}
  .mce.mce-v2 .mce-v221-icons-minimal .mce-v2-cat-icon{width:36px!important;height:36px!important;top:14px;right:13px}
}
@media (max-width:385px) {
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category,
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category:nth-child(-n+3){min-height:298px}
  .mce.mce-v2 .mce-v221-image-first .mce-v2-category:first-child{min-height:355px}
}
@media (prefers-reduced-motion:reduce) {
  .mce.mce-v2 .mce-v221-image-first .mce-v2-cat-product{transition:none!important}
}
