/* Category links and banners should fit the available screen width. */
.wide-banner{width:100%!important;max-width:100%;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
/* Category cards are photographs only; link names remain available to assistive technology. */
.category-cards{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1060px;margin-inline:auto;gap:18px}
.category-cards .category-card{min-width:0;text-decoration:none;border-radius:16px;border:1px solid #e8e0ee;isolation:isolate;box-shadow:0 8px 24px #2410400b;aspect-ratio:4/5;padding:0;min-height:0;background:#f4f0f6}
.category-cards .category-card.has-img{aspect-ratio:4/5;padding:0;min-height:0}
.category-cards .category-card-img{position:absolute;inset:0;width:100%;height:100%;flex:none;object-fit:cover;object-position:center;padding:0;background:#f6f3f8;transform:translateZ(0) scale(1.035);will-change:transform;backface-visibility:hidden;image-rendering:auto;transition:none;filter:none;opacity:1}
.category-cards .category-card::before,.category-cards .category-card::after{display:none}
.category-cards .category-card-text{display:none}
.category-cards .category-card.active{transform:none;border-color:#6d3ba0;box-shadow:0 0 0 3px #a67ccb3d}
.category-cards .category-card:hover{transform:none}
.category-cards .category-card:hover .category-card-img{transform:translateZ(0) scale(1.035);filter:none;opacity:1}
.category-cards .category-card:focus-visible{outline:3px solid #7c3aed;outline-offset:4px}
.category-card-collage{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;height:100%;padding:0;background:#f4f0f6;overflow:hidden}
.category-card-collage img{width:100%;height:100%;min-width:0;object-fit:cover;object-position:center}
#categoryRouteIntro[hidden]{display:none}
#categoryRouteIntro{scroll-margin-top:85px}
#productsHeading[hidden]{display:none}
.store-section #categoryRouteIntro .catalog-breadcrumb{padding:0;margin:8px 0}
.store-section #categoryRouteIntro .catalog-category-hero{padding:0;margin:8px 0 16px}
.store-section #categoryRouteIntro .catalog-category-hero{text-align:center}
.store-section #categoryRouteIntro .catalog-category-hero h1{font-size:32px;line-height:1.4;font-weight:800;margin:0 0 6px}
.store-section #categoryRouteIntro .catalog-category-hero p{max-width:none;font-size:15px;line-height:1.8;text-wrap:balance;margin:0}
@media(max-width:560px){.store-section #categoryRouteIntro .catalog-category-hero h1{font-size:26px}.store-section #categoryRouteIntro .catalog-category-hero p{font-size:14px}}
.catalog-breadcrumb{max-width:1150px;margin:12px auto;padding:0 15px;line-height:1.8}
.catalog-breadcrumb a{color:var(--purple-dark)}
.catalog-category-hero{max-width:1150px;margin:16px auto;padding:0 15px}
.catalog-category-hero h1{font-size:28px;margin:0 0 8px}
.catalog-category-hero p{max-width:900px;margin:0;line-height:1.9;font-size:16px;color:var(--purple-mid)}
@media(max-width:600px){.category-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-cards .category-card{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.category-cards .category-card,.category-cards .category-card-img{transition:none}}
.catalog-preview-notice{padding:12px;text-align:center;background:#fff3cd;color:#513b00;font:15px/1.8 sans-serif}
.site-nav .nav-actions{position:relative;justify-self:end}
.nav-search-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #e7defb;border-radius:10px;background:#faf8ff;color:var(--purple-dark);font:inherit;cursor:pointer}
.nav-search-toggle:hover,.nav-search-toggle[aria-expanded="true"]{background:#eee8ff}
.nav-search-toggle:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}
.nav-search-panel{position:absolute;left:0;top:calc(100% + 12px);width:min(420px,calc(100vw - 32px));padding:14px;background:#fff;border:1px solid #e7defb;border-radius:14px;box-shadow:0 12px 36px #24104020;z-index:2}
.nav-search-panel[hidden]{display:none}
.nav-search-panel .product-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0}
.nav-search-panel .product-search-input{min-width:0;width:100%;font-size:14px;padding:11px}
.nav-search-panel .product-search-btn,.nav-search-panel .product-search-clear{width:auto;min-height:44px;padding:10px 14px}
.nav-search-panel .product-search-clear.show{grid-column:1/-1;justify-self:end}
#categorySection,#store{scroll-margin-top:110px}
/* Keep headings close to their content without crowding the product cards. */
.store-section > .container{padding-top:24px;padding-bottom:24px}
.store-section .section-heading{margin:12px 0 16px}
.store-section .category-section{margin-bottom:18px}
.store-section .category-card:not(.has-img){aspect-ratio:auto;min-height:112px;padding:16px 12px}
.store-section .featured-products-section{margin-bottom:20px}
.store-section .new-arrivals-banner.simple{margin:0 0 16px;padding:4px 0 0;min-height:0}
.store-section .new-arrivals-banner.simple .banner-inner{padding:8px 12px}
.store-section .new-arrivals-banner.simple span{margin-top:6px}
.store-section .new-arrivals-banner:not(.simple){margin-bottom:18px;min-height:200px}
.store-section .section-divider{margin-top:24px}
.store-section .category-indicator{margin:8px 0 12px}
body .catalog-breadcrumb{margin-top:12px;margin-bottom:12px}
body .catalog-category-hero{margin-top:16px;margin-bottom:16px}
body .catalog-category-hero p{margin-bottom:0}
@media(max-width:600px){
 .store-section > .container{padding-top:18px;padding-bottom:18px}
 .store-section .section-heading{margin:8px 0 12px}
 .store-section .category-card:not(.has-img){min-height:88px;padding:12px 8px}
 .store-section .category-section{margin-bottom:14px}
 .store-section .new-arrivals-banner.simple{margin-bottom:12px;padding-top:2px}
 .store-section .new-arrivals-banner.simple .banner-inner{padding:4px 8px}
 .store-section .featured-products-section{margin-bottom:16px}
 .store-section .section-divider{margin-top:18px}
}
@media(max-width:900px){
 .site-nav .nav-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 16px}
 .site-nav .nav-actions{grid-row:1;grid-column:2}
 .site-nav .brand{grid-column:1;grid-row:1;justify-self:start}
 .site-nav .nav-links{grid-column:1/-1;grid-row:2;justify-content:center;overflow-x:auto;width:100%;padding-bottom:0}
}

.category-card-backdrop{position:absolute;inset:-10%;width:120%;height:120%;max-width:none!important;object-fit:cover;filter:blur(18px);opacity:.32;pointer-events:none}
.category-cards .category-card-img{z-index:0}

header.hero h2,header.hero p{overflow-wrap:anywhere}
header.hero p{white-space:pre-line}

/* The category name sits outside the photo card. */
.category-cards .category-tile{display:block;min-width:0;text-decoration:none;color:var(--purple-dark);background:none;border:0}
.category-cards .category-tile .category-card{display:block;width:100%;aspect-ratio:4/5;padding:0;min-height:0}
.category-cards .category-caption{display:block;margin-top:10px;padding:0;text-align:center;font-size:16px;font-weight:700;line-height:1.5;color:var(--purple-dark);background:none;border:0;white-space:normal}
.category-cards .category-tile:focus-visible{outline:none}
.category-cards .category-tile:focus-visible .category-card{outline:3px solid #7c3aed;outline-offset:4px}
@media(max-width:600px){.category-cards .category-caption{font-size:14px;margin-top:8px}}

/* Match the promotional image and category grid to the product container. */
.store-section .wide-banner{max-width:1150px!important;margin-left:auto!important;margin-right:auto!important;padding:12px 15px 0}
.store-section .wide-banner img{display:block;width:100%;height:auto;max-width:100%;max-height:none;margin-inline:auto;object-fit:contain;border-radius:12px}
.store-section .category-cards{width:100%;max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
@media(max-width:900px){.store-section .category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.store-section .wide-banner{padding-top:10px}.store-section .wide-banner img{border-radius:8px}.store-section .category-cards{gap:12px}}

/* Fill the full banner width while retaining the approved shallow height. */
.store-section .wide-banner img{height:180px;max-height:180px;object-fit:fill;background:none}
@media(max-width:560px){.store-section .wide-banner img{height:auto;max-height:120px}}
