.er-product-studio{--er-purple:#302862;--er-dark:#191630;background:#fff;color:var(--er-dark);font-family:Manrope,sans-serif}
.er-product-studio *:not(.erkan-theme-arrow){font-family:Manrope,sans-serif}
.er-product-studio .er-catalog-product-wrap{max-width:1440px;padding:45px 40px 100px;margin:auto}
.er-studio-intro{max-width:920px;padding:24px 0 42px}.er-studio-intro h1{font-size:clamp(32px,4vw,58px);line-height:1.14;letter-spacing:-1.7px;color:#211c46;margin:15px 0 22px}.er-studio-intro p{max-width:760px;font-size:17px;line-height:1.85;color:#6e6b7b}
.er-studio-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px;align-items:start}.er-studio-grid>*,.er-studio-editorial>*{min-width:0}
.er-studio-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:24px}.er-studio-actions .er-catalog-button{flex:1;justify-content:space-between;min-height:54px;border-radius:0;font-size:14px;padding:15px 22px}
.er-studio-note{padding:27px 30px;border-left:2px solid #302862;background:#f5f5f8;margin:25px 0}.er-studio-note span{font-size:11px;letter-spacing:1.5px;color:#302862;font-weight:700}.er-studio-note p{font-size:14px;line-height:1.9;margin:12px 0 0;color:#6b6878}
.er-product-studio .hr-size-picker{margin-top:0;border-radius:0;box-shadow:none;border-color:#e3e1ea}.er-product-studio .hr-spec-head{background:#f1f0f5}.er-product-studio .hr-spec-mark{border-radius:0;background:#e8e5f0;color:#302862}
.er-product-studio .hr-spec-table th{font-size:12px!important;width:44%}.er-product-studio .hr-spec-table td{font-size:13px!important}.er-product-studio .hr-spec-table th,.er-product-studio .hr-spec-table td{padding:14px 20px!important}
.er-product-studio select,.er-product-studio input,.er-product-studio button{max-width:100%;font-family:Manrope,sans-serif!important}.er-product-studio select:focus-visible,.er-product-studio input:focus-visible,.er-product-studio button:focus-visible{outline:2px solid #302862;outline-offset:3px}
.er-product-studio .hr-premium-gallery,.er-product-studio .hr-wall-planner,.er-product-studio .hr-color-preview,.er-product-studio .hr-parts-panel{border-radius:0!important;box-shadow:none!important}.er-product-studio .hr-gallery-stage{background:#f2f2f5}.er-product-studio .hr-gallery-open{height:560px!important}.er-product-studio .hr-gallery-caption{border-bottom:2px solid #302862}.er-product-studio .hr-gallery-top{background:#f3f2f7}.er-product-studio .hr-gallery-top span{letter-spacing:1.2px;color:#302862}
.er-product-studio .hr-wall-planner{margin-top:28px!important;border-color:#dedbe8}.er-product-studio .hr-wall-planner summary{background:#211c46;color:white!important}.er-product-studio .hr-wall-planner summary *{color:inherit!important}.er-product-studio .hr-wall-content{background:#f8f8fa}.er-product-studio .hr-wall-calculate,.er-product-studio .hr-wall-offer{background:#302862!important;border-color:#302862!important;border-radius:0!important}
.er-product-studio .hr-export-actions button{border-radius:0!important}.er-product-studio .hr-gallery-dialog{max-height:90dvh}.er-product-studio .hr-gallery-original{display:none!important}
.er-product-studio button[class^="hr-"]::before,.er-product-studio button[class^="hr-"]::after{content:none!important;display:none!important}
.er-product-studio .hr-spec-head{background:#211c46!important}.er-product-studio .hr-spec-head h2{color:#fff!important}.er-product-studio .hr-spec-head small{color:#c4bddc!important}
.er-product-studio .hr-gallery-expand svg,.er-product-studio .hr-gallery-arrows svg{display:block!important;color:#302862!important;stroke:currentColor;fill:none;width:20px;height:20px}
.er-product-studio .woocommerce-product-gallery__image img{width:100%;max-height:580px;object-fit:contain}.er-product-studio .hr-gallery-dialog button::before,.er-product-studio .hr-gallery-dialog button::after{display:none!important}
.er-studio-editorial{display:grid;grid-template-columns:1.15fr 1fr;gap:70px;padding-top:25px}.er-studio-editorial h2{font-size:30px;line-height:1.3;color:#211c46}.er-studio-editorial p{font-size:15px;line-height:1.9;color:#6f6a79}.er-studio-editorial table th,.er-studio-editorial table td{padding:15px 12px;border-bottom:1px solid #e4e2e9;font-size:14px;text-align:left}.er-studio-editorial table{width:100%}.er-studio-editorial section{scroll-margin-top:120px}.er-studio-placeholder{padding:100px 25px;text-align:center;background:#f3f2f7;color:#6d6879}
@media(max-width:1100px){.er-studio-grid{gap:25px}.er-product-studio .er-catalog-product-wrap{padding:30px 25px 60px}.er-product-studio .hr-gallery-open{height:460px!important}.er-studio-editorial{gap:30px}.er-product-studio .hr-spec-table th,.er-product-studio .hr-spec-table td{padding:12px!important}}
@media(max-width:767px){.er-product-studio .er-catalog-product-wrap{padding:25px 18px 55px}.er-studio-intro{padding:15px 0 28px}.er-studio-intro h1{font-size:33px;letter-spacing:-1px}.er-studio-intro p{font-size:14px}.er-studio-grid,.er-studio-editorial{grid-template-columns:1fr;gap:30px}.er-product-studio .hr-gallery-open{height:420px!important}.er-studio-actions{gap:10px}.er-studio-actions .er-catalog-button{padding:13px 14px;font-size:13px;min-height:48px}.er-studio-note{padding:20px;margin-bottom:0}.er-studio-editorial h2{font-size:26px}.er-product-studio .hr-wall-row{min-width:0}.er-product-studio .hr-spec-table{table-layout:fixed}.er-product-studio .hr-gallery-dialog{width:calc(100vw - 20px);margin:auto;max-height:92dvh}}
@media(prefers-reduced-motion:reduce){.er-product-studio *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.er-product-studio .hr-gallery-thumbs button::before,.er-product-studio .hr-gallery-thumbs button::after{content:none!important;display:none!important}
/* Shared Industrium surface for product specifications and planning. */
.er-product-studio{--er-panel:#f5f4f8;--er-line:#dedbe8;--er-muted:#706b7d;--er-ease:cubic-bezier(.22,.61,.36,1)}
.er-product-studio :is(.hr-size-picker,.hr-wall-planner){border:1px solid var(--er-line)!important;border-top:3px solid #302862!important;background:#fff;box-shadow:0 12px 32px #19163008!important;overflow:hidden}
.er-product-studio :is(.hr-spec-head,.hr-wall-planner>summary){min-height:100px;padding:24px!important;background:#211c46!important;border:0!important;gap:16px;color:#fff!important}
.er-product-studio :is(.hr-spec-head h2,.hr-wall-planner>summary strong){font:600 21px/1.4 Manrope,sans-serif!important;letter-spacing:-.4px!important;color:#fff!important}
.er-product-studio :is(.hr-spec-head small,.hr-wall-planner>summary small){font:600 10px/1.6 Manrope,sans-serif!important;letter-spacing:1.5px!important;color:#c8c1dc!important}
.er-product-studio :is(.hr-spec-mark,.hr-wall-icon){display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:#ffffff0d!important;border:1px solid #ffffff26;border-radius:0!important;color:#e3dff0!important}
.er-product-studio .hr-wall-planner>summary{transition:background .35s var(--er-ease)}
.er-product-studio .hr-wall-planner>summary:hover{background:#302862!important}
.er-product-studio .hr-wall-planner>summary>svg{transition:transform .4s var(--er-ease)}
.er-product-studio .hr-wall-planner[open]>summary>svg{transform:rotate(180deg)}
.er-product-studio .hr-wall-planner[open]>.hr-wall-content{animation:er-plan-reveal .45s var(--er-ease) both}
.er-product-studio .hr-wall-content{padding:24px!important;background:#f5f4f8!important}
.er-product-studio .hr-spec-table :is(th,td){border-bottom:1px solid #ebe8f0!important;background:#fff!important;transition:background .25s}
.er-product-studio .hr-spec-table tr:hover>:is(th,td){background:#faf9fc!important}
.er-product-studio .hr-spec-table th{color:#706b7d!important;font-size:13px!important}
.er-product-studio .hr-spec-table td{color:#302862!important}
.er-product-studio :is(.hr-size-picker,.hr-wall-planner) :is(select,input:not([type=color]):not([type=checkbox]),textarea){min-height:44px;border:1px solid #dedbe8!important;border-radius:0!important;background-color:#faf9fc!important;color:#302862!important;font:500 13px/1.5 Manrope,sans-serif!important;box-shadow:none!important;transition:border-color .3s,background-color .3s,box-shadow .3s!important}
.er-product-studio :is(.hr-size-picker,.hr-wall-planner) :is(select,input,textarea):focus-visible{outline:2px solid #9687b744;outline-offset:2px;border-color:#786798!important;box-shadow:0 0 0 3px #30286208!important;background-color:#fff!important}
.er-product-studio :is(.hr-wall-entry,.hr-steel-parts,.hr-color-well,.hr-share-panel){background:#fff!important;border:1px solid #dedbe8!important;border-radius:0!important;box-shadow:none!important}
.er-product-studio .hr-wall-entry{margin-bottom:18px;padding:20px!important;border-left:2px solid #a89abd!important}
.er-product-studio :is(.hr-wall-entry-head,.hr-parts-heading){color:#302862!important;border-color:#e7e3ef!important}
.er-product-studio :is(.hr-wall-entry-head strong,.hr-parts-heading strong,.hr-color-heading){font-weight:600!important;color:#302862!important}
.er-product-studio :is(.hr-wall-fields label,.hr-wall-mode-label,.hr-steel-parts label,.hr-color-note-label){color:#625a74!important;font-size:12px!important;line-height:1.7!important}
.er-product-studio :is(.hr-wall-content>p,.hr-wall-help,.hr-parts-rule,.hr-color-disclaimer){color:#706b7d!important;line-height:1.85!important}
.er-product-studio :is(.hr-wall-help,.hr-parts-rule){font-size:11px!important}
.er-product-studio :is(.hr-wall-calculate,.hr-wall-offer,.hr-export-actions button){min-height:50px;border:1px solid #302862!important;border-radius:0!important;background:#302862!important;color:#fff!important;box-shadow:0 5px 15px #3028620a!important;font:600 13px/1.5 Manrope,sans-serif!important;transition:background .35s,box-shadow .35s!important;transform:none!important}
.er-product-studio :is(.hr-wall-calculate,.hr-wall-offer,.hr-export-actions button):hover{background:#211c46!important;box-shadow:0 7px 20px #30286222!important;transform:none!important}
.er-product-studio :is(.hr-wall-add,.hr-export-actions .hr-export-share){border:1px solid #bcb2d0!important;background:#fff!important;color:#302862!important;border-radius:0!important;min-height:44px;transition:background .3s,border-color .3s!important}
.er-product-studio :is(.hr-wall-add,.hr-export-actions .hr-export-share):hover{background:#efecf5!important;border-color:#302862!important;color:#302862!important}
.er-product-studio :is(.hr-parts-totals>div,.hr-wall-parts>div){background:#f4f1f8!important;border:1px solid #e1dbea!important;border-radius:0!important;color:#302862!important}
.er-product-studio :is(.hr-parts-totals strong,.hr-wall-parts strong,.hr-wall-summary,.hr-parts-status){color:#302862!important}
.er-product-studio .hr-color-preview{background:#f5f4f8!important;border:1px solid #e7e2ef!important}
.er-product-studio .hr-wall-drawing{border:1px solid #dedbe8;background:#fff;border-radius:0!important}
.er-product-studio .hr-wall-result:not([hidden]){animation:er-plan-reveal .45s var(--er-ease) both}
@keyframes er-plan-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Gallery controls: keep SVG strokes in sync with every interaction state. */
.er-product-studio .hr-premium-gallery :is(.hr-gallery-arrows button,.hr-gallery-expand,.hr-gallery-modalstage>button,.hr-gallery-modalbar>button){display:grid!important;place-items:center;width:46px;height:46px;min-width:46px;min-height:46px;padding:10px!important;border:1px solid #d8d3e5!important;border-radius:3px!important;background:#fff!important;color:#302862!important;box-shadow:0 4px 14px #211c4608!important;cursor:pointer;transform:none!important;transition:background .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease!important}
.er-product-studio .hr-premium-gallery :is(.hr-gallery-arrows button,.hr-gallery-expand,.hr-gallery-modalstage>button,.hr-gallery-modalbar>button):is(:hover,:focus-visible){color:#fff!important;background:#302862!important;border-color:#302862!important;box-shadow:0 6px 18px #211c4626!important}
.er-product-studio .hr-premium-gallery :is(.hr-gallery-arrows button,.hr-gallery-expand,.hr-gallery-modalstage>button,.hr-gallery-modalbar>button):focus-visible{outline:2px solid #9b90bc!important;outline-offset:3px}
.er-product-studio .hr-premium-gallery :is(.hr-gallery-arrows button,.hr-gallery-expand,.hr-gallery-modalstage>button,.hr-gallery-modalbar>button) svg{display:block!important;width:22px!important;height:22px!important;color:inherit!important;stroke:currentColor!important;fill:none!important;stroke-width:1.7!important;stroke-linecap:round;stroke-linejoin:round;opacity:1!important;visibility:visible!important;transition:transform .3s ease!important}
.er-product-studio .hr-premium-gallery :is(.hr-gallery-arrows button,.hr-gallery-expand,.hr-gallery-modalstage>button,.hr-gallery-modalbar>button) svg *{stroke:currentColor!important;fill:none!important;opacity:1!important;visibility:visible!important}
.er-product-studio .hr-premium-gallery .hr-gallery-prev:hover svg{transform:translateX(-2px)}
.er-product-studio .hr-premium-gallery .hr-gallery-next:hover svg{transform:translateX(2px)}
.er-product-studio .hr-premium-gallery .hr-gallery-arrows{gap:10px}
.er-product-studio .hr-premium-gallery .hr-gallery-modalstage{grid-template-columns:46px minmax(0,1fr) 46px;gap:12px;padding:20px}
@media(max-width:767px){.er-product-studio .hr-premium-gallery .hr-gallery-modalstage{grid-template-columns:44px minmax(0,1fr) 44px;gap:2px;padding:8px}.er-product-studio .hr-premium-gallery :is(.hr-gallery-arrows button,.hr-gallery-expand,.hr-gallery-modalstage>button,.hr-gallery-modalbar>button){width:44px;height:44px;min-width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.er-product-studio .hr-premium-gallery button,.er-product-studio .hr-premium-gallery button svg{transition:none!important;transform:none!important}}
@media(max-width:767px){.er-product-studio :is(.hr-spec-head,.hr-wall-planner>summary){padding:20px 16px!important;min-height:90px;gap:12px}.er-product-studio :is(.hr-spec-head h2,.hr-wall-planner>summary strong){font-size:18px!important}.er-product-studio .hr-wall-content{padding:16px!important}.er-product-studio .hr-wall-entry{padding:16px!important}.er-product-studio .hr-spec-table :is(th,td){padding:12px 10px!important}.er-product-studio .hr-wall-fields{gap:14px!important}}
@media(prefers-reduced-motion:reduce){.er-product-studio .hr-wall-planner[open]>.hr-wall-content,.er-product-studio .hr-wall-result:not([hidden]){animation:none!important}}

/* Product export and sharing */
.er-product-studio .hr-product-export {
    container: erkan-export / inline-size;
    box-sizing: border-box;
    min-width: 0;
    margin: 8px 0 24px;
    padding: clamp(12px, 2vw, 18px);
    border: 1px solid #e5e0ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px #211c460b;
}

.er-product-studio .hr-product-export .hr-export-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 10px;
}

.er-product-studio .hr-product-export :is(.hr-export-actions button, .hr-share-links > a, .hr-share-links > button) {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font: 650 13px/1.4 Manrope, sans-serif !important;
    text-align: center;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .2s, border-color .2s, color .2s !important;
}

.er-product-studio .hr-product-export .hr-export-actions button {
    min-height: 50px;
}

.er-product-studio .hr-product-export :is(.hr-export-share, .hr-share-links > a, .hr-share-links > button) {
    border: 1px solid #ded8ea !important;
    background: #fff !important;
    color: #302862 !important;
}

.er-product-studio .hr-product-export :is(.hr-export-share[aria-expanded="true"], .hr-export-share:hover, .hr-share-links > a:hover, .hr-share-links > button:hover) {
    border-color: #bfb2d8 !important;
    background: #f2eef8 !important;
    color: #211c46 !important;
}

.er-product-studio .hr-product-export :is(button, .hr-share-links a)::before,
.er-product-studio .hr-product-export :is(button, .hr-share-links a)::after {
    content: none !important;
    display: none !important;
}

.er-product-studio .hr-product-export svg {
    position: static !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: inherit !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7;
    transform: none !important;
}

.er-product-studio .hr-product-export svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
}

.er-product-studio .hr-product-export :is(button, a):focus-visible {
    outline: 2px solid #7963a5 !important;
    outline-offset: 2px;
}

.er-product-studio .hr-product-export .hr-share-panel {
    margin: 14px 0 0;
    padding: 14px 0 0;
    border: 0 !important;
    border-top: 1px solid #e5e0ee !important;
}

.er-product-studio .hr-product-export .hr-share-panel > strong {
    display: block;
    color: #211c46;
    font: 700 15px/1.5 Manrope, sans-serif;
}

.er-product-studio .hr-product-export .hr-share-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 9px;
}

.er-product-studio .hr-product-export .hr-share-panel > small,
.er-product-studio .hr-product-export .hr-export-status {
    color: #625a74 !important;
    font: 500 12px/1.6 Manrope, sans-serif !important;
}

.er-product-studio .hr-product-export .hr-export-ready {
    font-size: 12px;
    text-decoration: underline;
}

@container erkan-export (max-width: 480px) {
    .er-product-studio .hr-product-export .hr-share-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container erkan-export (max-width: 330px) {
    .er-product-studio .hr-product-export .hr-export-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .er-product-studio .hr-product-export .hr-share-links :is(a, button) {
        padding-inline: 7px !important;
        gap: 5px;
        font-size: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .er-product-studio .hr-product-export :is(button, a) {
        transition: none !important;
    }
}

/* Gallery autoplay control */
.er-product-studio .hr-gallery-top .hr-gallery-auto {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    min-width: 44px;
    padding: 6px 10px !important;
    border: 1px solid #e5e0ee !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #302862 !important;
    font: 650 11px/1.2 Manrope, sans-serif !important;
    text-transform: none !important;
}

.er-product-studio .hr-gallery-top .hr-gallery-auto:is(:hover, :focus-visible) {
    border-color: #bfb2d8 !important;
    background: #f2eef8 !important;
}

.er-product-studio .hr-gallery-top .hr-gallery-auto::before,
.er-product-studio .hr-gallery-top .hr-gallery-auto::after {
    display: none !important;
}

/* Product planner and fullscreen gallery */
.er-product-studio .hr-wall-planner .hr-wall-content {
    padding: clamp(14px, 3vw, 28px) !important;
    background: #f7f6fa !important;
}
.er-product-studio .hr-wall-planner .hr-wall-entry {
    padding: clamp(14px, 3vw, 22px) !important;
    border-radius: 8px !important;
    border-inline-start: 2px solid #78699e !important;
}
.er-product-studio .hr-wall-planner .hr-wall-entry-head strong {
    font-weight: 750 !important;
}
.er-product-studio .hr-wall-planner .hr-wall-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}
.er-product-studio .hr-wall-planner :is(input[type=number], select) {
    min-width: 0;
    width: 100%;
    border-radius: 5px !important;
}
.er-product-studio .hr-wall-planner .hr-wall-measure-note {
    margin: 16px 0 0;
    padding: 9px 12px;
    border-inline-start: 2px solid #a99ac5;
    background: #f5f2fa;
    color: #4e426b;
    font: 600 12px/1.65 Manrope, sans-serif;
}
.er-product-studio .hr-wall-planner .hr-wall-add:not([hidden]) {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px !important;
    border-radius: 5px !important;
    font: 700 13px/1.5 Manrope, sans-serif !important;
}
.er-product-studio .hr-wall-planner .hr-wall-add::before,
.er-product-studio .hr-wall-planner .hr-wall-add::after {
    content: none !important;
}
.er-product-studio .hr-wall-planner .hr-wall-add svg {
    order: 1;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    position: static !important;
}
.er-product-studio .hr-wall-planner .hr-wall-add svg,
.er-product-studio .hr-wall-planner .hr-wall-add svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}
.er-product-studio .hr-premium-gallery .hr-gallery-dialog {
    width: min(1120px, calc(100% - 24px));
    border: 1px solid #e3dfeb;
    border-radius: 10px !important;
    box-shadow: 0 24px 100px #19163055 !important;
}
.er-product-studio .hr-premium-gallery .hr-gallery-dialog::backdrop {
    background: #191630dc;
}
.er-product-studio .hr-premium-gallery .hr-gallery-dialog .hr-gallery-modalbar {
    padding: 10px clamp(12px, 2vw, 24px);
    background: #fff;
    border-color: #e9e5ef;
}
.er-product-studio .hr-premium-gallery .hr-gallery-dialog .hr-gallery-modalbar>span {
    color: #302862;
    font: 700 13px/1.55 Manrope, sans-serif;
}
.er-product-studio .hr-premium-gallery .hr-gallery-dialog>p {
    margin: 0;
    padding: 12px clamp(12px, 2vw, 24px);
    border-color: #e9e5ef;
    color: #574e69;
    font: 500 12px/1.65 Manrope, sans-serif;
}
.er-product-studio .hr-premium-gallery .hr-gallery-dialog :is(.hr-gallery-modalbar,.hr-gallery-modalstage)>button {
    border-radius: 7px !important;
}
@media (max-width: 520px) {
    .er-product-studio .hr-wall-planner .hr-wall-fields { grid-template-columns: minmax(0, 1fr); }
    .er-product-studio .hr-wall-planner :is(input[type=number], select) { font-size: 16px !important; }
}

/* Wall removal control */
.er-product-studio .hr-wall-planner .hr-wall-entry-head {
    gap: 12px;
    align-items: center;
}
.er-product-studio .hr-wall-planner .hr-wall-entry-head > button {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 44px;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1px solid #ded9e8 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #302862 !important;
    box-shadow: none !important;
    font: 700 13px/1.4 Manrope, sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
}
.er-product-studio .hr-wall-planner .hr-wall-entry-head > button::before,
.er-product-studio .hr-wall-planner .hr-wall-entry-head > button::after {
    content: none !important;
    display: none !important;
}
.er-product-studio .hr-wall-planner .hr-wall-entry-head > button:hover {
    border-color: #a99ac5 !important;
    background: #f5f2fa !important;
}
.er-product-studio .hr-wall-planner .hr-wall-entry-head > button:focus-visible {
    outline: 2px solid #786798 !important;
    outline-offset: 2px;
}
.er-product-studio .hr-wall-planner .hr-wall-entry-head > button[hidden] {
    display: none !important;
}


.hr-gallery-modalphoto {
    display: contents;
}

@media (max-width: 767px), (max-width: 900px) and (max-height: 520px) {
    .er-product-studio .hr-premium-gallery .hr-gallery-dialog {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
    }

    .er-product-studio .hr-premium-gallery .hr-gallery-modalstage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "photo photo" "prev next";
        gap: 10px;
        padding: 8px;
    }

    .hr-gallery-modalstage > .hr-gallery-prev { grid-area: prev; justify-self: end; }
    .hr-gallery-modalstage > .hr-gallery-next { grid-area: next; justify-self: start; }
    .er-product-studio .hr-premium-gallery .hr-gallery-modalstage > button[hidden] {
        display: none !important;
    }

    .hr-gallery-modalstage .hr-gallery-modalphoto {
        --hr-photo-max-height: max(108px, calc(92dvh - 180px));
        display: block;
        position: relative;
        grid-area: photo;
        justify-self: center;
        width: min(100%, calc(var(--hr-photo-max-height) * var(--hr-photo-ratio, 1)));
        aspect-ratio: var(--hr-photo-ratio, 1);
        overflow: hidden;
    }

    .hr-gallery-modalstage .hr-gallery-modalphoto > img {
        display: block;
        position: absolute;
        inset: var(--hr-photo-top, 0) auto auto var(--hr-photo-left, 0);
        width: var(--hr-photo-width, 100%);
        height: var(--hr-photo-height, 100%);
        max-width: none;
        max-height: none;
        object-fit: contain;
    }
}

@media (orientation: landscape) and (max-width: 900px) and (max-height: 520px) {
    .er-product-studio .hr-premium-gallery .hr-gallery-modalstage {
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        grid-template-areas: "prev photo next";
    }

    .hr-gallery-modalstage .hr-gallery-modalphoto {
        --hr-photo-max-height: max(90px, calc(90dvh - 136px));
    }
}
