/* Category navigation: compact image index, visually separate from products. */
.andalux-public #productGrid .category-navigation-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px;width:100%;padding:12px 0 24px}
.andalux-public #productGrid .category-navigation-grid:has(>.category-card:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.andalux-public #productGrid .category-navigation-grid .category-card{display:flex!important;flex-direction:column!important;align-items:center;gap:12px;min-height:0!important;height:auto!important;padding:12px 8px!important;border:0!important;border-radius:16px!important;background:transparent!important;box-shadow:none!important;cursor:pointer;overflow:visible;transition:background .18s}
.andalux-public #productGrid .category-card:hover{background:#edf1f7!important}
.andalux-public #productGrid .category-card:focus-visible{outline:3px solid #697b9d;outline-offset:3px}
.andalux-public #productGrid .category-card .category-image{width:154px!important;height:154px!important;min-height:154px!important;max-height:154px!important;aspect-ratio:1!important;border-radius:50%!important;padding:14px!important;border:5px solid #e7edf4!important;background:#fff!important;box-sizing:border-box;overflow:hidden;display:flex;align-items:center;justify-content:center}
.andalux-public #productGrid .category-card .category-image img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;mix-blend-mode:normal!important}
.andalux-public #productGrid .category-card .category-body{padding:0!important;display:flex!important;flex-direction:column;align-items:center;gap:4px;min-height:0!important;text-align:center;width:100%}
.andalux-public #productGrid .category-card .category-eyebrow{display:none}
.andalux-public #productGrid .category-card h3{font-size:17px!important;font-weight:650;line-height:1.5!important;color:#25234f;margin:0!important;min-height:0!important;height:auto!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset}
.andalux-public #productGrid .category-card .category-card-link{display:flex;align-items:center;justify-content:center;gap:7px;color:#738098;font-size:11px;margin-top:2px}
.andalux-public #productGrid .category-arrow{font-size:17px;color:#526785}
@media(max-width:720px){.andalux-public #productGrid .category-navigation-grid,.andalux-public #productGrid .category-navigation-grid:has(>.category-card:nth-child(6):last-child){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 8px}.andalux-public #productGrid .category-card .category-image{width:132px!important;height:132px!important;min-height:132px!important;max-height:132px!important;padding:10px!important}.andalux-public #productGrid .category-card h3{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.andalux-public #productGrid .category-card{transition:none!important}}

/* Same backdrop for all card photographs, including preview; no media rewritten. */
.andalux-public{--catalog-photo-background:linear-gradient(135deg,#f3f6fa,#e8eef5)}
.andalux-public #productGrid .product-card .product-image,.andalux-public .product-dialog .dialog-image{background:var(--catalog-photo-background)!important;isolation:isolate}
.andalux-public #productGrid .product-card .product-image img,.andalux-public .product-dialog .dialog-image img{mix-blend-mode:normal!important}

/* Preserve the actual white material: backdrop stays behind, never multiplies into pixels. */
.andalux-public #productGrid .product-card:not(.category-card) .product-image{--image-gap:0px;padding:0!important;box-sizing:border-box}
.andalux-public #productGrid .product-card:not(.category-card) .product-image img{border-radius:0!important}

/* The legacy absolute image inset must not overlap a circular navigation border. */
.andalux-public #productGrid .category-card .category-image{position:relative!important;flex-shrink:0!important;border:4px solid #dfe7f1!important}
.andalux-public #productGrid .category-card .category-image::before{content:none!important;display:none!important}
.andalux-public #productGrid .category-card .category-image>img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border-radius:0!important;flex:0 0 auto}
.andalux-public #productGrid .category-card .category-card-link{min-height:34px;box-sizing:border-box;padding:6px 14px;margin-top:8px;border:1px solid #25284a;border-radius:6px;background:linear-gradient(#474d76,#2b2e52);color:#fff;font-size:12px;font-weight:650;box-shadow:0 3px 0 #191c38,inset 0 1px 0 #ffffff45;text-shadow:0 1px 1px #0003}
.andalux-public #productGrid .category-card .category-arrow{color:#fff}
.andalux-public #productGrid .category-card:active .category-card-link{transform:translateY(2px);box-shadow:0 1px 0 #191c38,inset 0 1px 0 #ffffff25}
.andalux-public #productGrid .product-card:not(.category-card) .product-image{--image-gap:0px;border:0!important}
.andalux-public #productGrid .product-card:not(.category-card) .product-image>img{border-radius:0!important}

/* Alpha assets need a transparent image element as well as transparent pixels. */
.andalux-public #productGrid .product-card .product-image>img,.andalux-public .product-dialog .dialog-image>img{background:transparent!important}
.andalux-public .product-dialog .dialog-image{--image-gap:0px}

/* No category frame or hover animation. Only the three native buttons navigate. */
.andalux-public #productGrid .category-navigation-grid .category-card,.andalux-public #productGrid .category-navigation-grid .category-card:hover{background:transparent!important;box-shadow:none!important;transform:none!important;transition:none!important;cursor:default}
.andalux-public #productGrid .category-card .category-image,.andalux-public #productGrid .category-card .category-image:hover{width:180px!important;height:154px!important;min-height:154px!important;max-height:154px!important;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;outline-offset:3px;transition:none!important;cursor:pointer}
.andalux-public #productGrid .category-card .category-name,.andalux-public #productGrid .category-card .category-name:hover{appearance:none;border:0;padding:0;margin:0;background:transparent!important;box-shadow:none!important;font:inherit;color:inherit;cursor:pointer;transform:none;transition:none}
.andalux-public #productGrid .category-card .category-card-link,.andalux-public #productGrid .category-card:hover .category-card-link{appearance:none;background:linear-gradient(#fff,#fafafa)!important;border:1px solid #e0e4ea;border-radius:7px;color:#35394d;font-size:13px;font-weight:650;padding:8px 18px;min-height:37px;box-shadow:0 3px 0 #d7dce3,0 4px 7px #26324a10,inset 0 1px 0 #fff;text-shadow:0 1px 0 #fff,0 -1px 0 #0002;cursor:pointer;transition:none!important;transform:none}
.andalux-public #productGrid .category-card:active .category-card-link{transform:none}
.andalux-public #productGrid .category-card .category-card-link:active{transform:translateY(2px);box-shadow:0 1px 0 #d7dce3,inset 0 1px 2px #26324a15}
.andalux-public #productGrid .category-target:focus-visible{outline:2px solid #6f819d;outline-offset:4px}
@media(max-width:720px){.andalux-public #productGrid .category-card .category-image{width:148px!important;height:132px!important;min-height:132px!important;max-height:132px!important}}

/* Sculpted white capsule, fine inset rim and engraved lettering; press only. */
.andalux-public #productGrid .category-card .category-card-link,.andalux-public #productGrid .category-card:hover .category-card-link{position:relative;isolation:isolate;min-width:142px;min-height:40px;padding:10px 24px;border:1px solid #d5dce6;border-radius:999px;background:linear-gradient(180deg,#fff 0%,#fff 40%,#eef1f5 100%)!important;color:#33354d;letter-spacing:.1px;box-shadow:inset 0 2px 1px #fff,inset 0 -2px 2px #b8c2cf66,0 3px 0 #c4ccd8,0 5px 0 #fff,0 7px 9px #27375418;text-shadow:0 1px 0 #fff,0 -1px 0 #17213d35;font-weight:700;transform:none!important;transition:none!important}
.andalux-public #productGrid .category-card .category-card-link::before{content:"";position:absolute;inset:3px;border:1px solid #ffffffdb;border-bottom-color:#d7dee8;border-radius:inherit;pointer-events:none}
.andalux-public #productGrid .category-card .category-card-link:active{transform:translateY(2px)!important;box-shadow:inset 0 1px 3px #26324a22,0 1px 0 #c4ccd8,0 2px 0 #fff}

/* Source-preserving presentation: rotate the complete existing photo, never its profile. */
.andalux-public #productGrid .category-card .category-image{overflow:visible!important}
.andalux-public #productGrid .category-card .category-photo-stage{position:relative;display:block;width:100%;height:100%;pointer-events:none}
.andalux-public #productGrid .category-card .category-photo-stage>.category-photo-item{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:rotate(var(--category-photo-angle,0deg)) scale(var(--category-photo-scale,1)) scaleY(var(--category-photo-flip,1));transform-origin:50% 50%;background:transparent!important;border:0!important;transition:none!important}
.andalux-public #productGrid .category-card .category-photo-multiple>.category-photo-item{width:46%!important;height:49%!important;inset:auto!important;transform:none!important}
.andalux-public #productGrid .category-photo-multiple>.category-photo-item:nth-child(1){left:4%;top:3%;z-index:1}
.andalux-public #productGrid .category-photo-multiple>.category-photo-item:nth-child(2){left:46%;top:5%;z-index:2}
.andalux-public #productGrid .category-photo-multiple>.category-photo-item:nth-child(3){left:24%;top:29%;z-index:3}
.andalux-public #productGrid .category-photo-multiple>.category-photo-item:nth-child(4){left:2%;top:54%;z-index:4}
.andalux-public #productGrid .category-photo-multiple>.category-photo-item:nth-child(5){left:47%;top:54%;z-index:5}

/* Owner accepted Roman cutout: horizontal flip only, keep physical top/bottom. */
.andalux-public #productGrid .category-card .category-photo-stage>.category-photo-item[data-uniform-source="/assets/products/transparent-categories-v109z76/RNKR.webp"],.andalux-public #productGrid .category-card .category-photo-stage>.category-photo-item[src="/assets/products/transparent-categories-v109z76/RNKR.webp"]{transform:scaleX(-1)!important}

/* Same owner-approved Roman kit image and mirror as the home cover. */
.andalux-public .product-card:not(.category-card) img[data-uniform-source="/assets/products/transparent-categories-v109z76/RNKR.webp"],.andalux-public #dialogImage[data-uniform-source="/assets/products/transparent-categories-v109z76/RNKR.webp"]{transform:scaleX(-1)}

/* Preserve the same real accordion frame orientation approved on home. */
.andalux-public .product-card:not(.category-card) img[data-uniform-source="/assets/products/transparent-categories-v109z67/ACFR01-WH.webp"],.andalux-public #dialogImage[data-uniform-source="/assets/products/transparent-categories-v109z67/ACFR01-WH.webp"]{transform:rotate(-42.73deg) scale(1.3)}
