/* Category cards (modelled on satvikly.com's category tiles) */
.cats{position:relative;z-index:1;padding:8px 28px 72px;text-align:center}
.cats-in{max-width:1180px;margin:0 auto}
.cats-head{margin-bottom:34px}
.cats-title{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:clamp(32px,4.2vw,46px);line-height:1.1;
  background:linear-gradient(90deg,#e8b04b,#f28c28,#e8b04b);-webkit-background-clip:text;background-clip:text;color:transparent}
.cats-sub{margin-top:10px;font-weight:300;font-size:16px;color:#fff6e9;opacity:.8}

.cats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media (min-width:640px){.cats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}

.cat{position:relative;display:block;border-radius:28px;padding:3px;overflow:hidden;background:#f3e3c4;
  text-decoration:none;color:inherit;box-shadow:0 18px 36px -22px rgba(0,0,0,.6);
  transition:transform .25s ease,box-shadow .25s ease}
.cat:hover{transform:translateY(-4px);box-shadow:0 26px 44px -22px rgba(0,0,0,.7)}
.cat:focus-visible{outline:3px solid #e8b04b;outline-offset:3px}

/* rotating accent ring */
.cat-ring{position:absolute;top:50%;left:50%;width:170%;aspect-ratio:1/1;transform:translate(-50%,-50%);
  background:conic-gradient(from 0deg,rgba(255,159,1,0) 0deg,rgba(255,159,1,.95) 60deg,rgba(192,57,43,.9) 120deg,rgba(255,159,1,0) 190deg,rgba(255,159,1,0) 360deg);
  animation:catSpin 7s linear infinite}
.cat:hover .cat-ring{animation-play-state:paused}
@keyframes catSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}

.cat-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;
  height:100%;min-height:230px;padding:22px 14px 18px;border-radius:25px;overflow:hidden;
  background:linear-gradient(180deg,#fdf3dc,#f8d9a7)}
.cat-name{font-family:'Mukta','Poppins',sans-serif;font-weight:600;font-size:clamp(18px,2.1vw,26px);line-height:1.25;color:#5c2415}
.cat-subwin{display:block;height:24px;overflow:hidden;width:100%}
.cat-subs{display:block;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.cat-subs span{display:block;height:24px;line-height:24px;font-family:'Mukta','Poppins',sans-serif;
  font-size:clamp(13px,1.4vw,17px);color:#7a6550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-spacer{flex:1;min-height:6px}
.cat-art{display:block;width:auto;max-width:92%;height:clamp(96px,11vw,150px);
  filter:drop-shadow(0 10px 14px rgba(102,47,30,.22));
  transition:transform .45s cubic-bezier(.34,1.4,.64,1)}
.cat:hover .cat-art{transform:translateY(-6px) scale(1.08) rotate(-2deg)}

@media (min-width:1024px){.cat-inner{min-height:330px;padding:30px 18px 24px}}
@media (max-width:639px){.cats{padding:0 16px 56px}.cat{border-radius:22px}.cat-inner{border-radius:19px}}
@media (prefers-reduced-motion:reduce){.cat-ring{animation:none}.cat,.cat-art,.cat-subs{transition:none}}

/* ---- compact variant used inside the hero ---- */
.cats--hero{padding:0;margin:30px 0 0;text-align:center}
.cats--hero .cats-head{display:none}
.cats--hero .cats-grid{gap:12px}
.cats--hero .cat{border-radius:22px}
.cats--hero .cat-inner{min-height:196px;padding:16px 10px 12px;border-radius:19px;gap:4px}
.cats--hero .cat-name{font-size:clamp(16px,1.5vw,19px)}
.cats--hero .cat-subwin{height:20px}
.cats--hero .cat-subs span{height:20px;line-height:20px;font-size:13px}
.cats--hero .cat-art{height:clamp(78px,8vw,96px)}
@media (max-width:639px){.cats--hero{padding:0}.cats--hero .cat-inner{min-height:190px}}
