/* V244.16: shared category popular products and photo galleries. */
.au-category-page{background:#fff}
.au-category-title{display:flex;justify-content:space-between;align-items:center;padding:0 0 22px;gap:20px}
.au-category-page .au-category-title h1{font-size:29px;letter-spacing:-.8px;margin:0;color:#102b50!important}
.au-category-title>span{font-size:12px;color:#7c889a}
.au-category-popular-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:18px}
.au-category-popular-heading h2{font-size:21px;letter-spacing:-.35px;margin:0;color:#102b50}
.au-category-popular-heading>a{font-size:11px;font-weight:600;color:#245bd2;text-decoration:none}
.au-category-popular-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.au-category-page .au-category-compact{border-radius:16px;box-shadow:none}
.au-category-page .au-category-compact h3{font-size:14px;line-height:1.4;min-height:40px;margin-bottom:13px;letter-spacing:-.2px}
.au-category-page .au-category-compact .au-category-card-body{padding:16px}
.au-category-page .au-category-compact .au-category-card-action{min-height:40px;padding:7px 8px 7px 11px;font-size:11px;border-radius:10px}
.au-category-page .au-category-compact .au-category-card-arrow{width:24px;height:24px;font-size:15px}
.au-category-popular{padding-bottom:28px;border-bottom:1px solid #e7edf4}
.au-category-page .au-category-card-photo,.au-category-page .au-category-no-photo,.au-category-gallery,.au-category-photo-track,.au-category-photo{background:#fff}
.au-category-page .au-category-card-body{text-decoration:none;color:#102b50}
.au-category-gallery{position:relative;width:100%;border-bottom:1px solid #edf1f6}
.au-category-photo-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:4/3;overscroll-behavior-x:contain}
.au-category-photo-track::-webkit-scrollbar{display:none}
.au-category-photo{display:flex;align-items:center;justify-content:center;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start}
.au-category-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:16px;box-sizing:border-box;mix-blend-mode:multiply}
.au-category-gallery-prev,.au-category-gallery-next{position:absolute;top:calc(50% - 15px);width:30px;height:30px;border-radius:50%;border:1px solid #dce5ef;background:rgba(255,255,255,.95);color:#153e75;font:24px Arial;cursor:pointer;box-shadow:0 2px 6px #102b5010;display:grid;place-items:center;padding:0;line-height:1;z-index:2}
.au-category-gallery-prev{left:9px}.au-category-gallery-next{right:9px}
.au-category-gallery-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:5px;pointer-events:none}
.au-category-gallery-dots i{display:block;width:5px;height:5px;background:#c9d5e5;border-radius:50%}.au-category-gallery-dots i.is-current{width:15px;border-radius:4px;background:#245bd2}
.au-category-gallery button:disabled{opacity:.4;cursor:default}
.au-category-photo-track>.au-category-no-photo{display:flex;flex:0 0 100%;align-items:center;justify-content:center;min-width:0}

/* V244.65: keep all gallery controls below the photo. */
.au-category-card-controls{display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:3px 12px 7px;background:#fff;box-sizing:border-box}
.au-category-page .au-category-card-controls .au-category-gallery-dots{position:static;flex:1;display:flex;justify-content:center;gap:4px;min-width:0}
.au-category-card-controls .au-category-gallery-dots i{width:5px;height:5px}
.au-category-card-controls .au-category-gallery-dots i.is-current{width:14px;background:#346b58;border-radius:5px}
.au-category-page .au-category-card-controls .au-category-gallery-prev,.au-category-page .au-category-card-controls .au-category-gallery-next{position:static;width:26px;height:26px;font-size:19px;flex-shrink:0;background:#fff;border-color:#d8e4dd;box-shadow:none;color:#346b58}
.au-category-page .au-category-card .au-category-card-controls .au-category-3d{position:static;flex-shrink:0;background:#d92e32;border:1px solid #d92e32;border-radius:7px;color:#fff;font-family:inherit;font-size:12px;font-weight:700;line-height:1.4;padding:6px 9px;margin-left:3px;box-shadow:none;white-space:nowrap;cursor:pointer}
.au-category-page .au-category-card-controls .au-category-3d:hover{background:#bd2226}
.au-category-controls-space{flex:1}
.au-category-page .au-category-card{display:flex;flex-direction:column}
.au-category-page .au-category-card .au-category-card-body{display:flex;flex:1;flex-direction:column;padding:0 14px 14px}
.au-category-page .au-category-card .au-category-card-body h3{display:flex;flex:1;align-items:center;justify-content:center;text-align:center;min-height:76px;margin:0;padding:8px 2px;box-sizing:border-box}
.au-category-page .au-category-card .au-category-card-action{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;min-height:43px;border:1px solid #c9dbd0;border-radius:10px;background:#f2f7f4;color:#2d6550;font-size:14px;font-weight:650;box-shadow:none}
.au-category-page .au-category-card .au-category-card-arrow{background:#fff;border:1px solid #c5dacd;width:25px;height:25px;font-size:16px;color:#2d6550}
.au-category-page .au-category-card:hover .au-category-card-action{background:#e9f2ed;border-color:#b3cdbd}
.au-category-page .au-category-card:hover .au-category-card-arrow{background:#fff;color:#2d6550}
.au-category-card button:focus-visible{outline:2px solid #346b58;outline-offset:2px}
.au-card-3d-dialog{width:min(1000px,calc(100vw - 32px));max-width:1000px;padding:0;border:1px solid #dce5ef;border-radius:14px;color:#102b50;box-sizing:border-box;background:#fff}
.au-card-3d-dialog::backdrop{background:#071529b3}
.au-card-3d-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#f5f8fc}
.au-card-3d-head h2{font:600 18px/1.4 Arial,sans-serif;margin:0!important;letter-spacing:0}
.au-card-3d-head button{font:inherit;border:0;border-radius:8px;background:#e8eef7;padding:8px 12px;cursor:pointer}
.au-card-3d-stage{position:relative;isolation:isolate}.au-card-3d-stage iframe{display:block;width:100%;height:min(65vh,650px);min-height:260px;border:0;background:#f4f7fb}
.au-card-3d-watermark{position:absolute;top:18px;right:18px;width:clamp(140px,28%,280px);opacity:.23;mix-blend-mode:multiply;pointer-events:none;user-select:none}
.au-category-page .au-category-compact .au-category-3d{top:10px;right:10px;font-size:9px;padding:5px 7px}
@media(max-width:700px){.au-category-title h1{font-size:25px!important}.au-category-popular-heading h2{font-size:18px}.au-category-popular-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:10px}.au-category-popular-grid>article{flex:0 0 calc((100% - 12px)/2);scroll-snap-align:start}.au-category-popular-heading>a{font-size:10px}.au-category-photo img{padding:10px}.au-category-gallery-prev,.au-category-gallery-next{width:25px;height:25px;font-size:21px}.au-category-page .au-category-compact .au-category-card-body{padding:13px 12px}.au-category-page .au-category-compact h3{font-size:13px;min-height:54px}.au-category-title>span{font-size:10px}}

/* V244.19: popular products follow the product list and pagination. */
.au-category-page .au-category-popular.au-category-popular-bottom{margin-top:36px;padding-top:28px;padding-bottom:0;border-top:1px solid #e7edf4;border-bottom:0}
