/* BAZARCO PRO 380.8.3.4.2.1.21 — Home Builder draft, preview, scheduling and safe-template authority */

body.view-admin-home-sections .admin-home-sections-page-v1863 .admin-shell{width:min(1540px,100%);grid-template-columns:300px minmax(0,1fr);align-items:start}
body.view-admin-home-sections .admin-home-sections-page-v1863 .admin-sidebar{order:1}
body.view-admin-home-sections .admin-home-sections-page-v1863 .admin-main-pro{order:2;min-width:0}
body.view-admin-home-sections .home-builder-hero-v3808342121{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:24px;margin-bottom:20px;padding:clamp(26px,3vw,38px);overflow:hidden;border:0;border-radius:32px;color:#fff;background:linear-gradient(135deg,#071a3b,#135fd6 54%,#7642ef);box-shadow:0 28px 80px rgba(21,73,151,.2)}
body.view-admin-home-sections .home-builder-hero-v3808342121 h1{margin:8px 0;font-size:clamp(30px,3.2vw,44px);color:#fff}
body.view-admin-home-sections .home-builder-hero-v3808342121 p{max-width:850px;margin:0 0 16px;color:#e8f3ff;font-weight:800;line-height:1.9}
body.view-admin-home-sections .home-builder-hero-v3808342121 .hero-actions{display:flex;gap:9px;flex-wrap:wrap}
body.view-admin-home-sections .home-builder-hero-v3808342121 .hero-glass-card{padding:24px;border:1px solid rgba(255,255,255,.25);border-radius:23px;background:rgba(255,255,255,.12);text-align:center;backdrop-filter:blur(12px)}
body.view-admin-home-sections .home-builder-hero-v3808342121 .hero-glass-card span,body.view-admin-home-sections .home-builder-hero-v3808342121 .hero-glass-card small{display:block;color:#e9f4ff;font-weight:900}
body.view-admin-home-sections .home-builder-hero-v3808342121 .hero-glass-card b{display:block;margin:8px 0;font-size:38px;color:#fff;direction:ltr}
body.view-admin-home-sections button:disabled{cursor:not-allowed!important;opacity:.5!important;box-shadow:none!important}

body.view-admin-home-sections .home-builder-publish-console-v3808342121{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(230px,1fr) minmax(310px,1.35fr);gap:13px;margin-bottom:20px}
body.view-admin-home-sections .home-builder-state-card-v3808342121,body.view-admin-home-sections .home-builder-release-actions-v3808342121{min-width:0;padding:17px 18px;border:1px solid #dbe7f6;border-radius:21px;background:#fff;box-shadow:0 12px 34px rgba(15,42,85,.07)}
body.view-admin-home-sections .home-builder-state-card-v3808342121{display:flex;flex-direction:column;gap:5px}
body.view-admin-home-sections .home-builder-state-card-v3808342121>span{color:#64748b;font-size:12px;font-weight:1000}
body.view-admin-home-sections .home-builder-state-card-v3808342121>b{overflow:hidden;color:#0f2f5d;font-size:19px;text-overflow:ellipsis;white-space:nowrap}
body.view-admin-home-sections .home-builder-state-card-v3808342121>small{color:#718096;font-weight:800;line-height:1.6}
body.view-admin-home-sections .home-builder-state-card-v3808342121.is-published{border-inline-start:5px solid #16a370}
body.view-admin-home-sections .home-builder-state-card-v3808342121.is-draft{border-inline-start:5px solid #e99a12;background:#fffaf0}
body.view-admin-home-sections .home-builder-state-card-v3808342121.is-synced{border-inline-start:5px solid #3182ce}
body.view-admin-home-sections .home-builder-release-actions-v3808342121{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}
body.view-admin-home-sections .home-builder-release-actions-v3808342121 form{margin:0}
body.view-admin-home-sections .home-builder-publish-button-v3808342121{background:linear-gradient(135deg,#087c56,#16a370)!important;color:#fff!important;border:0!important}

body.view-admin-home-sections .home-builder-card-v3808342121{padding:clamp(18px,2.4vw,28px);border:1px solid #dce7f4;border-radius:28px;background:#fff;box-shadow:0 22px 70px rgba(15,42,85,.08)}
body.view-admin-home-sections .home-builder-order-board-v3808342121{margin:20px 0 24px;padding:18px;border:1px solid #cfe0f4;border-radius:23px;background:linear-gradient(145deg,#f8fbff,#f3f0ff)}
body.view-admin-home-sections .home-builder-order-board-v3808342121 h3{margin:5px 0 2px}
body.view-admin-home-sections .home-builder-order-board-v3808342121>p{margin:11px 2px 0;color:#64748b;font-size:12px;font-weight:800}
body.view-admin-home-sections .home-builder-order-board-v3808342121 ol{display:grid;grid-template-columns:1fr;gap:8px;margin:15px 0 0;padding:0;list-style:none}
body.view-admin-home-sections [data-home-order-item]{display:grid;grid-template-columns:38px 38px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:52px;padding:7px 9px;border:1px solid #d7e3f3;border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(20,50,95,.05);user-select:none}
body.view-admin-home-sections [data-home-order-item].is-dragging{opacity:.42;border-color:#2872df;box-shadow:0 0 0 4px rgba(40,114,223,.12)}
body.view-admin-home-sections [data-home-order-item].is-pending-delete{display:none}
body.view-admin-home-sections .home-order-drag-handle-v3808342121{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #c9daf0;border-radius:11px;background:#edf5ff;color:#0d5ac5;font-size:22px;cursor:grab}
body.view-admin-home-sections .home-order-drag-handle-v3808342121:active{cursor:grabbing}
body.view-admin-home-sections .home-order-index-v3808342121{display:grid;place-items:center;min-width:34px;height:28px;border-radius:9px;background:#0f2f5d;color:#fff;font-size:11px;font-weight:1000;direction:ltr}
body.view-admin-home-sections [data-home-order-item]>b{min-width:0;overflow:hidden;color:#142b4b;text-overflow:ellipsis;white-space:nowrap}
body.view-admin-home-sections .home-order-touch-actions-v3808342121{display:flex;gap:4px}
body.view-admin-home-sections .home-order-touch-actions-v3808342121 button{width:30px;height:30px;padding:0;border:1px solid #d5e1f0;border-radius:9px;background:#fff;color:#174f9d;font-weight:1000}

body.view-admin-home-sections .home-schedule-badge-v3808342121{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:1000;white-space:nowrap}
body.view-admin-home-sections .home-schedule-badge-v3808342121.is-active{background:#dcfce7;color:#15803d}
body.view-admin-home-sections .home-schedule-badge-v3808342121.is-upcoming{background:#fff2cf;color:#a05b00}
body.view-admin-home-sections .home-schedule-badge-v3808342121.is-expired{background:#fee2e2;color:#b42318}
body.view-admin-home-sections .home-schedule-badge-v3808342121.is-disabled{background:#e7edf5;color:#5f7088}

body.view-admin-home-sections .home-sections-grid-v1862{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr))!important;gap:15px;align-items:stretch!important}
body.view-admin-home-sections .home-section-editor-v1862{display:flex;flex-direction:column;gap:12px;height:100%!important;padding:17px;border:1px solid #dbe7f5;border-radius:21px;background:linear-gradient(180deg,#fff,#f8fbff);box-sizing:border-box!important;box-shadow:0 10px 28px rgba(15,42,85,.05)}
body.view-admin-home-sections .home-section-editor-v1862.is-disabled{opacity:.66;background:#f8fafc}
body.view-admin-home-sections .home-section-editor-head-v1862{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.view-admin-home-sections .home-section-editor-head-v1862 h3{margin:6px 0 4px;font-size:18px}
body.view-admin-home-sections .home-section-editor-head-v1862 small{color:#65758a;font-weight:800}
body.view-admin-home-sections .home-section-source-v1862{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:10px;font-weight:1000;text-transform:uppercase}
body.view-admin-home-sections .compact-switch-v1862{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eef6ff;font-weight:900;white-space:nowrap}
body.view-admin-home-sections .home-section-editor-v1862 label{display:block;color:#142b4b;font-weight:900}
body.view-admin-home-sections .home-section-editor-v1862 :where(input[type=text],input[type=number],input[type=datetime-local],textarea,select){display:block;width:100%;min-width:0;margin-top:7px;padding:11px;border:1px solid #d3e0ef;border-radius:12px;background:#fff;color:#17223b;font:inherit;font-weight:800;box-sizing:border-box}
body.view-admin-home-sections input[readonly][data-home-order-input]{background:#eef4fb!important;color:#52647d!important;cursor:default}
body.view-admin-home-sections .home-section-schedule-v3808342121{margin:0;padding:12px;border:1px dashed #bed1e8;border-radius:15px;background:#f8fbff}
body.view-admin-home-sections .home-section-schedule-v3808342121 legend{padding:0 7px;color:#245898;font-size:12px;font-weight:1000}
body.view-admin-home-sections .home-section-schedule-v3808342121>small{display:block;margin-top:7px;color:#6b7b90;font-size:11px;font-weight:800}

body.view-admin-home-sections .home-custom-image-fields-v3808342121{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:13px;border:1px dashed #b8cce6;border-radius:16px;background:#f5f9ff}
body.view-admin-home-sections .home-custom-image-fields-v3808342121[hidden]{display:none!important}
body.view-admin-home-sections .home-builder-sticky-save-v3808342121{position:sticky;bottom:12px;z-index:20;display:flex;align-items:center;gap:10px;margin-top:18px;padding:12px;border:1px solid #cfe0f4;border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 16px 42px rgba(15,42,85,.12);backdrop-filter:blur(14px)}
body.view-admin-home-sections .home-builder-sticky-save-v3808342121 [data-home-builder-dirty-state]{margin-inline-start:auto;color:#65758a;font-size:12px;font-weight:900}
body.view-admin-home-sections .home-builder-sticky-save-v3808342121 [data-home-builder-dirty-state].is-dirty{color:#b35b00}

body.view-admin-home-sections .home-builder-history-v3808342121{margin-top:20px;padding:22px;border:1px solid #dbe7f5;border-radius:26px;background:#fff}
body.view-admin-home-sections .home-builder-revision-list-v3808342121{display:grid;gap:9px}
body.view-admin-home-sections .home-builder-revision-list-v3808342121 article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #dce7f4;border-radius:16px;background:#f9fbfe}
body.view-admin-home-sections .home-builder-revision-list-v3808342121 article>div{display:flex;flex-direction:column;gap:3px;min-width:0}
body.view-admin-home-sections .home-builder-revision-list-v3808342121 article b{color:#16365f}
body.view-admin-home-sections .home-builder-revision-list-v3808342121 article span,body.view-admin-home-sections .home-builder-revision-list-v3808342121 article small{color:#66768a;font-size:12px;font-weight:800;direction:ltr;text-align:right}

.home-builder-preview-modal-v3808342121{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:14px;background:rgba(3,12,28,.76);backdrop-filter:blur(8px)}
.home-builder-preview-modal-v3808342121[hidden]{display:none!important}
.home-builder-preview-dialog-v3808342121{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1500px,98vw);height:min(940px,96vh);overflow:hidden;border:1px solid rgba(255,255,255,.24);border-radius:25px;background:#eef3fa;box-shadow:0 32px 100px rgba(0,0,0,.42)}
.home-builder-preview-dialog-v3808342121>header,.home-builder-preview-dialog-v3808342121>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;background:#fff}
.home-builder-preview-dialog-v3808342121>header h2{margin:3px 0 0;font-size:21px}
.home-builder-preview-dialog-v3808342121>header>button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:#eef3fa;color:#102b50;font-size:28px}
.home-builder-preview-dialog-v3808342121>nav{display:flex;justify-content:center;gap:7px;padding:9px;background:#0b1b34}
.home-builder-preview-dialog-v3808342121>nav button{padding:8px 13px;border:1px solid #344a6d;border-radius:11px;background:#172d4d;color:#d9e8fb;font-weight:900}
.home-builder-preview-dialog-v3808342121>nav button.is-active{border-color:#77adff;background:#fff;color:#154d9b}
.home-builder-preview-stage-v3808342121{display:flex;justify-content:center;min-height:0;padding:12px;overflow:auto;background:#dbe4f0}
.home-builder-preview-stage-v3808342121 iframe{width:100%;height:100%;min-height:580px;border:0;border-radius:14px;background:#fff;box-shadow:0 10px 34px rgba(15,42,85,.18);transition:width .2s ease}
.home-builder-preview-stage-v3808342121[data-device=tablet] iframe{width:min(820px,100%)}
.home-builder-preview-stage-v3808342121[data-device=phone] iframe{width:min(390px,100%)}
.home-builder-preview-dialog-v3808342121>footer span{color:#617086;font-size:12px;font-weight:800}

/* Public draft-preview marker. */
body.view-home .home-builder-preview-banner-v3808342121{position:sticky;z-index:9999;top:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;border-bottom:1px solid #f3c66f;background:#fff4ce;color:#714000;font-weight:1000;box-shadow:0 8px 24px rgba(80,52,4,.13)}

/* Safe public templates share one semantic renderer and retain the Phase 1.20 CTA shell. */
body.view-home .home-safe-template-section-v3808342121{padding-block:20px!important;overflow:hidden!important}
body.view-home .home-safe-template-card-v3808342121{--safe-start:#0b4fd8;--safe-end:#10b8d6;--safe-text:#fff;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(20px,4vw,58px);min-height:190px;padding:clamp(26px,3.5vw,50px);overflow:hidden;border:1px solid rgba(255,255,255,.34);border-radius:clamp(22px,3vw,36px);background:linear-gradient(135deg,var(--safe-start),var(--safe-end));color:var(--safe-text);box-shadow:0 25px 68px rgba(15,23,42,.17)}
body.view-home .home-safe-template-section-v3808342121.theme-purple .home-safe-template-card-v3808342121{--safe-start:#4c1d95;--safe-end:#8b5cf6}
body.view-home .home-safe-template-section-v3808342121.theme-dark .home-safe-template-card-v3808342121{--safe-start:#071126;--safe-end:#1f3a5f}
body.view-home .home-safe-template-section-v3808342121.theme-gold .home-safe-template-card-v3808342121{--safe-start:#8a4b06;--safe-end:#e8ad28}
body.view-home .home-safe-template-section-v3808342121.theme-light .home-safe-template-card-v3808342121{--safe-start:#fff;--safe-end:#eaf4ff;--safe-text:#10213d;border-color:#d8e6f6}
body.view-home .home-safe-template-copy-v3808342121{position:relative;z-index:2;min-width:0;max-width:900px}
body.view-home .home-safe-template-copy-v3808342121 h2{margin:10px 0 7px;color:inherit;font-size:clamp(25px,3vw,44px);line-height:1.25}
body.view-home .home-safe-template-copy-v3808342121 p{max-width:760px;margin:0;color:inherit;opacity:.9;font-size:clamp(14px,1.25vw,18px);font-weight:800;line-height:1.9}
body.view-home .home-safe-template-eyebrow-v3808342121{display:inline-flex;padding:6px 11px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(255,255,255,.13);font-size:11px;font-weight:1000}
body.view-home .home-safe-template-action-v3808342121{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:165px;min-height:52px;padding:12px 20px;border:1px solid rgba(255,255,255,.5);border-radius:16px;background:#fff;color:#10213d;text-decoration:none;font-weight:1000;box-shadow:0 14px 32px rgba(4,15,38,.16)}
body.view-home .home-safe-template-section-v3808342121.template-banner .home-safe-template-card-v3808342121{min-height:130px;padding-block:24px;border-radius:22px}
body.view-home .home-safe-template-section-v3808342121.template-banner .home-safe-template-copy-v3808342121 h2{font-size:clamp(23px,2.4vw,34px)}
body.view-home .home-safe-template-section-v3808342121.template-notice .home-safe-template-card-v3808342121{grid-template-columns:auto minmax(0,1fr) auto;min-height:0;padding:18px 22px;border-radius:18px}
body.view-home .home-safe-template-notice-icon-v3808342121{position:relative;z-index:2;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.35);border-radius:15px;background:rgba(255,255,255,.14);font-size:24px}
body.view-home .home-safe-template-section-v3808342121.template-notice .home-safe-template-copy-v3808342121 h2{margin:2px 0;font-size:clamp(19px,2vw,27px)}
body.view-home .home-safe-template-section-v3808342121.template-image_text .home-safe-template-card-v3808342121{grid-template-columns:minmax(260px,.72fr) minmax(0,1fr) auto}
body.view-home .home-safe-template-section-v3808342121.template-image_text.image-left .home-safe-template-media-v3808342121{order:3}
body.view-home .home-safe-template-section-v3808342121.template-image_text.image-left .home-safe-template-action-v3808342121{order:1}
body.view-home .home-safe-template-media-v3808342121{position:relative;z-index:2;aspect-ratio:16/10;overflow:hidden;border:1px solid rgba(255,255,255,.4);border-radius:22px;background:rgba(255,255,255,.12)}
body.view-home .home-safe-template-media-v3808342121 img{display:block;width:100%;height:100%;object-fit:cover}

html[data-marketak-theme=dark] body.view-admin-home-sections .home-builder-state-card-v3808342121,html[data-marketak-theme=dark] body.view-admin-home-sections .home-builder-release-actions-v3808342121,html[data-marketak-theme=dark] body.view-admin-home-sections .home-builder-card-v3808342121,html[data-marketak-theme=dark] body.view-admin-home-sections .home-builder-history-v3808342121{border-color:#2a405f;background:#0d1a2d;color:#f4f8ff}
html[data-marketak-theme=dark] body.view-admin-home-sections .home-builder-state-card-v3808342121>b,html[data-marketak-theme=dark] body.view-admin-home-sections [data-home-order-item]>b,html[data-marketak-theme=dark] body.view-admin-home-sections .home-section-editor-v1862 label{color:#f4f8ff}
html[data-marketak-theme=dark] body.view-admin-home-sections .home-builder-order-board-v3808342121{border-color:#304866;background:linear-gradient(145deg,#0b1728,#17152b)}
html[data-marketak-theme=dark] body.view-admin-home-sections [data-home-order-item],html[data-marketak-theme=dark] body.view-admin-home-sections .home-section-editor-v1862{border-color:#304866;background:#101d31;color:#f4f8ff}
html[data-marketak-theme=dark] body.view-admin-home-sections .home-section-editor-v1862 :where(input[type=text],input[type=number],input[type=datetime-local],textarea,select){border-color:#344b69;background:#0a1729;color:#f8fbff}

@media(max-width:1240px){
  body.view-admin-home-sections .admin-home-sections-page-v1863 .admin-shell{grid-template-columns:1fr}
  body.view-admin-home-sections .admin-home-sections-page-v1863 .admin-sidebar{order:2;position:relative;top:auto}
  body.view-admin-home-sections .admin-home-sections-page-v1863 .admin-main-pro{order:1}
  body.view-admin-home-sections .home-builder-publish-console-v3808342121{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.view-admin-home-sections .home-builder-release-actions-v3808342121{grid-column:1/-1}
  body.view-admin-home-sections .home-sections-grid-v1862{grid-template-columns:repeat(2,minmax(260px,1fr))!important}
}
@media(max-width:850px){
  body.view-admin-home-sections .home-builder-hero-v3808342121{grid-template-columns:1fr}
  body.view-admin-home-sections .home-builder-order-board-v3808342121 ol{grid-template-columns:1fr}
  body.view-admin-home-sections .home-sections-grid-v1862{grid-template-columns:1fr!important}
  body.view-admin-home-sections .home-custom-image-fields-v3808342121{grid-template-columns:1fr}
  body.view-home .home-safe-template-section-v3808342121.template-image_text .home-safe-template-card-v3808342121{grid-template-columns:1fr}
  body.view-home .home-safe-template-section-v3808342121.template-image_text .home-safe-template-media-v3808342121{order:0!important}
  body.view-home .home-safe-template-section-v3808342121.template-image_text .home-safe-template-action-v3808342121{order:0!important}
}
@media(max-width:650px){
  body.view-admin-home-sections .home-builder-publish-console-v3808342121{grid-template-columns:1fr}
  body.view-admin-home-sections .home-builder-release-actions-v3808342121{grid-column:auto;align-items:stretch;flex-direction:column}
  body.view-admin-home-sections .home-builder-release-actions-v3808342121 form,body.view-admin-home-sections .home-builder-release-actions-v3808342121 .btn{width:100%}
  body.view-admin-home-sections [data-home-order-item]{grid-template-columns:38px 34px minmax(0,1fr) auto}
  body.view-admin-home-sections [data-home-order-item]>.home-schedule-badge-v3808342121{display:none}
  body.view-admin-home-sections .home-builder-sticky-save-v3808342121{align-items:stretch;flex-direction:column}
  body.view-admin-home-sections .home-builder-sticky-save-v3808342121 [data-home-builder-dirty-state]{margin:0;text-align:center}
  body.view-admin-home-sections .home-builder-revision-list-v3808342121 article{align-items:stretch;flex-direction:column}
  body.view-admin-home-sections .home-builder-revision-list-v3808342121 .btn{width:100%}
  .home-builder-preview-dialog-v3808342121{width:100vw;height:100vh;border-radius:0}
  .home-builder-preview-dialog-v3808342121>footer span{display:none}
  body.view-home .home-safe-template-card-v3808342121,body.view-home .home-safe-template-section-v3808342121.template-notice .home-safe-template-card-v3808342121{grid-template-columns:1fr;gap:16px;padding:24px 20px;text-align:center}
  body.view-home .home-safe-template-action-v3808342121{width:100%;min-width:0}
  body.view-home .home-safe-template-notice-icon-v3808342121{margin-inline:auto}
}
@media(prefers-reduced-motion:reduce){
  .home-builder-preview-stage-v3808342121 iframe{transition:none!important}
}
