/* Site template builder: editable category blocks, compact square portfolio and media dialog. */
body.aranu-public .builder-category-section{padding:20px;margin-block:var(--builder-gap,22px)}
.builder-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.builder-category-link{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:13px;border:1px solid var(--ui-line,var(--theme-line));border-radius:var(--builder-radius,18px);background:var(--ui-surface,var(--theme-surface));color:var(--ui-text,var(--theme-text));text-decoration:none;min-width:0;transition:.2s ease}
.builder-category-link:hover{transform:translateY(-2px);border-color:var(--ui-brand,var(--brand));box-shadow:0 12px 28px color-mix(in srgb,var(--ui-brand,var(--brand)) 14%,transparent)}
.builder-category-link>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--ui-brand-soft,var(--theme-surface-2));color:var(--ui-brand,var(--brand));grid-row:1/3}.builder-category-link>span svg{width:19px;height:19px}.builder-category-link strong{font-size:13px;line-height:1.6}.builder-category-link small{font-size:10px;color:var(--ui-muted,var(--theme-muted))}.builder-category-more{margin-top:14px;border-top:1px solid var(--ui-line,var(--theme-line));padding-top:12px}.builder-category-more summary{cursor:pointer;color:var(--ui-brand,var(--brand));font-weight:800;font-size:12px}
.builder-gallery{padding:20px;margin-block:var(--builder-gap,22px)}.builder-work-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.builder-work-filters a{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--ui-line,var(--theme-line));border-radius:999px;padding:7px 11px;color:var(--ui-muted,var(--theme-muted));background:var(--ui-surface,var(--theme-surface));text-decoration:none;font-size:11px;font-weight:800}.builder-work-filters a svg{width:15px;height:15px}.builder-work-filters a.is-active,.builder-work-filters a:hover{background:var(--ui-brand,var(--brand));border-color:var(--ui-brand,var(--brand));color:var(--ui-on-brand,#fff)}
.builder-work-grid{grid-template-columns:repeat(var(--work-columns,5),minmax(0,1fr))!important;gap:12px!important}.builder-work-card{min-width:0!important;border-radius:var(--builder-radius,18px)!important;background:var(--ui-surface,var(--theme-surface))!important;border:1px solid var(--ui-line,var(--theme-line))!important;overflow:hidden;box-shadow:none!important}.builder-work-open{display:block;text-decoration:none;color:inherit}.builder-work-card .portfolio-media{aspect-ratio:1/1!important;position:relative!important;overflow:hidden!important;background:var(--ui-soft,var(--theme-surface-2))!important}.builder-work-card .portfolio-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.builder-work-card:hover .portfolio-media img{transform:scale(1.045)}.builder-card-caption{display:grid;gap:2px;padding:9px 10px}.builder-card-caption strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ui-text,var(--theme-text))}.builder-card-caption small{font-size:10px;color:var(--ui-muted,var(--theme-muted));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.builder-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(20,18,26,.72);color:#fff;font-size:16px;box-shadow:0 7px 18px #0004}.builder-video-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:7px;color:var(--ui-brand,var(--brand));font-weight:900;background:linear-gradient(135deg,var(--ui-brand-soft,var(--theme-surface-2)),var(--ui-soft,var(--theme-surface)))}.builder-video-placeholder svg{width:30px;height:30px}.builder-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:20px}.builder-pagination a,.builder-pagination span{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border:1px solid var(--ui-line,var(--theme-line));border-radius:11px;background:var(--ui-surface,var(--theme-surface));color:var(--ui-brand,var(--brand));text-decoration:none;font-size:11px;font-weight:800}.builder-pagination span{color:var(--ui-muted,var(--theme-muted))}
.builder-work-dialog{width:min(900px,calc(100% - 24px));max-height:calc(100dvh - 24px);border:1px solid var(--ui-line,var(--theme-line));border-radius:24px;padding:0;overflow:auto;background:var(--ui-surface,var(--theme-surface));color:var(--ui-text,var(--theme-text));box-shadow:0 30px 100px #17121f66}.builder-work-dialog::backdrop{background:#17121f99;backdrop-filter:blur(5px)}.builder-dialog-close{position:absolute;z-index:2;inset-block-start:10px;inset-inline-end:10px;width:36px;height:36px;border:0;border-radius:50%;background:#17121fcc;color:#fff;font-size:24px;cursor:pointer}.builder-work-stage{min-height:240px;max-height:72dvh;display:grid;place-items:center;background:#121116}.builder-work-stage img,.builder-work-stage video{display:block;max-width:100%;max-height:72dvh;width:auto;height:auto;object-fit:contain}.builder-work-details{padding:20px}.builder-work-details>span{display:inline-flex;color:var(--ui-brand,var(--brand));font-size:11px;font-weight:800}.builder-work-details h2{margin:5px 0 6px;color:var(--ui-text,var(--theme-text))}.builder-work-details p{margin:0 0 14px;color:var(--ui-muted,var(--theme-muted));line-height:1.9;white-space:pre-wrap}
.builder-gallery .app-section-head>a{display:inline-flex;align-items:center;gap:5px}.builder-gallery .app-section-head>a svg{width:16px;height:16px}
@media(max-width:1100px){.builder-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-work-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){.builder-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.builder-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.builder-gallery{padding:14px}.builder-work-dialog{border-radius:18px}}
@media(max-width:430px){.builder-category-grid{grid-template-columns:1fr}.builder-card-caption{padding:7px}.builder-card-caption strong{font-size:11px}}
.admin-body .category-editor-list{display:grid;gap:8px}.admin-body .category-editor-row{display:grid;grid-template-columns:minmax(120px,1fr) 90px 150px auto;gap:8px;align-items:center;padding:9px;border:1px solid var(--admin-line,var(--ui-line));border-radius:12px;background:var(--admin-soft,var(--ui-soft))}.admin-body .category-editor-row label{font-size:11px}.admin-body .category-editor-row input,.admin-body .category-editor-row select{min-height:38px;padding:6px 8px}.admin-body .category-place-checks{display:flex;gap:7px;flex-wrap:wrap}.admin-body .category-place-checks label{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.admin-body .color-grid-builder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-body .color-grid-builder label,.admin-body .section-color-grid label{display:grid;gap:6px;font-size:11px}.admin-body .color-grid-builder input[type=color],.admin-body .section-color-grid input[type=color]{width:100%;height:38px;padding:2px}.admin-body .section-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-body .section-color-grid label{grid-template-columns:1fr auto auto;align-items:center;padding:8px;border:1px solid var(--admin-line,var(--ui-line));border-radius:10px}.admin-body .section-color-grid label>span{font-size:11px}.admin-body .media-admin-video-cover{position:relative;aspect-ratio:1/1;background:#16131a;overflow:hidden}.admin-body .media-admin-video-cover img{width:100%;height:100%;object-fit:cover}.admin-body .media-admin-video-cover span{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);padding:8px 11px;border-radius:999px;background:#111c;color:#fff;font-weight:800;font-size:11px}@media(max-width:760px){.admin-body .category-editor-row{grid-template-columns:1fr 1fr}.admin-body .category-editor-row>strong{grid-column:1/-1}.admin-body .category-place-checks{grid-column:1/-1}.admin-body .color-grid-builder,.admin-body .section-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.builder-category-icon{width:28px;height:28px;display:inline-grid!important;place-items:center;border-radius:9px;background:var(--ui-brand-soft,var(--theme-surface-2));color:var(--ui-brand,var(--brand));margin-bottom:5px}.builder-category-icon svg{width:16px;height:16px}

/* Transparent promotional artwork in public site headers. */
.public-app-header{position:sticky;isolation:isolate;overflow:hidden}
.public-app-header .header-inner{position:relative;z-index:1}
.site-header-art{position:absolute;z-index:0;inset-inline-start:clamp(8px,4vw,52px);top:50%;width:clamp(150px,22vw,260px);height:74px;transform:translateY(-50%);display:flex;align-items:center;pointer-events:none;opacity:.96}
.site-header-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center;filter:drop-shadow(0 7px 12px rgba(0,0,0,.12))}
@media(max-width:860px){.site-header-art{width:clamp(112px,25vw,180px);height:62px;inset-inline-start:8px}.public-app-header .header-inner{gap:10px}}
@media(max-width:560px){.site-header-art{width:116px;height:50px;opacity:.82}.public-app-header .brand{max-width:48%}.public-app-header .brand small{display:none}}

/* 1.2.56 — match the reference layout: five fitted cards and no white hero fade. */
body.aranu-public :is(.public-service-category-grid,.public-service-visual-grid,.public-service-item-grid,.public-product-grid,.premium-team-grid){grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
body.aranu-public :is(.public-service-category-media,.public-service-item-media,.public-product-media){overflow:hidden!important;background:var(--ui-soft,var(--theme-surface-2))!important}
body.aranu-public :is(.public-service-category-media,.public-service-item-media,.public-product-media) img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
body.aranu-public .builder-category-link>span,body.aranu-public .builder-category-icon,body.aranu-public .builder-category-icon-round{border-radius:50%!important}
body.aranu-public :is(.premium-customer-hero,.customer-app-hero):before{background-image:var(--salon-cover,none)!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;opacity:1!important}
body.aranu-public .builder-work-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
body.aranu-public .builder-work-card .portfolio-media{aspect-ratio:1!important;height:auto!important;min-height:0!important}
body.aranu-public .builder-work-card .portfolio-media img{object-fit:contain!important;object-position:center!important;background:var(--ui-soft,var(--theme-surface-2))!important;transform:none!important}
body.aranu-public .builder-work-card{min-width:0!important;overflow:hidden!important}
@media(max-width:1100px){body.aranu-public :is(.public-service-category-grid,.public-service-visual-grid,.public-service-item-grid,.public-product-grid,.premium-team-grid){grid-template-columns:repeat(4,minmax(0,1fr))!important}body.aranu-public .builder-work-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:800px){body.aranu-public :is(.public-service-category-grid,.public-service-visual-grid,.public-service-item-grid,.public-product-grid,.premium-team-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}body.aranu-public .builder-work-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){body.aranu-public :is(.public-service-category-grid,.public-service-visual-grid,.public-service-item-grid,.public-product-grid,.premium-team-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}body.aranu-public .builder-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}}

/* Theme-specific selectors use stronger specificity; keep the cover visible there too. */
body.aranu-ui.aranu-public :is(.premium-customer-hero,.customer-app-hero):before{z-index:0!important;background:var(--salon-cover,none) center/cover no-repeat!important;opacity:1!important}
body.aranu-ui.aranu-public :is(.premium-customer-hero,.customer-app-hero)>*{position:relative;z-index:1}
body.aranu-ui.aranu-public .home-hero.has-cover:after{background:var(--cover,var(--salon-cover,none)) center/cover no-repeat!important;opacity:1!important}

/* Customer booking/reference page uses the studio-* cards. */
body.aranu-ui[data-customer-reference] .studio-services{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important}
body.aranu-ui[data-customer-reference] .studio-service{min-width:0!important}
body.aranu-ui[data-customer-reference] .studio-service-media{aspect-ratio:1/1!important;overflow:hidden!important}
body.aranu-ui[data-customer-reference] .studio-service-media img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;background:var(--ui-soft,#f4f0ec)!important}
body.aranu-ui[data-customer-reference] .studio-next-media{inset:0!important;z-index:0!important}
body.aranu-ui[data-customer-reference] .studio-next-media:after{display:none!important;background:none!important}
body.aranu-ui[data-customer-reference] .studio-next-copy{position:relative!important;z-index:2!important}
@media(max-width:1000px){body.aranu-ui[data-customer-reference] .studio-services{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){body.aranu-ui[data-customer-reference] .studio-services{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}}
@media(max-width:520px){body.aranu-ui[data-customer-reference] .studio-services{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
