.category-shop { width: min(calc(100% - 64px), 1376px); margin-inline: auto; padding-block: 42px 32px; }
.category-shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.category-shop-heading h2 { margin: 0; font: 600 clamp(28px, 3.1vw, 46px)/1.3 var(--font-serif); letter-spacing: -.025em; color: var(--deco-brown); }
#category-view-all { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; color: var(--deco-brown); font-size: 16px; white-space: nowrap; }
#category-view-all svg { width: 20px; height: 20px; }
.category-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { position: relative; isolation: isolate; display: block; width: 100%; min-width: 0; aspect-ratio: 1.08; border: 0; border-radius: 18px; overflow: hidden; padding: 0; text-align: left; background: #664a3d; color: #f6ede1; }
.category-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, #2e1b0e30 58%, #2e1b0ef2 100%); }
.category-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

.category-name { position: absolute; left: 26px; bottom: 28px; max-width: 65%; font: 500 clamp(26px, 2.8vw, 42px)/1.1 var(--font-serif); text-wrap: balance; }
.category-arrow { position: absolute; right: 22px; bottom: 28px; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid #f6ede1; border-radius: 50%; transition: background .25s ease, transform .25s ease; }
.category-arrow svg { width: 23px; height: 23px; }
.category-unavailable { position: absolute; left: 14px; top: 14px; background: #493126d9; color: #f6ede1; border: 1px solid #e8d8c245; padding: 6px 9px; border-radius: 4px; font: 500 10px/1.4 var(--font-sans); }
.category-card:disabled { cursor: default; }
.category-card:focus-visible, #category-view-all:focus-visible { outline: 3px solid var(--deco-brown); outline-offset: 4px; }
@media (hover: hover) { .category-card:not(:disabled):hover img { transform: scale(1.045); } .category-card:not(:disabled):hover .category-arrow { background: #e8d8c22b; transform: translateX(2px); } }
@media (max-width: 850px) { .category-shop { width: calc(100% - 40px); } .category-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px) { .category-shop { width: calc(100% - 32px); padding-top: 24px; } .category-shop-heading { gap: 12px; margin-bottom: 16px; } .category-shop-heading h2 { font-size: 26px; } #category-view-all { font-size: 11px; gap: 5px; } .category-card { aspect-ratio: .92; } .category-name { left: 14px; bottom: 16px; max-width: 62%; font-size: 22px; } .category-arrow { right: 12px; bottom: 17px; width: 27px; height: 27px; } .category-arrow svg { width: 18px; height: 18px; } .category-unavailable { left: 9px; top: 9px; padding: 4px 6px; font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .category-card img, .category-arrow { transition: none; } .category-card:not(:disabled):hover img, .category-card:not(:disabled):hover .category-arrow { transform: none; } }
.category-image-empty{position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#d7c1a6,#79604e)}
.category-name{overflow-wrap:anywhere}
